eng-rigorous-validation
Rigorous Validation
Intent
- Ship only when behavior is proven, not assumed.
- Treat tests, QA scripts, linters, and on-chain/off-chain simulations as first-class deliverables.
- Capture evidence so reviewers can verify quickly.
Inputs
- Canonical test commands (unit, integration, e2e, contract sims, UI snapshots).
- Acceptance criteria plus measurable signals (logs, screenshots, transaction hashes).
- Migrations/seed data steps required to exercise the change locally.
Workflow
- Design tests before coding
- Specify failing cases and target assertions for each requirement.
- Align on how to stub external services, wallets, or platform APIs.
- Automate and isolate
- Prefer deterministic, headless test harnesses; avoid manual-only steps.
- Seed data/fixtures close to tests to prevent global coupling.
- Run the full relevant matrix
- Cover affected platforms (iOS/Android/web), runtimes, or chain environments.
- Capture artifacts (logs, screenshots, traces) for any non-deterministic checks.
- Track outcomes
- Record exact commands run and their commit hash in the PR or issue.
- File follow-ups for flaky tests before merging.
Verification
- All targeted tests green and documented; no TODOs or skipped suites without owner sign-off.
- Static analysis, type-checking, formatters, and contract analyzers pass.
- Evidence (artifacts, hashes, screenshots) attached or linked for reviewer inspection.
More from tjboudreaux/cc-plugin-engineering-excellence
eng-tdd
Enforces disciplined RED-GREEN-REFACTOR cycle—write failing test first, watch it fail, write minimal code to pass, then refactor.
2eng-verification
Mandatory checklist before claiming work is complete—run the evidence-producing command, inspect output, and only then state a result.
2eng-performance
Guard latency, memory, battery, bandwidth, and gas/compute budgets by measuring before and after every change.
2eng-user-impact
Anchor every engineering decision in user value, measurable outcomes, accessibility, and cross-platform experience coherence.
2meta-superpowers
Startup protocol for every task—discover applicable skills, run them, announce usage, and follow required workflows (brainstorming, TodoWrite checklists, etc.).
2eng-observability
Design every change with traceability, diagnostics, and fast incident triage in mind across mobile, web, and web3 stacks.
2