Goal
Update .claude/skills/skill (the meta-skill that authors other skills) to incorporate Anthropic's latest Agent Skills best practices, so skills produced by /skill reflect current official guidance.
Source of truth
Consume the entire document before making any changes:
https://platform.claude.com/docs/en/agents-and-tools/agent-skills/best-practices
Fetch the full page (it is long — read all of it, not just the headings). Treat this Anthropic doc as authoritative where it conflicts with the existing skill's internal guidance.
What to do
- Read the whole Anthropic best-practices doc. If the page is large, cache it under
.context/mcp-cache/ per the repo's MCP-caching rule so it survives context pressure.
- Audit the current skill against the doc. The relevant files:
.claude/skills/skill/SKILL.md (the router)
.claude/skills/skill/references/agent-skills-spec.md
.claude/skills/skill/references/prompting-guide.md
.claude/skills/skill/references/skill-templates.md
.claude/skills/skill/assets/*.md (the templates /skill emits)
.claude/skills/skill/scripts/validate-skill.sh
- Produce a gap analysis (include it in the PR body / wrapup): a table of
Best practice from the doc → Current state in the skill → Gap / change. Cite the doc for each row.
- Apply the improvements to the skill files. Likely areas (verify against the doc, do not assume): description-writing guidance and the "Use when…" trigger pattern, progressive-disclosure / file-reference rules, naming conventions, when to use
scripts/ vs references/ vs assets/, frontmatter fields, evaluation/testing guidance, and anything the doc covers that the skill currently omits.
- Keep the skill's own rules consistent with the templates it emits and the
validate-skill.sh checks — if a rule changes, update the validator and templates to match.
Acceptance criteria
Scope boundaries
- Improve only
.claude/skills/skill and its bundled files. Do not refactor other skills, agents, or unrelated repo files.
- Do not restructure the skill wholesale — make targeted, doc-justified changes. Preserve the existing
/skill phase flow and the skill-author delegation unless the doc specifically warrants changing it.
- Do not add new dependencies or tooling.
- If the doc recommends something that conflicts with this repo's house conventions (e.g.
coding-standards.md prompting rules), note the conflict in the gap analysis and prefer the repo convention, flagging it for human review rather than silently overriding.
Execution
This issue is intended to be run by the /dev --unattended workflow: add the dispatch label to trigger it. Unattended mode resolves ambiguity by simplest reasonable interpretation and logs assumptions — the explicit acceptance criteria and scope boundaries above are written to keep that bounded.
Goal
Update
.claude/skills/skill(the meta-skill that authors other skills) to incorporate Anthropic's latest Agent Skills best practices, so skills produced by/skillreflect current official guidance.Source of truth
Consume the entire document before making any changes:
https://platform.claude.com/docs/en/agents-and-tools/agent-skills/best-practices
Fetch the full page (it is long — read all of it, not just the headings). Treat this Anthropic doc as authoritative where it conflicts with the existing skill's internal guidance.
What to do
.context/mcp-cache/per the repo's MCP-caching rule so it survives context pressure..claude/skills/skill/SKILL.md(the router).claude/skills/skill/references/agent-skills-spec.md.claude/skills/skill/references/prompting-guide.md.claude/skills/skill/references/skill-templates.md.claude/skills/skill/assets/*.md(the templates/skillemits).claude/skills/skill/scripts/validate-skill.shBest practice from the doc→Current state in the skill→Gap / change. Cite the doc for each row.scripts/vsreferences/vsassets/, frontmatter fields, evaluation/testing guidance, and anything the doc covers that the skill currently omits.validate-skill.shchecks — if a rule changes, update the validator and templates to match.Acceptance criteria
.claude/skills/skill/SKILL.mdand itsreferences/reflect the doc's current guidanceassets/and thevalidate-skill.shchecks remain consistent with the updated rulesbash scripts/sync-plugin.shexits 0 with no warning (plugin copy regenerated)bash .claude/skills/skill/scripts/validate-skill.sh .claude/skills/skillpassesScope boundaries
.claude/skills/skilland its bundled files. Do not refactor other skills, agents, or unrelated repo files./skillphase flow and the skill-author delegation unless the doc specifically warrants changing it.coding-standards.mdprompting rules), note the conflict in the gap analysis and prefer the repo convention, flagging it for human review rather than silently overriding.Execution
This issue is intended to be run by the
/dev --unattendedworkflow: add thedispatchlabel to trigger it. Unattended mode resolves ambiguity by simplest reasonable interpretation and logs assumptions — the explicit acceptance criteria and scope boundaries above are written to keep that bounded.