update-skill-content
について
このスキルは、既存のSKILL.mdファイルを更新し、その正確性と明確性を高めることを目的としています。具体的には、手順の洗練、一般的な落とし穴の拡充、関連スキルの同期に焦点を当てます。このスキルは、ドキュメントが古いツールを参照している場合、落とし穴のセクションが不十分な場合、または壊れた相互参照を含んでいる場合に発動します。プロセスにはバージョン番号の更新を含み、手順が不明確または不完全であるというフィードバックを受けた後のメンテナンスを想定して設計されています。
クイックインストール
Claude Code
推奨npx skills add pjt222/agent-almanac -a claude-code/plugin add https://github.com/pjt222/agent-almanacgit clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/update-skill-contentこのコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします
ドキュメント
Update Skill Content
Improve existing SKILL.md → refine procedure, expand pitfalls w/ real failure modes, sync Related Skills, bump ver. Use after format passes but content has gaps, stale refs, incomplete procedures.
Use When
- Procedure refs outdated tools|APIs|vers
- Pitfalls thin (< 3) or missing real failure modes
- Related Skills broken refs|missing relevant
- Procedure lacks concrete code|vague instructions
- New skill added → existing should cross-ref
- Feedback → procedures unclear|incomplete
In
- Required: Path to SKILL.md
- Optional: Specific section(s) ("procedure", "pitfalls", "related-skills")
- Optional: Update source (changelog, issue, feedback)
- Optional: Bump ver (default: yes, minor)
Do
Step 1: Read + Assess
Read entire SKILL.md, eval each section.
Per-section criteria:
- When to Use: Triggers concrete + actionable? (3-5 items)
- Inputs: Types, defaults, required|optional clear?
- Procedure: Each step has concrete code, Expected, On failure?
- Validation: Checklist objectively testable? (5+)
- Pitfalls: Specific w/ symptoms + fixes? (3-6)
- Related Skills: Refs exist? Obvious related missing?
Got: Clear picture of which sections need work, specific gaps ID'd.
If err: Can't read (path err) → verify path. Broken YAML frontmatter → fix first via review-skill-format before content updates.
Step 2: Stale Refs
Scan procedure for ver-specific refs, tool names, URLs, API patterns.
Staleness indicators:
- Specific vers (
v1.24,R 4.3.0,Node 18) - URLs maybe moved|expired
- CLI flags|cmd syntax changed
- Pkg names renamed|deprecated
- Config formats evolved
# 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
Got: List of stale refs w/ line nums. Each verified current or flagged.
If err: Too many to check manually → prioritize: procedure code blocks first (most likely runtime fail), then Pitfalls (old workarounds), then info text.
Step 3: Update Procedure
Per step needing improvement:
- Verify code blocks exec correctly|reflect best practices
- Add missing ctx → explain why
- Concrete cmds: real paths, real flags, real out
- Update Expected → match current tool behavior
- Update On failure → current err msgs + fixes
When updating code, preserve orig structure:
- Step numbering consistent
### Step N: Titleformat- No reorder unless orig wrong
Got: All procedure steps current + executable code. Expected/On failure reflect actual current behavior.
If err: Unsure code still correct → add note <!-- TODO: Verify this command against current version -->. No remove working code → untested replace.
Step 4: Expand Pitfalls
Review Pitfalls, expand if gaps.
Quality:
- Each: bold name + specific description
- Description: symptom (what wrong) + fix (avoid|recover)
- Real failure modes, not hypothetical
- 3-6 target
Sources for new:
- Procedure steps w/ complex On failure (likely pitfalls)
- Related skills warning about same tools|patterns
- Common user-reported issues
Got: 3-6 pitfalls, each w/ specific symptom + fix. No generic "be careful"|"test thoroughly".
If err: Only 1-2 ID'd → OK for basic. Intermediate|advanced w/ < 3 → author hasn't fully explored failure modes → flag for future.
Step 5: Sync Related Skills
Verify cross-refs valid + add missing.
- Per ref'd skill → verify exists:
# Check if referenced skill exists test -d skills/referenced-skill-name && echo "EXISTS" || echo "NOT FOUND" - Skills referencing this (should cross-link):
# Find skills that reference this skill grep -rl "skill-name" skills/*/SKILL.md - Check obvious related → domain + tags
- Format:
- \skill-id` — one-line description of relationship`
Got: All ref'd skills exist on disk. Bidirectional refs in place. No orphaned links.
If err: Ref'd doesn't exist → remove ref or note as planned future. Many skills ref this but missing from Related → add 2-3 most relevant.
Step 6: Bump Ver
Update metadata.version per semver:
- Patch (1.0 → 1.1): Typos, minor clarifications, URL updates
- Minor (1.0 → 2.0): New procedure steps, significant additions, structural changes
- Note: Skills use simplified two-part (major.minor)
Update date fields if present.
Got: Ver bumped appropriately. Change magnitude matches scope.
If err: Current ver unparseable → set "1.1" + comment noting history gap.
Check
- All procedure steps current + executable code|concrete instructions
- No stale ver refs, URLs, deprecated tool names
- Every step has Expected: + On failure: blocks
- Pitfalls 3-6 specific w/ symptoms + fixes
- All Related Skills refs → existing skills
- Bidirectional refs for closely related
- Ver bumped appropriately
- Line count < 500
- SKILL.md still passes
review-skill-formatafter changes
Traps
- Update code w/o testing: Changing cmd w/o verify works → worse than leaving old. Uncertain → add verify comment, not untested replace.
- Over-expand pitfalls: 10+ dilutes section. Keep 3-6 most impactful → edge cases →
references/. - Break refs during updates: Renaming|domain change → grep entire library.
grep -rl "old-name" skills/finds all. - Forget bump: Every update, no matter small, bump ver. Lets consumers detect changes.
- Scope creep → refactor: Content updates improve what skill says. Restructuring|extracting → switch to
refactor-skill-structure.
→
review-skill-format— Run format validation before content updatesrefactor-skill-structure— Content updates push > 500 lines → refactor structure for roomevolve-skill— Deeper changes beyond content updates (advanced variant)create-skill— Reference canonical format spec for new sections|stepsrepair-broken-references— Bulk cross-ref repair across library
GitHub リポジトリ
関連スキル
content-collections
メタこのスキルは、Content Collections(Markdown/MDXファイルを型安全なデータコレクションに変換するTypeScriptファーストのツール)の本番環境でテストされた設定を提供します。Zodバリデーションによる型安全性を実現し、ブログ、ドキュメントサイト、コンテンツ重視のVite + Reactアプリケーション構築時にご利用ください。Viteプラグインの設定、MDXコンパイルから、デプロイ最適化、スキーマバリデーションまで、すべてを網羅しています。
polymarket
メタこのスキルは、開発者がPolymarket予測市場プラットフォームを活用したアプリケーション構築を可能にします。API統合による取引や市場データの取得に加え、WebSocketを介したリアルタイムデータストリーミングにより、ライブ取引や市場活動を監視できます。取引戦略の実装や、ライブ市場更新を処理するツールの作成にご利用ください。
creating-opencode-plugins
メタこのスキルは、開発者がコマンド、ファイル、LSP操作など25種類以上のイベントタイプにフックするOpenCodeプラグインを作成することを支援します。JavaScript/TypeScriptモジュール向けに、プラグイン構造、イベントAPI仕様、および実装パターンを提供します。カスタムイベント駆動ロジックでOpenCode AIアシスタントのライフサイクルをインターセプト、監視、または拡張する必要がある場合にご利用ください。
sglang
メタSGLangは、高性能なLLMサービングフレームワークであり、RadixAttentionプレフィックスキャッシュを活用したJSON、正規表現、エージェントワークフロー向けの高速で構造化された生成を特長とします。特にプレフィックスが繰り返されるタスクにおいて、大幅に高速な推論を実現し、複雑な構造化出力やマルチターン対話に最適です。制約付きデコードが必要な場合や、広範なプレフィックス共有を伴うアプリケーションを構築する場合は、vLLMなどの代替案ではなくSGLangを選択してください。
