/aegis:writing-skillsfrom aegis
Guides creating, editing, and verifying Claude Code skills with behavior validation and minimal instruction surfaces.
Ships in aegis. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Create the smallest reusable skill that changes decisions or improves task
execution without constraining unrelated work. Skill changes use behavior
validation, not a code TDD route. This validation does not require loading aegis:test-driven-development.
Use representative tasks, not questions that merely ask the agent to recite instructions.
If meaningful behavior cannot be evaluated, stop at needs-verification; do
not claim that the skill is deployment-ready or capability-preserving.
SKILL.md.
Move substantial conditional detail to a direct reference and state the
evidence trigger for reading it.The canonical repository shape is skills/<skill-name>/SKILL.md with only the
supporting references, scripts, or assets the workflow actually uses. Use the
repository's host docs or the target host's live specification for optional
metadata instead of copying a vendor manual into the skill.
Address observed gaps and remove superseded duplication in the same slice.
Preserve public attribution and any externally supported contract. When
retiring an internal owner, fallback, or resource, compose
aegis:anti-entropy-governance; do not leave a compatibility copy without
dependency evidence.
Do not convert one model's phrasing, one historical incident, or a hypothetical edge case into a universal rule.
Re-run the same positive, negative, and pressure/application scenarios under a comparable model, tool, and host configuration. Compare outcomes, not wording.
Also verify:
If behavior regresses, restore the missing obligation or narrow the change; do not add a second owner or fallback to mask it.
| Skill type | Representative evidence |
|---|---|
| Discipline or safety | realistic pressure and authorization boundaries |
| Technique | application, variation, and missing-information cases |
| Pattern | recognition, application, and counter-example cases |
| Reference | retrieval, correct use, and common-gap cases |
For a complex or high-risk skill where an independent evaluator adds confidence,
read testing-skills-with-subagents.md.
Keep the result compact and auditable in natural prose or equivalent fields:
verified, needs-verification, or blocked.This is method-pack evidence, not authoritative completion or deployment approval.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ganyuanran/aegis --plugin aegis23 skills in this plugin
/anti-entropy-governanceUse when touching retiring old logic, collapsing duplicate owners, removing fallbacks, or schema/persistence/source-of-truth boundaries; identify opportunities automatically; destructive execution requires explicit confirmation./brainstormingUse when defining ambiguous or high-complexity new features, product behavior, UI/component design, architecture choices, contract changes, or when grilling/pressure-testing a plan or design. Routine small requests stay on the fast path./communicating-conciselyUse when the user asks for caveman mode, fewer tokens, brief responses, compressed communication, or otherwise explicitly requests a much shorter answer./dispatching-parallel-agentsUse when facing 2+ independent tasks without a written plan, with no conflicting shared mutable state or sequential dependencies, where parallel delegation beats inline cost; otherwise inline. Planned tasks use subagent-driven-development./establishing-project-contextUse when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling. Routine small tasks stay on the fast path./executing-plansUse when executing a written implementation plan across sessions or with review checkpoints. Small or single-slice plans stay inline. For same-session independent tasks, use subagent-driven-development instead.Other plugins' skills for the same job