skill-generator
Skill1 starsChanged 7 months agoMITView on GitHub
Generate a new SKILL.md from a description of a repeated workflow. Elicits trigger conditions, discovery steps, output format, and gotchas before writing — producing a schema-compliant first draft ready for review.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- cigery-useio/useio-skillstheir own version, first seen Sep 23, 2026
- catlog22/maestro-flowtheir own version, first seen Sep 4, 2026
- zhao-wuyan/ccw-command-explorertheir own version, first seen May 8, 2026
- k1lgor/virtual-companytheir own version, first seen Apr 30, 2026
- the-hugin/RSImtheir own version, first seen Mar 13, 2026
- u9401066/template-is-all-you-needtheir own version, first seen Mar 6, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- catlog22/maestro-flow★ 563same name
- cigery-useio/useio-skills★ 103same name
- zhao-wuyan/ccw-command-explorer★ 43same name
- gqy20/Skills_demo★ 4same name
- k1lgor/virtual-company★ 4same name
- u9401066/template-is-all-you-need★ 3same name
- the-hugin/RSIm★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository35 other files it gives its agents.
- agent-loop-designSkill
- complete-ticketSkill
- context-engineeringSkill
- create-ticketSkill
- debug-issueSkill
- dependency-riskSkill
- design-apiSkill
- design-systemSkill
- document-apiSkill
- draft-rfcSkill
- estimate-effortSkill
- explain-codebaseSkill
- generate-runbookSkill
- incident-reviewSkill
- learn-technologySkill
- map-api-flowSkill
- migrate-dataSkill
- onboard-codebaseSkill
- perf-investigateSkill
- platform-readinessSkill
- refactor-strategySkill
- research-codebaseSkill
- reverse-engineerSkill
- review-codeSkill
- scrutiniseSkill
- security-auditSkill
- spec-to-backlogSkill
- summarise-prSkill
- tech-blog-postSkill
- tech-deep-diveSkill
- test-strategySkill
- threat-modelSkill
- write-adrSkill
- write-changelogSkill
- write-testsSkill
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 7 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
7
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
- Distinctive: line 16
Before generating anything, read the following to internalise the schema and format conventions:
- Very specific: line 18
Read SKILL-SCHEMA.md — understand all required and optional frontmatter fields, allowed-tools options, and versioning policy.
- Distinctive: line 21
Do not proceed to elicitation until both reads are complete.
- Distinctive: line 97
Before writing the file, review the draft against this checklist.
- Distinctive: line 108
If any item fails, fix it in the draft before writing.
- Very specific: line 112
Write the skill to skills/{name}/SKILL.md.
- Very specific: line 114
If the skill's instructions reference templates, example outputs, or other supporting files, create a references/ subdirectory and place …
- Distinctive: line 144
Do not write the skill until all elicitation questions are answered.
- Distinctive: line 145
Do not invent discovery steps.
- Very specific: line 146
Do not include tools speculatively.
- Distinctive: line 148
If the workflow the user describes is too broad (e.g.
- Very specific: line 149
Do not generate a skill that duplicates an existing one.
“Common” is measured: kept by at least 6 in 10 of the 4 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.
Files
Generate a new skill from a workflow description. Do not write anything until the elicitation steps are complete.
Step 1: Load the quality bar
Before generating anything, read the following to internalise the schema and format conventions:
- Read
SKILL-SCHEMA.md— understand all required and optional frontmatter fields, allowed-tools options, and versioning policy. - Glob for
skills/*/SKILL.mdand read 2–3 of the most structurally complete skills as format references. Prefer skills that have: a Determine the target section, numbered discovery steps, a detailed output format, and a Gotchas section.
Do not proceed to elicitation until both reads are complete.
Step 2: Elicit the workflow
A one-line description is not enough to produce a good skill. Work through the following questions, either by asking the user interactively or by extracting answers from a detailed description they have already provided.
For each question, if the answer is not in the user's input, ask before proceeding. Do not invent answers.
Trigger and invocation
- What is the skill's name (kebab-case, becomes the slash command)?
- In one sentence: what does this skill do and when should it be invoked?
- What are 2–3 realistic example invocations with arguments?
Input
- What does the user pass in? (file path, URL, natural language description, combination)
- Are there multiple valid input forms? What does each one mean?
- What local files should the skill read before acting? (source code, config, schemas, existing docs)
Discovery
- What does the skill need to find or derive before producing output?
- What Glob patterns or Grep terms locate the relevant files?
- What should it do if the expected files are not found?
Output
- What does the output look like? (tables, diagrams, bullet lists, prose, structured sections)
- Where does it go? (inline by default, or write to a file — what path?)
- Is there a
--saveor--inlineflag pattern? - What is the format for individual findings or entries?
Boundaries and gotchas
- What should this skill never do? (common failure modes to guard against)
- What inputs or situations require special handling?
- What assumptions does the skill make that the user should know about?
- What is out of scope — things the user might expect but the skill deliberately does not cover?
Tools
- Which tools does the skill actually need? Be as restrictive as possible.
- Available:
Read,Glob,Grep,Write,Edit,Bash,WebFetch,WebSearch,Agent
Step 3: Draft the skill
Once all elicitation questions are answered, generate the SKILL.md using this structure:
---
name: {name}
description: {one sentence — what it does and when to invoke it}
compatibility: {prerequisites or limitations, if any}
allowed-tools: {space-separated list — only what the skill actually needs}
metadata:
author: {github username if known, else omit}
version: "1.0"
last-updated: {today's date YYYY-MM-DD}
---
{One sentence summary of what the skill does.}
## Determine the target
{Enumerate all valid input forms. For each, describe what it means and how it is handled. Include a note on what to do when input is ambiguous or missing.}
## Discovery steps
{Numbered steps — what to read and find before producing output. Each step should include specific Glob patterns or Grep terms. Include what to do when expected files are not found.}
## Output format
{Describe the output structure in detail. Include section headings, table formats, and example snippets. State where output goes by default and any flag that changes the destination.}
## Gotchas
{Bullet list — one per failure mode. Each gotcha should be specific enough to prevent a real mistake, not generic advice.}Step 4: Evaluate the draft
Before writing the file, review the draft against this checklist. Fix any failures before proceeding:
namematches the intended slash command in kebab-casedescriptionis one sentence, action-oriented, and specific enough to distinguish this skill from similar onesallowed-toolsis as restrictive as possible — no tools included speculativelyDetermine the targetcovers all valid input forms and handles ambiguous inputDiscovery stepsare numbered, include specific Glob/Grep patterns, and handle missing filesOutput formatspecifies every section, table, and destination — a reader could implement it without guessingGotchashas at least three entries, each specific to this skill's failure modes- The skill does not tell the agent to "help the user" or "assist with" — it gives precise instructions
If any item fails, fix it in the draft before writing.
Step 5: Write and register
- Write the skill to
skills/{name}/SKILL.md. Create the directory if it does not exist. - If the skill's instructions reference templates, example outputs, or other supporting files, create a
references/subdirectory and place those files there. Add areferences/README.mdexplaining the purpose of each file. - Print the following for the user to add to
README.mdandskills.json:
README row (add to the appropriate category table):
| [{name}](skills/{name}/SKILL.md) | {description} |skills.json entry:
{
"name": "{name}",
"description": "{description}",
"path": "skills/{name}/SKILL.md",
"category": "{category}",
"allowed-tools": [{tools as JSON array}],
"version": "1.0",
"author": "{author}"
}- Tell the user:
- The file path written
- To run
python3 scripts/validate.pyto verify the skill is correctly registered inskills.json - That this is a first draft — test it against at least two real inputs before committing
- Which sections are most likely to need refinement based on the elicitation (flag any questions that were answered with uncertainty)
Gotchas
- Do not write the skill until all elicitation questions are answered. A skill generated from a vague description will produce vague output — this makes more work, not less.
- Do not invent discovery steps. If the user has not described what files the skill should read, ask. A skill without discovery steps is a prompt, not a skill.
- Do not include tools speculatively.
AgentandBashin particular should only be included if the elicitation explicitly requires subagent delegation or shell execution. - The generated skill is a first draft. Flag this clearly — do not present it as production-ready without the user testing it against real inputs.
- If the workflow the user describes is too broad (e.g. "help with code quality"), narrow it to a single, specific output before generating. A skill that tries to do everything does nothing well.
- Do not generate a skill that duplicates an existing one. Run
Glob skills/*/SKILL.mdand read descriptions to check for overlap before writing. If overlap exists, suggest extending the existing skill instead. - This skill pairs naturally with
/context-engineering(register the new skill in the agent context file after generating it) and/agent-loop-design(new skills often become the discrete work units dispatched by an autonomous loop).
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
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.

