agentleFS
Hive-AcademyHive-Academy/PtahCode/.claude/skills/skill-creator/SKILL.md

skill-creator

Skill34 starsChanged 10 days agoMITView on GitHub

Creates or updates agent skills — instructions, references, scripts and assets. Use when the user wants to write a new skill, improve an existing skill, or package domain knowledge, a workflow or a tool integration as a skill.

190 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

14 rules. 0 are common, 9 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 185 edited versions we read keep these.

  • 9

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Create and update skills: a SKILL.md that routes, plus optional scripts, references and assets.

    line 9
  2. Distinctive:

    Create only the directories the skill will actually use.

    line 31
  3. Distinctive:

    Keep the body to the essentials and under 500 lines.

    line 59
  4. Very specific:

    Never duplicate information between SKILL.md and references: each fact has one home, and every other mention links to it.

    line 67
  5. Very specific:

    No auxiliary files — README.md, CHANGELOG.md, QUICK_REFERENCE.md, setup or testing notes.

    line 69
  6. Distinctive:

    Write in imperative/infinitive form.

    line 71
  7. Distinctive:

    Follow these steps in order.

    line 96
  8. Distinctive:

    Understand the skill with concrete examples: Ask what the skill must support, how it will be used, and what a user would say that triggers …

    line 99
  9. Very specific:

    Initialize: Create <skill-name>/, then SKILL.md with the frontmatter, then only the resource directories the skill will use.

    line 115
  10. Distinctive:

    Do not scaffold placeholder files "to be deleted later" — they ship by accident and every reader pays for them.

    line 117
  11. Distinctive:

    Edit: Write the reusable resources first.

    line 119
  12. Distinctive:

    Iterate: Use the skill on real tasks, notice struggles, update the body or the resources, and test again.

    line 125
  13. Distinctive:

    Read the finished skill and check each item:

    line 130
  14. Very specific:

    Every file path named in SKILL.md and in the reference files exists.

    line 138

“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 and update skills: a SKILL.md that routes, plus optional scripts, references and assets.

Author against the rubric. references/prompt-authoring-rubric.md holds the ten authoring rules — routing, one home per rule, no model education, one example per mechanism, contracts over narrative, measure what loads. Read it before writing a body and audit every finished skill against it. This file keeps the format contracts and the creation process.

Anatomy

skill-name/
├── SKILL.md          # required
│   ├── frontmatter: name, description (both required)
│   └── body (Markdown instructions)
├── scripts/          # executable code; runs without loading into context
├── references/       # docs, loaded into context only when needed
└── assets/           # files used in the output (templates, icons, fonts)

Create only the directories the skill will actually use. An empty or placeholder-filled directory ships confusion.

Frontmatter contract

  • name and description are the only fields the loader reads, and the only two a skill needs. One exception is legitimate: a license field, when the skill carries a LICENSE.txt whose terms require the notice to travel with the work — this skill itself is such a case. Do not add fields beyond those.
  • name: lowercase with hyphens; must match the directory name exactly.
  • description: the primary trigger. State WHAT the skill does and WHEN to use it, in third person. All "when to use" information belongs here — the body loads only after the skill triggers, so a "When to Use" section in the body reaches nobody who has not already triggered it.

Degrees of freedom

Match the specificity of the instructions to the task's fragility:

SituationFreedomForm
Many valid approaches; context decidesHighProse instructions
A preferred pattern exists; some variation is fineMediumPseudocode or parameterized scripts
Fragile operations; consistency is criticalLowSpecific scripts, few parameters

Body rules

  • Keep the body to the essentials and under 500 lines. When approaching the limit, split content into reference files.
  • Link every reference file from SKILL.md with a load condition — what the reader needs, not just the file name. Keep references one level deep from SKILL.md.
  • For a reference longer than 100 lines, open it with a table of contents. Past ~10k words, include grep patterns in SKILL.md so the reader can search the file without loading it whole.
  • Never duplicate information between SKILL.md and references: each fact has one home, and every other mention links to it.
  • No auxiliary files — README.md, CHANGELOG.md, QUICK_REFERENCE.md, setup or testing notes. Ship only what an agent needs to do the job.
  • Write in imperative/infinitive form.

Routing is one mechanism — an index of links, each with its load condition:

# PDF Processing

## Quick start

Extract text with pdfplumber:
[code example]

## Advanced features

- **Form filling**: See `references/forms.md` for the complete guide
- **API reference**: See `references/api.md` for all methods

For a skill with several domains, frameworks or variants, split the references by domain or variant (references/aws.md, references/gcp.md) so a request loads only its own file.

Creation process

Follow these steps in order. Skip one only with a clear reason it does not apply.

  1. Understand the skill with concrete examples. Ask what the skill must support, how it will be used, and what a user would say that triggers it. Do not ask everything at once — start with the most important questions and follow up.
  2. Plan the reusable contents. For each example, identify what would help when the work recurs, and where it lives:

    The work needs…Bundle as
    Code rewritten every time, or deterministic reliabilityscripts/
    Documentation the agent should consult while workingreferences/
    Files used in the output itself (templates, brands, fonts)assets/

    Example: "help me rotate this PDF" recurs as the same rotation code every time → scripts/rotate_pdf.py.

  3. Initialize. Create <skill-name>/, then SKILL.md with the frontmatter, then only the resource directories the skill will use. Do not scaffold placeholder files "to be deleted later" — they ship by accident and every reader pays for them.
  4. Edit. Write the reusable resources first; the user may need to supply inputs such as brand assets, schemas or API docs. Test added scripts by running them — a representative sample when many are similar. Delete any file the skill does not actually need.
  5. Package. Validate first, then zip: a package that fails validation on the receiving end is worse than no package.
  6. Iterate. Use the skill on real tasks, notice struggles, update the body or the resources, and test again.

Validation checklist

Read the finished skill and check each item:

  • The frontmatter parses as YAML and carries both name and description.
  • name is lowercase-with-hyphens and matches the directory name exactly.
  • description says WHAT and WHEN, in third person, under 1024 characters.
  • Every file path named in SKILL.md and in the reference files exists. Dead links are the most common defect — check them one by one.
  • No README.md, CHANGELOG.md or other auxiliary documentation is present.

Packaging

A .skill file is an ordinary zip with a different extension. Run from the directory that contains the skill folder, so the folder is preserved as the top-level entry in the archive:

zip -r my-skill.skill my-skill/

Fix any validation problem before packaging; do not ship and then patch.

References

ReadWhen you need to …
references/prompt-authoring-rubric.mdThe ten authoring rules, to write or audit a body against.
references/workflows.mdSequential or conditional step patterns for a body.
references/output-patterns.mdTemplate and example patterns for consistent output.

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.