agentleFS
ligj1706ligj1706/ProSkills/.claude/skills/skill-forge/SKILL.md

skill-forge

Skill4 starsChanged 8 months agoMITView on GitHub

Generate a production-ready AbsolutelySkilled skill from any source: GitHub repos, documentation URLs, or domain topics (marketing, sales, TypeScript, etc.). Triggers on /skill-forge, "create a skill for X", "generate a skill from these docs", "make a skill for this repo", or "build a skill about marketing". For URLs: performs deep doc research. For domains: runs a brainstorming session.

49 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use sigma, agent-forge and 3 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • sanyuan0704Skill

    sigma

    Personalized 1-on-1 AI tutor using Bloom's 2-Sigma mastery learning. Guides users through any topic with Socratic questioning, adaptive pacing, and rich visual output (HTML dashboards, Excalidraw concept maps, generated images). Use when user wants to learn something, study a topic, understand a concept, requests tutoring, says 'teach me', 'I want to learn', 'explain X to me step by step', 'help me understand', or invokes /sigma. Triggers on: learn, study, teach, tutor, understand, master, explain step by step.

    Also in 3 projects that use this

  • xyreinsurance119Skill

    agent-forge

    Создание, улучшение и аудит скиллов и агентов OpenClaw. Три режима: создание скилла (11 шагов), создание агента (9 шагов, с памятью и автоулучшением), улучшение существующего (5 шагов). Triggers: 'создай скилл', 'новый скилл', 'создай агента', 'новый агент', 'улучши скилл', 'skill creator', 'agent creator', 'скиллмейкер'.

    Also in 3 projects that use this

  • localSummerSkill

    skill-review

    回顾当前对话,整理 skill 使用情况、代码质量反馈和迭代建议,生成待确认的更新清单

    Also in 3 projects that use this

  • NVIDIASkill

    deep-research

    Queue deep, multi-step research and analysis tasks to the DeepAgents worker. Supports execution depth presets, request-specific rubrics, SubAgent delegation, and RubricMiddleware cross-validation.

    Also in 3 projects that use this

  • GoogleSkill

    code-review

    Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

11 rules. 0 are common, 8 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 42 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When this skill is activated, always start your first response with the 🔨 emoji.

    line 24
  2. Very specific:

    After every successful forge, append an entry to ${CLAUDE_PLUGIN_DATA}/forge-log.jsonl:

    line 55
  3. Very specific:

    HARD GATE: Do NOT write any SKILL.md until the user approves the scope.

    line 105
  4. Distinctive:

    Ask questions one at a time:

    line 107
  5. Distinctive:

    Create a references/ file when a topic has more than ~10 API endpoints or needs its own mental model.

    line 138
  6. Distinctive:

    Every references file must start with:

    line 141
  7. Distinctive:

    Write 10-15 evals covering: trigger tests (2-3), core tasks (4-5), gotcha/edge cases (2-3), anti-hallucination (1-2), references load (1).

    line 152
  8. Distinctive:

    Only for URL-based skills.

    line 159
  9. Very specific:

    Stuffing everything into SKILL.md: - If you're past 300 lines, move detail to references/.

    line 180
  10. Distinctive:

    No gotchas: - Every skill should have inline gotchas next to relevant tasks.

    line 182
  11. Distinctive:

    Not checking for duplicates: - Always check the registry before forging.

    line 185

“Common” is measured: kept by at least 6 in 10 of the 42 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

When this skill is activated, always start your first response with the 🔨 emoji.

skill-forge

Generate production-ready AbsolutelySkilled skills from any source - GitHub repos, documentation URLs, or pure domain knowledge. This is the bootstrapping tool for the registry.


Slash command

/skill-forge <url-or-topic>

Setup

On first run, check for ${CLAUDE_PLUGIN_DATA}/forge-config.json. If it doesn't exist, ask the user these questions:

  1. Default output directory - skills/ (registry PR) or custom path?
  2. Auto-propagate recommendations? - yes/no
  3. Skill type preference - code-heavy, knowledge-heavy, or balanced?

