Technical specification

From jpoutrin/product-forge · View interactive version

Technical specification is an AI agent skill from the GitHub repository jpoutrin/product-forge. Technical specification writing for implementation details. Use when documenting how to build a solution (post-decision), API contracts, schemas, and system design. Complements RFC skill which handles decision-making.

How to use this skill

Skill file

Technical Specification Skill

This skill automatically activates when documenting implementation details for a solution. Unlike RFC (which evaluates options), Tech Specs document how to build something when the approach is already decided.

When This Skill Activates

RFC vs Tech Spec

| Aspect | RFC | Tech Spec |

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

| Purpose | Evaluate options, make decision | Document implementation details |

| Options Analysis | Required (min 2) | Not applicable |

| When Used | Before decision | After decision (or when no decision needed) |

| Audience | Decision makers, stakeholders | Implementers, developers |

| Lifecycle | DRAFT → REVIEW → APPROVED → COMPLETED | DRAFT → APPROVED → REFERENCE |

When to Use Tech Spec (Not RFC)

Use Tech Spec when:

Use RFC instead when:

Tech Spec Document Structure

Required Sections

  1. Header Metadata

```yaml


tech_spec_id: TS-XXXX

title: [Component/Feature Name]

status: DRAFT | APPROVED | REFERENCE | ARCHIVED

decision_ref: RFC-XXXX # Optional - link to RFC if one exists

author: [Name]

created: YYYY-MM-DD

last_updated: YYYY-MM-DD


```

  1. Executive Summary (1 paragraph)
  1. Design Overview
  1. Detailed Specifications

For each component:

  1. Data Model / Schema
  1. API Specification
  1. Security Implementation
  1. Performance Considerations
  1. Testing Strategy
  1. Deployment & Operations
  1. Dependencies
  1. Implementation Checklist

Tech Spec Lifecycle

DRAFT → APPROVED → REFERENCE
          ↓
       ARCHIVED (when superseded or deprecated)

Status Definitions

| Status | Description |

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

| DRAFT | Being written, not yet reviewed |

| APPROVED | Ready for implementation |

| REFERENCE | Implementation complete, serves as documentation |

| ARCHIVED | Superseded or no longer relevant |

Relationship to RFC

Tech Specs can optionally link to an RFC:

decision_ref: RFC-0042  # Links to the decision that led to this spec

When to link:

When standalone is fine:

Quality Standards

Completeness Checklist

Before marking APPROVED:

Writing Guidelines

  1. Be Specific
  1. Include Examples
  1. Document Constraints
  1. Reference Don't Duplicate

File Naming Convention

TS-XXXX-<short-description>.md

Examples:

Directory Structure

tech-specs/
├── draft/              # Work in progress
├── approved/           # Ready for implementation
├── reference/          # Implementation complete
└── archive/            # Superseded/deprecated
    └── YYYY/

Integration with CTO Architect Workflow

The CTO Architect uses this skill for:

  1. Post-RFC Implementation Planning
  1. Standalone Specifications
  1. Delegation to Specialists

Commands

| Command | Description |

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

| /create-tech-spec <name> | Create new Tech Spec from template |

| /list-tech-specs | List all Tech Specs with status |

| /tech-spec-status <id> | View or update Tech Spec status |

References

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.