[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78H00PQ1G5VDS4F8ZGC5VQB":3,"skill-same:01M78H00PQ1G5VDS4F8ZGC5VQB":148},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M78H00PQ1G5VDS4F8ZGC5VQB","project-bootstrap",null,"Bootstraps or standardizes the full AI-agent workspace for any project - analyzes the existing source first, then generates\u002Freconciles the complete .claude folder (agents incl. orchestrator, rules, commands, hooks, skills, settings.json), the standardized docs tree (specs\u002Frequirements\u002Farchitecture\u002Ftasks\u002Fcontext\u002Ftemplates), CLAUDE.md + AGENTS.md + README.md, and relevant skills - so the repo runs under orchestrator-driven task control. Use when the user asks to \"set up base\", \"thiet lap base coding\", \"chuan hoa claude folder\", \"chuan hoa source thanh claude ready\", \"khoi tao workspace cho AI agents\", or starts\u002Fadopts a project that should follow the standard structure.","nguyenhx2\u002Fagent-harness-bootstrap","nguyenhx2","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F21273420?v=4","01M78GZEKBK085WVZSF47DPAME","Brian","01M78GZEMCZ9G746Y18PHY296Q",11,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap\u002Fblob\u002Fmain\u002Fbenchmark\u002Fbaseline\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: project-bootstrap\ndescription: Bootstraps or standardizes the full AI-agent workspace for any project - analyzes the existing source first, then generates\u002Freconciles the complete .claude folder (agents incl. orchestrator, rules, commands, hooks, skills, settings.json), the standardized docs tree (specs\u002Frequirements\u002Farchitecture\u002Ftasks\u002Fcontext\u002Ftemplates), CLAUDE.md + AGENTS.md + README.md, and relevant skills - so the repo runs under orchestrator-driven task control. Use when the user asks to \"set up base\", \"thiet lap base coding\", \"chuan hoa claude folder\", \"chuan hoa source thanh claude ready\", \"khoi tao workspace cho AI agents\", or starts\u002Fadopts a project that should follow the standard structure.\n---\n\n# Project bootstrap\n\nSets up the standard AI-agent operating structure for a project, Claude Code first (other tools via\nAGENTS.md). The skill is **self-contained**: every asset it generates has a bundled template under\n`templates\u002F` (settings.json, hooks, agents, rules, commands, root files, docs). A user-supplied\nreference repository is OPTIONAL enrichment - when one is given, prefer copying its battle-tested\nfiles and adapt; when none is given, generate everything from the bundled packs.\n\nThis SKILL.md is the navigation layer. Detailed procedures live in `reference\u002F`; copyable assets\nlive in `templates\u002F`. Read each file when you reach that step - do not improvise a step that has a\nreference doc.\n\n## Three modes - decide first\n\n| Mode | When | What changes |\n|------|------|--------------|\n| **Greenfield** | Empty or near-empty repo | Generate the full structure from intake answers |\n| **Brownfield (standardize existing source)** | Repo already has code, and possibly a partial `.claude`\u002Fdocs | Run codebase analysis FIRST (`reference\u002Fcodebase-analysis.md`), derive most intake answers from evidence, then RECONCILE - never clobber - the existing setup into the standard shape |\n| **Audit \u002F assessment** | The repo(s) are ANALYSED but never MODIFIED by agents - e.g. a read-only security\u002Fperformance audit, possibly over multiple product repos under one workspace root | Build a CONTROL PLANE (root `.claude` + `docs\u002F`) beside the untouched source: agents are read-only on product code (enforced, not just stated), findings are registered as tasks, and the USER applies fixes. Gates of the mode: verify the standards baseline (WebSearch, dated) BEFORE any finding is written, and read-only enforcement tested. Follow [reference\u002Faudit-mode.md](reference\u002Faudit-mode.md); copyable assets in [templates\u002Faudit-pack.md](templates\u002Faudit-pack.md) |\n\nMode selection rule: if the repo(s) will be analysed but never modified by the agents (the user -\nnot an agent - applies any fixes), you are in AUDIT mode, even though plenty of source code\nexists. Otherwise, if the repo contains any source code, you are in brownfield mode. The defining\nproperty of brownfield mode: **the questionnaire confirms findings instead of asking from zero**,\nand every generated agent\u002Frule\u002Fcommand is grounded in what the code actually contains (real module\npaths, real frameworks, real scripts, real risky operations). Audit mode inherits that grounding\ndiscipline - analysis runs on every repo - but flips the write assumption: dev agents become\nauditors, and guardrails must make product source technically read-only.\n\n## Procedure\n\nIn AUDIT mode, follow the same numbered steps but apply the substitutions defined in\n[reference\u002Faudit-mode.md](reference\u002Faudit-mode.md): analysis runs per repo, the roster becomes\nauditors + reviewers (no implementer), the guardrails add read-only enforcement on product source,\nand findings feed the task loop. The docs tree and the task-control loop are unchanged. This mode\nBUILDS the audit scaffolding only - RUNNING the audit afterwards is the job of the sibling\n`security-audit` skill (see \"Division of labor\" in `reference\u002Faudit-mode.md`).\n\n0. **Codebase analysis (brownfield: MANDATORY, greenfield: skip)** - follow\n   [reference\u002Fcodebase-analysis.md](reference\u002Fcodebase-analysis.md). Produce the Inventory Report\n   (stack, modules, conventions, risky operations, existing `.claude`\u002Fdocs assets, gaps vs the\n   standard) and present it to the user before anything else. The report's mapping tables\n   (modules -> dev agents, conventions -> rules, risky ops -> deny\u002Fhooks) directly parameterize\n   steps 2-4.\n1. **Run the intake questionnaire** (MANDATORY, thoroughness over speed) - see\n   [reference\u002Fintake-questionnaire.md](reference\u002Fintake-questionnaire.md). In brownfield mode,\n   pre-fill every answer the analysis produced and only ASK about gaps and choices the code cannot\n   decide (docs language, commit identity, data sensitivity, gated actions). Ask in ordered batches\n   (max 4 per call). Then echo back a one-screen setup plan (what will be created, what will be\n   kept, what will be modified) and get confirmation before generating anything.\n2. **Pick the team roster (\"doi hinh\")** - see\n   [reference\u002Fteam-roster.md](reference\u002Fteam-roster.md): Tier 0 core (orchestrator, reviewer trio,\n   at least one dev agent) is unconditional; choose the preset (S\u002FM\u002FL) matching the project type;\n   brownfield derives dev agents from the module mapping, greenfield from FR clustering (or a\n   single `app-dev` when no specs exist yet). Then **scaffold the `.claude\u002F` surface and docs\n   tree** - see [reference\u002Fclaude-surface.md](reference\u002Fclaude-surface.md). Directory scaffolds:\n   [templates\u002Fclaude-tree.md](templates\u002Fclaude-tree.md) and\n   [templates\u002Fdocs-tree.md](templates\u002Fdocs-tree.md). Asset packs:\n   - `templates\u002Fsettings.json.template` - permissions allow\u002Fdeny + hook registration.\n   - `templates\u002Fagents-pack.md` - complete orchestrator sample, dev-agent pattern, reviewers,\n     qa-test, DB trio, devops, debugger, history-tracker, planning pair, optional `merge-manager`\n     (delegated merge authority behind a strict gate). Every generated agent gets an explicit\n     `model:` in its frontmatter per [reference\u002Fmodel-allocation.md](reference\u002Fmodel-allocation.md)\n     - cheap generation, expensive verification; never leave it unset.\n   - `templates\u002Frules-pack.md` - the full rule set skeletons (00-overview first).\n   - `templates\u002Fcommands-pack.md` - the core command set skeletons.\n   - `templates\u002Froot-files-pack.md` - CLAUDE.md, AGENTS.md, README.md skeletons.\n   - `templates\u002Fdocs-pack.md` - docs\u002FREADME, master-plan, context files, TASK\u002FPRD\u002FADR templates.\n   - `templates\u002Faudit-pack.md` - AUDIT MODE ONLY: `\u003Crepo>-auditor`\u002F`sast-runner`\u002F`perf-reviewer`\n     bodies, the `protect-repos` hook, `\u002Fsecurity-scan` + `\u002Ftriage-findings` commands, the\n     finding-file template, and the read-only-on-source settings.json deny fragment.\n   In brownfield mode apply the reconciliation rules from `reference\u002Fcodebase-analysis.md`\n   (keep-adapt-add-flag; never silently delete user content).\n3. **Install the guardrails and hooks** (NEVER skip) - see\n   [reference\u002Fguardrails-hooks.md](reference\u002Fguardrails-hooks.md); full scripts in\n   [templates\u002Fhooks-pack.md](templates\u002Fhooks-pack.md) (PowerShell + bash variants, six hooks\n   including `agent-history`). Generate the flavor matching the detected dev OS (see \"OS-aware\n   generation\" below). Test each hook with a sample JSON payload before declaring done. Audit mode\n   adds a seventh hook, `protect-repos`, and hardens `protect-secrets` (no `.env.example`\n   allowlist) - see [reference\u002Faudit-mode.md](reference\u002Faudit-mode.md).\n4. **Generate `.env.example`** - see [reference\u002Fenv-config.md](reference\u002Fenv-config.md); scaffold in\n   [templates\u002Fenv-example.template](templates\u002Fenv-example.template). Brownfield: derive the variable\n   list from the actual config reads found during analysis (process.env\u002Fos.environ\u002Fetc.), never\n   from guesswork.\n5. **Wire up orchestration and task tracking** - this is what makes the base \"run under\n   orchestration\", not just a folder of files:\n   - The orchestrator's routing table lists EVERY generated agent with its module scope (from the\n     analysis mapping), and every dev agent names its owning modules, rules, and skills.\n   - The canonical analyze\u002Fdecompose\u002Fregister\u002Flifecycle loop is\n     [reference\u002Ftask-control.md](reference\u002Ftask-control.md); `orchestrator.md` and\n     `rules\u002Ftask-tracking.md` LINK to it rather than duplicate it.\n   - `docs\u002Ftasks\u002Fmaster-plan.md` is created with the index table; in brownfield mode seed it with\n     a Phase 1 backlog derived from the analysis gap list (each gap = one registered task), so the\n     orchestrator has real work to route on its first session.\n   - `CLAUDE.md` names the orchestrator as the default entry point for multi-step work and states\n     the standard feature flow (spec check -> specialist TDD -> qa -> reviewers -> MR).\n6. **Discover and install relevant skills** - see the \"Skill discovery\" section in\n   [reference\u002Fclaude-surface.md](reference\u002Fclaude-surface.md). Record installs in\n   `docs\u002Fcontext\u002Ftool-changelog.md`.\n7. **Verify** - run the quality gate below, then smoke-test the operating loop end-to-end:\n   create one real task file from the template, register it in master-plan, append a session-log\n   row, and run `\u002Ftask-resume` on it.\n\n## Common vs project-specific assets (reuse discipline)\n\nThe generated base splits into two kinds of assets. Keep the distinction sharp - it is what makes\nthis skill applicable to ANY project:\n\n**COMMON (copy near-verbatim; only trivial placeholders like branch name or docs paths):** the six\nhooks and their registration block; the settings.json deny core (force push, rm -rf, secret-read\nglobs); rules `agent-guardrails.md`, `task-tracking.md`, `docs-workflow.md`, `human-in-the-loop.md`\nand the format\u002Fno-AI-attribution parts of `conventional-commits.md`; commands `\u002Fnew-task`,\n`\u002Ftask-resume`, `\u002Fsecret-scan`, `\u002Fsync-context`, `\u002Fnew-adr`; the TASK\u002FPRD\u002FADR templates and the\ndocs tree shape; the orchestrator lifecycle (sections 1-6). These encode process, not domain - do\nNOT inject project specifics into them, so they stay diff-comparable across projects and can be\nupgraded by re-running the bootstrap.\n\n**PROJECT-SPECIFIC (parameterized from intake + analysis):** `tech-stack.md`, `coding-standards.md`\nconventions, `data-model.md` entities, `frontend.md`\u002F`design-system.md` primitives and brand\nassets, `git-workflow.md` platform\u002Fidentity, the commit scope list, the settings.json allow list\nand stack-specific deny rules (DB reset command, deploy command), the orchestrator ROUTING TABLE,\nevery dev agent's scope, `.env.example` groups, hosting\u002Flanguage rules, domain commands.\n\nWhen in doubt: if the sentence would be true in a different company's repo, it belongs to a common\nasset; if it names a module, provider, or brand, it is project-specific and must come from a\n`{{...}}` placeholder, never be invented.\n\n## OS-aware generation (MANDATORY check)\n\nDetect the dev OS BEFORE generating hooks and settings - wrong-flavor hooks fail silently and the\nguardrails never fire:\n\n- Detect from the running environment (platform info, shell, path separators; confirm in the setup\n  plan echo). Do not assume.\n- **Windows** -> PowerShell hooks (`.ps1`), registered as\n  `powershell -NoProfile -ExecutionPolicy Bypass -File .claude\u002Fhooks\u002F\u003Cname>.ps1`. Use\n  `-cmatch`\u002F`-cnotmatch` for case-sensitive checks.\n- **macOS\u002FLinux** -> bash hooks (`.sh`), registered as `bash .claude\u002Fhooks\u002F\u003Cname>.sh`; `chmod +x`;\n  LF line endings; note the `jq` dependency (or inline a python\u002Fnode JSON parse if jq is not\n  guaranteed).\n- **Mixed-OS team**: settings.json is committed and shared, so one flavor will break for part of\n  the team. Prefer portable hooks in the project's own runtime (e.g. Node `.mjs` registered as\n  `node .claude\u002Fhooks\u002F\u003Cname>.mjs` for a JS project) - port the pack scripts' logic 1:1; otherwise\n  pick the majority OS and document the gap in `hooks\u002FREADME.md`.\n- Scripts and commands referenced in docs (test\u002Flint invocations) must match the OS shell too.\n\n## Task tracking in markdown (context-compaction survival)\n\nTask state lives in committed markdown files under `docs\u002Ftasks\u002F` (no database): `master-plan.md`\n(phased plan + index table of every task: owner agent, deps, priority, phase, status) + one file per\ntask `active\u002FTASK-NNN-\u003Cslug>.md` from the TASK template (moved to `done\u002F` when finished, or to\n`pending\u002F` when intentionally deferred), holding goal, scope, orchestration notes, checklist,\nacceptance criteria, and an AI session log table. The full analyze\u002Fcreate\u002Fcontrol loop - including\ncrash recovery and single-instance discipline after abnormal termination (a silently stalled\ninstance counts as crashed and is resumed from file state) - is documented in\n`reference\u002Ftask-control.md`. Scaffold:\n\n- Rule `task-tracking.md`: implementation agents create\u002Fupdate the task file at task start, append\n  concise session-log rows (date, agent, what was done, result) and decision notes during work, and\n  re-read master-plan + the task file before continuing any task in a new or compacted session - the\n  task files, not conversation memory, are the source of truth. Files are committed: no secrets, no\n  real PII, no full prompt dumps.\n- Command `\u002Ftask-resume`: grep `status: Active|Blocked` in `active\u002F` to list unfinished tasks,\n  rebuild context from master-plan + task file, verify the working tree before continuing.\n- Orchestrator step: at session start, scan `active\u002F` frontmatter for unfinished tasks and route\n  them back to the owning agent.\n- Status transitions update both the task file frontmatter and the master-plan Status column; on\n  Done fill the results section and move the file to `done\u002F`.\n\n## Installation levels\n\n- Project level: everything above, committed to the repo.\n- Global level (`~\u002F.claude\u002Fskills\u002F`): install `spec-builder` and `project-bootstrap` themselves so\n  any future project can bootstrap; never put project-specific rules\u002Fagents globally.\n\n## Quality gate before finishing\n\nStructure completeness:\n\n- [ ] `.claude\u002F` contains ALL of: `settings.json`, `rules\u002F` (00-overview first), `agents\u002F`,\n      `commands\u002F`, `hooks\u002F` (+README), `skills\u002F`; `docs\u002F` contains ALL of: `README.md`, `specs\u002F`,\n      `requirements\u002F`, `architecture\u002F` (system-overview + decisions\u002F + api-contracts\u002F), `tasks\u002F`\n      (master-plan + active\u002F + pending\u002F + done\u002F), `context\u002F` (glossary, business-rules,\n      known-issues, tool-changelog), `templates\u002F` (TASK\u002FPRD\u002FADR).\n- [ ] Every path referenced by agents\u002Fcommands\u002Frules exists; no references to agents that were not\n      created; orchestrator routing table covers every agent (no orphan agents).\n- [ ] Roster completeness: every seat of the standard feature flow is filled by exactly one agent\n      per the check table in `reference\u002Fteam-roster.md`; intentionally unfilled seats are named in\n      CLAUDE.md (who covers them instead).\n- [ ] Genericity: common assets contain no project\u002Fdomain\u002Fbrand specifics (they must be reusable\n      verbatim in another repo); every project specific came from a `{{...}}` placeholder or an\n      analysis finding, never invented.\n- [ ] OS check done: hook flavor + settings.json registration lines match the detected dev OS;\n      hooks actually execute on this machine (the payload test ran here, not hypothetically).\n- [ ] Every generated agent's frontmatter carries an explicit `model:` (never unset), assigned per\n      [reference\u002Fmodel-allocation.md](reference\u002Fmodel-allocation.md): `opus` for\n      planning\u002Froot-cause\u002Freview-gate seats, `sonnet` for implementation against a settled spec,\n      `haiku` for mechanical\u002Flow-judgment work.\n\nGrounding (brownfield):\n\n- [ ] Inventory Report was produced and confirmed; every dev agent's scope names real module paths;\n      every rule's conventions match observed code (or the deviation is flagged as a registered\n      task, not silently \"fixed\").\n- [ ] Pre-existing `.claude`\u002Fdocs content was reconciled per keep-adapt-add-flag; nothing the user\n      wrote was deleted without explicit approval.\n- [ ] master-plan.md carries the migration backlog (one task per gap) so orchestration has work.\n\nProcess:\n\n- [ ] Every questionnaire batch was asked or explicitly inferred with stated defaults, and the\n      setup plan was confirmed by the user before generation.\n- [ ] `CLAUDE.md`, `AGENTS.md`, `README.md`, `.claude\u002Frules\u002F00-overview.md` agree with each other\n      (same principles, same paths); all agent-facing files are in English.\n- [ ] Task tracking smoke-tested end-to-end (create task file, register in master-plan, append\n      session-log row, `\u002Ftask-resume` it).\n- [ ] Platform-specific bits (CLI, PR\u002FMR wording, CI file, default branch) match the git platform\n      answer everywhere, including command NAMES.\n\nSafety:\n\n- [ ] All four guardrail layers present: settings.json deny rules, hooks, `agent-guardrails.md`,\n      review commands (`\u002Freview-mr` or `\u002Freview-pr` gated by `\u002Fsecret-scan`).\n- [ ] settings.json denies destructive ops (force push, rm -rf, direct prod deploy, secret reads,\n      DB reset) adapted to the ACTUAL stack found in analysis.\n- [ ] Hooks tested with sample JSON payloads (block case exits 2, pass case exits 0).\n- [ ] `.env.example` exists, covers every integration in the tech-stack rule (and nothing more),\n      placeholders only, every var commented with its consumer and per-environment source.\n- [ ] AUDIT MODE ONLY: the standards table carries a `verified:` date from THIS bootstrap run\n      (WebSearch-confirmed versions, not memory); every requirement ID cites its standard version;\n      `protect-repos` tested on BOTH sides - an in-repo write payload exits 2, AND a write to\n      `docs\u002Ffindings\u002F\u003Clowercased-repo-name>\u002Fx.md` exits 0 (case-insensitive path matching is the\n      trap; see `reference\u002Faudit-mode.md`).\n\nHandoff:\n\n- [ ] Summary to user: what was created\u002Fkept\u002Fchanged, agents available, the orchestration flow in\n      one diagram, and the suggested next step (run `spec-builder` if no specs, else\n      `\u002Ftask-resume` or `\u002Fimplement-fr`).\n","# Project bootstrap\n\nSets up the standard AI-agent operating structure for a project, Claude Code first (other tools via\nAGENTS.md). The skill is **self-contained**: every asset it generates has a bundled template under\n`templates\u002F` (settings.json, hooks, agents, rules, commands, root files, docs). A user-supplied\nreference repository is OPTIONAL enrichment - when one is given, prefer copying its battle-tested\nfiles and adapt; when none is given, generate everything from the bundled packs.\n\nThis SKILL.md is the navigation layer. Detailed procedures live in `reference\u002F`; copyable assets\nlive in `templates\u002F`. Read each file when you reach that step - do not improvise a step that has a\nreference doc.\n\n## Three modes - decide first\n\n| Mode | When | What changes |\n|------|------|--------------|\n| **Greenfield** | Empty or near-empty repo | Generate the full structure from intake answers |\n| **Brownfield (standardize existing source)** | Repo already has code, and possibly a partial `.claude`\u002Fdocs | Run codebase analysis FIRST (`reference\u002Fcodebase-analysis.md`), derive most intake answers from evidence, then RECONCILE - never clobber - the existing setup into the standard shape |\n| **Audit \u002F assessment** | The repo(s) are ANALYSED but never MODIFIED by agents - e.g. a read-only security\u002Fperformance audit, possibly over multiple product repos under one workspace root | Build a CONTROL PLANE (root `.claude` + `docs\u002F`) beside the untouched source: agents are read-only on product code (enforced, not just stated), findings are registered as tasks, and the USER applies fixes. Gates of the mode: verify the standards baseline (WebSearch, dated) BEFORE any finding is written, and read-only enforcement tested. Follow [reference\u002Faudit-mode.md](reference\u002Faudit-mode.md); copyable assets in [templates\u002Faudit-pack.md](templates\u002Faudit-pack.md) |\n\nMode selection rule: if the repo(s) will be analysed but never modified by the agents (the user -\nnot an agent - applies any fixes), you are in AUDIT mode, even though plenty of source code\nexists. Otherwise, if the repo contains any source code, you are in brownfield mode. The defining\nproperty of brownfield mode: **the questionnaire confirms findings instead of asking from zero**,\nand every generated agent\u002Frule\u002Fcommand is grounded in what the code actually contains (real module\npaths, real frameworks, real scripts, real risky operations). Audit mode inherits that grounding\ndiscipline - analysis runs on every repo - but flips the write assumption: dev agents become\nauditors, and guardrails must make product source technically read-only.\n\n## Procedure\n\nIn AUDIT mode, follow the same numbered steps but apply the substitutions defined in\n[reference\u002Faudit-mode.md](reference\u002Faudit-mode.md): analysis runs per repo, the roster becomes\nauditors + reviewers (no implementer), the guardrails add read-only enforcement on product source,\nand findings feed the task loop. The docs tree and the task-control loop are unchanged. This mode\nBUILDS the audit scaffolding only - RUNNING the audit afterwards is the job of the sibling\n`security-audit` skill (see \"Division of labor\" in `reference\u002Faudit-mode.md`).\n\n0. **Codebase analysis (brownfield: MANDATORY, greenfield: skip)** - follow\n   [reference\u002Fcodebase-analysis.md](reference\u002Fcodebase-analysis.md). Produce the Inventory Report\n   (stack, modules, conventions, risky operations, existing `.claude`\u002Fdocs assets, gaps vs the\n   standard) and present it to the user before anything else. The report's mapping tables\n   (modules -> dev agents, conventions -> rules, risky ops -> deny\u002Fhooks) directly parameterize\n   steps 2-4.\n1. **Run the intake questionnaire** (MANDATORY, thoroughness over speed) - see\n   [reference\u002Fintake-questionnaire.md](reference\u002Fintake-questionnaire.md). In brownfield mode,\n   pre-fill every answer the analysis produced and only ASK about gaps and choices the code cannot\n   decide (docs language, commit identity, data sensitivity, gated actions). Ask in ordered batches\n   (max 4 per call). Then echo back a one-screen setup plan (what will be created, what will be\n   kept, what will be modified) and get confirmation before generating anything.\n2. **Pick the team roster (\"doi hinh\")** - see\n   [reference\u002Fteam-roster.md](reference\u002Fteam-roster.md): Tier 0 core (orchestrator, reviewer trio,\n   at least one dev agent) is unconditional; choose the preset (S\u002FM\u002FL) matching the project type;\n   brownfield derives dev agents from the module mapping, greenfield from FR clustering (or a\n   single `app-dev` when no specs exist yet). Then **scaffold the `.claude\u002F` surface and docs\n   tree** - see [reference\u002Fclaude-surface.md](reference\u002Fclaude-surface.md). Directory scaffolds:\n   [templates\u002Fclaude-tree.md](templates\u002Fclaude-tree.md) and\n   [templates\u002Fdocs-tree.md](templates\u002Fdocs-tree.md). Asset packs:\n   - `templates\u002Fsettings.json.template` - permissions allow\u002Fdeny + hook registration.\n   - `templates\u002Fagents-pack.md` - complete orchestrator sample, dev-agent pattern, reviewers,\n     qa-test, DB trio, devops, debugger, history-tracker, planning pair, optional `merge-manager`\n     (delegated merge authority behind a strict gate). Every generated agent gets an explicit\n     `model:` in its frontmatter per [reference\u002Fmodel-allocation.md](reference\u002Fmodel-allocation.md)\n     - cheap generation, expensive verification; never leave it unset.\n   - `templates\u002Frules-pack.md` - the full rule set skeletons (00-overview first).\n   - `templates\u002Fcommands-pack.md` - the core command set skeletons.\n   - `templates\u002Froot-files-pack.md` - CLAUDE.md, AGENTS.md, README.md skeletons.\n   - `templates\u002Fdocs-pack.md` - docs\u002FREADME, master-plan, context files, TASK\u002FPRD\u002FADR templates.\n   - `templates\u002Faudit-pack.md` - AUDIT MODE ONLY: `\u003Crepo>-auditor`\u002F`sast-runner`\u002F`perf-reviewer`\n     bodies, the `protect-repos` hook, `\u002Fsecurity-scan` + `\u002Ftriage-findings` commands, the\n     finding-file template, and the read-only-on-source settings.json deny fragment.\n   In brownfield mode apply the reconciliation rules from `reference\u002Fcodebase-analysis.md`\n   (keep-adapt-add-flag; never silently delete user content).\n3. **Install the guardrails and hooks** (NEVER skip) - see\n   [reference\u002Fguardrails-hooks.md](reference\u002Fguardrails-hooks.md); full scripts in\n   [templates\u002Fhooks-pack.md](templates\u002Fhooks-pack.md) (PowerShell + bash variants, six hooks\n   including `agent-history`). Generate the flavor matching the detected dev OS (see \"OS-aware\n   generation\" below). Test each hook with a sample JSON payload before declaring done. Audit mode\n   adds a seventh hook, `protect-repos`, and hardens `protect-secrets` (no `.env.example`\n   allowlist) - see [reference\u002Faudit-mode.md](reference\u002Faudit-mode.md).\n4. **Generate `.env.example`** - see [reference\u002Fenv-config.md](reference\u002Fenv-config.md); scaffold in\n   [templates\u002Fenv-example.template](templates\u002Fenv-example.template). Brownfield: derive the variable\n   list from the actual config reads found during analysis (process.env\u002Fos.environ\u002Fetc.), never\n   from guesswork.\n5. **Wire up orchestration and task tracking** - this is what makes the base \"run under\n   orchestration\", not just a folder of files:\n   - The orchestrator's routing table lists EVERY generated agent with its module scope (from the\n     analysis mapping), and every dev agent names its owning modules, rules, and skills.\n   - The canonical analyze\u002Fdecompose\u002Fregister\u002Flifecycle loop is\n     [reference\u002Ftask-control.md](reference\u002Ftask-control.md); `orchestrator.md` and\n     `rules\u002Ftask-tracking.md` LINK to it rather than duplicate it.\n   - `docs\u002Ftasks\u002Fmaster-plan.md` is created with the index table; in brownfield mode seed it with\n     a Phase 1 backlog derived from the analysis gap list (each gap = one registered task), so the\n     orchestrator has real work to route on its first session.\n   - `CLAUDE.md` names the orchestrator as the default entry point for multi-step work and states\n     the standard feature flow (spec check -> specialist TDD -> qa -> reviewers -> MR).\n6. **Discover and install relevant skills** - see the \"Skill discovery\" section in\n   [reference\u002Fclaude-surface.md](reference\u002Fclaude-surface.md). Record installs in\n   `docs\u002Fcontext\u002Ftool-changelog.md`.\n7. **Verify** - run the quality gate below, then smoke-test the operating loop end-to-end:\n   create one real task file from the template, register it in master-plan, append a session-log\n   row, and run `\u002Ftask-resume` on it.\n\n## Common vs project-specific assets (reuse discipline)\n\nThe generated base splits into two kinds of assets. Keep the distinction sharp - it is what makes\nthis skill applicable to ANY project:\n\n**COMMON (copy near-verbatim; only trivial placeholders like branch name or docs paths):** the six\nhooks and their registration block; the settings.json deny core (force push, rm -rf, secret-read\nglobs); rules `agent-guardrails.md`, `task-tracking.md`, `docs-workflow.md`, `human-in-the-loop.md`\nand the format\u002Fno-AI-attribution parts of `conventional-commits.md`; commands `\u002Fnew-task`,\n`\u002Ftask-resume`, `\u002Fsecret-scan`, `\u002Fsync-context`, `\u002Fnew-adr`; the TASK\u002FPRD\u002FADR templates and the\ndocs tree shape; the orchestrator lifecycle (sections 1-6). These encode process, not domain - do\nNOT inject project specifics into them, so they stay diff-comparable across projects and can be\nupgraded by re-running the bootstrap.\n\n**PROJECT-SPECIFIC (parameterized from intake + analysis):** `tech-stack.md`, `coding-standards.md`\nconventions, `data-model.md` entities, `frontend.md`\u002F`design-system.md` primitives and brand\nassets, `git-workflow.md` platform\u002Fidentity, the commit scope list, the settings.json allow list\nand stack-specific deny rules (DB reset command, deploy command), the orchestrator ROUTING TABLE,\nevery dev agent's scope, `.env.example` groups, hosting\u002Flanguage rules, domain commands.\n\nWhen in doubt: if the sentence would be true in a different company's repo, it belongs to a common\nasset; if it names a module, provider, or brand, it is project-specific and must come from a\n`{{...}}` placeholder, never be invented.\n\n## OS-aware generation (MANDATORY check)\n\nDetect the dev OS BEFORE generating hooks and settings - wrong-flavor hooks fail silently and the\nguardrails never fire:\n\n- Detect from the running environment (platform info, shell, path separators; confirm in the setup\n  plan echo). Do not assume.\n- **Windows** -> PowerShell hooks (`.ps1`), registered as\n  `powershell -NoProfile -ExecutionPolicy Bypass -File .claude\u002Fhooks\u002F\u003Cname>.ps1`. Use\n  `-cmatch`\u002F`-cnotmatch` for case-sensitive checks.\n- **macOS\u002FLinux** -> bash hooks (`.sh`), registered as `bash .claude\u002Fhooks\u002F\u003Cname>.sh`; `chmod +x`;\n  LF line endings; note the `jq` dependency (or inline a python\u002Fnode JSON parse if jq is not\n  guaranteed).\n- **Mixed-OS team**: settings.json is committed and shared, so one flavor will break for part of\n  the team. Prefer portable hooks in the project's own runtime (e.g. Node `.mjs` registered as\n  `node .claude\u002Fhooks\u002F\u003Cname>.mjs` for a JS project) - port the pack scripts' logic 1:1; otherwise\n  pick the majority OS and document the gap in `hooks\u002FREADME.md`.\n- Scripts and commands referenced in docs (test\u002Flint invocations) must match the OS shell too.\n\n## Task tracking in markdown (context-compaction survival)\n\nTask state lives in committed markdown files under `docs\u002Ftasks\u002F` (no database): `master-plan.md`\n(phased plan + index table of every task: owner agent, deps, priority, phase, status) + one file per\ntask `active\u002FTASK-NNN-\u003Cslug>.md` from the TASK template (moved to `done\u002F` when finished, or to\n`pending\u002F` when intentionally deferred), holding goal, scope, orchestration notes, checklist,\nacceptance criteria, and an AI session log table. The full analyze\u002Fcreate\u002Fcontrol loop - including\ncrash recovery and single-instance discipline after abnormal termination (a silently stalled\ninstance counts as crashed and is resumed from file state) - is documented in\n`reference\u002Ftask-control.md`. Scaffold:\n\n- Rule `task-tracking.md`: implementation agents create\u002Fupdate the task file at task start, append\n  concise session-log rows (date, agent, what was done, result) and decision notes during work, and\n  re-read master-plan + the task file before continuing any task in a new or compacted session - the\n  task files, not conversation memory, are the source of truth. Files are committed: no secrets, no\n  real PII, no full prompt dumps.\n- Command `\u002Ftask-resume`: grep `status: Active|Blocked` in `active\u002F` to list unfinished tasks,\n  rebuild context from master-plan + task file, verify the working tree before continuing.\n- Orchestrator step: at session start, scan `active\u002F` frontmatter for unfinished tasks and route\n  them back to the owning agent.\n- Status transitions update both the task file frontmatter and the master-plan Status column; on\n  Done fill the results section and move the file to `done\u002F`.\n\n## Installation levels\n\n- Project level: everything above, committed to the repo.\n- Global level (`~\u002F.claude\u002Fskills\u002F`): install `spec-builder` and `project-bootstrap` themselves so\n  any future project can bootstrap; never put project-specific rules\u002Fagents globally.\n\n## Quality gate before finishing\n\nStructure completeness:\n\n- [ ] `.claude\u002F` contains ALL of: `settings.json`, `rules\u002F` (00-overview first), `agents\u002F`,\n      `commands\u002F`, `hooks\u002F` (+README), `skills\u002F`; `docs\u002F` contains ALL of: `README.md`, `specs\u002F`,\n      `requirements\u002F`, `architecture\u002F` (system-overview + decisions\u002F + api-contracts\u002F), `tasks\u002F`\n      (master-plan + active\u002F + pending\u002F + done\u002F), `context\u002F` (glossary, business-rules,\n      known-issues, tool-changelog), `templates\u002F` (TASK\u002FPRD\u002FADR).\n- [ ] Every path referenced by agents\u002Fcommands\u002Frules exists; no references to agents that were not\n      created; orchestrator routing table covers every agent (no orphan agents).\n- [ ] Roster completeness: every seat of the standard feature flow is filled by exactly one agent\n      per the check table in `reference\u002Fteam-roster.md`; intentionally unfilled seats are named in\n      CLAUDE.md (who covers them instead).\n- [ ] Genericity: common assets contain no project\u002Fdomain\u002Fbrand specifics (they must be reusable\n      verbatim in another repo); every project specific came from a `{{...}}` placeholder or an\n      analysis finding, never invented.\n- [ ] OS check done: hook flavor + settings.json registration lines match the detected dev OS;\n      hooks actually execute on this machine (the payload test ran here, not hypothetically).\n- [ ] Every generated agent's frontmatter carries an explicit `model:` (never unset), assigned per\n      [reference\u002Fmodel-allocation.md](reference\u002Fmodel-allocation.md): `opus` for\n      planning\u002Froot-cause\u002Freview-gate seats, `sonnet` for implementation against a settled spec,\n      `haiku` for mechanical\u002Flow-judgment work.\n\nGrounding (brownfield):\n\n- [ ] Inventory Report was produced and confirmed; every dev agent's scope names real module paths;\n      every rule's conventions match observed code (or the deviation is flagged as a registered\n      task, not silently \"fixed\").\n- [ ] Pre-existing `.claude`\u002Fdocs content was reconciled per keep-adapt-add-flag; nothing the user\n      wrote was deleted without explicit approval.\n- [ ] master-plan.md carries the migration backlog (one task per gap) so orchestration has work.\n\nProcess:\n\n- [ ] Every questionnaire batch was asked or explicitly inferred with stated defaults, and the\n      setup plan was confirmed by the user before generation.\n- [ ] `CLAUDE.md`, `AGENTS.md`, `README.md`, `.claude\u002Frules\u002F00-overview.md` agree with each other\n      (same principles, same paths); all agent-facing files are in English.\n- [ ] Task tracking smoke-tested end-to-end (create task file, register in master-plan, append\n      session-log row, `\u002Ftask-resume` it).\n- [ ] Platform-specific bits (CLI, PR\u002FMR wording, CI file, default branch) match the git platform\n      answer everywhere, including command NAMES.\n\nSafety:\n\n- [ ] All four guardrail layers present: settings.json deny rules, hooks, `agent-guardrails.md`,\n      review commands (`\u002Freview-mr` or `\u002Freview-pr` gated by `\u002Fsecret-scan`).\n- [ ] settings.json denies destructive ops (force push, rm -rf, direct prod deploy, secret reads,\n      DB reset) adapted to the ACTUAL stack found in analysis.\n- [ ] Hooks tested with sample JSON payloads (block case exits 2, pass case exits 0).\n- [ ] `.env.example` exists, covers every integration in the tech-stack rule (and nothing more),\n      placeholders only, every var commented with its consumer and per-environment source.\n- [ ] AUDIT MODE ONLY: the standards table carries a `verified:` date from THIS bootstrap run\n      (WebSearch-confirmed versions, not memory); every requirement ID cites its standard version;\n      `protect-repos` tested on BOTH sides - an in-repo write payload exits 2, AND a write to\n      `docs\u002Ffindings\u002F\u003Clowercased-repo-name>\u002Fx.md` exits 0 (case-insensitive path matching is the\n      trap; see `reference\u002Faudit-mode.md`).\n\nHandoff:\n\n- [ ] Summary to user: what was created\u002Fkept\u002Fchanged, agents available, the orchestration flow in\n      one diagram, and the suggested next step (run `spec-builder` if no specs, else\n      `\u002Ftask-resume` or `\u002Fimplement-fr`).\n",{"name":5,"description":7},"main","67def2e4083f86c03d77284746a959efbfe9a90d","benchmark\u002Fbaseline",2,"https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap","https:\u002F\u002Fnguyenhx2.github.io\u002Fagent-harness-bootstrap\u002F","https:\u002F\u002Fgithub.com\u002Fnguyenhx2","https:\u002F\u002Fwww.engineeringjournal.dev\u002F","Frames, guardrails, and notes that outlive the project.","2026-10-30 14:47:40",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add nguyenhx2\u002Fagent-harness-bootstrap --skill project-bootstrap",{"tool":40,"command":41},"bunx","bunx skills add nguyenhx2\u002Fagent-harness-bootstrap --skill project-bootstrap",{"tool":43,"command":44},"pnpm","pnpm dlx skills add nguyenhx2\u002Fagent-harness-bootstrap --skill project-bootstrap","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap\u002Fblob\u002Fmain\u002Fbenchmark\u002Fbaseline\u002FSKILL.md",true,[48,54,58,62,66,70,74,78,82,86,90,94,98,102,106,110,114,118,122,126,132,136,140,144],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"README.md","REFERENCE","参考文档",373,"https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap\u002Fblob\u002Fmain\u002Fbenchmark\u002Fbaseline\u002FREADME.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"reference\u002Faudit-mode.md",18627,"https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap\u002Fblob\u002Fmain\u002Fbenchmark\u002Fbaseline\u002Freference\u002Faudit-mode.md",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"reference\u002Fclaude-surface.md",7068,"https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap\u002Fblob\u002Fmain\u002Fbenchmark\u002Fbaseline\u002Freference\u002Fclaude-surface.md",{"path":63,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":64,"sourceHtmlUrl":65},"reference\u002Fcode-quality-review.md",9651,"https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap\u002Fblob\u002Fmain\u002Fbenchmark\u002Fbaseline\u002Freference\u002Fcode-quality-review.md",{"path":67,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":68,"sourceHtmlUrl":69},"reference\u002Fcodebase-analysis.md",9347,"https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap\u002Fblob\u002Fmain\u002Fbenchmark\u002Fbaseline\u002Freference\u002Fcodebase-analysis.md",{"path":71,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":72,"sourceHtmlUrl":73},"reference\u002Fenv-config.md",2409,"https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap\u002Fblob\u002Fmain\u002Fbenchmark\u002Fbaseline\u002Freference\u002Fenv-config.md",{"path":75,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":76,"sourceHtmlUrl":77},"reference\u002Fguardrails-hooks.md",6841,"https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap\u002Fblob\u002Fmain\u002Fbenchmark\u002Fbaseline\u002Freference\u002Fguardrails-hooks.md",{"path":79,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":80,"sourceHtmlUrl":81},"reference\u002Fintake-questionnaire.md",6227,"https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap\u002Fblob\u002Fmain\u002Fbenchmark\u002Fbaseline\u002Freference\u002Fintake-questionnaire.md",{"path":83,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":84,"sourceHtmlUrl":85},"reference\u002Fmodel-allocation.md",4759,"https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap\u002Fblob\u002Fmain\u002Fbenchmark\u002Fbaseline\u002Freference\u002Fmodel-allocation.md",{"path":87,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":88,"sourceHtmlUrl":89},"reference\u002Fperformance-review.md",10045,"https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap\u002Fblob\u002Fmain\u002Fbenchmark\u002Fbaseline\u002Freference\u002Fperformance-review.md",{"path":91,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":92,"sourceHtmlUrl":93},"reference\u002Fsecurity-review.md",13883,"https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap\u002Fblob\u002Fmain\u002Fbenchmark\u002Fbaseline\u002Freference\u002Fsecurity-review.md",{"path":95,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":96,"sourceHtmlUrl":97},"reference\u002Ftask-control.md",22787,"https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap\u002Fblob\u002Fmain\u002Fbenchmark\u002Fbaseline\u002Freference\u002Ftask-control.md",{"path":99,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":100,"sourceHtmlUrl":101},"reference\u002Fteam-roster.md",9520,"https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap\u002Fblob\u002Fmain\u002Fbenchmark\u002Fbaseline\u002Freference\u002Fteam-roster.md",{"path":103,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":104,"sourceHtmlUrl":105},"templates\u002Fagents-pack.md",21944,"https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap\u002Fblob\u002Fmain\u002Fbenchmark\u002Fbaseline\u002Ftemplates\u002Fagents-pack.md",{"path":107,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":108,"sourceHtmlUrl":109},"templates\u002Faudit-pack.md",17501,"https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap\u002Fblob\u002Fmain\u002Fbenchmark\u002Fbaseline\u002Ftemplates\u002Faudit-pack.md",{"path":111,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":112,"sourceHtmlUrl":113},"templates\u002Fclaude-tree.md",2746,"https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap\u002Fblob\u002Fmain\u002Fbenchmark\u002Fbaseline\u002Ftemplates\u002Fclaude-tree.md",{"path":115,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":116,"sourceHtmlUrl":117},"templates\u002Fcommands-pack.md",7507,"https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap\u002Fblob\u002Fmain\u002Fbenchmark\u002Fbaseline\u002Ftemplates\u002Fcommands-pack.md",{"path":119,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":120,"sourceHtmlUrl":121},"templates\u002Fdocs-pack.md",6562,"https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap\u002Fblob\u002Fmain\u002Fbenchmark\u002Fbaseline\u002Ftemplates\u002Fdocs-pack.md",{"path":123,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":124,"sourceHtmlUrl":125},"templates\u002Fdocs-tree.md",1571,"https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap\u002Fblob\u002Fmain\u002Fbenchmark\u002Fbaseline\u002Ftemplates\u002Fdocs-tree.md",{"path":127,"resourceType":128,"resourceTypeDesc":129,"sizeBytes":130,"sourceHtmlUrl":131},"templates\u002Fenv-example.template","OTHER","其他",1870,"https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap\u002Fblob\u002Fmain\u002Fbenchmark\u002Fbaseline\u002Ftemplates\u002Fenv-example.template",{"path":133,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":134,"sourceHtmlUrl":135},"templates\u002Fhooks-pack.md",15041,"https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap\u002Fblob\u002Fmain\u002Fbenchmark\u002Fbaseline\u002Ftemplates\u002Fhooks-pack.md",{"path":137,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":138,"sourceHtmlUrl":139},"templates\u002Froot-files-pack.md",6344,"https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap\u002Fblob\u002Fmain\u002Fbenchmark\u002Fbaseline\u002Ftemplates\u002Froot-files-pack.md",{"path":141,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":142,"sourceHtmlUrl":143},"templates\u002Frules-pack.md",11110,"https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap\u002Fblob\u002Fmain\u002Fbenchmark\u002Fbaseline\u002Ftemplates\u002Frules-pack.md",{"path":145,"resourceType":128,"resourceTypeDesc":129,"sizeBytes":146,"sourceHtmlUrl":147},"templates\u002Fsettings.json.template",2868,"https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap\u002Fblob\u002Fmain\u002Fbenchmark\u002Fbaseline\u002Ftemplates\u002Fsettings.json.template",[149,156,163,168,175,180],{"skillNo":150,"name":151,"nameZh":6,"description":152,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":155,"publishedAt":19},"01M78H1XSZ41S6PD3HHEC74CQV","citation-style","How this repository cites a source - author, title, year, link.","https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap\u002Fblob\u002Fmain\u002Ftools\u002Fharness-view\u002Ftests\u002Fkit-fixture\u002F.claude\u002Fskills\u002Fcitation-style\u002FSKILL.md",[],[],{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":19},"01M78H1NW5HJEZKMH8W4BYYXN8","spec-builder","Writes the requirements contract for a project under docs\u002Fspecs\u002F from raw input - an idea, meeting notes, a transcript, a PRD, legacy docs or a codebase - in the user's language. Stable FR IDs, Given\u002FWhen\u002FThen acceptance criteria, flagged assumptions and open issues, a one-page confirmation sheet a PO or client answers yes\u002Fno\u002Fchange, and a JSON index agents read instead of whole documents. Never invents a requirement. Research, strategy and docs repos get a lighter contract. Use when requirements must be written, confirmed, updated or standardized - \"build specs\", \"tạo specs\", \"viết tài liệu phân tích yêu cầu\", \"要件定義を作成して\", or the same in any language. Not for building the .claude agent harness (harness-bootstrap), digesting documents into a knowledge base, or writing code or ADRs.","https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap\u002Fblob\u002Fmain\u002Fspec-builder\u002FSKILL.md",[],[],{"skillNo":164,"name":158,"nameZh":6,"description":159,"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":19},"01M78H1E4REP4ZSCBG3B6N8NX0","https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap\u002Fblob\u002Fmain\u002Fplugins\u002Fspec-builder\u002Fskills\u002Fspec-builder\u002FSKILL.md",[],[],{"skillNo":169,"name":170,"nameZh":6,"description":171,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":172,"categories":173,"keywords":174,"publishedAt":19},"01M78H1440W1AHYF7Q5N8YAXFM","harness-bootstrap","Bootstraps or standardizes the AI-agent harness for a repo - analyzes the existing source first, then generates the .claude folder (agents with explicit model\u002Feffort\u002Ftool budgets, path-scoped rules, commands, hooks, settings.json), the docs tree and AGENTS.md + CLAUDE.md, so one main session works every change at the process it needs, with read-only reviewers as the required gate on risky ones. Covers code repos and repos dedicated to research, strategy or documentation, plus a read-only audit mode beside untouched source. Use when the user asks to \"set up base\", \"thiet lap base coding\", \"chuan hoa claude folder\", \"chuan hoa source thanh claude ready\", \"khoi tao workspace cho AI agents\", \"set up agents for this repo\", or adopts a project that should follow the standard structure. Not for writing a specification set - that is spec-builder.","https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap\u002Fblob\u002Fmain\u002Fplugins\u002Fharness-bootstrap\u002Fskills\u002Fharness-bootstrap\u002FSKILL.md",[],[],{"skillNo":176,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":177,"categories":178,"keywords":179,"publishedAt":19},"01M78H0VW2XZAGSH5TDE5JRKD8","https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap\u002Fblob\u002Fmain\u002Fplugins\u002Fcodex\u002Fspec-builder\u002Fskills\u002Fspec-builder\u002FSKILL.md",[],[],{"skillNo":181,"name":170,"nameZh":6,"description":171,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":184,"publishedAt":19},"01M78H0HQZNQNHTVBMKW7Z9R0F","https:\u002F\u002Fgithub.com\u002Fnguyenhx2\u002Fagent-harness-bootstrap\u002Fblob\u002Fmain\u002Fplugins\u002Fcodex\u002Fharness-bootstrap\u002Fskills\u002Fharness-bootstrap\u002FSKILL.md",[],[]]