Tech spec status

From jpoutrin/product-forge · View interactive version

Tech spec status is an AI agent skill from the GitHub repository jpoutrin/product-forge. Show Tech Spec details or update status through lifecycle

How to use this skill

Skill file

tech-spec-status

Category: Technical Architecture

Usage

/tech-spec-status <spec-id> [options]

Arguments

Options

| Option | Description |

|--------|-------------|

| --set <status> | Transition to new status |

| --link-rfc <RFC-XXXX> | Link to an RFC |

Valid Statuses

Execution Instructions

View Status (no --set)

When viewing a Tech Spec:

  1. Find the Spec file
  1. Display 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

Update Status (with --set)

When updating status:

  1. Validate Transition

Valid transitions:

| From | To |

|------|-----|

| DRAFT | APPROVED |

| APPROVED | REFERENCE, ARCHIVED |

| REFERENCE | ARCHIVED |

  1. Perform Pre-transition Checks

For DRAFT → APPROVED:

For APPROVED → REFERENCE:

For any → ARCHIVED:

  1. Update Spec File
  1. Move File to Correct Directory

| Status | Directory |

|--------|-----------|

| DRAFT | tech-specs/draft/ |

| APPROVED | tech-specs/approved/ |

| REFERENCE | tech-specs/reference/ |

| ARCHIVED | tech-specs/archive/YYYY/ |

  1. 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.

RFC Linking

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.

Example Usage

# 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

Error Handling

Lifecycle Summary

DRAFT ─────────────▶ APPROVED
(writing)             (ready)
                         │
                         ▼
                     REFERENCE
                     (implemented)
                         │
                         ▼
                     ARCHIVED
                     (deprecated)
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.