refactor: modernize plugin skills and agents for claude 5 - #277
Draft
FrkAk wants to merge 1 commit into
Draft
Conversation
FrkAk
force-pushed
the
refactor/plugin-skills-claude5-t1
branch
from
July 30, 2026 07:15
e049009 to
6bf11e7
Compare
This was referenced Aug 2, 2026
FrkAk
marked this pull request as draft
August 2, 2026 21:36
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Task Reference: [PYZ-379]
Rewrites the plugin instruction surface for Claude 5 generation models per Anthropic's current authoring guidance: judgment-based prose over ALL-CAPS rule lists, lazy reference loading over eager includes, and harness-enforced tool permissions over prose permission sections.
@-include blocks that force-loaded the full reference doctrine into composer and the decompose agents; the existing read-when tables remain.tools:allowlists (bothmcp__piyazand plugin-namespaced spellings).sync:plugins; extract pin refreshed for the lifecycle reference.Verified with paired behavioral evals on Opus 5 against the previous skill set (same scenarios, same judges, multiple runs per scenario): zero guardrail violations on the new set versus two on the old, no scenario regressed beyond single-run variance, four improved.
Type of change
Testing
bun run lint)bun run typecheck)bun run check:pluginspasses (brand sync clean)Notes for reviewer
Deletion-heavy by design; no procedure content was rewritten. The one addition (Hard rules block) exists because the first eval round showed the done-guardrail regressing when the recaps were deleted without an explicit single statement in the skill's active path.
Docs impact
Generated skills/agents catalog syncs automatically via the Docs Sync workflow; no hand-edited pages affected.
Compliance impact