[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HR1GFJYKZ9EST6G8XQV5Y8":3,"skill-same:01M6HR1GFJYKZ9EST6G8XQV5Y8":61},{"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":34,"linkOnly":35,"markdownContent":36,"markdownBody":37,"frontMatter":38,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":14,"repositoryHtmlUrl":42,"repositoryHomepageUrl":6,"ownerHtmlUrl":43,"ownerBlogUrl":44,"ownerDescription":45,"updatedAt":46,"install":47,"resources":60},"01M6HR1GFJYKZ9EST6G8XQV5Y8","implement-ai-harness",null,"Design and roll out an agent-first AI harness—navigation, docs, mechanical enforcement, observability, and garbage collection. Use when adopting harness engineering, structuring AGENTS.md\u002Fdocs\u002FHARNESS.md, or wiring hard-skill checks.","midyan\u002Fskissue","midyan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F13965184?v=4","01M6HR129RJC96XEWYHVR936QW","Yan Nunes","01M6HR12DGZWQT00J351M1HZB3",0,"MIT","https:\u002F\u002Fgithub.com\u002Fmidyan\u002Fskissue\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fimplement-ai-harness\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33],"implement","harness","ai harness","implement ai harness","design","docs","observability","engineering","harness engineering","first","collection","use","enforcement","navigation","mechanical","2026-11-10 10:12:30",false,"---\nname: implement-ai-harness\ndescription: Design and roll out an agent-first AI harness—navigation, docs, mechanical enforcement, observability, and garbage collection. Use when adopting harness engineering, structuring AGENTS.md\u002Fdocs\u002FHARNESS.md, or wiring hard-skill checks.\n---\n\n# Implement an AI harness\n\n**Harness engineering** is the practice of designing the **environment** agents run in: constraints, feedback loops, docs, tooling, and lifecycle—not just prompts. The bottleneck in agent performance is usually **environment design**, not model capability (see OpenAI’s harness engineering framing, Feb 2026).\n\nThis skill tells you **what to build**, **in what order**, and **how to verify** it. It generalizes patterns from mature reference repos (e.g. **Aja** \u002F similar projects with `docs\u002FHARNESS.md`, `docs\u002Freferences\u002Fharness-engineering.md`, and harness detection in code) so you can adapt them to **any** codebase.\n\n---\n\n## 1. What “harness” means here\n\n| Layer                  | Role                                                                                                                         |\n| ---------------------- | ---------------------------------------------------------------------------------------------------------------------------- |\n| **Steering**           | Humans set intent, boundaries, and review; agents execute inside the harness.                                                |\n| **Map**                | Short entry (`AGENTS.md`) + **progressive disclosure** (`INDEX.md`, `docs\u002F`)—not one giant instruction file.                 |\n| **Knowledge**          | Versioned `docs\u002F` (architecture, decisions, progress, quality). If it isn’t in the repo, it doesn’t exist for the agent.     |\n| **Enforcement**        | **Mechanical** checks in CI: custom linters, structural tests, commit hooks—errors include **how to fix**, not only “wrong.” |\n| **Feedback**           | Tests, E2E (e.g. Playwright CLI with structured reporters), logs\u002Fmetrics\u002Ftraces where applicable.                            |\n| **Garbage collection** | Ongoing cleanup of drift, duplication, and “AI slop”; quality grades or recurring tasks.                                     |\n\n**Soft vs hard:** _Soft_ = markdown skills\u002Frules that teach. _Hard_ = executable checks (scripts) that **enforce**. Both matter; soft-only conventions rot.\n\n---\n\n## 2. The three pillars (minimum viable harness)\n\nUse these as a checklist. Implement **pillar 2 early**—mechanical enforcement compounds.\n\n### Pillar 1 — Context engineering\n\n- Keep **`AGENTS.md` small** (order-of-magnitude ~100–150 lines). If it grows, **extract** to `docs\u002F` and link.\n- Use **`INDEX.md`** (or your format spec) in directories with multiple children so agents **navigate** instead of scanning trees.\n- Session flow: **AGENTS → relevant doc section → task**, not “load everything.”\n- Optional: `docs\u002FPROGRESS.md`, `docs\u002FDECISIONS.md`, `docs\u002FQUALITY.md` (or equivalents) so state and rationale live in git.\n\n### Pillar 2 — Architectural constraints\n\n- Define **allowed dependency directions** (layer graph). Enforce with a script in CI; violations must print **remediation** (“`X` may only import from `Y`; fix by …”).\n- Add **structural rules** that match your stack: e.g. no raw `child_process` outside approved modules, structured logging only, no vendor SDKs outside an integration layer, JSDoc\u002Fmodule headers where useful.\n- Run these on **every PR**; same rules for humans and agents.\n\n### Pillar 3 — Garbage collection\n\n- Encode **invariants** you care about (no magic strings outside `types\u002F`, no empty `catch`, etc.) as **scans or tests**.\n- **Review quality** periodically: a `QUALITY.md` table or harness score (see **`report-harness-score`** in this registry) is enough to start.\n- Treat recurring bad patterns as **missing harness**: add a check or doc, then retry—don’t rely on “try harder.”\n\n---\n\n## 3. Suggested repository layout (adapt names)\n\n```\n\u003Crepo>\u002F\n├── AGENTS.md                 # Entry map: links only; keep short\n├── README.md                 # Humans\n├── docs\u002F\n│   ├── INDEX.md\n│   ├── ARCHITECTURE.md       # System shape, boundaries, flows\n│   ├── HARNESS.md            # Engineering rules, constraints, validation, observability (see §5)\n│   ├── DECISIONS.md          # Dated decisions (optional)\n│   ├── PROGRESS.md           # What works \u002F next (optional)\n│   └── references\u002F           # External articles, internal deep dives\n├── .agents\u002F\n│   ├── INDEX.md\n│   ├── rules\u002F                # Persistent rules (naming, INDEX maintenance, etc.)\n│   └── skills\u002F               # Installed or vendored skills (commit workflow, validators, …)\n└── src\u002F …                    # Application code with explicit layers\n```\n\n**`docs\u002FHARNESS.md`** is the right place for **everything the agent must respect**: philosophy, layer rules, linter contracts, Playwright\u002FObservability expectations, phases of rollout. Point **`AGENTS.md`** at it with one line, not a full paste.\n\n---\n\n## 4. Implementation phases (roll out in order)\n\n**Phase A — Foundation**\n\n1. `AGENTS.md` + `docs\u002FARCHITECTURE.md` (or equivalent) + `docs\u002FHARNESS.md` skeleton.\n2. INDEX strategy + format spec under `docs\u002F` (agents must know how to maintain indexes).\n3. One **dependency-direction** or **boundary** check + CI.\n4. Unit test \u002F build pipeline green.\n\n**Phase B — Enforcement**\n\n1. Add **2–3** high-value linters (logging, shell routing, imports—whatever your codebase needs).\n2. Git hooks optional (Husky): at least **`commit-msg`** if you use Conventional Commits.\n3. Aggregate **`npm run check:all`** (or equivalent) mirroring this repo’s **`registry\u002Frunner.ts`** pattern: one command runs all hard checks.\n\n**Phase C — Validation & feedback**\n\n1. **E2E** with **structured output** (e.g. Playwright `--reporter=json`) so agents can parse results without a human.\n2. If you have services: **observability** story (logs\u002Fmetrics\u002Ftraces) with query examples in `HARNESS.md` so agents can **verify** behavior, not only read code.\n\n**Phase D — Scale & GC**\n\n1. Background or scheduled tasks for cleanup, quality table updates, harness score.\n2. **Phase 2** mindset: the repo **uses its own harness** to improve itself (dogfood).\n\n---\n\n## 5. What to put in `docs\u002FHARNESS.md`\n\nA strong `HARNESS.md` usually includes:\n\n1. **Core principles** (bullets)—steering vs executing, repo as source of truth, constraints as multipliers.\n2. **Context budget**—max fraction of context for docs; when to split tasks.\n3. **Layer \u002F import rules**—table or diagram; link to the actual linter.\n4. **Linter catalog**—each rule: purpose, **example violation**, **remediation**, how to run locally.\n5. **Taste invariants**—types first, validate boundaries, no silent failures, idempotency where needed.\n6. **Observability & UI validation** (when relevant)—how agents query logs; Playwright CLI vs MCP (scriptable vs exploratory).\n7. **When the agent struggles**—checklist: missing capability? ambiguous abstraction? missing test? **Encode** the fix in-repo.\n8. **Phases**—Phase 1 “human as runner” vs Phase 2 autonomous agents, if applicable.\n\nReference material can live in **`docs\u002Freferences\u002F`** (e.g. distilled notes from OpenAI-style harness articles).\n\n---\n\n## 6. Detection and tooling (optional but high leverage)\n\nIn reference projects, small utilities answer: “Is this repo harness-aware?” Examples: presence of `docs\u002FHARNESS.md`, `.agents\u002Fskills\u002Fhard-skills\u002F`, a **runner** script, config path. Expose that to CLIs or dashboards so **Mayor\u002Fplanning** flows can inject the right docs.\n\nYou don’t need feature parity—**one function** that returns booleans\u002Fpaths is enough to keep behavior consistent.\n\n---\n\n## 7. Using this registry (`skill-issue`) as building blocks\n\nOn the consumer, **`skill-issue install`** can add:\n\n| Skill                                                                           | Use                                                                                            |\n| ------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |\n| **`validate-agents-entry`**                                                     | Root **`AGENTS.md`** exists and is under a line budget (default 200).                          |\n| **`validate-harness-doc`**                                                      | **`docs\u002FHARNESS.md`** exists with enough non-empty lines (min 12 by default).                  |\n| **`report-harness-score`**                                                      | Quantitative harness audit (tune dimensions in hard script).                                   |\n| **`repo-verify`**                                                               | List hard skills + run **`verify`** (prefers **`test:coverage`** over **`test`** in fallback). |\n| **`validate-indexes`**                                                          | INDEX.md vs filesystem.                                                                        |\n| **`validate-links`**                                                            | Broken markdown links.                                                                         |\n| **`validate-deps`**                                                             | Import layers.                                                                                 |\n| **`validate-logging`**, **`validate-shell-exec`**, **`validate-commit-msg`**, … | Stack-specific; pick what matches `HARNESS.md`.                                                |\n| **`hard-skills`**                                                               | How to author new **hard\u002F** checks.                                                            |\n\nWire **`npm run check:all`** to your runner so one command equals **full harness verification** for hard skills. The **aggregate gate** (`verify` in **`package.json`**) should also run **unit tests with coverage** (e.g. **`npm run test:coverage`** with Vitest) so executable checks stay exercised in CI—not only **`check:all`**.\n\n---\n\n## 8. Verification checklist\n\nBefore calling the harness “done” for v1:\n\n- [ ] `AGENTS.md` is short and points to `docs\u002FHARNESS.md` + architecture.\n- [ ] `docs\u002FHARNESS.md` lists enforceable rules and how to run checks locally + CI.\n- [ ] At least one **mechanical** boundary check runs on CI with remediation text.\n- [ ] INDEX \u002F navigation spec exists and is validated if you use INDEX files.\n- [ ] **Unit tests with coverage** are part of **`verify`** \u002F CI (e.g. Vitest **`--coverage`** on hard-skill entrypoints), not only **`check:all`**.\n- [ ] **E2E or integration** path exists for critical flows, with **machine-readable** output where possible.\n- [ ] “When stuck” process = **change the repo** (doc, test, linter), not only the prompt.\n\n---\n\n## 9. Anti-patterns\n\n- **Monolithic `AGENTS.md`**—becomes stale and crowds out code context.\n- **Rules without CI**—agents pattern-match; enforcement must be mechanical.\n- **Vague errors**—always pair violations with **how to fix**.\n- **Skipping progressive disclosure**—agents load 5k lines of docs once and ignore them.\n- **No garbage collection**—duplication and drift explode at agent throughput.\n\n---\n\n## 10. Summary\n\n**Implement the harness by:**\n\n1. Writing a **small map** (`AGENTS.md`) and a **deep contract** (`docs\u002FHARNESS.md`).\n2. Enforcing **architecture and style** with **scripts + CI**, not prose alone.\n3. Adding **tests and structured E2E** so agents close the loop.\n4. **Iterating** when agents fail: encode the missing capability, then rerun.\n\nThat is how you get an **extremely effective** AI harness: durable, legible, and compounding—aligned with production-grade reference implementations and with the **`skill-issue`** hard-skill ecosystem.\n","# Implement an AI harness\n\n**Harness engineering** is the practice of designing the **environment** agents run in: constraints, feedback loops, docs, tooling, and lifecycle—not just prompts. The bottleneck in agent performance is usually **environment design**, not model capability (see OpenAI’s harness engineering framing, Feb 2026).\n\nThis skill tells you **what to build**, **in what order**, and **how to verify** it. It generalizes patterns from mature reference repos (e.g. **Aja** \u002F similar projects with `docs\u002FHARNESS.md`, `docs\u002Freferences\u002Fharness-engineering.md`, and harness detection in code) so you can adapt them to **any** codebase.\n\n---\n\n## 1. What “harness” means here\n\n| Layer                  | Role                                                                                                                         |\n| ---------------------- | ---------------------------------------------------------------------------------------------------------------------------- |\n| **Steering**           | Humans set intent, boundaries, and review; agents execute inside the harness.                                                |\n| **Map**                | Short entry (`AGENTS.md`) + **progressive disclosure** (`INDEX.md`, `docs\u002F`)—not one giant instruction file.                 |\n| **Knowledge**          | Versioned `docs\u002F` (architecture, decisions, progress, quality). If it isn’t in the repo, it doesn’t exist for the agent.     |\n| **Enforcement**        | **Mechanical** checks in CI: custom linters, structural tests, commit hooks—errors include **how to fix**, not only “wrong.” |\n| **Feedback**           | Tests, E2E (e.g. Playwright CLI with structured reporters), logs\u002Fmetrics\u002Ftraces where applicable.                            |\n| **Garbage collection** | Ongoing cleanup of drift, duplication, and “AI slop”; quality grades or recurring tasks.                                     |\n\n**Soft vs hard:** _Soft_ = markdown skills\u002Frules that teach. _Hard_ = executable checks (scripts) that **enforce**. Both matter; soft-only conventions rot.\n\n---\n\n## 2. The three pillars (minimum viable harness)\n\nUse these as a checklist. Implement **pillar 2 early**—mechanical enforcement compounds.\n\n### Pillar 1 — Context engineering\n\n- Keep **`AGENTS.md` small** (order-of-magnitude ~100–150 lines). If it grows, **extract** to `docs\u002F` and link.\n- Use **`INDEX.md`** (or your format spec) in directories with multiple children so agents **navigate** instead of scanning trees.\n- Session flow: **AGENTS → relevant doc section → task**, not “load everything.”\n- Optional: `docs\u002FPROGRESS.md`, `docs\u002FDECISIONS.md`, `docs\u002FQUALITY.md` (or equivalents) so state and rationale live in git.\n\n### Pillar 2 — Architectural constraints\n\n- Define **allowed dependency directions** (layer graph). Enforce with a script in CI; violations must print **remediation** (“`X` may only import from `Y`; fix by …”).\n- Add **structural rules** that match your stack: e.g. no raw `child_process` outside approved modules, structured logging only, no vendor SDKs outside an integration layer, JSDoc\u002Fmodule headers where useful.\n- Run these on **every PR**; same rules for humans and agents.\n\n### Pillar 3 — Garbage collection\n\n- Encode **invariants** you care about (no magic strings outside `types\u002F`, no empty `catch`, etc.) as **scans or tests**.\n- **Review quality** periodically: a `QUALITY.md` table or harness score (see **`report-harness-score`** in this registry) is enough to start.\n- Treat recurring bad patterns as **missing harness**: add a check or doc, then retry—don’t rely on “try harder.”\n\n---\n\n## 3. Suggested repository layout (adapt names)\n\n```\n\u003Crepo>\u002F\n├── AGENTS.md                 # Entry map: links only; keep short\n├── README.md                 # Humans\n├── docs\u002F\n│   ├── INDEX.md\n│   ├── ARCHITECTURE.md       # System shape, boundaries, flows\n│   ├── HARNESS.md            # Engineering rules, constraints, validation, observability (see §5)\n│   ├── DECISIONS.md          # Dated decisions (optional)\n│   ├── PROGRESS.md           # What works \u002F next (optional)\n│   └── references\u002F           # External articles, internal deep dives\n├── .agents\u002F\n│   ├── INDEX.md\n│   ├── rules\u002F                # Persistent rules (naming, INDEX maintenance, etc.)\n│   └── skills\u002F               # Installed or vendored skills (commit workflow, validators, …)\n└── src\u002F …                    # Application code with explicit layers\n```\n\n**`docs\u002FHARNESS.md`** is the right place for **everything the agent must respect**: philosophy, layer rules, linter contracts, Playwright\u002FObservability expectations, phases of rollout. Point **`AGENTS.md`** at it with one line, not a full paste.\n\n---\n\n## 4. Implementation phases (roll out in order)\n\n**Phase A — Foundation**\n\n1. `AGENTS.md` + `docs\u002FARCHITECTURE.md` (or equivalent) + `docs\u002FHARNESS.md` skeleton.\n2. INDEX strategy + format spec under `docs\u002F` (agents must know how to maintain indexes).\n3. One **dependency-direction** or **boundary** check + CI.\n4. Unit test \u002F build pipeline green.\n\n**Phase B — Enforcement**\n\n1. Add **2–3** high-value linters (logging, shell routing, imports—whatever your codebase needs).\n2. Git hooks optional (Husky): at least **`commit-msg`** if you use Conventional Commits.\n3. Aggregate **`npm run check:all`** (or equivalent) mirroring this repo’s **`registry\u002Frunner.ts`** pattern: one command runs all hard checks.\n\n**Phase C — Validation & feedback**\n\n1. **E2E** with **structured output** (e.g. Playwright `--reporter=json`) so agents can parse results without a human.\n2. If you have services: **observability** story (logs\u002Fmetrics\u002Ftraces) with query examples in `HARNESS.md` so agents can **verify** behavior, not only read code.\n\n**Phase D — Scale & GC**\n\n1. Background or scheduled tasks for cleanup, quality table updates, harness score.\n2. **Phase 2** mindset: the repo **uses its own harness** to improve itself (dogfood).\n\n---\n\n## 5. What to put in `docs\u002FHARNESS.md`\n\nA strong `HARNESS.md` usually includes:\n\n1. **Core principles** (bullets)—steering vs executing, repo as source of truth, constraints as multipliers.\n2. **Context budget**—max fraction of context for docs; when to split tasks.\n3. **Layer \u002F import rules**—table or diagram; link to the actual linter.\n4. **Linter catalog**—each rule: purpose, **example violation**, **remediation**, how to run locally.\n5. **Taste invariants**—types first, validate boundaries, no silent failures, idempotency where needed.\n6. **Observability & UI validation** (when relevant)—how agents query logs; Playwright CLI vs MCP (scriptable vs exploratory).\n7. **When the agent struggles**—checklist: missing capability? ambiguous abstraction? missing test? **Encode** the fix in-repo.\n8. **Phases**—Phase 1 “human as runner” vs Phase 2 autonomous agents, if applicable.\n\nReference material can live in **`docs\u002Freferences\u002F`** (e.g. distilled notes from OpenAI-style harness articles).\n\n---\n\n## 6. Detection and tooling (optional but high leverage)\n\nIn reference projects, small utilities answer: “Is this repo harness-aware?” Examples: presence of `docs\u002FHARNESS.md`, `.agents\u002Fskills\u002Fhard-skills\u002F`, a **runner** script, config path. Expose that to CLIs or dashboards so **Mayor\u002Fplanning** flows can inject the right docs.\n\nYou don’t need feature parity—**one function** that returns booleans\u002Fpaths is enough to keep behavior consistent.\n\n---\n\n## 7. Using this registry (`skill-issue`) as building blocks\n\nOn the consumer, **`skill-issue install`** can add:\n\n| Skill                                                                           | Use                                                                                            |\n| ------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |\n| **`validate-agents-entry`**                                                     | Root **`AGENTS.md`** exists and is under a line budget (default 200).                          |\n| **`validate-harness-doc`**                                                      | **`docs\u002FHARNESS.md`** exists with enough non-empty lines (min 12 by default).                  |\n| **`report-harness-score`**                                                      | Quantitative harness audit (tune dimensions in hard script).                                   |\n| **`repo-verify`**                                                               | List hard skills + run **`verify`** (prefers **`test:coverage`** over **`test`** in fallback). |\n| **`validate-indexes`**                                                          | INDEX.md vs filesystem.                                                                        |\n| **`validate-links`**                                                            | Broken markdown links.                                                                         |\n| **`validate-deps`**                                                             | Import layers.                                                                                 |\n| **`validate-logging`**, **`validate-shell-exec`**, **`validate-commit-msg`**, … | Stack-specific; pick what matches `HARNESS.md`.                                                |\n| **`hard-skills`**                                                               | How to author new **hard\u002F** checks.                                                            |\n\nWire **`npm run check:all`** to your runner so one command equals **full harness verification** for hard skills. The **aggregate gate** (`verify` in **`package.json`**) should also run **unit tests with coverage** (e.g. **`npm run test:coverage`** with Vitest) so executable checks stay exercised in CI—not only **`check:all`**.\n\n---\n\n## 8. Verification checklist\n\nBefore calling the harness “done” for v1:\n\n- [ ] `AGENTS.md` is short and points to `docs\u002FHARNESS.md` + architecture.\n- [ ] `docs\u002FHARNESS.md` lists enforceable rules and how to run checks locally + CI.\n- [ ] At least one **mechanical** boundary check runs on CI with remediation text.\n- [ ] INDEX \u002F navigation spec exists and is validated if you use INDEX files.\n- [ ] **Unit tests with coverage** are part of **`verify`** \u002F CI (e.g. Vitest **`--coverage`** on hard-skill entrypoints), not only **`check:all`**.\n- [ ] **E2E or integration** path exists for critical flows, with **machine-readable** output where possible.\n- [ ] “When stuck” process = **change the repo** (doc, test, linter), not only the prompt.\n\n---\n\n## 9. Anti-patterns\n\n- **Monolithic `AGENTS.md`**—becomes stale and crowds out code context.\n- **Rules without CI**—agents pattern-match; enforcement must be mechanical.\n- **Vague errors**—always pair violations with **how to fix**.\n- **Skipping progressive disclosure**—agents load 5k lines of docs once and ignore them.\n- **No garbage collection**—duplication and drift explode at agent throughput.\n\n---\n\n## 10. Summary\n\n**Implement the harness by:**\n\n1. Writing a **small map** (`AGENTS.md`) and a **deep contract** (`docs\u002FHARNESS.md`).\n2. Enforcing **architecture and style** with **scripts + CI**, not prose alone.\n3. Adding **tests and structured E2E** so agents close the loop.\n4. **Iterating** when agents fail: encode the missing capability, then rerun.\n\nThat is how you get an **extremely effective** AI harness: durable, legible, and compounding—aligned with production-grade reference implementations and with the **`skill-issue`** hard-skill ecosystem.\n",{"name":5,"description":7},"main","52fb76f2f2a48e8f95c02b4e0ae1e134b167b84b",".agents\u002Fskills\u002Fimplement-ai-harness","https:\u002F\u002Fgithub.com\u002Fmidyan\u002Fskissue","https:\u002F\u002Fgithub.com\u002Fmidyan","https:\u002F\u002Fyannunes.com.br","👨‍💻🚀","2026-05-18 22:37:05",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add midyan\u002Fskissue --skill implement-ai-harness",{"tool":53,"command":54},"bunx","bunx skills add midyan\u002Fskissue --skill implement-ai-harness",{"tool":56,"command":57},"pnpm","pnpm dlx skills add midyan\u002Fskissue --skill implement-ai-harness","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmidyan\u002Fskissue\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fimplement-ai-harness\u002FSKILL.md",true,[],[62,79,94,106,122,135],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":34},"01M6HR5R1RJAWKHHGEDWJRX763","validate-shell-exec","Restrict child_process.spawn\u002Fexec to approved modules (e.g. shell\u002Ftmux helpers) so subprocess usage stays centralized.","https:\u002F\u002Fgithub.com\u002Fmidyan\u002Fskissue\u002Fblob\u002Fmain\u002Fharness\u002Fvalidate-shell-exec\u002FSKILL.md",[],[69,70,71,72,73,74,75,76,77,78],"validate","shell","exec","validate shell exec","tmux","spawn","process","modules","usage","subprocess",{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":34},"01M6HR5KZ9HVXZ305J8WCKRYQS","validate-registry-hard","Validates registry.json shape and that each skill path contains SKILL.md at the skill root.","https:\u002F\u002Fgithub.com\u002Fmidyan\u002Fskissue\u002Fblob\u002Fmain\u002Fharness\u002Fvalidate-registry\u002Fhard\u002FSKILL.md",[],[69,86,87,88,89,90,91,92,93],"registry","validate registry","validate registry hard","json","shape","root","at","path",{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":34},"01M6HR5GF9YJD8Z6J0Q460BCMB","validate-registry","Keep root registry.json consistent with on-disk skill folders so installs and docs do not drift.","https:\u002F\u002Fgithub.com\u002Fmidyan\u002Fskissue\u002Fblob\u002Fmain\u002Fharness\u002Fvalidate-registry\u002FSKILL.md",[],[87,69,86,101,102,103,104,91,89,24,105],"do","keep","drift","with","disk",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":34},"01M6HR5DMXBXXJ8TXDMNB9ECKJ","validate-naming","Enforce kebab-case filenames and PascalCase type names under src\u002F; reports naming drift for consistency.","https:\u002F\u002Fgithub.com\u002Fmidyan\u002Fskissue\u002Fblob\u002Fmain\u002Fharness\u002Fvalidate-naming\u002FSKILL.md",[],[69,113,114,115,116,117,103,118,119,120,121],"naming","validate naming","for","src","reports","enforce","type","case","consistency",{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":34},"01M6HR5BB44E1J7V342BNR89RW","validate-logging","Prefer structured logging over raw console.* outside approved CLI entrypoints; keeps observability consistent.","https:\u002F\u002Fgithub.com\u002Fmidyan\u002Fskissue\u002Fblob\u002Fmain\u002Fharness\u002Fvalidate-logging\u002FSKILL.md",[],[129,130,69,131,132,25,133,134],"validate logging","logging","console","cli","structured","structured logging",{"skillNo":136,"name":137,"nameZh":6,"description":138,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":34},"01M6HR59251M2QP9BTCG1831B7","validate-links","Scan markdown for broken relative links across the repo. Run via npm run check:links or the harness hard skill.","https:\u002F\u002Fgithub.com\u002Fmidyan\u002Fskissue\u002Fblob\u002Fmain\u002Fharness\u002Fvalidate-links\u002FSKILL.md",[],[142,143,69,144,20,145,146,147,148,149,150,151,152,115],"validate links","links","run","npm","markdown","repo","check","broken","scan","across","via"]