[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DR1JR21PQZ3KEXQANRGZWF":3,"skill-same:01M6DR1JR21PQZ3KEXQANRGZWF":91},{"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":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":64,"commitSha":65,"skillDirectory":66,"forksCount":67,"repositoryHtmlUrl":68,"repositoryHomepageUrl":6,"ownerHtmlUrl":69,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":70,"install":71,"resources":84},"01M6DR1JR21PQZ3KEXQANRGZWF","guard",null,"Full safety mode: destructive command warnings + directory-scoped edits.\nCombines \u002Fcareful (warns before rm -rf, DROP TABLE, force-push, etc.) with\n\u002Ffreeze (blocks edits outside a specified directory). Use for maximum safety\nwhen touching prod or debugging live systems. Use when asked to \"guard mode\",\n\"full safety\", \"lock it down\", or \"maximum safety\". (gstack)","AntifragileTech\u002Fantifragile-claude-code","AntifragileTech","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F174357194?v=4","01M6DQCYMK4CDSQQAN0ZC72NTV","01M6DQCYS9YPW1WKMQ5TJMPQ43",9,"MIT","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdev\u002Fguard\u002FSKILL.md",[],[5,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36],"read","systems","live","full","commands","drop","gstack","use","edit","write","directory","command","Bash","freeze","careful","boundary","Safety","push","debugging","2026-11-10 10:12:30",false,"---\nname: guard\nversion: 0.1.0\ndescription: |\n  Full safety mode: destructive command warnings + directory-scoped edits.\n  Combines \u002Fcareful (warns before rm -rf, DROP TABLE, force-push, etc.) with\n  \u002Ffreeze (blocks edits outside a specified directory). Use for maximum safety\n  when touching prod or debugging live systems. Use when asked to \"guard mode\",\n  \"full safety\", \"lock it down\", or \"maximum safety\". (gstack)\nallowed-tools:\n  - Bash\n  - Read\n  - AskUserQuestion\nhooks:\n  PreToolUse:\n    - matcher: \"Bash\"\n      hooks:\n        - type: command\n          command: \"bash ${CLAUDE_SKILL_DIR}\u002F..\u002Fcareful\u002Fbin\u002Fcheck-careful.sh\"\n          statusMessage: \"Checking for destructive commands...\"\n    - matcher: \"Edit\"\n      hooks:\n        - type: command\n          command: \"bash ${CLAUDE_SKILL_DIR}\u002F..\u002Ffreeze\u002Fbin\u002Fcheck-freeze.sh\"\n          statusMessage: \"Checking freeze boundary...\"\n    - matcher: \"Write\"\n      hooks:\n        - type: command\n          command: \"bash ${CLAUDE_SKILL_DIR}\u002F..\u002Ffreeze\u002Fbin\u002Fcheck-freeze.sh\"\n          statusMessage: \"Checking freeze boundary...\"\n---\n\u003C!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly -->\n\u003C!-- Regenerate: bun run gen:skill-docs -->\n\n# \u002Fguard — Full Safety Mode\n\nActivates both destructive command warnings and directory-scoped edit restrictions.\nThis is the combination of `\u002Fcareful` + `\u002Ffreeze` in a single command.\n\n**Dependency note:** This skill references hook scripts from the sibling `\u002Fcareful`\nand `\u002Ffreeze` skill directories. Both must be installed (they are installed together\nby the gstack setup script).\n\n```bash\nmkdir -p ~\u002F.gstack\u002Fanalytics\necho '{\"skill\":\"guard\",\"ts\":\"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'\",\"repo\":\"'$(basename \"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull)\" 2>\u002Fdev\u002Fnull || echo \"unknown\")'\"}'  >> ~\u002F.gstack\u002Fanalytics\u002Fskill-usage.jsonl 2>\u002Fdev\u002Fnull || true\n```\n\n## Setup\n\nAsk the user which directory to restrict edits to. Use AskUserQuestion:\n\n- Question: \"Guard mode: which directory should edits be restricted to? Destructive command warnings are always on. Files outside the chosen path will be blocked from editing.\"\n- Text input (not multiple choice) — the user types a path.\n\nOnce the user provides a directory path:\n\n1. Resolve it to an absolute path:\n```bash\nFREEZE_DIR=$(cd \"\u003Cuser-provided-path>\" 2>\u002Fdev\u002Fnull && pwd)\necho \"$FREEZE_DIR\"\n```\n\n2. Ensure trailing slash and save to the freeze state file:\n```bash\nFREEZE_DIR=\"${FREEZE_DIR%\u002F}\u002F\"\nSTATE_DIR=\"${CLAUDE_PLUGIN_DATA:-$HOME\u002F.gstack}\"\nmkdir -p \"$STATE_DIR\"\necho \"$FREEZE_DIR\" > \"$STATE_DIR\u002Ffreeze-dir.txt\"\necho \"Freeze boundary set: $FREEZE_DIR\"\n```\n\nTell the user:\n- \"**Guard mode active.** Two protections are now running:\"\n- \"1. **Destructive command warnings** — rm -rf, DROP TABLE, force-push, etc. will warn before executing (you can override)\"\n- \"2. **Edit boundary** — file edits restricted to `\u003Cpath>\u002F`. Edits outside this directory are blocked.\"\n- \"To remove the edit boundary, run `\u002Funfreeze`. To deactivate everything, end the session.\"\n\n## What's protected\n\nSee `\u002Fcareful` for the full list of destructive command patterns and safe exceptions.\nSee `\u002Ffreeze` for how edit boundary enforcement works.\n","\u003C!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly -->\n\u003C!-- Regenerate: bun run gen:skill-docs -->\n\n# \u002Fguard — Full Safety Mode\n\nActivates both destructive command warnings and directory-scoped edit restrictions.\nThis is the combination of `\u002Fcareful` + `\u002Ffreeze` in a single command.\n\n**Dependency note:** This skill references hook scripts from the sibling `\u002Fcareful`\nand `\u002Ffreeze` skill directories. Both must be installed (they are installed together\nby the gstack setup script).\n\n```bash\nmkdir -p ~\u002F.gstack\u002Fanalytics\necho '{\"skill\":\"guard\",\"ts\":\"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'\",\"repo\":\"'$(basename \"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull)\" 2>\u002Fdev\u002Fnull || echo \"unknown\")'\"}'  >> ~\u002F.gstack\u002Fanalytics\u002Fskill-usage.jsonl 2>\u002Fdev\u002Fnull || true\n```\n\n## Setup\n\nAsk the user which directory to restrict edits to. Use AskUserQuestion:\n\n- Question: \"Guard mode: which directory should edits be restricted to? Destructive command warnings are always on. Files outside the chosen path will be blocked from editing.\"\n- Text input (not multiple choice) — the user types a path.\n\nOnce the user provides a directory path:\n\n1. Resolve it to an absolute path:\n```bash\nFREEZE_DIR=$(cd \"\u003Cuser-provided-path>\" 2>\u002Fdev\u002Fnull && pwd)\necho \"$FREEZE_DIR\"\n```\n\n2. Ensure trailing slash and save to the freeze state file:\n```bash\nFREEZE_DIR=\"${FREEZE_DIR%\u002F}\u002F\"\nSTATE_DIR=\"${CLAUDE_PLUGIN_DATA:-$HOME\u002F.gstack}\"\nmkdir -p \"$STATE_DIR\"\necho \"$FREEZE_DIR\" > \"$STATE_DIR\u002Ffreeze-dir.txt\"\necho \"Freeze boundary set: $FREEZE_DIR\"\n```\n\nTell the user:\n- \"**Guard mode active.** Two protections are now running:\"\n- \"1. **Destructive command warnings** — rm -rf, DROP TABLE, force-push, etc. will warn before executing (you can override)\"\n- \"2. **Edit boundary** — file edits restricted to `\u003Cpath>\u002F`. Edits outside this directory are blocked.\"\n- \"To remove the edit boundary, run `\u002Funfreeze`. To deactivate everything, end the session.\"\n\n## What's protected\n\nSee `\u002Fcareful` for the full list of destructive command patterns and safe exceptions.\nSee `\u002Ffreeze` for how edit boundary enforcement works.\n",{"name":5,"hooks":42,"version":59,"description":60,"allowed-tools":61},{"PreToolUse":43},[44,49,55],{"hooks":45,"matcher":30},[46],{"type":29,"command":47,"statusMessage":48},"bash ${CLAUDE_SKILL_DIR}\u002F..\u002Fcareful\u002Fbin\u002Fcheck-careful.sh","Checking for destructive commands...",{"hooks":50,"matcher":54},[51],{"type":29,"command":52,"statusMessage":53},"bash ${CLAUDE_SKILL_DIR}\u002F..\u002Ffreeze\u002Fbin\u002Fcheck-freeze.sh","Checking freeze boundary...","Edit",{"hooks":56,"matcher":58},[57],{"type":29,"command":52,"statusMessage":53},"Write","0.1.0","Full safety mode: destructive command warnings + directory-scoped edits.\nCombines \u002Fcareful (warns before rm -rf, DROP TABLE, force-push, etc.) with\n\u002Ffreeze (blocks edits outside a specified directory). Use for maximum safety\nwhen touching prod or debugging live systems. Use when asked to \"guard mode\",\n\"full safety\", \"lock it down\", or \"maximum safety\". (gstack)\n",[30,62,63],"Read","AskUserQuestion","master","c73386b305dec167db7654e0e6feacb462d4f9dc","assets\u002Fskills\u002Fdev\u002Fguard",1,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code","https:\u002F\u002Fgithub.com\u002FAntifragileTech","2026-10-02 14:22:14",{"source":8,"skillName":5,"commands":72,"prompt":82,"zipAvailable":83},[73,76,79],{"tool":74,"command":75},"npx","npx skills add AntifragileTech\u002Fantifragile-claude-code --skill guard",{"tool":77,"command":78},"bunx","bunx skills add AntifragileTech\u002Fantifragile-claude-code --skill guard",{"tool":80,"command":81},"pnpm","pnpm dlx skills add AntifragileTech\u002Fantifragile-claude-code --skill guard","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdev\u002Fguard\u002FSKILL.md",true,[85],{"path":86,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":90},"SKILL.md.tmpl","OTHER","其他",3071,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdev\u002Fguard\u002FSKILL.md.tmpl",[92,104,117,128,141,154],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":37},"01M6DT9Q6VYA615SCXR757TZZ7","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fwriting-skills\u002FSKILL.md",[],[99,100,25,101,102,103],"writing skills","writing","editing","work","deployment",{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":37},"01M6DT9GFHDNY90P41WGAE1TV0","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fwriting-plans\u002FSKILL.md",[],[111,112,100,113,114,25,115,116],"plans","writing plans","requirements","task","code","spec",{"skillNo":118,"name":119,"nameZh":6,"description":120,"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":37},"01M6DT9C6PFGD86WS3HY7YE3XG","docs:write-concisely","Apply writing rules to any documentation that humans will read. Makes your writing clearer, stronger, and more professional.","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fwrite-concisely\u002FSKILL.md",[],[124,27,125,18,126,127,100],"docs:write concisely","docs","Rules","documentation",{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":37},"01M6DT98AWQ27P0N1CG97WAG66","kaizen:why","Iterative Five Whys root cause analysis drilling from symptoms to fundamentals","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fwhy\u002FSKILL.md",[],[130,135,136,137,138,139,140],"why","kaizen","issue","five whys","analysis","root cause analysis",{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":37},"01M6DT93EH25NAX19R3WGE1P53","verification-loop","A comprehensive verification system for Claude Code sessions.","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fverification-loop\u002FSKILL.md",[],[148,149,150,151,115,152,153],"verification loop","verification","loop","sessions","claude code sessions","system",{"skillNo":155,"name":156,"nameZh":6,"description":157,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":158,"categories":159,"keywords":160,"publishedAt":37},"01M6DT90GW7Z7VCN98P9DVYSNC","verification-before-completion","Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fverification-before-completion\u002FSKILL.md",[],[161,149,22,102,25,162,163,164],"verification before completion","evidence","claim","complete"]