[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DK27NR3DVJB1T5WRGTPF0P":3,"skill-same:01M7DK27NR3DVJB1T5WRGTPF0P":51},{"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":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":36,"install":37,"resources":50},"01M7DK27NR3DVJB1T5WRGTPF0P","dh-code-ruler",null,"Interview + code analysis to generate {project_root}\u002FCODE_RULES.md (style guide, design patterns, security\u002Fperformance constraints, stack best practices; websearch allowed). Executed by the selected architecture agent; dh-coding runs it when absent. Use to create or refresh code rules.","andrescevp\u002Fdevelopment-harness","andrescevp","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F10025841?v=4","01M7DK1Q07H5GT5R4JSGMWV1DE","Andres Cevallos","01M7DK1Q18W9DHVMV4HZ4BQAY3",8,"MIT","https:\u002F\u002Fgithub.com\u002Fandrescevp\u002Fdevelopment-harness\u002Fblob\u002Fmain\u002Fskills\u002Fdh-code-ruler\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: dh-code-ruler\ndescription: >\n  Interview + code analysis to generate {project_root}\u002FCODE_RULES.md (style\n  guide, design patterns, security\u002Fperformance constraints, stack best\n  practices; websearch allowed). Executed by the selected architecture agent;\n  dh-coding runs it when absent. Use to create or refresh code rules.\nlicense: MIT\ncompatibility: opencode\nallowed-tools: read, write, edit, bash, glob, websearch\nmetadata:\n  audience: developers\n  workflow: design\n---\n\n# Code Ruler\n\nProduce the project's strict rules contract at `{project_root}\u002FCODE_RULES.md`\nby grilling the user and analyzing the codebase. `dh-coding` enforces this\nfile; `dh-code-ruler` is executed by the selected architecture agent (or\ninvoked by `dh-coding` when the file is missing).\n\n## When to use\n\n- `{project_root}\u002FCODE_RULES.md` does not exist → create it (dh-coding step 2).\n- The rules have drifted from the code or the stack changed → refresh it.\n- The architect needs a precise rule contract before planning\u002Fimplementation.\n\n## Workflow\n\n1. **Locate** `{project_root}\u002FCODE_RULES.md`. If it exists and is fresh, offer\n   a refresh instead of a rewrite; if it is missing, create mode.\n2. **Grill (interview)** — ask ONLY what is missing, numbered and focused:\n   - Stack & tooling: languages, frameworks, package manager, build\u002Flint\u002Ftest\n     setup.\n   - Style: formatting preferences, naming conventions, file\u002Fmodule layout,\n     import rules, comments policy.\n   - Patterns: patterns to enforce, patterns to forbid (anti-patterns),\n     layering\u002Fbounded-context constraints.\n   - Security-sensitive areas: auth, user data, uploads, secrets, external\n     integrations, deployment\u002Fpipeline concerns.\n   - Performance-sensitive paths: hot endpoints, large data operations,\n     caching, concurrency, budgets.\n   - Enforcement: which checks\u002Flinters must back each rule, and hard numbers\n     (limits, thresholds).\n3. **Analyze the code** before writing: sample representative modules, tests,\n   configs, and docs. When the project graph is indexed, use the\n   `dh-code-query` skill (`stats`, `graph importers`\u002F`callers`, `duplicates`)\n   to inventory modules and spot repeated patterns before sampling files.\n   Extract de-facto conventions (naming, structure, import style, error\n   handling, test patterns) and existing constraints from linter\u002Fformatter\n   configs (biome\u002Feslint, ruff, phpcs\u002Fphpstan...), `tsconfig`\u002F\n   `pyproject.toml`\u002F`composer.json`, `AGENTS.md`, README, and `docs\u002F`. Mark\n   anything inferred as an assumption; never invent rules the codebase does\n   not support.\n4. **Research stack best practices** — websearch when needed and possible:\n   official\u002Fcommunity guides for the detected stack (e.g. JS\u002FTS: biome +\n   TypeScript conventions; Python: PEP 8\u002Fruff; PHP: PSR-12\u002Fphpstan; Go:\n   gofmt\u002Feffective go) and fold the relevant recommendations into the rules.\n5. **Generate** `{project_root}\u002FCODE_RULES.md` with the MANDATORY sections\n   below. Keep it concise and enforceable (aim ≤ 200 lines; rules are backed\n   by concrete checks or commands).\n6. **Verify**: the file parses, each rule maps to a check where possible, and\n   the configured QA gate (qa:check \u002F lint \u002F tests) still reflects the rules.\n\n## CODE_RULES.md structure (mandatory)\n\n```markdown\n# CODE_RULES.md — \u003Cproject>\n\n> Source of truth for this project's coding rules (dh-code-ruler).\n> `dh-coding` enforces this file; keep it updated via `dh-create-documentation`.\n\n## Code Style Guide\n- \u003Cnaming, formatting, file layout, imports, comments, line limits (\u003C300 code-only)>\n\n## Design Patterns\n- \u003Cpatterns to enforce; patterns to forbid; layering\u002Fbounded-context rules>\n\n## Security Constraints and Checks\n- \u003Cconstraints + the checks that enforce them (osv\u002Fsemgrep\u002Fbandit, validation, secrets)>\n\n## Performance Constraints and Checks\n- \u003Cconstraints + the checks\u002Fbudgets that enforce them (N+1, pagination, caching, memory)>\n\n## Best Practices for the Stack\n- \u003Cstack-specific recommended practices, with sources when researched>\n```\n\n## Rules\n\n- Never copy whole guideline documents: distill strict, project-specific\n  rules backed by the interview, the code analysis, or the researched guide.\n- Preserve user statements verbatim where they define constraints or scope.\n- Every rule should be actionable: either a check\u002Fcommand exists to enforce\n  it, or the rule names the review gate that validates it.\n- If the user has no preference, derive the rule from observed code convention\n  and mark it as inferred.\n\n## Verification Checklist\n\n- [ ] `{project_root}\u002FCODE_RULES.md` exists with all 5 mandatory sections\n- [ ] Rules traceable to interview answers, code analysis, or researched sources\n- [ ] Enforcement mapped (commands\u002Fgates) per rule where possible\n- [ ] No invented rules; assumptions marked\n- [ ] Mirrors the project's actual configs (linters, toolchain, docs)\n\n## Doc search\n\n**Documentation management:** delegate create \u002F update \u002F delete \u002F retrieve of generated documents (excluding docs\u002Fplans) to the best available documentation agent (bundled documentation capability as fallback) — the main and only documentation owner (see dh-create-documentation).\n\nSearch generated documentation quickly: `notesmd-cli search-content \"\u003Cterm>\" --vault \"\u003Cproject-name>\"` or `obsidian search query=\"\u003Cterm>\"` (fallback: `rg --glob '*.md' \"\u003Cterm>\" docs\u002F`).","# Code Ruler\n\nProduce the project's strict rules contract at `{project_root}\u002FCODE_RULES.md`\nby grilling the user and analyzing the codebase. `dh-coding` enforces this\nfile; `dh-code-ruler` is executed by the selected architecture agent (or\ninvoked by `dh-coding` when the file is missing).\n\n## When to use\n\n- `{project_root}\u002FCODE_RULES.md` does not exist → create it (dh-coding step 2).\n- The rules have drifted from the code or the stack changed → refresh it.\n- The architect needs a precise rule contract before planning\u002Fimplementation.\n\n## Workflow\n\n1. **Locate** `{project_root}\u002FCODE_RULES.md`. If it exists and is fresh, offer\n   a refresh instead of a rewrite; if it is missing, create mode.\n2. **Grill (interview)** — ask ONLY what is missing, numbered and focused:\n   - Stack & tooling: languages, frameworks, package manager, build\u002Flint\u002Ftest\n     setup.\n   - Style: formatting preferences, naming conventions, file\u002Fmodule layout,\n     import rules, comments policy.\n   - Patterns: patterns to enforce, patterns to forbid (anti-patterns),\n     layering\u002Fbounded-context constraints.\n   - Security-sensitive areas: auth, user data, uploads, secrets, external\n     integrations, deployment\u002Fpipeline concerns.\n   - Performance-sensitive paths: hot endpoints, large data operations,\n     caching, concurrency, budgets.\n   - Enforcement: which checks\u002Flinters must back each rule, and hard numbers\n     (limits, thresholds).\n3. **Analyze the code** before writing: sample representative modules, tests,\n   configs, and docs. When the project graph is indexed, use the\n   `dh-code-query` skill (`stats`, `graph importers`\u002F`callers`, `duplicates`)\n   to inventory modules and spot repeated patterns before sampling files.\n   Extract de-facto conventions (naming, structure, import style, error\n   handling, test patterns) and existing constraints from linter\u002Fformatter\n   configs (biome\u002Feslint, ruff, phpcs\u002Fphpstan...), `tsconfig`\u002F\n   `pyproject.toml`\u002F`composer.json`, `AGENTS.md`, README, and `docs\u002F`. Mark\n   anything inferred as an assumption; never invent rules the codebase does\n   not support.\n4. **Research stack best practices** — websearch when needed and possible:\n   official\u002Fcommunity guides for the detected stack (e.g. JS\u002FTS: biome +\n   TypeScript conventions; Python: PEP 8\u002Fruff; PHP: PSR-12\u002Fphpstan; Go:\n   gofmt\u002Feffective go) and fold the relevant recommendations into the rules.\n5. **Generate** `{project_root}\u002FCODE_RULES.md` with the MANDATORY sections\n   below. Keep it concise and enforceable (aim ≤ 200 lines; rules are backed\n   by concrete checks or commands).\n6. **Verify**: the file parses, each rule maps to a check where possible, and\n   the configured QA gate (qa:check \u002F lint \u002F tests) still reflects the rules.\n\n## CODE_RULES.md structure (mandatory)\n\n```markdown\n# CODE_RULES.md — \u003Cproject>\n\n> Source of truth for this project's coding rules (dh-code-ruler).\n> `dh-coding` enforces this file; keep it updated via `dh-create-documentation`.\n\n## Code Style Guide\n- \u003Cnaming, formatting, file layout, imports, comments, line limits (\u003C300 code-only)>\n\n## Design Patterns\n- \u003Cpatterns to enforce; patterns to forbid; layering\u002Fbounded-context rules>\n\n## Security Constraints and Checks\n- \u003Cconstraints + the checks that enforce them (osv\u002Fsemgrep\u002Fbandit, validation, secrets)>\n\n## Performance Constraints and Checks\n- \u003Cconstraints + the checks\u002Fbudgets that enforce them (N+1, pagination, caching, memory)>\n\n## Best Practices for the Stack\n- \u003Cstack-specific recommended practices, with sources when researched>\n```\n\n## Rules\n\n- Never copy whole guideline documents: distill strict, project-specific\n  rules backed by the interview, the code analysis, or the researched guide.\n- Preserve user statements verbatim where they define constraints or scope.\n- Every rule should be actionable: either a check\u002Fcommand exists to enforce\n  it, or the rule names the review gate that validates it.\n- If the user has no preference, derive the rule from observed code convention\n  and mark it as inferred.\n\n## Verification Checklist\n\n- [ ] `{project_root}\u002FCODE_RULES.md` exists with all 5 mandatory sections\n- [ ] Rules traceable to interview answers, code analysis, or researched sources\n- [ ] Enforcement mapped (commands\u002Fgates) per rule where possible\n- [ ] No invented rules; assumptions marked\n- [ ] Mirrors the project's actual configs (linters, toolchain, docs)\n\n## Doc search\n\n**Documentation management:** delegate create \u002F update \u002F delete \u002F retrieve of generated documents (excluding docs\u002Fplans) to the best available documentation agent (bundled documentation capability as fallback) — the main and only documentation owner (see dh-create-documentation).\n\nSearch generated documentation quickly: `notesmd-cli search-content \"\u003Cterm>\" --vault \"\u003Cproject-name>\"` or `obsidian search query=\"\u003Cterm>\"` (fallback: `rg --glob '*.md' \"\u003Cterm>\" docs\u002F`).",{"name":5,"license":15,"metadata":24,"description":27,"allowed-tools":28,"compatibility":29},{"audience":25,"workflow":26},"developers","design","Interview + code analysis to generate {project_root}\u002FCODE_RULES.md (style guide, design patterns, security\u002Fperformance constraints, stack best practices; websearch allowed). Executed by the selected architecture agent; dh-coding runs it when absent. Use to create or refresh code rules.\n","read, write, edit, bash, glob, websearch","opencode","main","f7ddc0c3b3190e379bda1059d53f861bd4e1f30d","skills\u002Fdh-code-ruler",1,"https:\u002F\u002Fgithub.com\u002Fandrescevp\u002Fdevelopment-harness","https:\u002F\u002Fgithub.com\u002Fandrescevp","2026-11-10 07:43:44",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add andrescevp\u002Fdevelopment-harness --skill dh-code-ruler",{"tool":43,"command":44},"bunx","bunx skills add andrescevp\u002Fdevelopment-harness --skill dh-code-ruler",{"tool":46,"command":47},"pnpm","pnpm dlx skills add andrescevp\u002Fdevelopment-harness --skill dh-code-ruler","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fandrescevp\u002Fdevelopment-harness\u002Fblob\u002Fmain\u002Fskills\u002Fdh-code-ruler\u002FSKILL.md",true,[],[52,59,66,73,80,87],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7DK6HMNFES75RNB4G6TE55T","dh-simplify","Review changed code for reuse, quality, and efficiency (three parallel reviews), then fix findings directly. Use after making changes or when asked to clean up, refactor, simplify, or improve this code.","https:\u002F\u002Fgithub.com\u002Fandrescevp\u002Fdevelopment-harness\u002Fblob\u002Fmain\u002Fskills\u002Fdh-simplify\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7DK6BFEQ9PVZTHKV0DR66BR","dh-setup","Audit system software, configure user MCPs\u002Fplugins, scaffold project QA (hooks + per-stack tools), bootstrap docs\u002Farchitecture with the selected architecture agent, and write harness directives into AGENTS.md. Use to check requirements or setup the environment.","https:\u002F\u002Fgithub.com\u002Fandrescevp\u002Fdevelopment-harness\u002Fblob\u002Fmain\u002Fskills\u002Fdh-setup\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7DK62N6CDZ2TH890AX2Z7P9","dh-semver","Apply strict Semantic Versioning — analyze commits since the last tag to determine the bump type (major\u002Fminor\u002Fpatch from conventional commit prefixes), generate an automated changelog grouped by breaking changes, features, fixes, and chores, and create a git tag locally without pushing until confirmed, handling both conventional commits and manual version decisions. Use when preparing a release, invoked by dh-execute-plan after plan completion and dh-final-review for release readiness, or when the user asks \"what version is next?\", \"bump version\", \"generate changelog\", \"tag release\", or \"what changed since last release?\".","https:\u002F\u002Fgithub.com\u002Fandrescevp\u002Fdevelopment-harness\u002Fblob\u002Fmain\u002Fskills\u002Fdh-semver\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7DK5SM44RAH10HM59JC6ZPZ","dh-review","Verify a plan sub-task against acceptance criteria, scope, done-when; review diff, validation, regression risk; structured verdict to tasks\u002Freview.md. Plan Alignment Mode (fast execution) is a separate mode: no sub-task selection, no diff review, no code review — it compares plan.md with plan_fast.md and writes tasks\u002Freview-fast.md (pre-execution) or tasks\u002Freview-fast-final.md (plan-end). Use after implementation, to review\u002Fverify the sub-task, or to check fast-plan alignment.","https:\u002F\u002Fgithub.com\u002Fandrescevp\u002Fdevelopment-harness\u002Fblob\u002Fmain\u002Fskills\u002Fdh-review\u002FSKILL.md",[],[],{"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":86,"publishedAt":19},"01M7DK5KKZ05K0FR0ARFHA58KG","dh-resume-plan","Resume a paused phased plan from docs\u002Fplans\u002F\u003Cslug>\u002Fhandoff.md: validate the contract, detect drift, rehydrate context, mark the handoff resumed, and continue via dh-execute-plan resume mode. Use when the user says \"resume the plan\", \"continue where we stopped\", \"pick up the plan\", or \"resume after a pause\".","https:\u002F\u002Fgithub.com\u002Fandrescevp\u002Fdevelopment-harness\u002Fblob\u002Fmain\u002Fskills\u002Fdh-resume-plan\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7DK5E10T47JWQAJSAXJHHGD","dh-preflight","Run tests, linters, static analysis as a release gate: auto-detect tooling, check dirty state, pass\u002Ffail verdict with actionable failures (no auto-fixes). Use to run preflight, pre-release check, or validate before release.","https:\u002F\u002Fgithub.com\u002Fandrescevp\u002Fdevelopment-harness\u002Fblob\u002Fmain\u002Fskills\u002Fdh-preflight\u002FSKILL.md",[],[]]