Living Specs in SpecKit
说明与用途
SpecKit中的活跃规范将功能需求保持在代码旁边,减少重复并简化当前规范的查找。
问题
Spec files become stale and fragmented, making it hard to understand current feature behavior and to reuse knowledge across changes.
结果
Living specs reduce duplication, keep documentation current, and improve agent guidance by providing a single, up-to-date spec per feature.
工作流
- 1. Define capabilities and match globs in living-specs.yml
- 2. Run SpecKit Companion to load the living spec before drafting
- 3. Agent drafts specify, plan, tasks, and implement phases
- 4. After implementation, Companion rewrites the living spec with updated requirements
- 5. Spec remains next to code for future runs and human review
证据
Spec-kit gives each feature its own numbered folder, and that folder is finished the day the feature is
A living spec is a pointer to that previous understanding. When the next run starts, the agent has more guidance, faster, because the record of how the feature works is already there and already current.
The difference is who finds the spec without being told where it is. You can pick per capability, and /speckit.companion.living-move moves a spec between the two later, so nothing here is a commitment.
- 记录日期: 2026-10-17T02:41:07.726Z