[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75B57FN00BYY5Y50DZ980Q4":3,"skill-same:01M75B57FN00BYY5Y50DZ980Q4":91},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":31,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M75B57FN00BYY5Y50DZ980Q4","writing-skills",null,"Writes a new skill or changes an existing one in its folder (SKILL.md, references and scripts) and tests it.","AidALL\u002Fghost-alice","AidALL","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F130629202?v=4","01M75B3KHHA5AD250W0XNC7DGX","AidALL Inc.","01M75B3KJAYXRRNBW5F9B8C2RW",15,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FAidALL\u002Fghost-alice\u002Fblob\u002Fmain\u002Fcoding-convention\u002Fwriting-skills\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: writing-skills\ndescription: \"Writes a new skill or changes an existing one in its folder (SKILL.md, references and scripts) and tests it.\"\ncompatibility:\n  - \"Python 3.11+ standard library\"\n---\n\n# Writing Skills\n\nThe response model changes reusable skill guidance from observed behavior or a direct source-contract contradiction, then validates the package and the affected decision. Read test-driven-development for executable changes; an instruction-only contradiction can use preserved source evidence instead of an invented failed delegate run.\n\n## Baseline and scope\n\nBefore editing, identify the exact skill decision that is wrong or ambiguous. Retain the actual baseline outcome or source quotation and locator. A passing baseline stays a pass; a predicted failure is not an observed failure.\n\nWrite a reusable technique, pattern or reference when repeated work benefits from it. Keep one-off project rules in project instructions. Do not create a skill merely because a regular expression or existing automation can enforce the constraint.\n\nDefine the affected evaluation before editing. Include only cases whose outcomes can change the response model's judgment of an acceptance criterion or the next correction. For executable behavior, the response model follows test-driven-development for the code and test being changed.\n\n## Author the package\n\nUse `SKILL.md` for core guidance, conditionally loaded `references\u002F` for detail, and `scripts\u002F` for executable support. At an operational handoff, write enough for a reader without prior conversation to act: identify the caller and trigger, the authoritative origin and required shape of transferred values, the exposed tool or actual API\u002FCLI invocation, the result and its storage owner, and the conditional next action. Distinguish the response model's meaning judgment from code that authenticates its recorded judgment. Put a shared procedure in one owning reference and link callers to its section; do not repeat this field list in every sentence or replace an executable transfer with an actor label. Mark illustrative prompts, schemas and data as examples rather than ambient task authority.\n\nThe frontmatter must contain a directory-matching lowercase-hyphen name and a description that states what the skill does and when it is used. The description serves discovery, not execution: it contains no summary of the body and no procedure step, and no point appears twice in it. Keep descriptions within 1024 characters with the key use case first; state compatibility when the workflow depends on an environment.\n\nIn the body, state the workflow's purpose, applicability, procedure, output and failure modes. Use a quick-reference table when the reader looks up an entry by its condition. Prefer one complete relevant example over multiple shallow language variants. Long code and reference tables belong in supporting files; every reference in the package needs a clear loading condition.\n\nDo not add hypothetical defenses or repeat a prohibition merely to increase emphasis. If a real evaluation shows rationalization, revise the instruction that allowed the wrong decision.\n\n## Validate and evaluate\n\n1. Preserve baseline evidence before changing the candidate.\n2. Edit the affected body, callers and references to remove the demonstrated contradiction.\n3. Run the affected pressure, application or source-contract check required by the task and record the actual outcome and limits.\n4. If an observation contradicts a requirement, follow the [diagnostic procedure](references\u002Fbulletproofing-skills.md#procedure) to select and apply the justified correction, then repeat only the affected checks.\n5. Distribute or commit only under the human user's existing authorization and after required validation succeeds.\n\nCoordinated changes may span packages; each changed package still needs its own disposition.\n\nVerification-before-completion defines useful-check selection, evidence reuse, original source and time, and completion claims. Systematic-debugging defines incident accounting and bounded continuation. Do not duplicate either policy in a skill under repair.\n\n## Failure modes\n\n- Do not backdate missing baseline evidence or delete inconvenient results.\n- Do not add a new report, hook or mandatory record when existing task context already preserves the evidence.\n\n## Conditional references\n\n| Authoring uncertainty | Reference |\n| --- | --- |\n| Official skill design principles | [anthropic-best-practices.md](references\u002Fanthropic-best-practices.md) |\n| Whether an observed output or rule-application failure warrants an instruction repair | [bulletproofing-skills.md](references\u002Fbulletproofing-skills.md) |\n| Trigger, workflow and output separation | [condition-skill-output-detailed.md](references\u002Fcondition-skill-output-detailed.md) |\n| Flowchart notation | [mermaid-conventions.md](references\u002Fmermaid-conventions.md) |\n| Pressure dimensions for a case | [persuasion-principles.md](references\u002Fpersuasion-principles.md) |\n| A post-evaluation contradiction | [review-loop.md](references\u002Freview-loop.md) |\n| Test method by skill type | [skill-testing-guide.md](references\u002Fskill-testing-guide.md) |\n| Delegate evaluation that the human user authorized | [testing-skills-with-subagents.md](references\u002Ftesting-skills-with-subagents.md) |\n| Trigger precision and recall | [trigger-eval.md](references\u002Ftrigger-eval.md) |\n| Discovery scenario example | [CLAUDE_MD_TESTING.md](references\u002Fexamples\u002FCLAUDE_MD_TESTING.md) |\n","# Writing Skills\n\nThe response model changes reusable skill guidance from observed behavior or a direct source-contract contradiction, then validates the package and the affected decision. Read test-driven-development for executable changes; an instruction-only contradiction can use preserved source evidence instead of an invented failed delegate run.\n\n## Baseline and scope\n\nBefore editing, identify the exact skill decision that is wrong or ambiguous. Retain the actual baseline outcome or source quotation and locator. A passing baseline stays a pass; a predicted failure is not an observed failure.\n\nWrite a reusable technique, pattern or reference when repeated work benefits from it. Keep one-off project rules in project instructions. Do not create a skill merely because a regular expression or existing automation can enforce the constraint.\n\nDefine the affected evaluation before editing. Include only cases whose outcomes can change the response model's judgment of an acceptance criterion or the next correction. For executable behavior, the response model follows test-driven-development for the code and test being changed.\n\n## Author the package\n\nUse `SKILL.md` for core guidance, conditionally loaded `references\u002F` for detail, and `scripts\u002F` for executable support. At an operational handoff, write enough for a reader without prior conversation to act: identify the caller and trigger, the authoritative origin and required shape of transferred values, the exposed tool or actual API\u002FCLI invocation, the result and its storage owner, and the conditional next action. Distinguish the response model's meaning judgment from code that authenticates its recorded judgment. Put a shared procedure in one owning reference and link callers to its section; do not repeat this field list in every sentence or replace an executable transfer with an actor label. Mark illustrative prompts, schemas and data as examples rather than ambient task authority.\n\nThe frontmatter must contain a directory-matching lowercase-hyphen name and a description that states what the skill does and when it is used. The description serves discovery, not execution: it contains no summary of the body and no procedure step, and no point appears twice in it. Keep descriptions within 1024 characters with the key use case first; state compatibility when the workflow depends on an environment.\n\nIn the body, state the workflow's purpose, applicability, procedure, output and failure modes. Use a quick-reference table when the reader looks up an entry by its condition. Prefer one complete relevant example over multiple shallow language variants. Long code and reference tables belong in supporting files; every reference in the package needs a clear loading condition.\n\nDo not add hypothetical defenses or repeat a prohibition merely to increase emphasis. If a real evaluation shows rationalization, revise the instruction that allowed the wrong decision.\n\n## Validate and evaluate\n\n1. Preserve baseline evidence before changing the candidate.\n2. Edit the affected body, callers and references to remove the demonstrated contradiction.\n3. Run the affected pressure, application or source-contract check required by the task and record the actual outcome and limits.\n4. If an observation contradicts a requirement, follow the [diagnostic procedure](references\u002Fbulletproofing-skills.md#procedure) to select and apply the justified correction, then repeat only the affected checks.\n5. Distribute or commit only under the human user's existing authorization and after required validation succeeds.\n\nCoordinated changes may span packages; each changed package still needs its own disposition.\n\nVerification-before-completion defines useful-check selection, evidence reuse, original source and time, and completion claims. Systematic-debugging defines incident accounting and bounded continuation. Do not duplicate either policy in a skill under repair.\n\n## Failure modes\n\n- Do not backdate missing baseline evidence or delete inconvenient results.\n- Do not add a new report, hook or mandatory record when existing task context already preserves the evidence.\n\n## Conditional references\n\n| Authoring uncertainty | Reference |\n| --- | --- |\n| Official skill design principles | [anthropic-best-practices.md](references\u002Fanthropic-best-practices.md) |\n| Whether an observed output or rule-application failure warrants an instruction repair | [bulletproofing-skills.md](references\u002Fbulletproofing-skills.md) |\n| Trigger, workflow and output separation | [condition-skill-output-detailed.md](references\u002Fcondition-skill-output-detailed.md) |\n| Flowchart notation | [mermaid-conventions.md](references\u002Fmermaid-conventions.md) |\n| Pressure dimensions for a case | [persuasion-principles.md](references\u002Fpersuasion-principles.md) |\n| A post-evaluation contradiction | [review-loop.md](references\u002Freview-loop.md) |\n| Test method by skill type | [skill-testing-guide.md](references\u002Fskill-testing-guide.md) |\n| Delegate evaluation that the human user authorized | [testing-skills-with-subagents.md](references\u002Ftesting-skills-with-subagents.md) |\n| Trigger precision and recall | [trigger-eval.md](references\u002Ftrigger-eval.md) |\n| Discovery scenario example | [CLAUDE_MD_TESTING.md](references\u002Fexamples\u002FCLAUDE_MD_TESTING.md) |\n",{"name":5,"description":7,"compatibility":24},[25],"Python 3.11+ standard library","main","d8f3b95a64ce7042d26b5b14282d54821538b79e","coding-convention\u002Fwriting-skills",4,"https:\u002F\u002Fgithub.com\u002FAidALL\u002Fghost-alice","https:\u002F\u002Faidall.github.io\u002Fghost-alice\u002F","https:\u002F\u002Fgithub.com\u002FAidALL","AI for everyone, AidALL","2026-11-15 02:33:23",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add AidALL\u002Fghost-alice --skill writing-skills",{"tool":41,"command":42},"bunx","bunx skills add AidALL\u002Fghost-alice --skill writing-skills",{"tool":44,"command":45},"pnpm","pnpm dlx skills add AidALL\u002Fghost-alice --skill writing-skills","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAidALL\u002Fghost-alice\u002Fblob\u002Fmain\u002Fcoding-convention\u002Fwriting-skills\u002FSKILL.md",true,[49,55,59,63,67,71,75,79,83,87],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fanthropic-best-practices.md","REFERENCE","参考文档",4638,"https:\u002F\u002Fgithub.com\u002FAidALL\u002Fghost-alice\u002Fblob\u002Fmain\u002Fcoding-convention\u002Fwriting-skills\u002Freferences\u002Fanthropic-best-practices.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fbulletproofing-skills.md",3903,"https:\u002F\u002Fgithub.com\u002FAidALL\u002Fghost-alice\u002Fblob\u002Fmain\u002Fcoding-convention\u002Fwriting-skills\u002Freferences\u002Fbulletproofing-skills.md",{"path":60,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Fcondition-skill-output-detailed.md",1854,"https:\u002F\u002Fgithub.com\u002FAidALL\u002Fghost-alice\u002Fblob\u002Fmain\u002Fcoding-convention\u002Fwriting-skills\u002Freferences\u002Fcondition-skill-output-detailed.md",{"path":64,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Fexamples\u002FCLAUDE_MD_TESTING.md",2632,"https:\u002F\u002Fgithub.com\u002FAidALL\u002Fghost-alice\u002Fblob\u002Fmain\u002Fcoding-convention\u002Fwriting-skills\u002Freferences\u002Fexamples\u002FCLAUDE_MD_TESTING.md",{"path":68,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Fmermaid-conventions.md",5250,"https:\u002F\u002Fgithub.com\u002FAidALL\u002Fghost-alice\u002Fblob\u002Fmain\u002Fcoding-convention\u002Fwriting-skills\u002Freferences\u002Fmermaid-conventions.md",{"path":72,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Fpersuasion-principles.md",2051,"https:\u002F\u002Fgithub.com\u002FAidALL\u002Fghost-alice\u002Fblob\u002Fmain\u002Fcoding-convention\u002Fwriting-skills\u002Freferences\u002Fpersuasion-principles.md",{"path":76,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Freview-loop.md",1254,"https:\u002F\u002Fgithub.com\u002FAidALL\u002Fghost-alice\u002Fblob\u002Fmain\u002Fcoding-convention\u002Fwriting-skills\u002Freferences\u002Freview-loop.md",{"path":80,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Fskill-testing-guide.md",1424,"https:\u002F\u002Fgithub.com\u002FAidALL\u002Fghost-alice\u002Fblob\u002Fmain\u002Fcoding-convention\u002Fwriting-skills\u002Freferences\u002Fskill-testing-guide.md",{"path":84,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Ftesting-skills-with-subagents.md",7078,"https:\u002F\u002Fgithub.com\u002FAidALL\u002Fghost-alice\u002Fblob\u002Fmain\u002Fcoding-convention\u002Fwriting-skills\u002Freferences\u002Ftesting-skills-with-subagents.md",{"path":88,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Ftrigger-eval.md",2303,"https:\u002F\u002Fgithub.com\u002FAidALL\u002Fghost-alice\u002Fblob\u002Fmain\u002Fcoding-convention\u002Fwriting-skills\u002Freferences\u002Ftrigger-eval.md",[92,99,106,113,120,127],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M75B5QP9T3Z24VG1PZ8BFRXS","skill-evolution","Recommends skill changes from recorded tool-call patterns and conduct corrections asserted by the human user or observed by the response model, when the human user asks for such recommendations or their pending backlog, or authorizes that analysis.","https:\u002F\u002Fgithub.com\u002FAidALL\u002Fghost-alice\u002Fblob\u002Fmain\u002Fskill-evolution\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M75B5M1QFQRR9AW2PSV9GMNX","session-intent-analyzer","Records the response model's new or changed interpretation of the input the response model is answering as its `interpreted-as` record before the first tool call of work, and reads that record when it can change the objective, constraints, work choice or whether earlier work continues.","https:\u002F\u002Fgithub.com\u002FAidALL\u002Fghost-alice\u002Fblob\u002Fmain\u002Fsession-intent-analyzer\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":19},"01M75B5FW8XJ7WGK3R683PG1RW","necessity-gate","Judges whether proposed work is justified, needs a narrower scope or is unjustified, when the response model proposes new work or the human user asks whether to do it.","https:\u002F\u002Fgithub.com\u002FAidALL\u002Fghost-alice\u002Fblob\u002Fmain\u002Fnecessity-gate\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":19},"01M75B5CKFWYKXMAN9SWPDGT0S","merge-companion","Reviews the installer's backups of external changes to installed skills and merges each into the new skill version, discards or defers it as the human user chooses, before a task changes or reinstalls an installed skill, or when the human user asks for that review.","https:\u002F\u002Fgithub.com\u002FAidALL\u002Fghost-alice\u002Fblob\u002Fmain\u002Fmerge-companion\u002FSKILL.md",[],[],{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":19},"01M75B59BWNYVAK4W2V577W2TA","compact-handoff","Writes a handoff of the task's objective, scope, evidence and next action when a long conversation, compaction or handover to another session or agent could lose them, and resumes the task from it afterwards.","https:\u002F\u002Fgithub.com\u002FAidALL\u002Fghost-alice\u002Fblob\u002Fmain\u002Fcompact-handoff\u002FSKILL.md",[],[],{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":19},"01M75B54JKCMQNY6KPFNMCBQZY","writing-plans","Writes an implementation plan that breaks requirements the human user accepted into tasks a newcomer to the project can carry out, after the human user settles decisions only the human user can make and the response model settles technical choices within what the human user's instructions authorize, before implementation.","https:\u002F\u002Fgithub.com\u002FAidALL\u002Fghost-alice\u002Fblob\u002Fmain\u002Fcoding-convention\u002Fwriting-plans\u002FSKILL.md",[],[]]