agentleFS
hardness1020hardness1020/VibeFlow/.claude/skills/define-tech-spec/SKILL.md

define-tech-spec

Skill8 starsChanged 8 months agoMITView on GitHub

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

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

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

    line 14
  2. Distinctive:

    Document data contracts and SLOs

    line 20
  3. Very specific:

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

    line 74
  4. Very specific:

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

    line 85
  5. Distinctive:

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

    line 92
  6. Very specific:

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

    line 103

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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:

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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.