[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71VR3W5FAA69B016SV6PYNP":3,"skill-same:01M71VR3W5FAA69B016SV6PYNP":62},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":26,"linkOnly":27,"markdownContent":28,"markdownBody":29,"frontMatter":30,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":34,"repositoryHtmlUrl":35,"repositoryHomepageUrl":6,"ownerHtmlUrl":36,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":37,"install":38,"resources":51},"01M71VR3W5FAA69B016SV6PYNP","writing-for-agents",null,"Write predictable documents for agents. Use for skills, AGENTS.md, CLAUDE.md, or agent-facing reference documents.","paulorsv01\u002Fagents","paulorsv01","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F16693325?v=4","01M71VPCY490W8B8QH4SFYP5QQ","Paulo Vieira","01M71VPCZ0MJGRCYTKT7ZVGTF0",1,"MIT","https:\u002F\u002Fgithub.com\u002Fpaulorsv01\u002Fagents\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fwriting-for-agents\u002FSKILL.md",[],[19,20,21,22,23,24,25],"writing","writing for agents","for","documents","write","use","reference","2026-11-10 13:02:02",false,"---\nname: writing-for-agents\ndescription: \"Write predictable documents for agents. Use for skills, AGENTS.md, CLAUDE.md, or agent-facing reference documents.\"\n---\n\n# Writing for Agents\n\nWrite every agent-facing document so repeated runs follow the same process. Apply the same rules to skills, repository instructions, and referenced documents. For skill packaging, invocation, and routers, read [skill mechanics](references\u002Fskill-mechanics.md).\n\n## Context pointers\n\nA context pointer names material outside the current context and states when to read it. Its wording controls discovery.\n\n- State what the material contains.\n- Name one trigger for each distinct branch.\n- Front-load the leading concept.\n- Remove identity already carried by the target.\n\nAlways-loaded pointers spend context on every turn. User-invoked material spends human attention because the human must remember it.\n\n## Information hierarchy\n\nPlace each instruction at the highest useful level:\n\n1. In-file steps describe the ordered process.\n2. In-file reference defines rules consulted during that process.\n3. Disclosed reference serves branches that only some runs need.\n\nKeep definitions, rules, and caveats together. Split a document when a branch hides the main process or the visible later steps cause premature completion.\n\n## Completion criteria\n\nEnd every step with an observable completion criterion. Sharpen vague criteria before splitting the sequence. Demand exhaustive output where missing one item invalidates the result.\n\nUse leading words that already carry useful meaning. Reuse the token across the document. Phrase target behavior positively. Reserve prohibitions for hard guardrails and pair them with the desired action.\n\n## Pruning\n\n- Keep each meaning in one authoritative location.\n- Treat configuration, commands, and directory layout as sources of truth.\n- Document conventions, reasons, and traps the environment cannot reveal.\n- Remove stale lines, duplicated branches, and no-op instructions.\n- Test disputed instructions by running the document and comparing behavior.\n\nThe document is complete when every live branch has a pointer, every step has a checkable end, and every line changes behavior or preserves necessary reference.\n","# Writing for Agents\n\nWrite every agent-facing document so repeated runs follow the same process. Apply the same rules to skills, repository instructions, and referenced documents. For skill packaging, invocation, and routers, read [skill mechanics](references\u002Fskill-mechanics.md).\n\n## Context pointers\n\nA context pointer names material outside the current context and states when to read it. Its wording controls discovery.\n\n- State what the material contains.\n- Name one trigger for each distinct branch.\n- Front-load the leading concept.\n- Remove identity already carried by the target.\n\nAlways-loaded pointers spend context on every turn. User-invoked material spends human attention because the human must remember it.\n\n## Information hierarchy\n\nPlace each instruction at the highest useful level:\n\n1. In-file steps describe the ordered process.\n2. In-file reference defines rules consulted during that process.\n3. Disclosed reference serves branches that only some runs need.\n\nKeep definitions, rules, and caveats together. Split a document when a branch hides the main process or the visible later steps cause premature completion.\n\n## Completion criteria\n\nEnd every step with an observable completion criterion. Sharpen vague criteria before splitting the sequence. Demand exhaustive output where missing one item invalidates the result.\n\nUse leading words that already carry useful meaning. Reuse the token across the document. Phrase target behavior positively. Reserve prohibitions for hard guardrails and pair them with the desired action.\n\n## Pruning\n\n- Keep each meaning in one authoritative location.\n- Treat configuration, commands, and directory layout as sources of truth.\n- Document conventions, reasons, and traps the environment cannot reveal.\n- Remove stale lines, duplicated branches, and no-op instructions.\n- Test disputed instructions by running the document and comparing behavior.\n\nThe document is complete when every live branch has a pointer, every step has a checkable end, and every line changes behavior or preserves necessary reference.\n",{"name":5,"description":7},"main","9e37b02b8f464781d8a97986cdeb491c81ea91df","skills\u002Fengineering\u002Fwriting-for-agents",0,"https:\u002F\u002Fgithub.com\u002Fpaulorsv01\u002Fagents","https:\u002F\u002Fgithub.com\u002Fpaulorsv01","2026-10-03 00:44:43",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add paulorsv01\u002Fagents --skill writing-for-agents",{"tool":44,"command":45},"bunx","bunx skills add paulorsv01\u002Fagents --skill writing-for-agents",{"tool":47,"command":48},"pnpm","pnpm dlx skills add paulorsv01\u002Fagents --skill writing-for-agents","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fpaulorsv01\u002Fagents\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fwriting-for-agents\u002FSKILL.md",true,[52,58],{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"agents\u002Fopenai.yaml","REFERENCE","参考文档",261,"https:\u002F\u002Fgithub.com\u002Fpaulorsv01\u002Fagents\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fwriting-for-agents\u002Fagents\u002Fopenai.yaml",{"path":59,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Fskill-mechanics.md",1049,"https:\u002F\u002Fgithub.com\u002Fpaulorsv01\u002Fagents\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fwriting-for-agents\u002Freferences\u002Fskill-mechanics.md",[63,83,109,128,146,161],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":26},"01M71VR104KP9Q8NV2XKER25YN","verify-this","Verify a falsifiable claim with fresh baseline and treatment evidence. Use for verify this, prove it works, did this fix it, before-and-after evidence, or measurable behavior claims.","https:\u002F\u002Fgithub.com\u002Fpaulorsv01\u002Fagents\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fverify-this\u002FSKILL.md",[],[70,71,72,73,74,21,75,76,77,78,79,24,80,81,82],"verify this","verify","evidence","prove it","prove","claims","with","it","fresh","claim","fix","behavior","baseline",{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":26},"01M71VQYJ8W9T5MQPTRCVGBAZ7","type-system-discipline","Apply when designing types, reviewing a function signature, or writing code in any statically-typed language. Make illegal states unrepresentable, brand semantic primitives, parse external data at boundaries, refuse to lie to the compiler, exhaust variants, derive from authoritative schemas.","https:\u002F\u002Fgithub.com\u002Fpaulorsv01\u002Fagents\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Ftype-system-discipline\u002FSKILL.md",[],[90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,19,106,107,108],"type system discipline","type","type system","discipline","system","apply","at","variants","boundaries","states","types","language","brand","data","compiler","code","parse","schemas","when",{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":26},"01M71VQW4C3KZBHBBEHJM36E36","tdd","Use only when the user explicitly asks for TDD, a failing test, or a regression test, OR when the bug has an obvious cheap local test target. Skip when the test path is unclear, expensive, integration-heavy, or not requested.","https:\u002F\u002Fgithub.com\u002Fpaulorsv01\u002Fagents\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Ftdd\u002FSKILL.md",[],[111,21,24,116,117,108,118,119,120,121,122,123,124,125,126,127],"target","failing","path","local","bug","only","regression test","local test","user","regression","integration","test",{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":26},"01M71VQTR84TNQ6RGGCDBZEQC8","resolving-merge-conflicts","Resolve conflicts in an in-progress Git merge or rebase and complete the authorized operation.","https:\u002F\u002Fgithub.com\u002Fpaulorsv01\u002Fagents\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fresolving-merge-conflicts\u002FSKILL.md",[],[135,136,137,138,139,140,141,142,143,144,145],"resolving merge conflicts","merge conflicts","conflicts","merge","rebase","git","git merge","resolve conflicts","operation","complete","progress",{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":26},"01M71VQSAZ9G7VRC2TP7850AEQ","research","Investigate a technical question using primary sources and save a cited Markdown research note.","https:\u002F\u002Fgithub.com\u002Fpaulorsv01\u002Fagents\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fresearch\u002FSKILL.md",[],[148,153,154,155,156,157,158,159,160],"markdown","note","sources","research note","question","technical","investigate","save",{"skillNo":162,"name":163,"nameZh":6,"description":164,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":165,"categories":166,"keywords":167,"publishedAt":26},"01M71VQQM0E6P8T2E7NWJP8XNN","plain-language","Restate the last message in plain human language, with no jargon.","https:\u002F\u002Fgithub.com\u002Fpaulorsv01\u002Fagents\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fplain-language\u002FSKILL.md",[],[168,169,101,170,171,76,172,173,174],"plain language","plain","true","last","restate","human","message"]