From devops-data
Views Tech Spec details or updates status through DRAFT→APPROVED→REFERENCE→ARCHIVED lifecycle, validates transitions, performs checks, moves files to status directories, and links RFCs.
npx claudepluginhub jpoutrin/product-forge --plugin devops-dataThis skill uses the workspace's default tool permissions.
**Category**: Technical Architecture
Provides conventions for writing self-contained, implementation-ready spec documents. Distinguishes specs from docs; covers structure including data model, architecture, security, operations, scope, and deliverables.
Generates and reviews numbered tech specs for features, covering requirements, code analysis, solution design, risks, work breakdown, and testing. Auto-detects create/update via filesystem and git diff.
Share bugs, ideas, or general feedback.
Category: Technical Architecture
/tech-spec-status <spec-id> [options]
<spec-id>: Required - Tech Spec identifier (e.g., TS-0042 or just 0042)| Option | Description |
|---|---|
--set <status> | Transition to new status |
--link-rfc <RFC-XXXX> | Link to an RFC |
DRAFT - Being writtenAPPROVED - Ready for implementationREFERENCE - Implementation completeARCHIVED - Superseded or deprecatedWhen viewing a Tech Spec:
Find the Spec file
tech-specs/ subdirectoriesDisplay Spec Details
TS-0042: Payment Gateway Integration
======================================
Status: APPROVED
Author: Jane Doe
Created: 2025-12-01
Updated: 2025-12-05
RFC Link: RFC-0042
Location: tech-specs/approved/TS-0042-payment-gateway-integration.md
Summary:
[First 2-3 sentences of the Executive Summary]
Valid Transitions:
→ REFERENCE (implementation complete)
→ ARCHIVED (superseded or deprecated)
Commands:
/tech-spec-status TS-0042 --set REFERENCE
When updating status:
Validate Transition
Valid transitions:
| From | To |
|---|---|
| DRAFT | APPROVED |
| APPROVED | REFERENCE, ARCHIVED |
| REFERENCE | ARCHIVED |
Perform Pre-transition Checks
For DRAFT → APPROVED:
For APPROVED → REFERENCE:
For any → ARCHIVED:
Update Spec File
status in frontmatterlast_updated to todayarchive_date if archivingarchive_reason if archivingMove File to Correct Directory
| Status | Directory |
|---|---|
| DRAFT | tech-specs/draft/ |
| APPROVED | tech-specs/approved/ |
| REFERENCE | tech-specs/reference/ |
| ARCHIVED | tech-specs/archive/YYYY/ |
Confirm Update
TS-0042 status updated: APPROVED → REFERENCE
Updated:
- Status: REFERENCE
- Location: tech-specs/reference/TS-0042-payment-gateway-integration.md
The spec now serves as reference documentation for the implementation.
Add or update RFC link:
/tech-spec-status TS-0042 --link-rfc RFC-0042
This updates the decision_ref field in the spec's frontmatter.
# View spec details
/tech-spec-status TS-0042
# Mark as approved (ready for implementation)
/tech-spec-status TS-0042 --set APPROVED
# Mark as reference (implementation complete)
/tech-spec-status TS-0042 --set REFERENCE
# Archive (superseded)
/tech-spec-status TS-0042 --set ARCHIVED
# Link to RFC
/tech-spec-status TS-0042 --link-rfc RFC-0042
git mv)DRAFT ─────────────▶ APPROVED
(writing) (ready)
│
▼
REFERENCE
(implemented)
│
▼
ARCHIVED
(deprecated)