← ClaudeAtlas

ddw-self-checklisted

Full coherence validation of the internal state. Checks that the DDW installation in the repo is sound and that the pipeline state is consistent with the artifacts on disk. Read-only. Trigger: /ddw-self-check, available in any DDW phase.
soydiloreto/dilux-development-workflow · ★ 14 · AI & Automation · score 75
Install: claude install-skill soydiloreto/dilux-development-workflow
# Skill: /ddw-self-check ## Description Full coherence validation of the internal state. Checks that DDW's installation in the repo is sound, and that the pipeline state matches the artifacts on disk. It is read-only — it modifies no file. ## Inputs - `.ddw/orchestrator.md` (the method installed into the repo) - The context file for the tool in use (`CLAUDE.md`, `AGENTS.md` or `GEMINI.md`), carrying the `BEGIN DDW` block - That tool's hook wiring (`.claude/settings.json`, `.codex/hooks.json`, `.cursor/hooks.json`, `.gemini/settings.json`, `.github/hooks/`, `.opencode/plugins/`) - `.ddw-state.json` (the pipeline state, at the repo root) - The artifacts derived from the ticket (PRD, spec, branch) ## Execution Protocol ### 0. Validate DDW's installation in the repo ```bash ROOT="${CLAUDE_PROJECT_DIR:-$(git rev-parse --show-toplevel 2>/dev/null || pwd)}" # The method must be present. [ -f "$ROOT/.ddw/orchestrator.md" ] || \ echo "INCONSISTENCY: .ddw/orchestrator.md is missing. Reinstall with install.sh." # Some context file must carry the activation block. Which one depends on the # tool, and a repo may legitimately have several — so each is asked separately. # Handing grep three filenames when only one exists exits 2 for the missing # operand EVEN AFTER a match, so this reported a healthy install as broken on # every one of the six tools. found=0 for f in CLAUDE.md AGENTS.md GEMINI.md; do [ -f "$ROOT/$f" ] && grep -qF "BEGIN DDW" "$ROOT/$f" && found=1 done [ "$f