[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74FWPNEZWWGQ2Q37N6MMWP1":3,"skill-same:01M74FWPNEZWWGQ2Q37N6MMWP1":49},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":13,"repositoryHtmlUrl":25,"repositoryHomepageUrl":6,"ownerHtmlUrl":26,"ownerBlogUrl":6,"ownerDescription":27,"updatedAt":28,"install":29,"resources":42},"01M74FWPNEZWWGQ2Q37N6MMWP1","write-a-skill",null,"Astrumon\u002Fspovishun-skills","Astrumon","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F67917191?v=4","01M74FSGPFMM3XWY2PMSEN8Z2W","Danylo Bidnyk","01M74FSGQ12JX4QM4FEY6NEH6N",0,"MIT","https:\u002F\u002Fgithub.com\u002FAstrumon\u002Fspovishun-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwrite-a-skill\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"# Write a Skill\n\nHelp the user create a new Claude Code skill inside **their own project's** `.claude\u002Fskills\u002F` directory.\nThe skill format below is the native Claude Code format — a single self-contained directory with\n`SKILL.md` at minimum, and optional reference files \u002F scripts as needed.\n\nCommunicate with the user in {{PROJECT_LANGUAGE}}.\n\n## Process\n\n### Step 1 — Gather requirements\n\nAsk one question at a time:\n\n1. **Skill id** — kebab-case (lowercase, hyphens, no spaces). Must match the directory name.\n2. **What task or domain does the skill cover?** — one or two sentences.\n3. **What specific use cases should it handle?** — concrete examples of when the user would invoke it.\n4. **Does it need executable scripts?** — for deterministic operations (validation, formatting,\n   data transforms). If yes, scripts go in `scripts\u002F` inside the skill directory.\n5. **Any reference material to bundle?** — large docs, schemas, examples that would bloat SKILL.md.\n6. **Trigger phrases** — what would the user say to make Claude pick this skill? Provide\n   examples in both English and {{PROJECT_LANGUAGE}}.\n\n### Step 2 — Decide structure\n\nDefault to a single `SKILL.md`. Split into multiple files only when:\n\n- `SKILL.md` would exceed ~100 lines\n- Content has distinct domains (e.g. finance schemas vs sales schemas)\n- Advanced features are rarely needed and would distract from the common path\n\nRecommended layout when splitting is needed:\n\n```\n.claude\u002Fskills\u002F\u003Cskill-id>\u002F\n├── SKILL.md           # Main instructions (REQUIRED)\n├── REFERENCE.md       # Detailed docs (optional)\n├── EXAMPLES.md        # Worked examples (optional)\n└── scripts\u002F           # Utility scripts (optional)\n    └── helper.js\n```\n\n`SKILL.md` should link to siblings: `See [REFERENCE.md](REFERENCE.md) for full schema.`\n\n### Step 3 — Draft SKILL.md\n\nUse this template:\n\n```markdown\n---\nname: \u003Cskill-id>\ndescription: \u003C1–2 sentences describing capability. Use when \u003Cspecific triggers>.>\n---\n\n# \u003CHuman-Readable Title>\n\n## Quick start\n\n\u003CSmallest working example — code snippet or 3-step recipe.>\n\n## Workflow\n\n\u003CNumbered steps. Be concrete. For complex tasks, include a checklist.>\n\n## Examples \u002F Common patterns\n\n\u003C2–3 worked examples covering the main use cases.>\n\n## Advanced features\n\n\u003CLink to REFERENCE.md \u002F EXAMPLES.md if they exist. Otherwise inline.>\n\n## Constraints (optional)\n\n**MUST DO:** ...\n**MUST NOT DO:** ...\n```\n\n### Step 4 — Write the `description` carefully\n\nThe description is **the only thing Claude sees** when deciding whether to invoke the skill.\nIt is surfaced in the system prompt alongside every other installed skill.\n\nRules:\n\n- **≤ 1024 characters**\n- **Third person, present tense** (not \"I create skills...\" but \"Creates skills...\")\n- **First sentence:** what the skill does\n- **Second sentence:** when to trigger it — list specific keywords, file types, or contexts\n\n✅ Good:\n\n```\nExtract text and tables from PDF files, fill forms, merge documents. Use when working with\nPDF files or when the user mentions PDFs, forms, or document extraction.\n```\n\n❌ Bad:\n\n```\nHelps with documents.\n```\n\nThe bad version gives Claude no way to distinguish this from any other document skill.\n\n### Step 5 — Decide on scripts\n\nAdd a script in `scripts\u002F` only when:\n\n- The operation is **deterministic** (validation, formatting, parsing)\n- The same code would otherwise be regenerated on every invocation\n- Errors need explicit, predictable handling\n\nScripts save tokens and improve reliability versus inline-generated code.\n\nIf a script is needed, name it clearly (`validate-config.js`, not `helper.js`), keep it\nself-contained, and document its CLI interface inside SKILL.md.\n\n### Step 6 — Review with the user\n\nPresent the draft and ask:\n\n- Does the description correctly capture when this skill should fire?\n- Are the trigger phrases the actual phrases you would say?\n- Does the workflow cover the use cases from Step 1?\n- Anything missing, unclear, or over-detailed?\n\nIterate based on feedback.\n\n### Step 7 — Save and confirm\n\nWrite the skill to `.claude\u002Fskills\u002F\u003Cskill-id>\u002FSKILL.md` (plus any sibling files \u002F scripts).\nConfirm the path with the user. Suggest they restart their Claude Code session so the new\nskill is picked up.\n\n## Review Checklist\n\nBefore declaring done, verify:\n\n- [ ] Frontmatter `name` matches the directory name\n- [ ] `description` includes both **what** and **when to trigger** (third person, ≤ 1024 chars)\n- [ ] `SKILL.md` has a Quick Start that works as written\n- [ ] Workflow steps are concrete (no vague \"do the thing\")\n- [ ] No time-sensitive info (\"as of 2024...\" rots fast)\n- [ ] Terminology is consistent throughout\n- [ ] If split into multiple files, all links resolve and references stay one level deep\n- [ ] If scripts are included, each has a documented CLI interface\n\n## Scope — IMPORTANT\n\nThis skill produces skills for the **user's own project**, written to `.claude\u002Fskills\u002F` in their\nworking directory. It does NOT produce contributions to the `spovishun-skills` plugin package.\nThe plugin uses a stricter schema (`manifest.yaml` + body, no extra files inside the skill\ndirectory) — those are authored differently and validated via the plugin's own tooling.\n",{},"main","4ad702b3d4f403306c1a016277020693dd669f55","skills\u002Fwrite-a-skill","https:\u002F\u002Fgithub.com\u002FAstrumon\u002Fspovishun-skills","https:\u002F\u002Fgithub.com\u002FAstrumon","Software Engineer","2026-10-14 01:01:46",{"source":7,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add Astrumon\u002Fspovishun-skills --skill write-a-skill",{"tool":35,"command":36},"bunx","bunx skills add Astrumon\u002Fspovishun-skills --skill write-a-skill",{"tool":38,"command":39},"pnpm","pnpm dlx skills add Astrumon\u002Fspovishun-skills --skill write-a-skill","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAstrumon\u002Fspovishun-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwrite-a-skill\u002FSKILL.md",true,[43],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},"manifest.yaml","REFERENCE","参考文档",746,"https:\u002F\u002Fgithub.com\u002FAstrumon\u002Fspovishun-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwrite-a-skill\u002Fmanifest.yaml",[50,56,62,69,74,79],{"skillNo":51,"name":52,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":18},"01M74FX71JH2KNG5KX7TZHSKCB","universal-skill","https:\u002F\u002Fgithub.com\u002FAstrumon\u002Fspovishun-skills\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fsource\u002Fskills\u002Funiversal-skill\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M74FX57GTEFPJVCPWPSP6CCW","notion-skill","https:\u002F\u002Fgithub.com\u002FAstrumon\u002Fspovishun-skills\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fsource\u002Fskills\u002Fnotion-skill\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":18},"01M74FX30F3K8906P5ASQ3DNXR","inline-frontmatter-skill","Hand-authored description that already lives in the body and must not be double-wrapped.","https:\u002F\u002Fgithub.com\u002FAstrumon\u002Fspovishun-skills\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fsource\u002Fskills\u002Finline-frontmatter-skill\u002FSKILL.md",[],[],{"skillNo":70,"name":52,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M74FX18AGHM2KHQ502PMJZRJ","https:\u002F\u002Fgithub.com\u002FAstrumon\u002Fspovishun-skills\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fsource-v2\u002Fskills\u002Funiversal-skill\u002FSKILL.md",[],[],{"skillNo":75,"name":58,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M74FWZJ193G810P0ZJ1PKEZ9","https:\u002F\u002Fgithub.com\u002FAstrumon\u002Fspovishun-skills\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fsource-v2\u002Fskills\u002Fnotion-skill\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M74FWKBT0NTSJFXQHXE6RA5W","update-doc-full","https:\u002F\u002Fgithub.com\u002FAstrumon\u002Fspovishun-skills\u002Fblob\u002Fmain\u002Fskills\u002Fupdate-doc-full\u002FSKILL.md",[],[]]