adr
Write an Architecture Decision Record (ADR) for a feature — Context / Decision / Status / Consequences / Alternatives, filed as…
Pure Claude code investigation. Use when: tracing execution paths, understanding architecture, diagnosing issues. Not for: dual-perspective review (use code-investigate), code review (use codex-code-review). Output: analysis report with findings.
$ npx -y skills add sd0xdev/sd0x-dev-flow --skill code-explore --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/code-exploreContext preview
The summary Claude sees to decide when to auto-load this skill.
Pure Claude code investigation. Use when: tracing execution paths, understanding architecture, diagnosing issues. Not for: dual-perspective review (use code-investigate), code review (use codex-code-review). Output: analysis report with findings.
name: code-explore description: "Pure Claude code investigation. Use when: tracing execution paths, understanding architecture, diagnosing issues. Not for: dual-perspective review (use code-investigate), code review (use codex-code-review). Output: analysis report with findings." allowed-tools: Read, Grep, Glob, Bash(ls:*), Bash(find:*) context: fork
| Scenario | Alternative | | ----------------------- | ------------------------------------- | | Need dual confirmation | `/code-investigate` (Claude + Codex) | | Git history tracking | `/git-investigate` | | System verification | `/feature-verify` | | Code review | `/codex-review-fast` |
┌──────────────────────────────────────────────────────────┐
│ Phase 1: Locate Entry Point │
├──────────────────────────────────────────────────────────┤
│ 1. Grep keywords -> find related files │
│ 2. Identify entry points (Controller / Service / Provider) │
│ 3. Build file list │
└──────────────────────────────────────────────────────────┘
↓
┌──────────────────────────────────────────────────────────┐
│ Phase 2: Trace Path │
├──────────────────────────────────────────────────────────┤
│ 1. Start from entry point, Read │
│ 2. Identify dependencies -> continue tracing │
│ 3. Map call chain (A -> B -> C) │
└──────────────────────────────────────────────────────────┘
↓
┌──────────────────────────────────────────────────────────┐
│ Phase 3: Understand Logic │
├──────────────────────────────────────────────────────────┤
│ 1. What is the core logic? │
│ 2. How does data flow? │
│ 3. Error handling mechanisms? │
│ 4. Key decision points? │
└──────────────────────────────────────────────────────────┘
↓
┌──────────────────────────────────────────────────────────┐
│ Phase 4: Output Report │
├──────────────────────────────────────────────────────────┤
│ 1. Architecture overview (diagram / table) │
│ 2. Key files list │
│ 3. Execution flow │
│ 4. Findings / notes │
└──────────────────────────────────────────────────────────┘| Target | Strategy | | --------------- | -------------------------------------------------------- | | Feature entry | `Grep "export class.*Controller"` / `Grep "@Get\|@Post"` | | Service layer | `Grep "export class.*Service"` | | Provider layer | `Glob "src/provider/**/*.ts"` | | Configuration | `Read {CONFIG_FILE}` | | Data models | `Glob "src/model/**/*.ts"` |
## Investigation Report: {Topic}
### Architecture Overview
{ASCII or Mermaid diagram}
### Key Files
| File | Responsibility |
| ----------------- | -------------- |
| `path/to/file.ts` | Description |
### Execution Flow
1. {Step 1}
2. {Step 2}
3. ...
### Data Flow
{Describe how data flows}
### Findings
- {Important finding 1}
- {Important finding 2}
### Notes
- {Potential issue / edge case}Input: Investigate how user data queries work Phase 1: Grep "balance" -> find UserService, UserController Phase 2: Controller -> Service -> Provider call chain Phase 3: Understand query + cache mechanism Phase 4: Output report + flow diagram
Input: Why does this API sometimes return empty? Phase 1: Grep "getData" + "cache" -> related files Phase 2: Trace data retrieval path Phase 3: Identify fallback logic + timeout handling Phase 4: List possible causes + recommendations
Input: What is the overall architecture of the user module? Phase 1: Glob "src/**/*user*" -> list all related files Phase 2: Identify layer relationships (Controller -> Service -> Provider) Phase 3: Understand each layer's responsibilities Phase 4: Output architecture diagram + module description
| Dimension | code-explore | code-investigate | | ------------ | ---------------------- | ---------------------- | | Speed | Fast (single view) | Slow (dual view) | | Confirmation | Single perspective | Cross-validation | | Tools | Pure Claude | Claude + Codex | | Use case | Quick investigation | Important decisions |
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…