red-green-vertical-slice
Implements one approved task through the smallest useful vertical slice with failing evidence before production code where practical, using the required testing hierarchy.
- License 许可
- Apache-2.0
- 最近更新
- 2026-07-13
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- red-green-vertical-slice
- description
- Implements one approved task through the smallest useful vertical slice with failing evidence before production code where practical, using the required testing hierarchy.
03 SKILL.md 正文
Red-Green Vertical Slice
- Start from the task contract and acceptance criteria.
- Classify the required test tier: unit, integration, local E2E, or cloud E2E.
- Write or identify the smallest focused failing test first when the change is testable.
- Prefer unit RED/GREEN for isolated logic, integration RED/GREEN for boundaries, and local E2E as final proof for pipeline flow.
- Implement the minimum production code to pass the focused test.
- Run focused tests, then affected regression tests, then required higher-tier gates.
- Avoid unrelated refactors and broad architecture changes.
- Record RED evidence, GREEN evidence, highest tier run, files changed, and residual concerns.
- Do not use cloud E2E as a substitute for local unit/integration tests; cloud E2E proves deployment/runtime, not internal design correctness.
04 同仓库更多 Skills
invoice-domain-review
Domain review for contractor invoice governance, ingestion, reconciliation, attendance attribution and billing evidence.
python-domain-review
Reviews generic Python implementation against task intent, API expectations, simplicity and maintainability.
verified-commit
Creates a task-scoped commit only after validator and exact-tree postflight pass.
using-agent-skills
Selects and applies the smallest relevant set of skills for a task, preventing generic prompting and unused specialist guidance. Use at the start of every command, task, review, or repair cycle.
testing-patterns
Designs focused, hierarchical, regression, boundary, integration, and end-to-end tests for vertical-slice implementation. Use before and after implementation, and during test review.
test-hierarchy
Classifies and enforces the required unit, integration, local E2E, and cloud E2E test tier for a task or run.