/sd0x-dev-flow:project-setupfrom sd0x-dev-flow
Initializes project configuration by auto-detecting framework, replacing CLAUDE.md placeholders, and installing rules, hooks, and scripts. Use during first-time setup.
Ships in sd0x-dev-flow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
{...} remaining)--detect-only to see what can be auto-detected. Manual configuration may be needed for: {FRAMEWORK}, {CONFIG_FILE}, {BOOTSTRAP_FILE}. Script commands ({TEST_COMMAND}, etc.) can often be detected from manifest filesPhase 1: Detect project environment
│
├─ Read package.json (dependencies, devDependencies, scripts)
├─ Detect lockfile (pnpm-lock.yaml / yarn.lock / package-lock.json)
├─ Detect entrypoints (glob src/)
└─ Compile results
│
Phase 2: Confirm detection results
│
├─ Present detection results table
└─ Wait for user confirmation or corrections
│
Phase 3: Write to .claude/CLAUDE.md (unless --detect-only)
│
├─ Read CLAUDE.template.md, filter ecosystem blocks
└─ Replace placeholders, write to .claude/CLAUDE.md
│
Phase 4: Verify CLAUDE.md
│
├─ Read .claude/CLAUDE.md to confirm no remaining placeholders
└─ Output placeholder summary
│
Phase 5: Install Rules + Backfill CLAUDE.md (unless --no-rules or --lite)
│
├─ Locate plugin rules dir (3-level fallback)
├─ mkdir -p .claude/rules/ → copy 13 managed rules + 3 override templates
├─ Backfill: ensure .claude/CLAUDE.md has @rules/ references
└─ Output rules install report
│
Phase 6: Install Hooks (unless --no-hooks or --lite)
│
├─ Locate plugin hooks dir (3-level fallback)
├─ mkdir -p .claude/hooks/ → copy 7 hooks + chmod +x
├─ Merge hook definitions into .claude/settings.json
└─ Output hooks install report
│
Phase 6.5: Install Scripts (unless --lite or --detect-only)
│
├─ Locate plugin scripts dir (3-level fallback)
├─ mkdir -p .claude/scripts/lib → copy 6 scripts
├─ Update manifest .sd0x/install-state.json
└─ Output scripts install report
│
Phase 6.7: Configure Environment Variables (unless --detect-only or --lite)
│
├─ Detect model context size (1M → recommend auto-compact window)
├─ Build env var catalog (model-aware vars; flag retired STOP_GUARD_MODE for removal)
├─ Present recommendations, wait for user confirmation
├─ Merge into .claude/settings.json env object
└─ Output env config report
│
Phase 7: Final Verification Report
│
├─ Summarize all phases
├─ Closed-loop check (CLAUDE.md + rules + hooks + env)
└─ Output next steps
| Flag | Phase 1-2 | Phase 3-4 | Phase 5-6.5 | Phase 6.7 | Phase 7 |
|---|---|---|---|---|---|
| (none) | Execute | Execute | Execute | Execute | Full report |
--detect-only | Execute | Skip | Skip | Skip | Detection results only |
--lite | Execute | Execute | Skip | Skip | CLAUDE.md only |
--no-rules | Execute | Execute | Skip rules | Execute | Report |
--no-hooks | Execute | Execute | Skip hooks | Execute | Report |
--env-only | Skip | Skip | Skip | Execute | Env report only (skill-level directive) |
Execute the following detections in order; see references/detection-rules.md for detailed rules:
package.json, pyproject.toml, Cargo.toml, go.mod, build.gradle, pom.xml, Gemfile). Priority order in references/detection-rules.md.package.json; others: ecosystem manifest)pnpm-lock.yaml → pnpm, yarn.lock → yarn, else npm (priority order per references/detection-rules.md)references/detection-rules.md#frameworkreferences/detection-rules.md#databasereferences/detection-rules.md#entrypointsreferences/detection-rules.md#scripts. Missing scripts → # N/A (no script found)For non-Node.js ecosystems, skip Node-specific steps and use ecosystem-specific detection from references/detection-rules.md.
Present a table of all 9 auto-detected placeholders with | Placeholder | Detected Value | Source | columns. Additional manual placeholders ({TICKET_PATTERN}, {ISSUE_TRACKER_URL}, {TARGET_BRANCH}) may remain if not auto-detectable — these are acceptable and should be noted as "manual" in Phase 4 verification.
Wait for user confirmation before proceeding to Phase 3.
Based on detected manifest (from Phase 1.0):
| Manifest | Ecosystem tag |
|---|---|
package.json | node-ts |
pyproject.toml | python |
go.mod | go |
Cargo.toml | rust |
Gemfile | ruby |
pom.xml / build.gradle | java |
Prerequisite: User has confirmed, and not in --detect-only mode.
CLAUDE.template.md (if not found, fallback to CLAUDE.md)<!-- block:X -->...<!-- /block --> sections NOT matching detected ecosystem<!-- block:... -->, <!-- /block -->)Edit for each placeholder (using replace_all: true).claude/CLAUDE.md (create directory if needed)If .claude/CLAUDE.md does not exist, create it from the rendered template.
.claude/CLAUDE.mdGrep: \{[A-Z_]+\} — confirm no remaining auto-detected placeholders. Exclude ${...} shell variable matches (e.g., ${CLAUDE_PLUGIN_ROOT}) from the count — these are intentional env var references, not unfilled placeholders.If --detect-only or --lite, skip to Phase 7.
Skip if: --no-rules or --lite or --detect-only.
Find the plugin's rules/ directory using this priority (short-circuit on first match):
Glob search — search known Claude plugin locations:
Glob: ~/.claude/plugins/**/sd0x-dev-flow/rules/auto-loop.md
Glob: ${REPO_ROOT}/node_modules/sd0x-dev-flow/rules/auto-loop.md
Plugin-relative fallback — try reading @rules/auto-loop.md to confirm accessibility. If readable, derive the rules directory.
Not found → hard error for this phase (do not silently skip). Output explicit failure with remediation steps:
⛔ Rule source not found. Auto-loop rules cannot be installed.
Remediation (choose one):
1. Install the plugin — run these two slash commands one after the other (they are
Claude Code commands, not shell commands, so `&&` chaining does not apply):
/plugin marketplace add sd0xdev/sd0x-harness
/plugin install sd0x-dev-flow@sd0xdev-marketplace
2. Copy rules manually from a machine that has the plugin installed
3. Re-run with --no-rules to skip (rules layer will be missing)
Then skip Phase 5 and continue to Phase 6. Phase 7 will report this as ⚠️ Partial.
mkdir -p ${REPO_ROOT}/.claude/rules/
Copy all 13 managed rules:
| Rule | Purpose |
|---|---|
auto-loop.md | Auto review loop (behaviour-layer contract; hooks remind, nothing blocks) |
codex-invocation.md | Codex independent research requirement |
discretion.md | Instruction tiers: Anchor / Default / Guidance |
scope-discipline.md | Scope axis orthogonal to severity; out-of-scope deferral |
testing.md | Test structure and requirements |
security.md | OWASP security checklist |
git-workflow.md | Git branch and commit conventions |
logging.md | Structured logging standards |
docs-writing.md | Documentation writing conventions |
docs-numbering.md | Document numbering scheme |
self-improvement.md | Self-improvement loop |
context-management.md | Data-driven context monitoring |
override-contract.md | Resolution order and heading tables for the user-owned override files (path-scoped to .claude/rules/*-project.md) |
Create override template (unmanaged, not manifest-tracked):
auto-loop-project.md · testing-project.md · git-workflow-project.md — user-owned override templates, copied when absent and stamped Based on: <base> @ <installed base hash> exactly as /install-rules Phase 4.5 does (never a byte copy of the shipped stamp)Conflict strategy:
| Scenario | Action |
|---|---|
| File does not exist | Install |
| File exists, content identical | Skip |
| File exists, content differs | Skip + warn as conflict |
After copying, collect hashes and write manifest:
git hash-object --no-filters for each managed rule (installed + already-identical skipped).sd0x/install-state.json (create {} if not exists)schema_version: 1, installed_at, plugin_version (source priority: .claude-plugin/plugin.json → package.json → "unknown"), rules key — hash for each file in managed state (both newly installed and already-identical). Structure: rules[filename] = { "hash": "<sha1>" }hook_scripts, scripts, sd0x_version, agents_md_hash, hooks_installed — do NOT drop unknown keys)Write toolNote:
/project-setupuses fresh-install semantics (install new / skip identical / warn on conflict; no smart merge). For smart merge (section merge, legacy migration,--legacy-strategy), run/install-rulesdirectly. After rule installation,/install-rulesautomatically creates each override template (auto-loop-project.md,testing-project.md,git-workflow-project.md— user-owned) if it doesn't exist. Seeskills/install-rules/SKILL.md.
Ensure .claude/CLAUDE.md contains @rules/ references so the auto-loop engine can activate:
.claude/CLAUDE.md for @rules/auto-loop.md@rules/auto-loop-project.md after auto-loop.md, @rules/git-workflow-project.md after git-workflow.md, and the plain `rules/testing-project.md` reference after `rules/testing.md` (path-scoped: a legacy @rules/testing.md or @rules/testing-project.md line counts as present but is rewritten to the template's plain reference, since an @ import loads it at launch):
CLAUDE.template.md ## Rules directly after its base line (e.g. - @rules/git-workflow-project.md -- Project-specific git overrides (user-owned)). A path-scoped template (testing-project.md) and its base are inserted as the template's plain rules/<file> references, never as @ imports — an import would load them at launchCLAUDE.template.md ## Rules — the base line, then the override line — at the end of the file's ## Rules list. An installed override whose base is unreferenced is not configured; never report it as present## Rules block at end of file (16 rule references — 11 @rules/ imports and 5 path-scoped plain references (13 managed + 3 override templates) from CLAUDE.template.md ## Rules section)CLAUDE.template.md: ## Required Checks through the ### Auto-Loop section (up to the next ## heading) + ## Rules section → create minimal .claude/CLAUDE.mdWhen extracting from template, remove ecosystem block markers and leave unresolved placeholders as {PLACEHOLDER}.
## Rules Install Report
**Source**: <plugin-rules-path>
**Target**: <repo-root>/.claude/rules/
| Rule | Status |
|------|--------|
| auto-loop.md | ✅ Installed |
| ... | ... |
**Installed**: N / **Skipped**: M / **Conflicts**: K
**Manifest**: .sd0x/install-state.json
**CLAUDE.md backfill**: ✅ @rules/ references present
Skip if: --no-hooks or --lite or --detect-only.
Same 3-level fallback as Phase 5.1, but search for hooks/pre-edit-guard.sh:
Glob: ~/.claude/plugins/**/sd0x-dev-flow/hooks/pre-edit-guard.sh
Glob: ${REPO_ROOT}/node_modules/sd0x-dev-flow/hooks/pre-edit-guard.sh
Plugin-relative fallback: @hooks/pre-edit-guard.sh
Not found → hard error for this phase (do not silently skip). Output explicit failure with remediation steps:
⛔ Hook source not found. The reminder-layer hooks cannot be installed.
Remediation (choose one):
1. Install the plugin — run these two slash commands one after the other (they are
Claude Code commands, not shell commands, so `&&` chaining does not apply):
/plugin marketplace add sd0xdev/sd0x-harness
/plugin install sd0x-dev-flow@sd0xdev-marketplace
2. Copy hooks manually from a machine that has the plugin installed
3. Re-run with --no-hooks to skip (reminder hooks will be missing)
Then skip Phase 6 and continue to Phase 7. Phase 7 will report this as ⚠️ Partial.
mkdir -p ${REPO_ROOT}/.claude/hooks/
Copy 7 hooks (exclude namespace-hint.sh — plugin-only):
| Hook | Event | Matcher | Purpose |
|---|---|---|---|
pre-edit-guard.sh | PreToolUse | Edit|Write|NotebookEdit | Block editing .env/.git |
pre-bash-codex-launch-guard.sh | PreToolUse | Bash | Block a Codex dispatch launched with its progress redirected away from the task panel |
post-edit-format.sh | PostToolUse | Edit|Write|NotebookEdit | Best-effort prettier --write on the edited file, when the project has prettier and the type is eligible |
post-skill-auto-loop.sh | PostToolUse | Skill | Post-review reminder (next gate) |
stop-guard.sh | Stop | — | Reminder: open gates at stop (markdown, exit 0) |
user-prompt-review-guard.sh | UserPromptSubmit | — | Per-prompt [AUTO_LOOP_STATE] fact line |
post-compact-auto-loop.sh | SessionStart | compact | Re-inject auto-loop reminders after compaction |
chmod +x each installed script.
Conflict strategy: same as Phase 5.2.
Target: ${REPO_ROOT}/.claude/settings.json
Hook definition mapping (uses $CLAUDE_PROJECT_DIR for portability):
{
"hooks": {
"PreToolUse": [
{"matcher": "Edit|Write|NotebookEdit", "hooks": [{"type": "command", "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/pre-edit-guard.sh"}]},
{"matcher": "Bash", "hooks": [{"type": "command", "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/pre-bash-codex-launch-guard.sh"}]}
],
"PostToolUse": [
{"matcher": "Edit|Write|NotebookEdit", "hooks": [{"type": "command", "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/post-edit-format.sh"}]},
{"matcher": "Skill", "hooks": [{"type": "command", "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/post-skill-auto-loop.sh"}]}
],
"Stop": [
{"matcher": "", "hooks": [{"type": "command", "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/stop-guard.sh"}]}
],
"UserPromptSubmit": [
{"matcher": "", "hooks": [{"type": "command", "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/user-prompt-review-guard.sh"}]}
],
"SessionStart": [
{"matcher": "compact", "hooks": [{"type": "command", "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/post-compact-auto-loop.sh"}]}
]
}
}
Note: Environment variables are configured in Phase 6.7 (independent of hook installation). Phase 6.3 only handles hook definition merging.
Merge strategy:
{} if not exists).claude/hooks/<name>.sh paths → upgrade to "$CLAUDE_PROJECT_DIR"/.claude/hooks/<name>.shhooks/hooks.json exists at repo root (= plugin source repo), warn that plugin hooks and installed hooks may both run: the runtime arbitration that defers the plugin copy to an installed one is deliberately off in the source repo, so nothing deduplicates them there. In any other project the arbitration applies## Hooks Install Report
**Source**: <plugin-hooks-path>
**Scripts**: <repo-root>/.claude/hooks/
**Settings**: <repo-root>/.claude/settings.json
| Hook | Script | Settings | Status |
|------|--------|----------|--------|
| pre-edit-guard.sh | ✅ Copied | ✅ Added | Installed |
| ... | ... | ... | ... |
**Installed**: N / **Skipped**: M / **Conflicts**: K
Skip if: --lite or --detect-only.
Same 3-level fallback as Phase 5.1, but search for scripts/precommit-runner.js:
Glob: ~/.claude/plugins/**/sd0x-dev-flow/scripts/precommit-runner.jsGlob: ${REPO_ROOT}/node_modules/sd0x-dev-flow/scripts/precommit-runner.js@scripts/precommit-runner.jsNot found → warn + skip Phase 6.5. Phase 7 will report ⚠️ Partial.
mkdir -p ${REPO_ROOT}/.claude/scripts/lib| Script | Purpose | Dependencies |
|---|---|---|
precommit-runner.js | Precommit runner for /precommit, /precommit-fast; notes its own pass/fail via review-state.js | lib/utils.js, review-state.js |
verify-runner.js | Verify runner for /verify | lib/utils.js |
review-state.js | Reminder-state checker/noter (single slot per plane under ~/.cache/sd0x-dev-flow/) read by the locally installed hooks and by /remind, /next-step, /pre-pr-audit | lib/tree-digest.js |
lib/utils.js | Shared utilities | None |
lib/tree-digest.js | Per-plane content digests (binds a noted verdict to the tree that earned it) | None |
protected-branches.sh | Protected-branch resolver (defaults ∪ git-workflow-project.md additions) read by /push-ci, /epic-merge, /gh-stack; without it an installed override makes every branch read as protected | None |
| Scenario | Action |
|---|---|
| File does not exist | Install |
| File exists, content identical | Skip |
| File exists, content differs | Skip + warn as conflict |
.sd0x/install-state.json (create {} if not exists).claude-plugin/plugin.json or package.jsonschema_version: 1, installed_at, plugin_version, scripts keygit hash-object --no-filters .claude/scripts/<name>rules, hook_scripts, and any unknown keys).sd0x/install-state.json## Scripts Install Report
**Source**: <plugin-scripts-path>
**Target**: <repo-root>/.claude/scripts/
| Script | Status |
|--------|--------|
| precommit-runner.js | Installed/Skipped/Conflict |
| verify-runner.js | Installed/Skipped/Conflict |
| review-state.js | Installed/Skipped/Conflict |
| lib/utils.js | Installed/Skipped/Conflict |
| lib/tree-digest.js | Installed/Skipped/Conflict |
| protected-branches.sh | Installed/Skipped/Conflict |
**Installed**: N / **Skipped**: M / **Conflicts**: K
Skip if: --detect-only or --lite.
Run exclusively with: --env-only (skip all other phases, jump directly to 6.7 → 7).
Purpose: Write recommended environment variables to .claude/settings.json env object, independent of hook installation. This phase runs even when --no-hooks is specified.
| Variable | Default | Condition | Description |
|---|---|---|---|
CLAUDE_CODE_AUTO_COMPACT_WINDOW | 320000 | 1M context model detected | Auto-compact window size (tokens) — delays compaction to preserve more context |
When an existing setting matches a previously recommended value (not the current one), flag it as Upgrade in the interactive table so the user can explicitly confirm the change. Never rewrite silently.
| Variable | Legacy value(s) | Current recommended | Retired on |
|---|---|---|---|
CLAUDE_CODE_AUTO_COMPACT_WINDOW | 456000 | 320000 | 2026-04-17 |
STOP_GUARD_MODE | strict, warn (any value) | Remove — the Stop hook is reminder-only since hook-lightweighting; the setting is dead config | 2026-08-13 |
Determine whether CLAUDE_CODE_AUTO_COMPACT_WINDOW should be recommended:
CLAUDE_CODE_AUTO_COMPACT_WINDOW: "320000" in recommendations with note: "1M context model detected"CLAUDE_CODE_AUTO_COMPACT_WINDOW from recommendationsRead existing env values from both .claude/settings.local.json and .claude/settings.json (create {} if not exists). Runtime precedence: settings.local.json > settings.json
Build recommendations table showing effective current value:
## Environment Variables
Only one row per variable appears at a time; the examples below are **alternatives** for the same variable, selected by its current state.
Example A — first-time install (variable not yet set):
| Variable | Current (effective) | Source | Recommended | Action |
|----------|---------------------|--------|-------------|--------|
| CLAUDE_CODE_AUTO_COMPACT_WINDOW | (not set) | — | 320000 | Add (1M model) |
Example B — upgrade path (variable already set to a legacy value):
| Variable | Current (effective) | Source | Recommended | Action |
|----------|---------------------|--------|-------------|--------|
| CLAUDE_CODE_AUTO_COMPACT_WINDOW | 456000 | settings.json | 320000 | **Upgrade** (legacy value, retired 2026-04-17) |
Present to user for confirmation — user may accept all, modify values, or skip specific vars. For rows marked Upgrade, display the retirement date and reason so the user can make an informed decision.
Apply confirmed changes to .claude/settings.json (default) or .claude/settings.local.json (with --local)
{} if not exists)env object:
env keys not in the catalog (do not drop unknown keys)env keys in settings (hooks, etc.)/install-hooks/project-setup) defers env writes to Phase 6.7--no-hooks skips Phase 6 but Phase 6.7 still runs → env vars are always configured## Environment Config Report
**Target**: <repo-root>/.claude/settings.json (or settings.local.json with --local)
| Variable | Value | Effective Source | Status |
|----------|-------|-----------------|--------|
| CLAUDE_CODE_AUTO_COMPACT_WINDOW | 320000 | settings.json | ✅ Added (1M model) — or ✅ Upgraded (456000 → 320000, legacy retired 2026-04-17) when upgrading |
**Model**: Opus 4.6 (1M context) → auto-compact window recommended
**Precedence note**: Runtime resolves env > settings.local.json > settings.json > default
Summarize all phases and perform closed-loop check:
| Condition | Check | Required |
|---|---|---|
| CLAUDE.md behavior text | Required Checks section exists | ✅ |
@rules/ references | @rules/auto-loop.md in .claude/CLAUDE.md | ✅ |
| Rule files | .claude/rules/auto-loop.md exists | ✅ |
| Hook reminders | stop-guard in .claude/settings.json | ✅ |
| Script runners | .claude/scripts/precommit-runner.js exists | ✅ (unless --lite or --detect-only) |
| Auto-compact window | env.CLAUDE_CODE_AUTO_COMPACT_WINDOW in target settings file | ✅ (1M model only) |
## Project Setup Complete
| Phase | Status |
|-------|--------|
| Detection | ✅ Framework: X, PM: Y, DB: Z |
| CLAUDE.md | ✅ Configured (0 remaining placeholders) |
| Rules | ✅ 13/13 managed rules + 3 override templates |
| Hooks | ✅ 7/7 installed + settings merged |
| Scripts | ✅ 6/6 scripts installed |
| Env Config | ✅ AUTO_COMPACT_WINDOW=320000 (1M) |
### Closed-Loop Status
✅ Auto-loop reminder loop fully configured
(or ⚠️ Partial — missing: hooks (reminder layer inactive))
(or ⚠️ Partial — missing: rules)
(or ⚠️ Partial — missing: scripts (runner not installed))
(or ℹ️ Auto-compact window not set — standard context model detected)
### Next Steps
- Run `/repo-intake` for a full project scan
- Use `HOOK_BYPASS=1` as emergency escape hatch
- Use `/install-rules --force` to upgrade rules later
{UPPER_CASE} placeholders in .claude/CLAUDE.md after setup (manual placeholders like {TICKET_PATTERN} are acceptable).claude/rules/ contains 16 .md files (13 managed + 3 override templates) (unless --no-rules or --lite).claude/hooks/ contains 7 .sh files with execute permission (unless --no-hooks or --lite).claude/settings.json contains hook definitions (unless --no-hooks or --lite).claude/scripts/ contains precommit-runner.js, verify-runner.js, review-state.js, lib/utils.js, lib/tree-digest.js, and protected-branches.sh (unless --lite or --detect-only).claude/CLAUDE.md contains @rules/auto-loop.md reference (unless --lite)env.CLAUDE_CODE_AUTO_COMPACT_WINDOW is set in target settings file when 1M model detected (unless --detect-only or --lite)See detection rules: detection-rules.md
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub sd0xdev/sd0x-harness --plugin sd0x-dev-flow102 skills in this plugin
/adrWrite an Architecture Decision Record (ADR) for a feature — Context / Decision / Status / Consequences / Alternatives, filed as docs/features/<feature>/adr-<NNN>-<title>.md with a 3-digit zero-padded number. Handles the Superseded case: bidirectional linking when a new ADR replaces an old one. Use when: recording why an architectural approach was chosen, documenting a decision so it doesn't get re-litigated, marking a prior decision as superseded. Not for: feature-level technical design (use /tech-spec), task progress tracking (use /create-request), bulk backfill of historical decisions (a separate request — this skill writes one ADR at a time)./agentctl-setupInstall and set up the optional agentctl mod (task scope, refusal before execution, evidence that goes stale, model-free hand-over) — checks the environment, installs after approval, builds the first task line, optional deny rules, uninstall/architectureArchitecture design and documentation. Produces 3-architecture.md with component diagrams, data flow, integration points, and architecture decisions. Reads existing tech-spec as input. Use when: designing system architecture, documenting component interactions, creating architecture docs, producing 3-architecture.md. Not for: tech spec writing (use tech-spec), code implementation (use feature-dev), architecture consulting only (use codex-architect)./askContext-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 for: code changes (use feature-dev), code review (use codex-review-fast), deep research (use deep-research), full code trace (use code-explore). Output: structured answer with source attribution./best-practicesIndustry best practices conformance audit with mandatory adversarial debate. Produces audit artifact: verdict (OK/WARN/FAIL) + gap roadmap + debate proof. Use when: auditing current implementation against industry standards, checking compliance with best practices, benchmarking implementation quality, verifying a codebase meets a standard. Not for: broad research/discovery without audit target (use /deep-research), code review (use /codex-review), architecture design (use /codex-architect)./bug-fixBug fix workflow. Use when: fixing bugs, resolving issues, regression fixes. Not for: new features (use feature-dev), understanding code (use code-explore). Output: fix + regression test + review gate.Other plugins' skills for the same job