spectra

Generate 13-layer domain specifications with bidirectional traceability.

3|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/GuiMiran/spectra --skill spectra-guimiran
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spectra
Source: https://github.com/GuiMiran/spectra/tree/main/skills
Command: npx skills add https://github.com/GuiMiran/spectra --skill spectra-guimiran

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Spectra provides a domain-first specification framework that enables AI agents to operate autonomously by codifying rules, invariants, and contracts before any code is written.

Core Features & Use Cases

  • Exhaustive, contract-based domain specs that capture business rules, invariants, and decisions.
  • Bidirectional traceability via the SPECTRA-TRACE layer to ensure alignment between specs and implementation.
  • Reconstructable, agent-focused layers (00–12) with a live 13th layer updated during iterations, designed for AI-driven governance.

Quick Start

Generate a full 13-layer Spectra specification for a new domain, starting with Layer 00 Vision & Context.

Frequently Asked Questions about spectra

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create domain specifications for autonomous AI agents before writing code?

To create domain specifications for autonomous AI agents, you use a domain-first framework that codifies business rules, invariants, and contracts upfront. Spectra generates a 13-layer structure starting from Vision and Context to ensure AI-driven governance.

What is spec-driven development for complex domain governance?

Spec-driven development for complex domains involves defining exhaustive, contract-based specifications that capture business rules and decisions before implementation. This approach enables bidirectional traceability to ensure alignment between specs and code.

How do I ensure bidirectional traceability between project specs and implementation?

Bidirectional traceability between specs and implementation is maintained via a dedicated trace layer updated during iterations. This mechanism links requirements to code changes, ensuring continuous alignment throughout the development lifecycle.

Can I use spec-driven development for early-stage project scoping and ongoing evolution?

Yes, spec-driven development applies to both early-stage project scoping and ongoing specification evolution. The framework supports generating comprehensive layers and updating a live trace layer during iterations to adapt to changing domain requirements.

What are the limitations of using a 13-layer specification framework for AI governance?

A limitation of a 13-layer specification framework is the overhead required to maintain the exhaustive, contract-based layers and metadata. Teams must continuously update the live trace layer to pass the reconstruction test and ensure specs accurately recreate the system.

Does spec-driven development require mandatory frontmatter metadata for AI agents?

Yes, spec-driven development for autonomous AI agents requires mandatory frontmatter metadata, specifically name and description fields. This metadata ensures the AI can properly parse and govern the 13-layer domain specifications.