agentleFS
pobstetapobsteta/aigora/.claude/skills/skill-creator/SKILL.md

skill-creator

Skill0 starsChanged 44 days agoMITView on GitHub

Create or update a skill that packages a workflow into a self-contained SKILL.md with scripts, references, and assets. Use when user says "create a skill", "make a new skill", "crystallize this workflow", "turn this into a skill", or asks to build a reusable process.

189 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use taskflow-inbox-triage, mermaid-diagram-generator and 10 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.
  • AtomicBot-aiSkill

    taskflow-inbox-triage

    Also in 6 projects that use this

  • shalombSkill

    mermaid-diagram-generator

    Guide on creating and editing Mermaid charts safely. Use when asked to draw a diagram, flowchart, or architecture chart. Triggers on: 'mermaid', 'diagram', 'flowchart', 'visualize'.

    Also in 5 projects that use this

  • naman10parikhSkill

    ecosystem-reference

    Quick-access directory of Claude Code ecosystem repos, skills, plugins, MCPs, and patterns. Use when improving the harness.

    Also in 5 projects that use this

  • naman10parikhSkill

    fractal-delegation

    Also in 5 projects that use this

  • Liang-MHSkill

    stock_analysis

    获取 A 股、基金和港股的实时行情和技术分析数据

    Also in 5 projects that use this

  • nicepkgSkill

    community-led-growth

    Expert in community-led growth (CLG) - leveraging user communities to drive acquisition, retention, and expansion. Covers building developer communities, user groups, ambassador programs, and turning customers into advocates. Knows the difference between community as a feature vs community as a growth engine, and how to measure community ROI. Use when "community-led, CLG, ambassador program, champion program, user community, developer community, word of mouth, user group, " mentioned.

    Also in 5 projects that use this

  • +6 more from naman10parikh

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. 0 are common, 11 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 185 edited versions we read keep these.

  • 11

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create self-contained skills that package workflows into portable, discoverable units.

    line 9
  2. Distinctive:

    Ask the user to describe the workflow.

    line 15
  3. Distinctive:

    If the workflow was just completed manually, reverse-engineer it: "Let me crystallize exactly what we just did into a reusable skill."

    line 23
  4. Distinctive:

    Every script has ONE job. If it does multiple things, split it.

    line 39
  5. Very specific:

    If 2+ skills would reference it, it goes in context/ not references/.

    line 40
  6. Distinctive:

    Default to Python for deterministic work.

    line 41
  7. Distinctive:

    Run the init script:

    line 45
  8. Distinctive:

    Use imperative SOP format:

    line 81
  9. Distinctive:

    Every script command includes full path from project root.

    line 109
  10. Very specific:

    Write Python scripts in scripts/.

    line 114
  11. Distinctive:

    Functional test: Run 4-5 times with different inputs.

    line 127
  12. Distinctive:

    After real usage, refine:

    line 132
  13. Distinctive:

    Add edge cases discovered in production

    line 134

“Common” is measured: kept by at least 6 in 10 of the 185 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

Skill Creator

Create self-contained skills that package workflows into portable, discoverable units.

Creation Process

Step 1: Understand the Workflow

Ask the user to describe the workflow. Identify:

  • What triggers this workflow (user request, event, schedule)
  • What inputs it needs (URLs, files, API keys, config)
  • What steps it follows (in order, with dependencies)
  • What outputs it produces (files, API calls, messages, data)
  • What can go wrong (rate limits, auth failures, missing data)

If the workflow was just completed manually, reverse-engineer it: "Let me crystallize exactly what we just did into a reusable skill."

Step 2: Plan the Skill Contents

For each step, decide the execution method:

QuestionMaps To
Needs deterministic code?scripts/ — Python script
Needs an external service?MCP tool — reference by name in the step
Needs Claude's judgment?Instructions only — no script, no tool
Needs reference docs?references/ — Markdown file
Needs templates or assets?assets/ — Files consumed by scripts
Shared business knowledge?context/ (project root, NOT in the skill)

Rules:

  • Every script has ONE job. If it does multiple things, split it.
  • If 2+ skills would reference it, it goes in context/ not references/.
  • Default to Python for deterministic work. MCP adds token overhead.

Step 3: Scaffold the Skill

Run the init script:

python3 .claude/skills/skill-creator/scripts/init_skill.py SKILL_NAME

This creates the directory structure with placeholders. Then populate.

Step 4: Write the Frontmatter

---
name: kebab-case-name
description: What it does. Use when user says "trigger 1", "trigger 2", or asks to do X.
model: sonnet
context: fork
allowed-tools: Bash(python3 .claude/skills/SKILL_NAME/scripts/*)
---

Frontmatter decisions:

FieldWhen to Use
model: sonnetMost automated pipelines (default)
model: opusComplex reasoning, creative work
model: haikuSimple tasks, fast lookups
context: forkSkill runs as isolated subagent (recommended for pipelines)
allowed-toolsRestrict to scripts and/or MCP tools
user-invocable: trueCan be triggered via /name slash command
disable-model-invocation: trueManual-only (for destructive operations)

See references/frontmatter-guide.md for detailed examples.

Step 5: Write the SKILL.md Body

Use imperative SOP format:

# Skill Title

## Objective
One sentence: what this skill achieves.

## Inputs Required
- List all inputs, credentials, config needed

## Execution Steps

### Step 1: Name of Step
\`\`\`bash
python3 .claude/skills/SKILL_NAME/scripts/script_name.py --flag value
\`\`\`
**Input**: What the script takes
**Output**: What the script produces (JSON structure)

## Edge Cases & Error Handling
### Scenario Name
- What goes wrong
- How to handle it

Body rules:

  • Under 500 lines. Move detailed docs to references/.
  • Every script command includes full path from project root.
  • Include expected output JSON structures for each script.

Step 6: Implement Scripts

Write Python scripts in scripts/. Each script:

  • Has ONE job
  • Accepts input via CLI args
  • Returns JSON to stdout on success
  • Returns JSON error to stderr on failure
  • Handles its own errors

Step 7: Test the Skill

Three tests:

  1. Trigger test: Fresh session. Ask naturally without naming the skill. Does Claude find it?
  2. Functional test: Run 4-5 times with different inputs. Consistent output?
  3. Value test: Compare output WITH vs WITHOUT the skill. Measurable improvement?

Step 8: Iterate

After real usage, refine:

  • Tighten instructions where Claude improvised incorrectly
  • Add edge cases discovered in production
  • Move sections to references/ if SKILL.md exceeds 500 lines

Skill Anatomy

.claude/skills/skill-name/
├── SKILL.md              # Process definition (<500 lines)
├── scripts/              # Python scripts (one job each)
├── references/           # Skill-specific docs
└── assets/               # Templates, fonts, icons

What does NOT go in the skill:

  • Business knowledge used by multiple skills → context/
  • Runtime behavior settings → config/
  • Persistent data → data/
  • Temporary files → .tmp/

Design Patterns

See references/patterns.md for detailed pattern documentation:

  • Sequential — Steps in strict order with dependencies
  • Iterative refinement — Generate → validate → fix → repeat
  • Multi-MCP coordination — Cross-service workflows
  • Context-aware branching — Different paths based on input type
  • Domain-specific — Embedded business rules and compliance

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.