openspec-generate-baseline

Generate an OpenSpec baseline from existing source code and archive it.

1|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/dariopalminio/agile-sddf --skill openspec-generate-baseline
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: openspec-generate-baseline
Source: https://github.com/dariopalminio/agile-sddf/tree/main/.claude/skills/openspec-generate-baseline
Command: npx skills add https://github.com/dariopalminio/agile-sddf --skill openspec-generate-baseline

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Genera una línea base de especificaciones OpenSpec a partir del código existente, leyendo src/, README.md y AGENTS.md para deducir el comportamiento actual y archivándola como un change llamado "baseline" sin aplicar cambios al código.

Core Features & Use Cases

  • Inversión de ingeniería para producir artefactos de OpenSpec (proposal.md, design.md, specs/, tasks.md) y archivarlos directamente como baseline.
  • Flujo guiado para identificar directorios fuente, proponer cambios, y archivar sin phase de apply, con revisión manual posterior si es necesario.
  • Uso típico: proyectos con código y documentación pero sin especificaciones OpenSpec, que desean una referencia histórica reproducible.

Quick Start

Run the skill to generate and archive a baseline OpenSpec from your project code.

Frequently Asked Questions about openspec-generate-baseline

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

FAQPage Schema
How do I generate an OpenSpec baseline from an existing codebase?▼

The skill reverse-engineers your existing source code and documentation to produce OpenSpec spec artifacts including proposal.md, design.md, specs/, and tasks.md, then archives them directly as a baseline change without applying code modifications.

What does reverse-engineering a codebase into OpenSpec specifications involve?▼

Reverse-engineering into OpenSpec involves reading your src/, README.md, and AGENTS.md files to deduce current software behavior, generating a reproducible historical reference containing proposal, design, specs, and tasks artifacts.

Do I need the openspec CLI to create and archive a baseline?▼

Yes, creating and archiving a baseline requires the openspec CLI, an openspec/config.yaml file, and the opsx:propose plus opsx:archive skills to execute the proposal generation and archival steps.

Can I generate OpenSpec artifacts for projects that only have source code and documentation?▼

Yes, you can generate OpenSpec artifacts for projects containing source code and documentation but lacking existing OpenSpec specifications, across all languages supported by OpenSpec, creating a reproducible baseline reference.

Does archiving an OpenSpec baseline modify my existing source code?▼

No, archiving an OpenSpec baseline does not modify your source code; it generates and archives the deduced specifications as a change named baseline, skipping the apply phase to allow manual review afterward.