/daw:daw-validate-archfrom DAW — Dilux Agentic Workflow
Validates code against project architecture decisions and conventions during DAW's CODE phase. Reports findings as advisory checks with disambiguation questions when user context is needed.
Ships in DAW — Dilux Agentic Workflow. 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.
None: SKILL.md is the whole skill.
Validates that the code follows the project's architecture decisions and conventions. It is an
advisory check, not a gate: transition-graph.json carries no arch condition on any edge, so
nothing here refuses a transition — it reports, and the orchestrator decides what to do. Naming it
a gate would be the exact failure this pipeline exists to avoid: calling something a lock when it
is a sign. Produces disambiguation questions when a finding needs the user's context.
AGENTS.md)This skill has no rules of its own. Its criteria come from the "Architecture conventions" section of the target project's
AGENTS.md. If that section is empty, say so and report PASSED with a warning: there is nothing to validate against, and inventing conventions the project never declared is worse than validating nothing. The patterns below are a starting checklist to adapt, not a fixed catalog. (This is whyvalidate-archhas no F-/W- IDs in.daw/rules/validation-rules.instructions.md— it is an operational gate, not an artifact validator.)
| Category | Look for | Level |
|---|---|---|
| Circular dependencies | Mutual imports between modules | FAIL |
| Logic in transport | Queries or transformations in routes/controllers | FAIL |
| Hardcoded secrets | Strings that look like API keys, passwords, tokens | FAIL |
| In-memory filtering | Full lists filtered client-side with no pagination | FAIL |
| SQL injection | Queries built by string concatenation, unparameterized | FAIL |
| Weak typing | any, Object, dynamic with no justification | WARN |
| Debug logging in production | console.log, print() outside tests | WARN |
| Unjustified raw SQL | Queries outside the ORM with no comment | WARN |
| Unused import | Imports declared but never referenced | WARN |
┌─────────────────────────────────────────────────────────────┐
│ /daw-validate-arch [scope] — [PASSED | BLOCKED (N quest.)] │
├─────────────────────────────────────────────────────────────┤
│ │
│ [Category]: │
│ ✅/❌/⚠️ file:line — [description] │
│ │
│ Disambiguation questions: (only if there are FAILs) │
│ │
│ Q1: file:line — [concrete question] │
│ Options: a) ... b) ... c) ... │
│ │
│ ────────────────────────────────────────────────────────────│
│ Total: X passed, Y failed, Z warnings │
│ Next: [recommended action] (attempt N/3) │
└─────────────────────────────────────────────────────────────┘
A check is ❌ FAIL when it is a safe architecture or security violation:
A check is ⚠️ WARN when it needs context and may be valid:
any, Object, dynamic) — may be intentional in a catch or in genericsProduce a question when:
any in service.ts:30 intentional?"Write the report in the language the user is working in.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
daw@diluxone-plugins-ai is listed by diluxone/diluxone-plugins-ai — review the source before installing
npx claudepluginhub diluxone/diluxone-plugins-ai --plugin daw21 skills in this plugin
/daw-commitCreates a commit following Gitmoji + Conventional Commits, with mandatory AI attribution. Trigger: /daw-commit, when a DAW phase closes and has artifacts to commit (DEFINE, PLAN, CODE, DISCOVERY, CLOSEOUT).
/daw-context-checkCompares what the repository already declares about how it is built — linters, type checkers, CI, pre-commit, runtime versions — against what the tool's context file tells DAW. Reports the commands DAW would otherwise run wrong. Never blocks. Trigger: /daw-context-check, and once per ticket in CLASSIFY.
/daw-create-adrRecords an architecture or design decision as an ADR (Architecture Decision Record). Captures the context, the options considered, the decision taken and its consequences. Trigger: /daw-create-adr, during DAW's PLAN or CODE phase.
/daw-create-prOpens a Pull Request with a standard format and AI attribution labels, or records why one is not possible in this repo. Trigger: /daw-create-pr, during DAW's CLOSEOUT phase.
/daw-create-prdCreates a new PRD (Product Requirements Document) or updates an existing one. The PRD defines WHAT will be built: functional and non-functional requirements, acceptance criteria, scope and risks. Trigger: /daw-create-prd, during DAW's DEFINE phase.
/daw-create-specCreates a new spec or fix-plan from an approved PRD or a fix diagnosis. Trigger: /daw-create-spec, during DAW's PLAN phase.
Other plugins' skills for the same job