<< All versions

Skill v1.0.1

currentAutomated scan100/100
maroffo/claude-forge/skill-forge

1 files

──Details
PublishedOctober 25, 2026 at 04:14 AM
Content Hashsha256:b75d49b1b77c59dd...
Git SHAa40c92f68b32
Bump Typepatch
Compare with v1.0.0
──Files
Files (1 file, 4.8 KB)
SKILL.md4.8 KBactive
SKILL.md · 139 lines · 4.8 KB

version: "1.0.1" name: skill-forge description: "Create new skills or review and improve existing ones. Use when user says create skill, new skill, improve skill, review skill, audit skills, or skill quality."


ABOUTME: Skill creation and improvement based on Anthropic's skills guide

ABOUTME: Validates structure, descriptions, triggers, progressive disclosure, and conventions

Skill Forge

Create new skills or audit/improve existing ones. Encodes Anthropic's official guide + our conventions.

Modes

Create: /skill-forge create <name>

  1. Gather context: ask what the skill does, when to use it, what tools it needs
  2. Generate SKILL.md following the template below
  3. Validate against the checklist
  4. Present for approval before writing

Review: /skill-forge review <name> or /skill-forge review all

  1. Read the skill's SKILL.md
  2. Score against the checklist (0-100)
  3. Report findings grouped by severity (critical, major, minor)
  4. Propose fixes as diffs

Skill Template

markdown
---
name: kebab-case-name
description: "[What it does]. Use when [trigger conditions]. [Key capabilities]. Not for [negative triggers if overlapping skills exist]."
compatibility: "Only if external deps needed"
---
# ABOUTME: [One-line what]
# ABOUTME: [One-line key capabilities]
# Skill Title
## [Core Instructions]
[Outcomes, constraints with their reasons, and how to verify the result. Numbered steps only where order truly matters; exact commands only for fragile operations.]
## Common Issues
| Issue | Solution |
|-------|----------|
## References (if >150 lines needed)
For detailed patterns, consult `references/<topic>.md`

Validation Checklist

Structure (critical)

CheckRule
Folder namekebab-case, no spaces/capitals/underscores
File nameExactly SKILL.md (case-sensitive)
Frontmatter--- delimiters, name + description required
ABOUTMETwo lines after frontmatter: what + capabilities
No README.mdAll docs in SKILL.md or references/

Description (critical)

CheckRule
Formula[What] + [When/triggers] + [Capabilities]
Trigger phrasesInclude words users actually say
Negative triggers"Not for X" if overlapping skills exist
LengthUnder 1024 characters
No XML tagsNo < or > in description
QuotesWrapped in double quotes

Test: Ask yourself "When would you use the [name] skill?" If the description doesn't answer clearly, it needs work.

Content (major)

CheckRule
Specificity matches fragilityExact commands for fragile or destructive operations; outcomes, constraints and reasons for judgment calls
ExamplesOnly where the output shape is format-sensitive: several varied examples, labeled illustrative; none for judgment the model already owns
Error handlingCommon issues table for workflow skills
Progressive disclosureSKILL.md <150 lines core; detailed content in references/
RegisterInstructions at normal volume with the reason attached; no anti-laziness notes or capitalized emphasis, which current models over-apply

Optional Fields (minor)

FieldWhen to use
compatibilityExternal deps (app, CLI, API key, MCP server)
allowed-toolsRestrict to specific tools
toolsSimpler tool restriction
metadataDistribution (author, version, mcp-server)

Scoring

Start at 100, subtract per finding:

SeverityDeductionExamples
Critical-25No frontmatter, no description, wrong file name
Major-10No trigger phrases, vague instructions, no ABOUTME
Minor-3Missing compatibility, no error handling, a single unlabeled gold example
ScoreVerdict
90+Ship it
70-89Needs fixes
<70Rewrite

Our Conventions (beyond Anthropic's guide)

  • ABOUTME headers: 2-line comment block after frontmatter (what + capabilities)
  • Cross-references: link to _AST_GREP.md, _PATTERNS.md, source-control where relevant
  • _INDEX.md: register new skills in the routing table
  • CLAUDE.md: nothing to add. The harness injects every skill's name and description, so the file carries no skill catalog; discovery lives in your description: field, which is why it must state when to use the skill and when not to
  • Token budget: every word in SKILL.md costs context on every trigger; cut what the model already knows, keep what only the author knows (reasons, environment facts, quality bar)
  • No em dashes: use commas, colons, semicolons, or parentheses

Quality Notes

  • Compare against existing high-quality skills (rails, source-control)
  • Propose concrete diffs, not vague suggestions
← v1.0.0All versions