agentleFS
rsicarellirsicarelli/fakt/.claude/skills/skill-creator/SKILL.md

skill-creator

Skill67 starsChanged 46 days agoApache-2.0View on GitHub

Creates new Claude Code Skills following project patterns with trigger-rich descriptions and progressive disclosure. Use when creating new skills, converting commands to skills, scaffolding skill structure, or updating an existing skill's structure. Make sure to use this skill whenever a new skill needs to be created — it enforces the project's conventions for descriptions, body structure, allowed-tools, and progressive disclosure that are easy to get wrong.

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

We split this skill into the rules it gives an agent

5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 185 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Must include "Use when" clause with 3+ specific scenarios

    line 42
  2. Distinctive:

    Must include "Make sure to use this skill whenever" for broader activation

    line 43
  3. Distinctive:

    No quoted keyword lists — trust semantic matching

    line 46
  4. Very specific:

    Rule: If SKILL.md would exceed 500 lines, extract details to resources/.

    line 80
  5. Distinctive:

    Keep instructions lean and imperative.

    line 97

“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

Scaffolds new Claude Code Skills with proper structure, trigger-rich descriptions, and progressive disclosure.

Instructions

1. Gather Requirements

Required:

  • Skill name (kebab-case)
  • Core purpose (what problem does it solve?)
  • Trigger keywords (how will users invoke it?)

Optional:

  • Required tools (Read, Bash, etc.)
  • Supporting files needed
  • Dependencies on other skills

If migrating from slash command:

cat .claude/commands/{command-name}.md
# Extract: allowed-tools, core logic, dependencies, arguments

2. Craft Description

Descriptions must be "pushy" — they should actively combat under-triggering by covering edge cases and using assertive language. The goal is to make sure the skill gets activated whenever it's relevant.

Template:

{What it does}. Use when {scenario 1}, {scenario 2}, {scenario 3}, or {scenario 4}. Make sure to use this skill whenever {broader activation context} — {reason why this matters}.

Rules:

  • Max 1024 chars
  • Must include "Use when" clause with 3+ specific scenarios
  • Must include "Make sure to use this skill whenever" for broader activation
  • Third person (never "I can" or "you can")
  • Be specific, not vague
  • No quoted keyword lists — trust semantic matching
  • Explain why the skill matters, not just what it does

Example:

# Bad: Validates Kotlin APIs
# Mediocre: Validates Kotlin compiler API usage against source code. Use when validating API calls or checking compatibility.
# Good: Validates Kotlin compiler API usage against source code, checking deprecations and compatibility. Use when validating API calls, checking compiler API compatibility, verifying API hasn't been deprecated, or debugging API issues. Make sure to use this skill whenever compiler plugin code references Kotlin internal APIs — these APIs change frequently between versions and silent breakage is common.

3. Design Structure

Simple (no supporting files):

skill-name/
└── SKILL.md  (<300 lines)

Medium (some references):

skill-name/
├── SKILL.md            # <500 lines
└── resources/
    └── reference.md    # On-demand

Complex (scripts + docs):

skill-name/
├── SKILL.md
├── scripts/
└── resources/

Rule: If SKILL.md would exceed 500 lines, extract details to resources/.

Writing Style: Explain the "Why"

Instructions should explain why each step exists, not just what to do. This helps the agent make better decisions when encountering edge cases.

# Bad — just commands:
### 3. Run tests
Run `make test-sample`.

# Good — explains why:
### 3. Run tests
Run `make test-sample` to verify generated code compiles against the published plugin.
This catches issues that unit tests miss because it exercises the full compilation pipeline.

Keep instructions lean and imperative. Add context lines only where the "why" isn't obvious.

4. Generate SKILL.md

---
name: {skill-name}
description: {description from step 2}
allowed-tools: {minimal set — only what's needed}
---

# {Skill Title}

{One-line purpose.}

## Instructions

### 1. {First Step}
{Details}

### 2. {Second Step}
{Details}

...

## Supporting Files
{List resources/ if any}

## Related Skills
{Skills this composes with}

Allowed-tools guidelines:

  • Analysis: Read, Grep, Glob
  • Execution: Read, Bash, TaskCreate, TaskUpdate
  • Generation: Read, Write, Grep, Glob
  • Complex: Read, Write, Edit, Bash, Grep, Glob, TaskCreate, TaskUpdate

5. Create Files

SKILL_NAME="{skill-name}"
mkdir -p ".claude/skills/${SKILL_NAME}/resources"
# Write SKILL.md and any supporting files

6. Verify

  • SKILL.md has valid YAML frontmatter
  • Description < 1024 chars
  • Description includes "Use when" with 3+ scenarios
  • Description includes "Make sure to use this skill whenever" (pushy tone)
  • allowed-tools is minimal
  • Instructions are numbered, clear, and explain "why" where non-obvious
  • Supporting files documented with ## Supporting Files if resources/ exists
  • SKILL.md body < 500 lines (extract to resources/ if over)

7. Summary

SKILL CREATED: {skill-name}

Location: .claude/skills/{skill-name}/
Files: SKILL.md ({lines} lines), resources/ ({count} files)
Description: {description}
Tools: {allowed-tools}

Test by asking naturally: "{example prompt that should trigger this skill}"

Related Skills

  • codegen, feature-option — good examples of existing skill patterns

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.