What problem does it solve?
This Skill ensures that implementation learnings, bug fixes, design choices, and cross-layer contract changes are recorded as actionable, testable code-spec documents so future developers and AIs can implement and validate behavior reliably.
Core Features & Use Cases
- Post-implementation capture: Turn what was learned during implementation or debugging into concrete spec sections.
- Infra and cross-layer enforcement: Require mandatory sections (scope, signatures, contracts, validation matrix, test points) for infra or contract-impacting changes.
- Guided templates and checklist: Provide templates for scenarios, design decisions, conventions, patterns, and gotchas to keep specs consistent.
- Use Case: After fixing an API bug, add a spec entry detailing the signature changes, request/response contracts, validation rules, and required tests so CI and future engineers enforce correct behavior.
Quick Start
Use update-spec to add a structured code-spec entry to .trellis/spec/ immediately after finishing an implementation, bug fix, or design decision.