Forge history

After every successful forge, append an entry to ${CLAUDE_PLUGIN_DATA}/forge-log.jsonl:

{"skill": "api-design", "type": "domain", "date": "2025-01-15", "lines": 245, "refs": 3, "evals": 12}

Step 0 - Detect input type

  • URL input -> Phase 1A
  • Domain topic -> Phase 1B
  • Ambiguous -> ask the user

Phase 1A - Research (URL-based)

Crawl order

1. /llms.txt or /llms-full.txt   - AI-readable doc map
2. README.md                      - overview, install, quickstart
3. /docs/                         - main documentation index
4. API reference                  - endpoints, params, errors
5. Guides / tutorials             - real-world usage patterns
6. Changelog                      - breaking changes

Discovery questions

  1. What does this tool do? (1 sentence)
  2. Who uses it?
  3. What are the 5-10 most common agent tasks?
  4. What are the gotchas? (auth, rate limits, pagination, SDK quirks)
  5. What's the install/auth story?
  6. Are there sub-domains needing separate references/ files?

Uncertainty handling

Flag ambiguous or missing detail inline:

<!-- VERIFY: Could not confirm from official docs. Source: https://... -->

Phase 1B - Brainstorm Discovery (domain-based)

HARD GATE: Do NOT write any SKILL.md until the user approves the scope.

Ask questions one at a time:

  1. Target audience?
  2. Scope? (offer 2-3 options with your recommendation)
  3. Top 5-8 things an agent should know?
  4. Common mistakes to prevent?
  5. Sub-domains needing their own references/ files?

Present a proposed outline. Wait for approval before proceeding.


Phase 2 - Write SKILL.md

Key principles

Focus on what pushes Claude out of its defaults. Claude already knows how to write markdown and structure content. Your skill should teach it things it would get wrong without the skill - the gotchas, the non-obvious patterns, the domain quirks that trip up even experienced developers.

Build the Gotchas section first. This is the highest-signal content in any skill. Start with 3-5 known failure points and expect the section to grow.

Use progressive disclosure. SKILL.md should be the entry point, not the encyclopedia. Point to references/ files for deep detail.


Phase 3 - Write references/

Create a references/ file when a topic has more than ~10 API endpoints or needs its own mental model.

Every references file must start with:

<!-- Part of the <ToolName> AbsolutelySkilled skill. Load this file when
     working with <topic>. -->

Phase 4 - Write evals.json

Write 10-15 evals covering: trigger tests (2-3), core tasks (4-5), gotcha/edge cases (2-3), anti-hallucination (1-2), references load (1).


Phase 5 - Write sources.yaml

Only for URL-based skills. Domain skills can omit this.


Phase 6 - Output

Write to skills/<skill-name>/:

skills/<skill-name>/
  SKILL.md
  sources.yaml       (optional for domain skills)
  evals.json
  references/        (if needed)

Gotchas

  1. Description too vague - Include tool name, 3-5 task types, and common synonyms.
  2. Stuffing everything into SKILL.md - If you're past 300 lines, move detail to references/.
  3. Stating what Claude already knows - Focus on non-obvious: auth quirks, deprecated methods.
  4. No gotchas - Every skill should have inline gotchas next to relevant tasks.
  5. Railroading - Give guidelines, not rigid procedures.
  6. Forgetting the folder is the skill - Scripts, templates, data files make skills useful.
  7. Not checking for duplicates - Always check the registry before forging.

Quality checklist

  • Description is a trigger condition
  • Gotchas are present and inline
  • SKILL.md under 300 lines
  • Progressive disclosure: references/ files listed with when-to-read guidance
  • Evals cover all 5 categories
  • Forge history log updated

References

  • references/frontmatter-schema.md - YAML template (Phase 2)
  • references/body-structure-template.md - Markdown scaffold (Phase 2)
  • references/evals-schema.md - JSON schema (Phase 4)
  • references/sources-schema.md - YAML schema (Phase 5)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.