skill-creator
Skill75 starsChanged 32 days agoMITView on GitHub
Guides authoring, reviewing, and validating agent skills (SKILL.md + metadata.json + references/ + scripts/) in this Capgo skills repository and similar ones. Covers trigger and negative-trigger design, lean SKILL.md with a when-to-load reference index, traps over basics, verification and error-handling sections, version tagging of facts, subagent-oriented skills (main-agent vs subagent split), optional when_to_use frontmatter, inline snapshots with allowed-tools, skillgrade evals, and this repo's canonical skills/ to plugins/ mirroring and registration. Use when creating a new skill, tightening a skill's description or triggers, splitting a long skill into references, or fixing `bun run lint-skills` failures. Do not use for app documentation, README or marketing copy, or library code that is not a skill.
189 other projects use a version of this.
Adopted by
Most recently taken up by
- SebastienDegodez/copilot-instructionstheir own version, first seen Nov 8, 2026
- idavidov13/agentic-playwrighttheir own version, first seen Nov 8, 2026
- HughYau/AcademicForgetheir own version, first seen Nov 8, 2026
- Ar9av/obsidian-wikitheir own version, first seen Nov 8, 2026
- rvdbreemen/OTGW-firmwaretheir own version, first seen Nov 8, 2026
- scenario-labs/skillstheir own version, first seen Nov 7, 2026
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-aiSkilltaskflow-inbox-triage
Also in 6 projects that use this
shalombSkillmermaid-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
naman10parikhSkillecosystem-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
naman10parikhSkillfractal-delegation
Also in 5 projects that use this
Liang-MHSkillstock_analysis
获取 A 股、基金和港股的实时行情和技术分析数据
Also in 5 projects that use this
nicepkgSkillcommunity-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
Other versions189 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 189
- moltbot/clawdbot★ 394ksame name
- steipete/warelay★ 394ksame name
- steipete/clawdis★ 394ksame name
- moltbot/moltbot★ 394ksame name
- clawdbot/clawdbot★ 394ksame name
- openclaw/openclaw★ 394ksame name
- molt-bot/clawdbot★ 391ksame name
- anthropics/skills★ 189ksame name
- openai/codex★ 134ksame name
- google-gemini/gemini-cli★ 109ksame name
179 more not listed
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 repository56 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- capacitor-accessibilitySkill
- capacitor-app-intentsSkill
- capacitor-apple-review-preflightSkill
- capacitor-app-storeSkill
- capacitor-app-upgradesSkill
- capacitor-app-upgrade-v4-to-v5Skill
- capacitor-app-upgrade-v5-to-v6Skill
- capacitor-app-upgrade-v6-to-v7Skill
- capacitor-app-upgrade-v7-to-v8Skill
- capacitor-app-upgrade-v8-to-v9Skill
- capacitor-best-practicesSkill
- capacitor-ci-cdSkill
- capacitor-deep-linkingSkill
- capacitor-ios-resizabilitySkill
- capacitor-ios-security-hardeningSkill
- capacitor-keyboardSkill
- capacitor-mcpSkill
- capacitor-offline-firstSkill
- capacitor-performanceSkill
- capacitor-plugin-spm-supportSkill
- capacitor-pluginsSkill
- capacitor-plugin-upgradesSkill
- capacitor-plugin-upgrade-v4-to-v5Skill
- capacitor-plugin-upgrade-v5-to-v6Skill
- capacitor-plugin-upgrade-v6-to-v7Skill
- capacitor-plugin-upgrade-v7-to-v8Skill
- capacitor-plugin-upgrade-v8-to-v9Skill
- capacitor-push-notificationsSkill
- capacitor-securitySkill
- capacitor-splash-screenSkill
- capacitor-testingSkill
- capacitor-uiscene-migrationSkill
- capawesome-live-update-migrationSkill
- capgo-cli-usageSkill
- capgo-cloudSkill
- capgo-live-updatesSkill
- capgo-native-buildsSkill
- capgo-organization-managementSkill
- capgo-release-managementSkill
- capgo-release-workflowsSkill
- cocoapods-to-spmSkill
- cordova-to-capacitorSkill
- debugging-capacitorSkill
- framework-to-capacitorSkill
- ionic-appflow-migrationSkill
- ionic-designSkill
- ionic-enterprise-sdk-migrationSkill
- ios-android-logsSkill
- konsta-uiSkill
- safe-area-handlingSkill
- sqlite-to-fast-sqlSkill
- subscription-app-revenueSkill
- tailwind-capacitorSkill
- webapp-to-capacitorSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 9 are distinctive, and 4 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.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Write skills that load at the right moment, teach what the model does not already know, and prove their own results.
- Distinctive: line 19
Do not use when:
- Distinctive: line 26
Only load a reference when its topic is in play.
- Distinctive: line 37
Write one sentence: "Load this when <concrete situation>, so the agent can <outcome>."
- Distinctive: line 40
Ask the user at real judgement calls (scope, audience, which product to prefer).
- Distinctive: line 52
Keep it to one line and at most 1024 characters (lint enforces both).
- Very specific: line 72
Verify every command, flag, config key, and API against source or official docs.
- Distinctive: line 74
If you cannot verify a fact, write "check current docs" and do not guess.
- Very specific: line 79
Use bun / bunx only for this repository's own development and CI commands, or in Bun-specific skills.
- Distinctive: line 80
When a skill edits another repository, tell the agent to read that repository's instructions and follow its package-manager policy.
- Distinctive: line 84
When a skill edits user files, tell the agent never to replace user-provided tokens, keys, certificates, or passwords with placeholders …
- Very specific: line 88
Follow references/repo-layout.md: canonical folder in skills/, metadata.json, an entry in package.json skills, exposure through a plugin …
- Very specific: line 92
Use skillgrade (eval.yaml + graders/).
“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.
Files
Skill Authoring
Write skills that load at the right moment, teach what the model does not already know, and prove their own results.
When to Use
TRIGGER when:
- The user creates a skill directory, or asks to improve, review, or split an existing skill.
- A skill triggers too often, too rarely, or collides with a sibling skill.
bun run lint-skillsfails, or a skill must be registered in a plugin or the marketplace.- The user wants a skillgrade eval for a skill.
Do not use when:
- The user is writing app docs, a README, a changelog, or marketing copy.
- The user is editing library or plugin source that is not a skill.
Reference Index
Only load a reference when its topic is in play.
| File | Load when |
references/repo-layout.md | Adding, renaming, or registering a skill in this repository, mirroring into plugins/, or reading lint errors |
references/authoring-patterns.md | Writing the body: trigger design, reference index, traps, verification, version tags, subagent skills, inline snapshots |
Procedure
1. Scope the skill
- Write one sentence: "Load this when
<concrete situation>, so the agent can<outcome>." - List the sibling skills that could also match. Each one becomes a negative trigger.
- Split the skill if it covers two unrelated workflows. Merge it if it would be a one-paragraph stub.
- Ask the user at real judgement calls (scope, audience, which product to prefer). Do not ask about things you can read from the repo.
2. Write the frontmatter
---
name: my-skill # lowercase, hyphenated, equals the folder name
description: <what it does>. Use when <symptoms, APIs, file names, error strings>. Do not use for <case> (sibling-skill).
---- The description is the only text the router sees. Put concrete triggers in it: command names, config keys, file names, exact error strings. Name the sibling skills in the negative clause.
- Keep it to one line and at most 1024 characters (lint enforces both).
- Optional
when_to_use:is appended todescriptionin Claude Code's skill listing. The combined text is truncated at 1,536 characters, so put the key use case first. Other agents ignore it, so never move the core trigger out ofdescription. allowed-tools:only when the skill runs inline commands. Keep it minimal and read-only.
3. Write a lean body
Target fewer than about 250 lines. Use this order:
- One-line purpose, plus a version line ("Checked against X 8.77, October 2026").
## When to Use: TRIGGER bullets and aDo not use whenlist that points to sibling skills by name. Lint requires the## When to Useheading.## Reference Index: a table of each file and when to load it, with "Only load a reference when its topic is in play."## Procedure: numbered steps. Inspect before you edit, and report findings before invasive changes.## Traps: the non-obvious failures. Skip basics the model already knows.## Verification: exact commands or checks that prove success.## Error Handling: exact error strings mapped to fixes.
Move dense tables, long code, and per-topic depth into references/<topic>.md, one level deep. Put fragile or repetitive logic in scripts/.
4. Fact-check everything
- Verify every command, flag, config key, and API against source or official docs. Prefer the package's
--help, its type definitions, or its repo over memory. - Tag time-sensitive facts with versions ("Capacitor 8.5+", "Xcode 27", "CLI 8.77"). Gate optional behavior on feature detection when the targets can be older.
- If you cannot verify a fact, write "check current docs" and do not guess. List any commands that do not exist but are commonly hallucinated.
5. Match command context
- Skill prose uses standard
npm/npxexamples. Capacitor and Capgo CLI examples usenpx ...@latest. - Use
bun/bunxonly for this repository's own development and CI commands, or in Bun-specific skills. - When a skill edits another repository, tell the agent to read that repository's instructions and follow its package-manager policy.
6. Preserve secrets
When a skill edits user files, tell the agent never to replace user-provided tokens, keys, certificates, or passwords with placeholders unless asked. Placeholders are for new generic examples only. Do not suggest rotating secrets unless the user asks.
7. Register and validate (this repo)
Follow references/repo-layout.md: canonical folder in skills/, metadata.json, an entry in package.json skills, exposure through a plugin folder plus .claude-plugin/marketplace.json, then bun run sync-skills and bun run lint-skills.
8. Add an eval when behavior must not regress
Use skillgrade (eval.yaml + graders/). Prefer deterministic graders for structure. Use an LLM rubric only for qualitative judgement. Run it with bun run lint-skills-skillgrade, or ENABLE_SKILLGRADE=1 with an API key during lint.
Traps
- A vague description ("Helps with X") never triggers. A greedy one ("Use for anything about mobile") steals sibling requests.
- An index entry like "see references/" with no load condition makes the agent read everything or nothing. Always say when.
- Stale facts age faster than structure. Put the version line at the top so reviewers know what to re-check.
- Editing a mirrored copy under
plugins/<plugin>/skills/is wrong. Edit the canonicalskills/<name>/, then sync. - Inline
!command`` snapshots run on every load. Keep them guarded (fs.existsSync), fast, short in output, and read-only.
Verification
bun run lint-skillspasses. It checks the name against the folder, the description length, the## When to Useheading, validmetadata.json, marketplace exposure, and byte-identical mirrors.wc -l skills/<name>/SKILL.mdis about 250 or less, and every file inreferences/is named in the Reference Index.- A grep for each command in the skill matches the tool's
--helpor source. - Mental routing test: three prompts that should trigger the skill do, and one prompt for each sibling skill does not.
Error Handling
| Lint message | Fix |
<skill>: name "<x>" does not match folder name | Make the frontmatter name equal the directory |
<skill>: description exceeds 1024 characters | Cut filler, keep concrete triggers and the negative clause |
<skill>: missing usage guidance | Add a ## When to Use heading |
<skill>: missing metadata.json / invalid metadata.json | Create or fix the JSON (see references/repo-layout.md) |
claude marketplace: skill "<x>" is not exposed by any plugin | Create plugins/<plugin>/skills/<x>/, then bun run sync-skills |
mirrored skills: ... (run bun run sync-skills) | Run bun run sync-skills. Never hand-edit the mirror |
<plugin>: unknown skill "<x>" | The plugin folder has no matching skills/<x>. Create the canonical skill or remove the folder |
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.

