| name | engineering-quality-lens |
| description | Selects and applies the repo's engineering quality lens for implementation-plan Goals. Use when planning, reviewing, or starting a task and you need to choose TDD, diagnosis, architecture, DDD, DDIA, Release It, refactoring, or service-layer guidance. |
Engineering Quality Lens
Use this skill to decide which software engineering discipline should shape a
Goal before code changes start, or to review whether a branch used the right
discipline before closeout.
Required Reading
docs/quality-lenses.md, or the repo's configured equivalent.
- Repo domain docs if present and relevant, such as
docs/domain.md,
docs/agents/domain.md, or a plan-specific architecture/domain doc.
- The relevant task queue row under the repo's configured implementation-plan
root, plus its referenced design docs, decisions, and briefs.
Workflow
- Name the work type: feature, bug, refactor, data-plane, runtime, UI, planning,
domain-modeling, or shared-mechanics.
- Pick one primary skill:
tdd, diagnose, architecture-review,
code-structure, or no extra skill for tiny docs-only edits.
- Pick the rule lens that should bias decisions: APoSD, Clean Architecture,
DDD/IDDD, DDIA, Release It, Refactoring, WELC, Code Complete, or Pragmatic
Programmer.
- State the test seam and quality gate in concrete repo terms.
- If the task touches shared operational mechanics or changes implementation
code that may affect the actions/service-layer split, run
code-structure
before closeout. Do not ask first; record the outcome or record
code-structure: not applicable (<reason>) for docs-only/ownership-only work.
Output Shape
Engineering quality lens:
- Work type:
- Primary skill:
- Rule lens:
- Test seam:
- Quality gate:
If the current task lacks a concrete test seam or quality gate, treat that as a
planning gap and fix the Goal/task row before implementation.