[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6R61BVY4EG0J9VVXYWMDQB3":3,"skill-same:01M6R61BVY4EG0J9VVXYWMDQB3":62},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":31,"linkOnly":32,"markdownContent":33,"markdownBody":34,"frontMatter":35,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":13,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":41,"install":42,"resources":55},"01M6R61BVY4EG0J9VVXYWMDQB3","write-agent-docs",null,"Write or audit agent-facing Markdown with progressive disclosure. Use when editing SKILL.md, AGENTS.md, README.md, or other agent docs.","r3dlex\u002Fskills","r3dlex","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F291373160?v=4","01M6PEFNGGBVB7SHAPWXFFX933","01M6R5SDWFHT94734KJFMYE1SX",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fr3dlex\u002Fskills\u002Fblob\u002Fmain\u002F03-configure-generate\u002Fwrite-agent-docs\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30],"docs","write","agent docs","write agent docs","audit","markdown","editing","README","use","with","audit agent","progressive disclosure","when","2026-11-10 10:12:30",false,"---\nname: write-agent-docs\ndescription: 'Write or audit agent-facing Markdown with progressive disclosure. Use when editing SKILL.md, AGENTS.md, README.md, or other agent docs.'\n---\n\n# Progressive Disclosure Docs\n\nAgent-facing documentation has a single job: give the agent exactly what it needs to act, and nothing more. Every extra word costs tokens and increases the chance the agent misses what matters.\n\n## The Three Layers\n\n| Layer | File | When loaded | Size target |\n|---|---|---|---|\n| 1 – Signal | frontmatter `description` | Always | \u003C 150 words |\n| 2 – Core | SKILL.md \u002F AGENTS.md body | On trigger | target \u003C=100 lines; max 180 by exception |\n| 3 – Detail | REFERENCE.md, domain files | On demand | Unlimited |\n\nNever put Layer 3 content in Layer 2. Never put Layer 2 content in Layer 1.\n\n## Quick Start\n\n1. **Identify the layer** — is this a trigger description, a workflow body, or reference detail?\n2. **Write only what belongs in that layer.**\n3. If a SKILL.md body exceeds 100 lines, split it unless an audited exception is necessary; never exceed 180.\n4. Add explicit pointers to Layer 3 files with \"when to read\" context.\n\n## Writing Rules\n\n**Layer 1 – description**\n- State what the skill does. State when to trigger it.\n- No examples. No background. No caveats.\n- Ends with: `Use when [concrete trigger conditions].`\n\n**Layer 2 – body**\n- Start with Quick Start: the minimal working example.\n- Use numbered steps for workflows. Bullet points for options.\n- Every reference to a deeper file must include when to read it: `See REFERENCE.md if you need schema details.`\n- No history. No rationale. No \"Overview\" or \"Background\" sections.\n- Target \u003C=100 lines. Exceptions require owner, reason, and expiry in `.ai\u002Fskills\u002Fbody-line-exceptions.json`; 180 is absolute.\n\n**Layer 3 – reference files**\n- One file per domain or concern. Include a table of contents if over 80 lines.\n- Name files for their content: `aws-deploy.md`, not `details.md`.\n\n## Splitting Rules\n\nSplit when: body exceeds 100 lines without a justified exception, two distinct domains coexist, or a section is needed in fewer than half of all use cases.\n\nDo not split when: content is under 100 lines and covers one domain, or splitting creates a reference file under 20 lines.\n\n## Anti-Patterns\n\n| Pattern | Why it fails | Fix |\n|---|---|---|\n| \"Overview\" or \"Background\" sections | Agents don't need context, they need actions | Delete or move to human-facing README |\n| Nested bullets deeper than 2 levels | Agents lose the thread | Flatten or split to reference file |\n| Repeated information across files | Wastes tokens, causes drift | Single source of truth, reference by path |\n| Inline code examples for every variant | Bloats Layer 2 | Move variants to Layer 3 examples file |\n| Vague filenames like `details.md` | Agents can't route without reading | Rename to describe the content |\n\nFor detailed examples of good vs. bad documentation at each layer, see [REFERENCE.md](REFERENCE.md).\n","# Progressive Disclosure Docs\n\nAgent-facing documentation has a single job: give the agent exactly what it needs to act, and nothing more. Every extra word costs tokens and increases the chance the agent misses what matters.\n\n## The Three Layers\n\n| Layer | File | When loaded | Size target |\n|---|---|---|---|\n| 1 – Signal | frontmatter `description` | Always | \u003C 150 words |\n| 2 – Core | SKILL.md \u002F AGENTS.md body | On trigger | target \u003C=100 lines; max 180 by exception |\n| 3 – Detail | REFERENCE.md, domain files | On demand | Unlimited |\n\nNever put Layer 3 content in Layer 2. Never put Layer 2 content in Layer 1.\n\n## Quick Start\n\n1. **Identify the layer** — is this a trigger description, a workflow body, or reference detail?\n2. **Write only what belongs in that layer.**\n3. If a SKILL.md body exceeds 100 lines, split it unless an audited exception is necessary; never exceed 180.\n4. Add explicit pointers to Layer 3 files with \"when to read\" context.\n\n## Writing Rules\n\n**Layer 1 – description**\n- State what the skill does. State when to trigger it.\n- No examples. No background. No caveats.\n- Ends with: `Use when [concrete trigger conditions].`\n\n**Layer 2 – body**\n- Start with Quick Start: the minimal working example.\n- Use numbered steps for workflows. Bullet points for options.\n- Every reference to a deeper file must include when to read it: `See REFERENCE.md if you need schema details.`\n- No history. No rationale. No \"Overview\" or \"Background\" sections.\n- Target \u003C=100 lines. Exceptions require owner, reason, and expiry in `.ai\u002Fskills\u002Fbody-line-exceptions.json`; 180 is absolute.\n\n**Layer 3 – reference files**\n- One file per domain or concern. Include a table of contents if over 80 lines.\n- Name files for their content: `aws-deploy.md`, not `details.md`.\n\n## Splitting Rules\n\nSplit when: body exceeds 100 lines without a justified exception, two distinct domains coexist, or a section is needed in fewer than half of all use cases.\n\nDo not split when: content is under 100 lines and covers one domain, or splitting creates a reference file under 20 lines.\n\n## Anti-Patterns\n\n| Pattern | Why it fails | Fix |\n|---|---|---|\n| \"Overview\" or \"Background\" sections | Agents don't need context, they need actions | Delete or move to human-facing README |\n| Nested bullets deeper than 2 levels | Agents lose the thread | Flatten or split to reference file |\n| Repeated information across files | Wastes tokens, causes drift | Single source of truth, reference by path |\n| Inline code examples for every variant | Bloats Layer 2 | Move variants to Layer 3 examples file |\n| Vague filenames like `details.md` | Agents can't route without reading | Rename to describe the content |\n\nFor detailed examples of good vs. bad documentation at each layer, see [REFERENCE.md](REFERENCE.md).\n",{"name":5,"description":7},"main","037fe34299eb9c4a30b51f1a6bd101eae1c469b1","03-configure-generate\u002Fwrite-agent-docs","https:\u002F\u002Fgithub.com\u002Fr3dlex\u002Fskills","https:\u002F\u002Fgithub.com\u002Fr3dlex","2026-10-29 16:22:54",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add r3dlex\u002Fskills --skill write-agent-docs",{"tool":48,"command":49},"bunx","bunx skills add r3dlex\u002Fskills --skill write-agent-docs",{"tool":51,"command":52},"pnpm","pnpm dlx skills add r3dlex\u002Fskills --skill write-agent-docs","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fr3dlex\u002Fskills\u002Fblob\u002Fmain\u002F03-configure-generate\u002Fwrite-agent-docs\u002FSKILL.md",true,[56],{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"REFERENCE.md","REFERENCE","参考文档",3539,"https:\u002F\u002Fgithub.com\u002Fr3dlex\u002Fskills\u002Fblob\u002Fmain\u002F03-configure-generate\u002Fwrite-agent-docs\u002FREFERENCE.md",[63,71,79,87,96,119],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":31},"01M6R652E42RZT7M2V3RWW991Z","skill","Fixture.","https:\u002F\u002Fgithub.com\u002Fr3dlex\u002Fskills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fcatalog-malformed\u002Fskill\u002FSKILL.md",[],[70],"fixture",{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":31},"01M6R64MTPF0FGWHFS4DWP40GR","stable-skill","Fixture stable-skill.","https:\u002F\u002Fgithub.com\u002Fr3dlex\u002Fskills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fcatalog-lifecycle\u002Fstable-skill\u002FSKILL.md",[],[78,70],"stable skill",{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":31},"01M6R64HD4QVAYM2R0JSYNVDJW","experimental-skill","Fixture experimental-skill.","https:\u002F\u002Fgithub.com\u002Fr3dlex\u002Fskills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fcatalog-lifecycle\u002Fexperimental-skill\u002FSKILL.md",[],[86,70],"experimental skill",{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":31},"01M6R64FZH05TEJQW75QX1E5XD","deprecated-skill","Fixture deprecated-skill.","https:\u002F\u002Fgithub.com\u002Fr3dlex\u002Fskills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fcatalog-lifecycle\u002Fdeprecated-skill\u002FSKILL.md",[],[94,95,70],"deprecated skill","deprecated",{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":31},"01M6R64D13X5DC980GREWFSSFQ","karpathy-guidelines","Apply think-before-coding, simplicity, surgical-change, and goal-driven engineering rules. Use when planning, implementing, or reviewing code.","https:\u002F\u002Fgithub.com\u002Fr3dlex\u002Fskills\u002Fblob\u002Fmain\u002Freference\u002Fgolden-skills\u002F.agents\u002Fskills\u002Fkarpathy-guidelines\u002FSKILL.md",[],[103,104,105,106,26,107,108,109,110,111,112,113,30,114,115,116,117,118],"karpathy guidelines","karpathy","guidelines","Rules","simplicity","goal","think","driven","reviewing code","implementing","apply","coding","change","code","planning","engineering",{"skillNo":120,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":31},"01M6R640ZS60BRV9P49FT46ZJX","https:\u002F\u002Fgithub.com\u002Fr3dlex\u002Fskills\u002Fblob\u002Fmain\u002Freference\u002Fgolden-root\u002F.agents\u002Fskills\u002Fkarpathy-guidelines\u002FSKILL.md",[],[105,103,104,115,110,116,117,118,114,106,26,107,108,109,111,112,113,30]]