From agent-almanac
Refines existing SKILL.md content: updates procedure steps, expands Common Pitfalls, synchronizes Related Skills, and bumps version. Use when procedures are vague, references are stale, or feedback indicates gaps.
How this skill is triggered — by the user, by Claude, or both
Slash command
/agent-almanac:update-skill-contentThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Improve an existing SKILL.md by refining procedure steps, expanding Common Pitfalls with real failure modes, synchronizing the Related Skills section, and bumping the version number. Use this after a skill passes format validation but has content gaps, stale references, or incomplete procedures.
Improve an existing SKILL.md by refining procedure steps, expanding Common Pitfalls with real failure modes, synchronizing the Related Skills section, and bumping the version number. Use this after a skill passes format validation but has content gaps, stale references, or incomplete procedures.
Read the entire SKILL.md and evaluate each section for completeness and accuracy.
Assessment criteria per section:
Expected: A clear picture of which sections need improvement, with specific gaps identified.
On failure: If the skill cannot be read (path error), verify the path. If the SKILL.md has broken YAML frontmatter, fix frontmatter first using review-skill-format before attempting content updates.
Scan procedure steps for version-specific references, tool names, URLs, and API patterns that may have changed.
Common staleness indicators:
v1.24, R 4.3.0, Node 18)# Check for version-specific references
grep -nE '[vV][0-9]+\.[0-9]+' skills/<skill-name>/SKILL.md
# Check for URLs
grep -nE 'https?://' skills/<skill-name>/SKILL.md
Expected: A list of potentially stale references with line numbers. Each reference is verified as current or flagged for update.
On failure: If too many references to check manually, prioritize: procedure code blocks first (most likely to cause runtime failures), then Common Pitfalls (may reference old workarounds), then informational text.
For each procedure step identified as needing improvement:
When updating code blocks, preserve the original structure:
### Step N: Title formatExpected: All procedure steps contain current, executable code. Expected/On failure blocks reflect actual current behavior.
On failure: If unsure whether a code block is still correct, add a note: <!-- TODO: Verify this command against current version -->. Do not remove working code blocks to replace with untested alternatives.
Review the Common Pitfalls section and expand if gaps exist.
Quality criteria for pitfalls:
Sources for new pitfalls:
Expected: 3-6 pitfalls, each with a specific symptom and fix. No generic pitfalls like "be careful" or "test thoroughly".
On failure: If only 1-2 pitfalls can be identified, that is acceptable for basic-complexity skills. For intermediate and advanced skills, fewer than 3 pitfalls suggests the author has not fully explored failure modes — flag this for future expansion.
Verify all cross-references in the Related Skills section are valid and add any missing links.
# Check if referenced skill exists
test -d skills/referenced-skill-name && echo "EXISTS" || echo "NOT FOUND"
# Find skills that reference this skill
grep -rl "skill-name" skills/*/SKILL.md
- \skill-id` — one-line description of the relationship`Expected: All referenced skills exist on disk. Bidirectional cross-references are in place. No orphaned links.
On failure: If a referenced skill does not exist, either remove the reference or note it as a planned future skill with a comment. If many skills reference this one but are not listed in Related Skills, add the most relevant 2-3.
Update the metadata.version field following semantic versioning:
Also update any date fields if present in the frontmatter.
Expected: Version is bumped appropriately. The change magnitude matches the update scope.
On failure: If the current version cannot be parsed, set it to "1.1" and add a comment noting the version history gap.
review-skill-format validation after changesreferences/ file if needed.grep -rl "old-name" skills/ to find all occurrences.references/, switch to the refactor-skill-structure skill instead.review-skill-format — Run format validation before content updates to ensure the base structure is soundrefactor-skill-structure — When content updates push the skill over 500 lines, refactor structure to make roomevolve-skill — For deeper changes that go beyond content updates (e.g., creating an advanced variant)create-skill — Reference the canonical format spec when adding new sections or procedure stepsrepair-broken-references — Use for bulk cross-reference repair across the entire skills librarynpx claudepluginhub pjt222/agent-almanacEvolves an existing skill by refining content in-place or creating an advanced variant, including assessment, version bumps, and cross-reference sync. Use for skill maintenance.
Revises an existing SKILL.md to address specific findings from review-best-practice-skill, fix inaccurate citations, update outdated tool references, or adjust scope.
Applies targeted improvements to an existing pm-skills skill based on feedback, validation reports, or convention changes. Reads current files, previews proposed changes, writes on confirmation, and suggests a version bump.