원클릭으로
check
Run all quality checks on modified files — the on-demand pre-ship quality gate
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Run all quality checks on modified files — the on-demand pre-ship quality gate
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | check |
| description | Run all quality checks on modified files — the on-demand pre-ship quality gate |
Run all quality checks on modified files. This is the on-demand quality gate — use it before shipping or when you want to validate your work.
Runs the checks as parallel Bash calls in the main loop — not subagents. At the session's context size the per-command isolation a subagent buys isn't worth the dispatch overhead: deterministic command output is cheap to read directly, and running inline keeps every result in one place. (This replaced the earlier "one Haiku subagent per command" design — the isolation stopped paying off at large context.)
Local ↔ CI concordance: docs/contributing/local-ci-concordance.md. Shared runner:
scripts/ci_local.sh / make ci-fast / make ci-core.
Run git diff --name-only HEAD to get the list of modified files. Categorize:
py_changed = any .py files in the diffdsl_changed = any .dazzle / *.dsl files in the diffparser_changed = any files matching src/dazzle/core/dsl_parser in the diffmcp_changed = any files matching src/dazzle/mcp/ in the diffci_surface_changed = any of scripts/ci_local.sh, Makefile, .github/workflows/ci.yml, .github/actions/setup-dazzle/**Run this alone, before the parallel read-only checks — ruff rewrites files, so racing it against mypy/pytest would let them read half-written source:
ruff check src/ tests/ --fix && ruff format src/ tests/
Note which files ruff changed. If errors remain after --fix, record them for the report.
Issue all applicable commands as separate Bash calls in a single message so they run concurrently. Always run the type check; add the rest based on what changed in step 1:
| Check | Run when | Command |
|---|---|---|
| Type | always | mypy src/dazzle |
| Unit tests | py_changed | pytest tests/unit -n auto --dist loadgroup -q --tb=short -m "not slow" |
| Gate suite | ci_surface_changed or operator asks "CI-like" | pytest tests/unit -m gate -q (or full make ci-fast) |
| DSL validation | dsl_changed | dazzle validate (in affected example dirs) |
| Parser corpus | parser_changed | pytest tests/parser_corpus/ -x -q --tb=short |
| MCP verify | mcp_changed | python scripts/verify-mcp.py |
mypy command must stay identical to /ship Tier 0 and CI (mypy src/dazzle — no extra flags). For release-grade type confidence when extras may be thin:
make type-check-ci # sync CI type extras on Python 3.12, then mypy
Unit tests run parallel (-n auto --dist loadgroup): per-worker Postgres DBs when a DB URL is set; otherwise postgres-marked tests pin via xdist_group. Prefer full unit (-m "not slow") over gates-only when Python changed — gates alone are what /ship Tier 0 runs, and they under-approximate CI python-tests.
If the operator asks for CI-core concordance (or you are validating a release candidate), run instead of the table:
make ci-core
Read each command's output and present a summary:
## Quality Check Results
| Check | Status | Details |
|-------|--------|---------|
| Lint + format | PASS/FAIL | N issues |
| Type check | PASS/FAIL | N errors |
| Unit tests | SKIP/PASS/FAIL | N passed, M failed |
| DSL validation | SKIP/PASS/FAIL | reason |
| Parser corpus | SKIP/PASS/FAIL | reason |
| MCP verification | SKIP/PASS/FAIL | reason |
**Overall: PASS/FAIL**
If everything passed, say: "All checks passed. Ready to ship."
If anything failed, list what needs fixing.
If only Tier-0-equivalent checks ran, note: "Not full CI — run make ci-core before a release tag."
Do NOT commit or push. This is a read-only quality check (apart from ruff --fix's in-place formatting).
Reconstruct Dazzle/HM judgement from stems before inventing structure
Reconstruct Dazzle/HM judgement from stems before inventing structure
Commit, verify, tag, and push with the repo's pre-flight gate suite (lint, type, drift gates, docs build)
Use when authoring or revising trial.toml scenarios for dazzle qa trial — puts an LLM in the shoes of a real business user evaluating a Dazzle app. Use when the user asks to "set up qa trials", "write a trial scenario", "evaluate this app as a user", or mentions qualitative/trial/business-user testing. Also use when a trial report is sparse or unhelpful — the scenario itself is usually the root cause.
Use when writing or editing Dazzle .dsl files — syntax rules, the mistakes agents actually make, and pointers to the drift-gated references. Complements (never replaces) CLAUDE.md's DSL Quick Reference.
Use when the user wants to generate a stakeholder-facing English specification document (SPECIFICATION.md) from a Dazzle DSL project — for investors, business leaders, founders, or non-technical decision-makers. Reverses the usual DSL→app flow into DSL→prose.