Skip to content
Back to skills

Define Tech Spec

ASecurity

Create tech specs with architecture for Stage C of the VibeFlow docs-first workflow

  • 8 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added May 26, 2026
documentationgobashgitapisecuritydocumentation

Works with

  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add hardness1020/VibeFlow --skill define-tech-spec --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Define Tech Spec?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Define Tech Spec
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hardness1020-define-tech-spec/badge)](https://www.skillsdirectory.com/skills/hardness1020-define-tech-spec)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: define-tech-spec
description: Create tech specs with architecture for Stage C of the VibeFlow docs-first workflow
metadata:
  triggers:
    - tech spec
    - specification
    - Stage C
    - system specification
---

# define-tech-spec

Create tech specs with architecture for Stage C of the VibeFlow docs-first workflow.

## Purpose

This skill creates and validates Tech Spec documents for Stage C:
- Define architecture and interfaces
- Document data contracts and SLOs
- Specify component inventory and topology

## Workflow

```
Stage C: Specify
    │
    ├── Create/update Tech Specs
    ├── Define architecture and interfaces
    └── Document data contracts and SLOs
```

## Usage

### Create/Update Tech Spec

```
/define-tech-spec <spec-name>
```

Creates or updates `docs/specs/spec-<name>.md`.

Example:
```
/define-tech-spec api
/define-tech-spec llm
```

## Document Requirements

### Tech Spec (`docs/specs/spec-<name>.md`)

Required sections:
- Header (version, status, PRD link, contract versions)
- Overview & Goals
- Architecture (topology diagram + component inventory)
- Interfaces & Data Contracts
- Data & Storage
- Reliability & SLIs/SLOs
- Security & Privacy
- Evaluation Plan

## Validation

- `scripts/validate_techspec.py` — Validate tech spec

## References

See `assets/`:
- `techspec-template.md` — Tech spec template

## Context7 Library Research

Follow the workflow in `.claude/rules/context7-research.md` to fetch current library documentation.

**What to look for:** API surfaces, configuration options, integration patterns, version constraints.

**Where to incorporate findings:**
- **Architecture** — topology and component interactions with external dependencies
- **Interfaces & Data Contracts** — exact types, parameters, and return values from library APIs
- **Reliability** — known limitations, failure modes, and SLO implications

## Manifest Update

After completing Stage C, update `docs/workflow-state.yaml`:

- Set `stage: C`
- Append to `docs.specs[]`: `docs/specs/spec-<name>.md`

## Git Commit

After completing this stage, ask the user for permission before committing:

```bash
git add docs/specs/spec-<name>.md docs/workflow-state.yaml
git commit -m "feat(spec): define <name> tech spec (#ft-<ID>)"
```

Replace `<name>` and `<ID>` with actual values.

## Auto-Advance

After the commit is complete, directly run `/manage-work advance <ID>` to advance to the next stage.

Files in this skill

  • SKILL.md2.4 KB
  • assets/techspec-template.md5.3 KB
  • scripts/validate_techspec.py7.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.