[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F4XM24CY9XH68G3Y34WGDQ":3,"skill-same:01M7F4XM24CY9XH68G3Y34WGDQ":48},{"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":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":33,"updatedAt":34,"install":35,"resources":47},"01M7F4XM24CY9XH68G3Y34WGDQ","skill-improve",null,"Improve a skill using a test-fix-retest loop. Runs static checks, proposes targeted fixes, rewrites the skill, re-tests, and keeps or reverts based on score change.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fskill-improve\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: skill-improve\ndescription: \"Improve a skill using a test-fix-retest loop. Runs static checks, proposes targeted fixes, rewrites the skill, re-tests, and keeps or reverts based on score change.\"\nargument-hint: \"[skill-name]\"\nuser-invocable: true\nallowed-tools: Read, Glob, Grep, Write, Bash\n---\n\n# Skill Improve\n\nRuns an improvement loop on a single skill:\ntest → fix → retest → keep or revert.\n\n---\n\n## Phase 1: Parse Argument\n\nRead the skill name from the first argument. If missing, output usage and stop:\n\n```\nUsage: \u002Fskill-improve [skill-name]\nExample: \u002Fskill-improve tech-debt\n```\n\nVerify `.claude\u002Fskills\u002F[name]\u002FSKILL.md` exists. If not, stop with:\n\"Skill '[name]' not found.\"\n\n---\n\n## Phase 2: Baseline Test\n\nRun `\u002Fskill-test static [name]` and record the baseline score:\n- Count of FAILs\n- Count of WARNs\n- Which specific checks failed (Check 1–7)\n\nDisplay to the user:\n```\nStatic baseline:   [N] failures, [M] warnings\nFailing: Check 4 (no ask-before-write), Check 5 (no handoff)\n```\n\nIf baseline is 0 FAILs and 0 WARNs, note it and proceed to Phase 2b.\n\n### Phase 2b: Category Baseline\n\nLook up the skill's `category:` field in `CCGS Skill Testing Framework\u002Fcatalog.yaml`.\n\nIf no `category:` field is found, display:\n\"Category: not yet assigned — skipping category checks.\"\nand skip to Phase 3.\n\nIf category is found, run `\u002Fskill-test category [name]` and record the category baseline:\n- Count of FAILs\n- Count of WARNs\n- Which specific category rubric metrics failed\n\nDisplay to the user:\n```\nCategory baseline: [N] failures, [M] warnings  ([category] rubric)\n```\n\nIf BOTH static and category baselines are 0 FAILs and 0 WARNs, stop:\n\"This skill already passes all static and category checks. No improvements needed.\"\n\n---\n\n## Phase 3: Diagnose\n\nRead the full skill file at `.claude\u002Fskills\u002F[name]\u002FSKILL.md`.\n\nFor each failing or warning **static** check, identify the exact gap:\n\n- **Check 1 fail** → which frontmatter field is missing\n- **Check 2 fail** → how many phases found vs. minimum required\n- **Check 3 fail** → no verdict keywords anywhere in the skill body\n- **Check 4 fail** → Write or Edit in allowed-tools but no ask-before-write language\n- **Check 5 warn** → no follow-up or next-step section at the end\n- **Check 6 warn** → `context: fork` set but fewer than 5 phases found\n- **Check 7 warn** → argument-hint is empty or doesn't match documented modes\n\nFor each failing or warning **category** check (if category was assigned in Phase 2b),\nidentify the exact gap in the skill's text. For example:\n- If G2 fails (gate mode, full directors not spawned): skill body never references all 4\n  PHASE-GATE director prompts\n- If A2 fails (authoring, no per-section May-I-write): skill asks once at the end, not\n  before each section write\n- If T3 fails (team, BLOCKED not surfaced): skill doesn't halt dependent work on blocked agent\n\nShow the full combined diagnosis to the user before proposing any changes.\n\n---\n\n## Phase 4: Propose Fix\n\nWrite a targeted fix for each failure and warning. Show the proposed changes\nas clearly marked before\u002Fafter blocks. Only change what is failing — do not\nrewrite sections that are passing.\n\nAsk: \"May I write this improved version to `.claude\u002Fskills\u002F[name]\u002FSKILL.md`?\"\n\nIf the user says no, stop here.\n\n---\n\n## Phase 5: Write and Retest\n\nRecord the current content of the skill file (for revert if needed).\n\nWrite the improved skill to `.claude\u002Fskills\u002F[name]\u002FSKILL.md`.\n\nRe-run `\u002Fskill-test static [name]` and record the new static score.\nIf a category was assigned, also re-run `\u002Fskill-test category [name]` and record the new category score.\n\nDisplay the comparison:\n```\nStatic:   Before [N] failures, [M] warnings  →  After [N'] failures, [M'] warnings\nCategory: Before [N] failures, [M] warnings  →  After [N'] failures, [M'] warnings  (if applicable)\nCombined change: improved \u002F no change \u002F worse\n```\n\n---\n\n## Phase 6: Verdict\n\nCount the combined failure total: static FAILs + category FAILs + static WARNs + category WARNs.\n\n**If combined score improved (combined failure count is lower than baseline):**\nReport: \"Score improved. Changes kept.\"\nShow a summary of what was fixed in each dimension.\n\n**If combined score is the same or worse:**\nReport: \"Combined score did not improve.\"\nShow what changed and why it may not have helped.\nAsk: \"May I revert `.claude\u002Fskills\u002F[name]\u002FSKILL.md` using git checkout?\"\nIf yes: run `git checkout -- .claude\u002Fskills\u002F[name]\u002FSKILL.md`\n\n---\n\n## Phase 7: Next Steps\n\n- Run `\u002Fskill-test static all` to find the next skill with failures.\n- Run `\u002Fskill-improve [next-name]` to continue the loop on another skill.\n- Run `\u002Fskill-test audit` to see overall coverage progress.\n","# Skill Improve\n\nRuns an improvement loop on a single skill:\ntest → fix → retest → keep or revert.\n\n---\n\n## Phase 1: Parse Argument\n\nRead the skill name from the first argument. If missing, output usage and stop:\n\n```\nUsage: \u002Fskill-improve [skill-name]\nExample: \u002Fskill-improve tech-debt\n```\n\nVerify `.claude\u002Fskills\u002F[name]\u002FSKILL.md` exists. If not, stop with:\n\"Skill '[name]' not found.\"\n\n---\n\n## Phase 2: Baseline Test\n\nRun `\u002Fskill-test static [name]` and record the baseline score:\n- Count of FAILs\n- Count of WARNs\n- Which specific checks failed (Check 1–7)\n\nDisplay to the user:\n```\nStatic baseline:   [N] failures, [M] warnings\nFailing: Check 4 (no ask-before-write), Check 5 (no handoff)\n```\n\nIf baseline is 0 FAILs and 0 WARNs, note it and proceed to Phase 2b.\n\n### Phase 2b: Category Baseline\n\nLook up the skill's `category:` field in `CCGS Skill Testing Framework\u002Fcatalog.yaml`.\n\nIf no `category:` field is found, display:\n\"Category: not yet assigned — skipping category checks.\"\nand skip to Phase 3.\n\nIf category is found, run `\u002Fskill-test category [name]` and record the category baseline:\n- Count of FAILs\n- Count of WARNs\n- Which specific category rubric metrics failed\n\nDisplay to the user:\n```\nCategory baseline: [N] failures, [M] warnings  ([category] rubric)\n```\n\nIf BOTH static and category baselines are 0 FAILs and 0 WARNs, stop:\n\"This skill already passes all static and category checks. No improvements needed.\"\n\n---\n\n## Phase 3: Diagnose\n\nRead the full skill file at `.claude\u002Fskills\u002F[name]\u002FSKILL.md`.\n\nFor each failing or warning **static** check, identify the exact gap:\n\n- **Check 1 fail** → which frontmatter field is missing\n- **Check 2 fail** → how many phases found vs. minimum required\n- **Check 3 fail** → no verdict keywords anywhere in the skill body\n- **Check 4 fail** → Write or Edit in allowed-tools but no ask-before-write language\n- **Check 5 warn** → no follow-up or next-step section at the end\n- **Check 6 warn** → `context: fork` set but fewer than 5 phases found\n- **Check 7 warn** → argument-hint is empty or doesn't match documented modes\n\nFor each failing or warning **category** check (if category was assigned in Phase 2b),\nidentify the exact gap in the skill's text. For example:\n- If G2 fails (gate mode, full directors not spawned): skill body never references all 4\n  PHASE-GATE director prompts\n- If A2 fails (authoring, no per-section May-I-write): skill asks once at the end, not\n  before each section write\n- If T3 fails (team, BLOCKED not surfaced): skill doesn't halt dependent work on blocked agent\n\nShow the full combined diagnosis to the user before proposing any changes.\n\n---\n\n## Phase 4: Propose Fix\n\nWrite a targeted fix for each failure and warning. Show the proposed changes\nas clearly marked before\u002Fafter blocks. Only change what is failing — do not\nrewrite sections that are passing.\n\nAsk: \"May I write this improved version to `.claude\u002Fskills\u002F[name]\u002FSKILL.md`?\"\n\nIf the user says no, stop here.\n\n---\n\n## Phase 5: Write and Retest\n\nRecord the current content of the skill file (for revert if needed).\n\nWrite the improved skill to `.claude\u002Fskills\u002F[name]\u002FSKILL.md`.\n\nRe-run `\u002Fskill-test static [name]` and record the new static score.\nIf a category was assigned, also re-run `\u002Fskill-test category [name]` and record the new category score.\n\nDisplay the comparison:\n```\nStatic:   Before [N] failures, [M] warnings  →  After [N'] failures, [M'] warnings\nCategory: Before [N] failures, [M] warnings  →  After [N'] failures, [M'] warnings  (if applicable)\nCombined change: improved \u002F no change \u002F worse\n```\n\n---\n\n## Phase 6: Verdict\n\nCount the combined failure total: static FAILs + category FAILs + static WARNs + category WARNs.\n\n**If combined score improved (combined failure count is lower than baseline):**\nReport: \"Score improved. Changes kept.\"\nShow a summary of what was fixed in each dimension.\n\n**If combined score is the same or worse:**\nReport: \"Combined score did not improve.\"\nShow what changed and why it may not have helped.\nAsk: \"May I revert `.claude\u002Fskills\u002F[name]\u002FSKILL.md` using git checkout?\"\nIf yes: run `git checkout -- .claude\u002Fskills\u002F[name]\u002FSKILL.md`\n\n---\n\n## Phase 7: Next Steps\n\n- Run `\u002Fskill-test static all` to find the next skill with failures.\n- Run `\u002Fskill-improve [next-name]` to continue the loop on another skill.\n- Run `\u002Fskill-test audit` to see overall coverage progress.\n",{"name":5,"description":7,"allowed-tools":24,"argument-hint":25,"user-invocable":26},"Read, Glob, Grep, Write, Bash","[skill-name]",true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","05-技能与代理开发\u002Fskill-improve",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":26},[37,40,43],{"tool":38,"command":39},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill skill-improve",{"tool":41,"command":42},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill skill-improve",{"tool":44,"command":45},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill skill-improve","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fskill-improve\u002FSKILL.md",[],[49,56,61,68,75,82],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":57,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]