adr
Write an Architecture Decision Record (ADR) for a feature — Context / Decision / Status / Consequences / Alternatives, filed as…
Wrap-up refactoring — simplify code, eliminate duplication, preserve behavior
Claude Code
$ npx -y skills add sd0xdev/sd0x-harness --skill simplify --agent claude-code
Codex
$ npx skills add sd0xdev/sd0x-harness --skill simplify -a codex -y
Cursor
$ npx skills add sd0xdev/sd0x-harness --skill simplify -a cursor -y
Gemini CLI
$ npx skills add sd0xdev/sd0x-harness --skill simplify -a gemini-cli -y
GitHub Copilot
$ npx skills add sd0xdev/sd0x-harness --skill simplify -a github-copilot -y
OpenCode
$ npx skills add sd0xdev/sd0x-harness --skill simplify -a opencode -y
Windsurf
$ npx skills add sd0xdev/sd0x-harness --skill simplify -a windsurf -y
name: simplify description: "Wrap-up refactoring — simplify code, eliminate duplication, preserve behavior" allowed-tools: Read, Grep, Glob, Edit, Bash(TEST_ENV=unit npx jest:*), Agent
Agent({
description: "Simplify code, eliminate duplication, preserve behavior",
subagent_type: "code-simplifier",
prompt: `Simplify the code at: $ARGUMENTS
Follow the task steps and constraints defined in this skill.`
})After simplification, dispatch risk assessment:
Agent({
description: "Review refactoring risk and verify behavior preservation",
subagent_type: "refactor-reviewer",
prompt: `Review the refactoring changes just applied.
Check behavior preservation, dependency impact, test coverage, and rollback risk.`
})For `$ARGUMENTS`:
1. **Run tests first** (establish baseline) 2. **Refactor**
3. **Run tests again** (confirm nothing broken)
## Refactoring Summary - [file:line] <change> ## Test Results ✅/❌ ## Next Steps - <suggestions>
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.