adr
Write an Architecture Decision Record (ADR) for a feature — Context / Decision / Status / Consequences / Alternatives, filed as…
Git history investigation. Use when: tracking code changes, finding where bugs were introduced, root cause analysis. Not for: code exploration (use code-explore), issue analysis (use issue-analyze). Output: history trace + root cause report.
$ npx -y skills add sd0xdev/sd0x-dev-flow --skill git-investigate --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/git-investigateContext preview
The summary Claude sees to decide when to auto-load this skill.
Git history investigation. Use when: tracking code changes, finding where bugs were introduced, root cause analysis. Not for: code exploration (use code-explore), issue analysis (use issue-analyze). Output: history trace + root cause report.
name: git-investigate description: "Git history investigation. Use when: tracking code changes, finding where bugs were introduced, root cause analysis. Not for: code exploration (use code-explore), issue analysis (use issue-analyze). Output: history trace + root cause report." allowed-tools: Bash(git:*), Read, Grep, Glob, Agent
/git-investigate src/service/xxx.ts:123 # Specific line /git-investigate processToken # Function name /git-investigate "error message" # Keyword
Locate code -> git blame -> find commit -> trace history -> analyze changes -> report
| Question | Method | | ------------------ | ----------------------------- | | Who wrote it? | `git blame` | | When was it changed?| `git log --follow` | | Why was it changed?| commit message + PR | | What was missed? | `git diff` compare original vs problematic version |
| Pattern | Symptom | Root Cause | | ------------------ | -------------------- | ----------------------------- | | Type removed | Enum value deleted | Assumed no longer needed | | Condition simplified| If conditions reduced| Missed during refactoring | | Rename | Partially unchanged | Incomplete search-and-replace | | Boundary ignored | Only handles main flow| Edge cases not considered |
## Git Investigation Report - **Target**: <file/feature> - **Timeline**: <commit range> - **Root cause**: <analysis> - **Introduced by**: <commit hash + author>
Input: Who changed this line of code? Action: git blame -> find commit -> trace PR -> output report
Input: When was this bug introduced? Action: git log -p -S -> locate introduction point -> analyze cause -> output report
Language: English | 繁體中文 | 简体中文 | 日本語 | 한국어 | Español The harness layer for Claude Code. Let the model choose the path. Keep "done" verifiable. Full control plane on Claude Code. Skills-only distribution for Codex CLI and other compatible agents.
Repo: sd0xdev/sd0x-dev-flow
Write an Architecture Decision Record (ADR) for a feature — Context / Decision / Status / Consequences / Alternatives, filed as…
Architecture design and documentation. Produces 3-architecture.md with component diagrams, data flow, integration points, and architecture decisions. Reads…
Context-aware Q&A with auto context gathering. Use when: user has a quick question about codebase, git history, rules, docs, or skills during development. Not…
Industry best practices conformance audit with mandatory adversarial debate. Produces audit artifact: verdict (OK/WARN/FAIL) + gap roadmap + debate proof. Use…
Bug fix workflow. Use when: fixing bugs, resolving issues, regression fixes. Not for: new features (use feature-dev), understanding code (use code-explore).…
Bump package and plugin version in sync. Updates package.json, .claude-plugin/plugin.json, and install-state manifest to the same version. Use when: user says…