/daw:daw-context-checkfrom DAW — Dilux Agentic Workflow
Compares repository configuration (linters, CI, pre-commit, runtime versions) against the context file DAW uses, reporting mismatches that would cause failed commands.
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.
DAW runs commands: the test suite, the linter, the type checker. It learns them from the context
file (AGENTS.md, CLAUDE.md, GEMINI.md) — and when that file does not mention one, DAW does not
run it. The result is code that passes every gate and then fails your CI, or commits that your
pre-commit hook rejects for reasons the agent has no way to explain.
This skill compares the two: what the repo already says about how it is built, against what the context file told DAW. It reports the difference and proposes a one-line fix for each.
It is read-only until you say otherwise, it never blocks, and it writes to exactly one file — the context file — and only with your approval.
This restriction is the skill, not a caveat on it.
It reports only knowledge the agent cannot discover on its own — the commands DAW is about to run. It never proposes prose, conventions, architecture, style guidance, or anything the agent can find by reading a file at the moment it needs it.
The reason is evidence, not taste. A study across 138 real repositories found that repository context files produced no improvement in agent task success rate while adding over 20% to inference cost, with LLM-generated ones actively hurting; the authors' conclusion was that these files should be minimal rather than comprehensive. A skill that grows the context file is therefore not a neutral act — without this restriction, this one becomes the problem that study describes.
Recorded, with its sources, as decision 8 in
docs/RATIONALE.md.
AGENTS.md, CLAUDE.md or GEMINI.md) — its "Stack" and commands.daw:declined marker.| Evidence in the repo | Gap, if the context file does not declare it | Why it costs something |
|---|---|---|
.pre-commit-config.yaml | no pre-commit step | Your hook rejects the agent's commits and it cannot say why |
A CI workflow (.github/workflows/*.yml, .gitlab-ci.yml, …) | a command CI runs that DAW does not | CI is the repo's real contract. Anything it runs that DAW does not, the PR discovers |
Linter config ([tool.ruff], .eslintrc*, .golangci.yml, …) | no lint command | Code that passes the gates and fails style |
Type checker ([tool.mypy], tsconfig.json with strict, …) | no typecheck command | Type errors no test catches |
Test runner config / a tests/ directory | no test command, or a different one | daw-test runs the wrong thing, or nothing |
| A coverage threshold configured in the repo | it differs from the 80% in .daw/rules/testing.instructions.md | Two thresholds, and the stricter one is a surprise |
.nvmrc, .python-version, .tool-versions | no runtime version | Runs against the wrong version |
A lockfile (package-lock.json, poetry.lock, uv.lock, …) | no install command | The agent guesses the package manager |
The context file is not only commands. The method reads it by heading, and a heading that is not there is a lookup that silently finds nothing:
| Heading | Read by |
|---|---|
## Stack | CLASSIFY, CODE, daw-test, daw-security-sast, daw-threat-modeling, daw-create-prd, daw-create-adr, daw-help, daw-sec-auditor |
## Architecture conventions | PLAN, CODE, daw-validate-arch, daw-arch-auditor |
## Code conventions | daw-arch-auditor |
## What NOT to do in this project | daw-arch-auditor |
## Domain glossary | DEFINE, PLAN |
## Testing | daw-test, daw-verify-module — the coverage floor and where it came from |
## What this project is | CLASSIFY, daw-create-prd — what the work is FOR, when the request does not say |
## Repo family | CLASSIFY Step 1.2 — the mono/multi switch; only report it as missing when the repo visibly belongs to a family (a workspace repo names it), never as a default gap |
AGENTS.md is copied from DAW's template once, when the installer finds none. Three situations
leave it without these, and all three are ordinary:
AGENTS.md. The template is never applied — correctly, it is
their file — so none of these headings exist and nobody was told.BEGIN DAW block is managed.AGENTS.md at all, which is the ordinary state of a plugin install: the
installer never ran, so nothing was copied. Report the FILE, not each heading in turn — a list of
six missing headings for a file that does not exist reads as six problems instead of one — and
point at CLASSIFY Step 1, which offers to create it with the project's own content. Never write
DAW's own material into it: under a plugin the repo is meant to come away with nothing of DAW's
in it.So report a missing heading like any other gap, with the heading and one line saying what reads
it. Propose the heading, empty, and nothing else: what goes underneath is the user's to write, and
writing it for them is the bloat this skill exists to avoid. For ## Stack specifically, CLASSIFY
already knows how to detect a stack from the repo's config files and offer the text — point at that
rather than duplicating it.
┌─────────────────────────────────────────────────────────┐
│ /daw-context-check — [N] gap(s) │
├─────────────────────────────────────────────────────────┤
│ │
│ 1. Lint is configured but DAW does not run it │
│ Evidence: pyproject.toml:41 — [tool.ruff] │
│ Add to AGENTS.md → Stack: │
│ Lint: ruff check . │
│ │
│ 2. CI runs a command DAW does not know │
│ Evidence: .github/workflows/ci.yml:22 — mypy app/ │
│ Add to AGENTS.md → Stack: │
│ Typecheck: mypy app/ │
│ │
│ Add them? (all / by number / none) │
└─────────────────────────────────────────────────────────┘
Every finding carries the evidence with its file:line, and the exact line to add. A finding
the user has to go and investigate is a finding they will skip.
If there are no gaps, say so in one line and stop. A panel that appears every ticket with nothing in it is how people learn not to read the panel.
Only after approval, and only the context file:
Accepted → the declared command is added to its Stack section. Nothing else is written: no prose, no explanation, no heading the file did not already have.
Declined → a marker is written so the full panel does not interrogate you again:
<!-- daw:declined FEAT-001 lint typecheck -->
A decline is per ticket, not forever. The next session mentions it in one line —
"2 recommendations declined — /daw-context-check to see them" — and nothing more. A "never
again" that silently disappears is worse than a question: the day the gap actually costs you
something, nothing will be there to say it was known. And re-asking in full every session is how a
useful check gets turned off.
Never write to pyproject.toml, .pre-commit-config.yaml, CI workflows or any other configuration.
This skill teaches DAW what your repo already says; it does not change what your repo says.
Whatever the outcome — gaps found, gaps declined, nothing to report — land it in
.daw-work/context-check-<ticket>.md (one file per ticket; context-check.md when the work has
no ticket yet). The findings as shown, or the single line
Nothing to report: the context file matches the repo. The edge out of CLASSIFY refuses to open
without this file, because on two measured general runs this skill was simply never invoked and
nothing anywhere could tell. The file is the proof the step happened; the panel above stays the
proof of what it said.
Write the findings in the language the user is working in. Keep commands, file paths and the
daw:declined marker verbatim.
What SKILL.md sets; muted values are Claude Code's defaults
21 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-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@diluxone-plugins-ai is listed by diluxone/diluxone-plugins-ai — review the source before installing
npx claudepluginhub diluxone/diluxone-plugins-ai --plugin dawOther plugins' skills for the same job