[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6P7KTVE8E9A9M5116XQ80Z2":3,"skill-same:01M6P7KTVE8E9A9M5116XQ80Z2":79},{"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":23,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":56,"commitSha":57,"skillDirectory":58,"forksCount":59,"repositoryHtmlUrl":60,"repositoryHomepageUrl":61,"ownerHtmlUrl":62,"ownerBlogUrl":6,"ownerDescription":63,"updatedAt":64,"install":65,"resources":78},"01M6P7KTVE8E9A9M5116XQ80Z2","working-in-a-git-repo",null,"Operating manual for dev work: worktree discipline, build\u002Ftest\u002Flint commands, file ownership zones, commit style, and a verification checklist before reporting done. Use when starting any feature\u002Ffix work in this repo.","Phoenixrr2113\u002Fagent-harness","Phoenixrr2113","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F32098841?v=4","01M6P7CRMBR55TFZBTAFT1WK4Y","Randy Wilson","01M6P7CRRWGEZFSH6JW1VGS8Q0",1,"MIT","https:\u002F\u002Fgithub.com\u002FPhoenixrr2113\u002Fagent-harness\u002Fblob\u002Fmain\u002Ftemplates\u002Fdev\u002Fdefaults\u002Fskills\u002Fworking-in-a-git-repo\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"repo","working in a git repo","git","fix","test","for","manual","operating","style","feature","done","use","lint","workflow","work","Bash","file","verification","dev","commit","2026-11-10 10:12:30",false,"---\nname: working-in-a-git-repo\ndescription: \"Operating manual for dev work: worktree discipline, build\u002Ftest\u002Flint commands, file ownership zones, commit style, and a verification checklist before reporting done. Use when starting any feature\u002Ffix work in this repo.\"\nallowed-tools: \"Bash Read Edit\"\nmetadata:\n  harness-tags: \"skill, workflow, git, dev\"\n  harness-status: active\n  harness-author: human\n  harness-created: '2026-04-21'\n  harness-updated: '2026-04-30'\n---\n\n# Skill: Working in a Git Repo\n\nI am a development agent. I never edit the main checkout directly. All work\nhappens in a git worktree.\n\n## 1. Always work in a git worktree\n\nBefore writing any code, ensure I have been given (or can create) a worktree:\n\n```bash\ncd \u003Crepo-root>\ngit worktree add -b \u003Ctype>\u002F\u003Cshort-slug> \\\n  \u003Crepo-root>-worktrees\u002F\u003Cshort-slug> \u003Cbase-branch>\ncd \u003Crepo-root>-worktrees\u002F\u003Cshort-slug>\n```\n\nBranch type prefixes: `fix\u002F`, `feat\u002F`, `chore\u002F`, `docs\u002F`, `test\u002F`.\n\nFirst time in a worktree, run whatever setup the project needs (typically\n`npm install`, `pnpm install`, `uv sync`, `bundle install`, etc.).\n\n## 2. Build, test, lint\n\nCheck the project's `package.json` \u002F `Makefile` \u002F `justfile` for the actual\ncommands. Common patterns:\n\n```bash\nnpm run build          # or: pnpm build, make build\nnpm test               # or: pnpm test, cargo test, pytest, go test .\u002F...\nnpm run lint           # or: pnpm lint, ruff check, cargo clippy\n```\n\nIdentify the commands from the project itself. Do not assume.\n\n## 3. File ownership\n\n- **Writable:** anything inside my worktree, under source directories\n  (`src\u002F`, `tests\u002F`, `docs\u002F`, etc.) that the project treats as authored content.\n- **Read-only:** `node_modules\u002F`, `dist\u002F`, `build\u002F`, `.git\u002F`, vendored deps.\n- **Forbidden:** anything outside the worktree. Any `.env*` file. Any file\n  in `$HOME` that isn't in the worktree.\n\n## 4. Commit discipline\n\n- Branch name: `\u003Ctype>\u002F\u003Cslug>`, kebab-case.\n- Commit message: follow project style. `git log --oneline -20` to see.\n- One commit per logical change.\n- Never `--no-verify`.\n- Never force-push.\n- Never amend a pushed commit.\n\n## 5. Verification before reporting \"done\"\n\nBefore I tell the human a task is complete, all of these must be true:\n\n1. Linter passes.\n2. Full or targeted test suite passes.\n3. `git status` shows only files I intended to change.\n4. A commit exists on the feature branch. I know the SHA and branch name.\n\nI report: branch name, commit SHA, list of files changed, one-line summary.\nI do NOT push. I do NOT open a PR. I do NOT merge. The human decides next.\n","# Skill: Working in a Git Repo\n\nI am a development agent. I never edit the main checkout directly. All work\nhappens in a git worktree.\n\n## 1. Always work in a git worktree\n\nBefore writing any code, ensure I have been given (or can create) a worktree:\n\n```bash\ncd \u003Crepo-root>\ngit worktree add -b \u003Ctype>\u002F\u003Cshort-slug> \\\n  \u003Crepo-root>-worktrees\u002F\u003Cshort-slug> \u003Cbase-branch>\ncd \u003Crepo-root>-worktrees\u002F\u003Cshort-slug>\n```\n\nBranch type prefixes: `fix\u002F`, `feat\u002F`, `chore\u002F`, `docs\u002F`, `test\u002F`.\n\nFirst time in a worktree, run whatever setup the project needs (typically\n`npm install`, `pnpm install`, `uv sync`, `bundle install`, etc.).\n\n## 2. Build, test, lint\n\nCheck the project's `package.json` \u002F `Makefile` \u002F `justfile` for the actual\ncommands. Common patterns:\n\n```bash\nnpm run build          # or: pnpm build, make build\nnpm test               # or: pnpm test, cargo test, pytest, go test .\u002F...\nnpm run lint           # or: pnpm lint, ruff check, cargo clippy\n```\n\nIdentify the commands from the project itself. Do not assume.\n\n## 3. File ownership\n\n- **Writable:** anything inside my worktree, under source directories\n  (`src\u002F`, `tests\u002F`, `docs\u002F`, etc.) that the project treats as authored content.\n- **Read-only:** `node_modules\u002F`, `dist\u002F`, `build\u002F`, `.git\u002F`, vendored deps.\n- **Forbidden:** anything outside the worktree. Any `.env*` file. Any file\n  in `$HOME` that isn't in the worktree.\n\n## 4. Commit discipline\n\n- Branch name: `\u003Ctype>\u002F\u003Cslug>`, kebab-case.\n- Commit message: follow project style. `git log --oneline -20` to see.\n- One commit per logical change.\n- Never `--no-verify`.\n- Never force-push.\n- Never amend a pushed commit.\n\n## 5. Verification before reporting \"done\"\n\nBefore I tell the human a task is complete, all of these must be true:\n\n1. Linter passes.\n2. Full or targeted test suite passes.\n3. `git status` shows only files I intended to change.\n4. A commit exists on the feature branch. I know the SHA and branch name.\n\nI report: branch name, commit SHA, list of files changed, one-line summary.\nI do NOT push. I do NOT open a PR. I do NOT merge. The human decides next.\n",{"name":5,"metadata":49,"description":7,"allowed-tools":55},{"harness-tags":50,"harness-author":51,"harness-status":52,"harness-created":53,"harness-updated":54},"skill, workflow, git, dev","human","active","2026-04-21","2026-04-30","Bash Read Edit","main","0f67103affd30a3c778874b890dbd5801cdbd94f","templates\u002Fdev\u002Fdefaults\u002Fskills\u002Fworking-in-a-git-repo",2,"https:\u002F\u002Fgithub.com\u002FPhoenixrr2113\u002Fagent-harness","https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@agntk\u002Fagent-harness","https:\u002F\u002Fgithub.com\u002FPhoenixrr2113","Full-stack engineer building AI agents, RAG pipelines, and knowledge graphs. \r\nTypeScript · Node.js · Vercel AI SDK · 8+ years shipping production systems.","2026-04-30 21:56:42",{"source":8,"skillName":5,"commands":66,"prompt":76,"zipAvailable":77},[67,70,73],{"tool":68,"command":69},"npx","npx skills add Phoenixrr2113\u002Fagent-harness --skill working-in-a-git-repo",{"tool":71,"command":72},"bunx","bunx skills add Phoenixrr2113\u002Fagent-harness --skill working-in-a-git-repo",{"tool":74,"command":75},"pnpm","pnpm dlx skills add Phoenixrr2113\u002Fagent-harness --skill working-in-a-git-repo","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FPhoenixrr2113\u002Fagent-harness\u002Fblob\u002Fmain\u002Ftemplates\u002Fdev\u002Fdefaults\u002Fskills\u002Fworking-in-a-git-repo\u002FSKILL.md",true,[],[80,91,110,134,153,167],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":89,"publishedAt":44},"01M6P7MR06WFMWS1BZYK4BNR6W","research","Conduct research.","https:\u002F\u002Fgithub.com\u002FPhoenixrr2113\u002Fagent-harness\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fold-harness-7-primitives\u002Fskills\u002Fresearch\u002FSKILL.md",[86],{"categoryNo":87,"categoryName":88,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000021","资料检索与研究",[82,90],"conduct",{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":98,"publishedAt":44},"01M6P7M15ZPZ79PT5S8ZQABGGB","{{NAME=null}=null}","Briefly describe what this skill does AND when to use it. Use imperative\nphrasing (\"Use this skill when...\"). Aim for 80-500 chars. Include keywords\nthe model can pattern-match against the user's prompt.","https:\u002F\u002Fgithub.com\u002FPhoenixrr2113\u002Fagent-harness\u002Fblob\u002Fmain\u002Ftemplates\u002Fskill-bundle\u002FSKILL.md",[97],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[99,100,101,102,29,103,104,105,51,106,107,35,108,109],"name","{{name=null}=null}","user","when to use","can","match","it","pattern","draft","prompt","model",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":120,"publishedAt":44},"01M6P7K87FD7EHXJJ81F9SFC7J","test-runner","Runs the project's test suite (or a targeted subset), parses the output, and reports pass\u002Ffail with failing-test details. Use when you need to know test status; call with the test command to run, or leave blank for the project default.","https:\u002F\u002Fgithub.com\u002FPhoenixrr2113\u002Fagent-harness\u002Fblob\u002Fmain\u002Ftemplates\u002Fdev\u002Fdefaults\u002Fskills\u002Ftest-runner\u002FSKILL.md",[116,119],{"categoryNo":117,"categoryName":118,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[121,28,122,123,124,35,125,126,39,42,127,52,128,29,129,130,131,132,51,133],"test runner","runner","reports","test suite","command","subagent","testing","default","you","with","output","project","call",{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":141,"publishedAt":44},"01M6P7K3QMV9Z7DRA720HBYTS9","reviewer","Reviews a diff or change set for bugs, security issues, test gaps, and style. Use when evaluating a code change, reviewing a pull request, or running a structured review pass before merge.","https:\u002F\u002Fgithub.com\u002FPhoenixrr2113\u002Fagent-harness\u002Fblob\u002Fmain\u002Ftemplates\u002Fdev\u002Fdefaults\u002Fskills\u002Freviewer\u002FSKILL.md",[140],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[136,142,143,29,144,32,51,145,39,126,146,147,148,42,149,150,151,28,152,35],"gaps","bugs","reviews","diff","SET","pull","issues","code","pull request","change","review",{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":160,"publishedAt":44},"01M6P7JZA19PYZE9XKEWXMQBZ6","fix-failing-tests","Seven-step flow for diagnosing and fixing failing tests. Use when the user asks to fix failing tests, green the suite, or says 'tests are red' — works through reproduce → read → root-cause → propose → apply → verify → commit.","https:\u002F\u002Fgithub.com\u002FPhoenixrr2113\u002Fagent-harness\u002Fblob\u002Fmain\u002Ftemplates\u002Fdev\u002Fdefaults\u002Fskills\u002Ffix-failing-tests\u002FSKILL.md",[159],{"categoryNo":117,"categoryName":118,"taxonomyType":21,"taxonomyTypeDesc":22},[161,162,27,39,163,42,43,28,127,136,164,29,51,52,165,112,122,166,35,24],"fix failing tests","tests","verify","apply","green","root-cause",{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":182,"publishedAt":44},"01M6P7JFP1SMF8QRKH42D1Y2FY","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002FPhoenixrr2113\u002Fagent-harness\u002Fblob\u002Fmain\u002Fdefaults\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[173,176,177],{"categoryNo":174,"categoryName":175,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":178,"categoryName":179,"taxonomyType":180,"taxonomyTypeDesc":181},"01JBSEEDCAT000000000000036","内容创作者","PROFESSION","适用职业",[183,184,185,186,29,129,187,188,51,52,189,190,35,191,192,149,193,194],"plans","writing","writing plans","requirements","multi-step task","multi","task","superpowers","https","license","github","spec"]