adr
Write an Architecture Decision Record (ADR) for a feature — Context / Decision / Status / Consequences / Alternatives, filed as…
Project health audit with deterministic scoring. Use when: evaluating project quality, onboarding to new codebase, periodic health checks. Not for: runtime performance analysis, security-specific audits (use /codex-security). Output: 5-dimension score + actionable findings.
Claude Code
$ npx -y skills add sd0xdev/sd0x-harness --skill project-audit --agent claude-code
Codex
$ npx skills add sd0xdev/sd0x-harness --skill project-audit -a codex -y
Cursor
$ npx skills add sd0xdev/sd0x-harness --skill project-audit -a cursor -y
Gemini CLI
$ npx skills add sd0xdev/sd0x-harness --skill project-audit -a gemini-cli -y
GitHub Copilot
$ npx skills add sd0xdev/sd0x-harness --skill project-audit -a github-copilot -y
OpenCode
$ npx skills add sd0xdev/sd0x-harness --skill project-audit -a opencode -y
Windsurf
$ npx skills add sd0xdev/sd0x-harness --skill project-audit -a windsurf -y
name: project-audit description: "Project health audit with deterministic scoring. Use when: evaluating project quality, onboarding to new codebase, periodic health checks. Not for: runtime performance analysis, security-specific audits (use /codex-security). Output: 5-dimension score + actionable findings."
1. Run `bash scripts/run-skill.sh project-audit audit.js --json` to collect deterministic scores 2. Parse the JSON output — overall_score, status, dimensions, checks, findings, next_actions 3. **If status = Blocked** (P0 findings) — highlight critical gaps, suggest immediate fixes 4. **If status = Needs Work** (P1 findings) — format improvement roadmap by dimension 5. **If status = Healthy** — summarize strengths, note any P2 improvements 6. Add qualitative interpretation beyond the scores (e.g., "test ratio is good but concentrated in unit tests")
The audit script runs 12 deterministic checks across 5 dimensions:
| Dimension | Checks | What It Measures | |-----------|--------|-----------------| | oss | 2 | LICENSE, README quality | | robustness | 3 | CI config, lint/typecheck, test ratio | | scope | 2 | Declared features vs implementation, AC completion | | runnability | 3 | Package manifest, scripts, env/Docker setup | | stability | 2 | Lock file + audit, type configuration |
| Status | Condition | Exit Code | |--------|-----------|-----------| | Blocked | Any P0 finding | 2 | | Needs Work | No P0, has P1 | 1 | | Healthy | No P0/P1 | 0 |
If the script fails, report the error and suggest running manually:
bash scripts/run-skill.sh project-audit audit.js --json
## Project Audit Report | Field | Value | |-------|-------| | Repo | [name] | | Score | **[N]/100** | | Status | [icon] [status] | ### Dimensions [table of dimension scores] ### Checks [list of check results with suggestions] ### Next Actions [prioritized action items] ## Gate: ✅/⛔
Language: English | 繁體中文 | 简体中文 | 日本語 | 한국어 | Español The harness layer for Claude Code. Let the model choose the path. Keep "done" verifiable. Claude has discretion inside a closed, test-pinned anchor set.
Write an Architecture Decision Record (ADR) for a feature — Context / Decision / Status / Consequences / Alternatives, filed as…
Install and set up the optional agentctl mod (task scope, refusal before execution, evidence that goes stale, model-free…
Architecture design and documentation. Produces 3-architecture.md with component diagrams, data flow, integration points, and…
Context-aware Q&A with auto context gathering. Use when: user has a quick question about codebase, git history, rules, docs, or…
Industry best practices conformance audit with mandatory adversarial debate. Produces audit artifact: verdict (OK/WARN/FAIL) +…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.