1.7 KiB
1.7 KiB
Feature Spec Template
Use this template for every net-new feature and major behavior change.
Metadata
- Spec ID: SPEC-YYYYMMDD-
- Owner:
- Date:
- Status: draft | approved | in-progress | done
- Related issue/PR:
Problem Statement
Describe the user problem in 2-5 sentences.
User Story
As a , I want , so that .
Scope
In Scope
Out of Scope
Functional Requirements
Acceptance Criteria
- Given , when , then .
- Given , when , then .
- Failure handling is deterministic and user-visible.
UX Notes
- Entry points (toolbar/panel/command):
- Empty/loading/error states:
- Keyboard shortcuts / accessibility expectations:
API And Data Contracts
- Endpoints impacted:
- Request/response changes:
- Backward compatibility plan:
- Project schema impact (
shared/project-schema.json):
Architecture Impact
- Frontend files/components likely affected:
- Backend routers/services likely affected:
- Tauri/bridge changes required:
Risks
Test Plan
Unit Tests
Integration Tests
E2E / Smoke Tests
Regression Tests
List known regressions this spec must prevent.
Observability
- New logs/error codes:
- Metrics/traces needed:
- Diagnostics artifacts expected on failure:
Rollout Plan
- Development and internal validation.
- Staged rollout or feature flag (if applicable).
- Rollback path.
Open Questions
Definition Of Done
- Acceptance criteria pass.
- Tests added and green.
- Docs/instructions updated.
- Risks and assumptions recorded in PR summary.