adr
Write an Architecture Decision Record (ADR) for a feature — Context / Decision / Status / Consequences / Alternatives, filed as…
Create, update, or scan per-task request tickets for progress tracking. These are date-prefixed non-lifecycle docs under requests/, NOT feature-level requirements (use /req-analyze for those). Use when: tracking task progress, updating completion status, scanning incomplete
$ npx -y skills add sd0xdev/sd0x-dev-flow --skill create-request --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/create-requestContext preview
The summary Claude sees to decide when to auto-load this skill.
Create, update, or scan per-task request tickets for progress tracking. These are date-prefixed non-lifecycle docs under requests/, NOT feature-level requirements (use /req-analyze for those). Use when: tracking task progress, updating completion status, scanning incomplete
name: create-request description: "Create, update, or scan per-task request tickets for progress tracking. These are date-prefixed non-lifecycle docs under requests/, NOT feature-level requirements (use /req-analyze for those). Use when: tracking task progress, updating completion status, scanning incomplete requests, checking request status dashboard. Not for: feature-level problem-space analysis (use req-analyze for 1-requirements.md lifecycle doc), tech specs (use tech-spec), code implementation (use feature-dev). Output: request ticket with status tracking, referencing parent tech-spec." allowed-tools: Read, Grep, Glob, Write, Bash, AskUserQuestion, Agent
flowchart LR
A[/create-request] --> B{Mode?}
B -->|--status| C[Scan: Discover → Parse → Filter → Report]
B -->|--update-all| F[Batch Update: Scan → Git Verify → Batch Edit → Report]
B -->|--update| D[Update: Load → Analyze → Map → Update → Report]
B -->|default| E[Create: Gather → Explore → Generate → Confirm]| Mode | Trigger Condition | Action | | -------- | ----------------------------- | ------------------------------- | | `create` | No file specified / new request | Gather info -> Fill template -> Create file | | `update` | File specified / update request | Read current state -> Check implementation -> Update progress | | `update-all` | `--update-all` flag | Batch scan → git verify → update all stale docs → report | | `scan` | `--status` flag | Scan all requests -> Parse metadata -> Filter incomplete -> Report |
| Flag | Applies To | Description | |------|-----------|-------------| | `--verify-ac` | `--update` (single) | Dispatch Explore agent to verify AC completion with evidence (file:line). Supports auto-detected path via feature context 5-level cascade. Not available with `--update-all`. |
Request tickets are **work breakdown units** derived from `/tech-spec`, not requirements documents themselves. They live in a different document class per `@rules/docs-numbering.md`.
| Dimension | `/create-request` → `requests/YYYY-MM-DD-*.md` | `/req-analyze` → `1-requirements.md` | |-----------|------------------------------------------------|---------------------------------------| | Doc class | **Request ticket** (date-prefixed, non-lifecycle — per `@rules/docs-numbering.md`) | **Lifecycle** (Phase 1, numeric prefix) | | Count per feature | **Many** (one per task) | **One** (upsert) | | Position in workflow | **After** `/tech-spec` (execution phase) | **Before** `/tech-spec` (design phase) | | Content focus | Execution — Status, Progress, AC checklist, Related Files | Problem space — 5-Why, FR/NFR, MoSCoW, stakeholders | | Granularity | **Single task** (≤ 8 substantive ACs; gate receipts excluded from the budget, never from the lifecycle count) | **Feature-wide** | | Update pattern | Status tracking (`scan` / `update` / `update-all` / `--verify-ac`) | Document upsert | | Audience | Executors, progress trackers | Designers, decision-makers |
/req-analyze → /tech-spec → /create-request → /feature-dev (Phase 1) (Phase 2) (ticket per task) (implement)
A request ticket references its parent `/tech-spec` for technical detail and may optionally link to `1-requirements.md` for problem-space rationale (when `/req-analyze` was run).
A feature directory may also carry `intent-<key>.md` (ancillary — Design record, written by `/req-analyze` or `/tech-spec`): constraints only — North star, Non-goals, `INV-*` invariants, acceptance sketch — read by both the designer and the implementer. Tickets never restate it; the implementing skills load it themselves before writing code.
| Anti-pattern | Correct approach | |--------------|------------------| | Writing 5-Why / stakeholder analysis inside a request ticket | Put it in `1-requirements.md` via `/req-analyze`; ticket just references it | | Adding `## Progress` / `## Status` tables to `1-requirements.md` | Progress tracking belongs in request tickets, not the lifecycle requirements doc | | Creating one request ticket per whole feature (AC > 8) | Split by layer or functional area; see Granularity Guide in `references/template.md` | | Treating `1-requirements.md` as a prerequisite for creating requests | It is advisory-only; requests work standalone when only tech-spec exists |
---
Phase 1: Gather -> Collect feature, title, priority, requirements Phase 1.5a: Quick -> AC count + layer keyword scan (pre-Explore) Phase 2: Explore -> Search related code + tech specs Phase 1.5b: Refined -> Layer mixing (Related Files) + scope breadth + WBS (post-Explore) Phase 3: Generate -> Fill template + create file(s) Phase 4: Confirm -> Display result + suggest next steps
Assess whether the request should be split into multiple focused tickets. This runs in two passes to balance early detection with accurate analysis.
| Signal | Detection | Weight | |--------|-----------|--------| | **AC count > 8** | Count per § Pre-Render AC Count below — this whole phase runs in Create Mode, where no ticket is rendered yet — then exclude receipts per § Quality-Gate AC Classifier | Primary | | **Layer mixing** | **1.5a**: keyword scan for `rules
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…