Logotipo de Spec Create

Spec Create

Comunidad
v0lka
spec-create

Create a new specification document following the project's spec system templates and conventions. Use when adding a new domain, component, contract, architecture doc, or Architecture Decision Record (ADR). Ensures correct format, naming, placement, cross-references, and INDEX.md update.

Descripción general

Editorv0lka
Repositorioskills
Nombre de la habilidadspec-create
Estrellas
28
Forks
1
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando una petición es realmente relevante.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por v0lka en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Spec Create en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/v0lka/skills/tree/main/development/sdd/spec-create
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → Desde URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/v0lka/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/development/sdd/spec-create .claude/skills/spec-create
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Spec Create en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición es relevante, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Spec Create automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Spec Create no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición relevante, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Spec Create

Create a new specification document in the project's specs/ system. This skill ensures the document follows the correct template, naming conventions, and is properly registered.


Procedure

Step 1 — Determine document type

Identify which of the 5 spec types you need to create:

TypeWhen to useLocation
Domain READMENew conceptual domain (multiple components)specs/domains/<domain>/README.md
Domain DetailNew component within an existing domainspecs/domains/<domain>/<component>.md
ContractNew boundary between layers/modulesspecs/contracts/<layer-a>-<layer-b>.md
ArchitectureNew system-level concern (layers, security, flow)specs/architecture/<topic>.md
ADRDecision that passes the ADR bar test (see ADR-specific rules): constrains work beyond the immediate change AND had rejected alternatives, OR supersedes an existing ADR/invariantspecs/decisions/NNN-slug.md

Step 2 — Read META.md

Read specs/META.md to confirm the template for your chosen type. The templates below are generic — always prefer the project's META.md if it exists, as it may have project-specific additions.

Step 3 — Apply naming conventions

  • Files: kebab-case.md
  • Domain directories: created only when a domain requires multiple files
  • README.md inside a domain directory: overview and entry point
  • _template.md prefix: template files (not actual specs)
  • ADR files: NNN-kebab-case-slug.md (three-digit sequential number)

Step 4 — Write the document using the correct template


Templates

Domain README

markdown
# [Domain Name]

## Purpose

1-3 sentences. What this domain does in the system.

## Key Files

- `path/from/repo/root/file.ext` — role description

## Core Types

Key type definitions (code blocks) with brief explanations.

## Flow

ASCII diagram or numbered sequence showing the primary happy path.

## Invariants

Bullet list of properties that ALWAYS hold. Affirmative phrasing only.

## Configuration

Key parameters from configuration with defaults and valid values.

## Extension Points

How to add new behavior without breaking existing functionality.

## Related Specs

- [Spec Name](relative/path.md) — relationship context

Domain Detail

markdown
# [Component Name]

## Role

1 sentence: what this component does within its domain.

## Key Files

- `path/to/file.ext` — description

## Behavior

Detailed description. May include:
- State machines (ASCII)
- Decision tables
- Pseudocode
- Sequence diagrams

## Error Handling

How this component handles and propagates errors.

## Invariants

Properties that always hold for this component. Affirmative phrasing only.

## Related Specs

- [Spec Name](relative/path.md) — relationship context

Contract

markdown
# Contract: [Layer A] <-> [Layer B]

## Boundary Rule

One sentence: direction of dependency and what is NOT allowed.

## Interfaces

| Interface | Package | Consumed By | Purpose |
| --------- | ------- | ----------- | ------- |

## Initialization

How components are wired together at startup.

## Data Flow Across Boundary

What data crosses the boundary, in what form, in which direction.

## Error Propagation

Rules for wrapping/transforming errors at this boundary.

## Breaking Change Checklist

If you change X, you MUST also update Y.

Architecture

markdown
# [Topic]

## Context

Why this architectural aspect matters.

## [Main Content]

Diagrams, rules, descriptions. Structure varies by topic.

## Invariants

Architectural rules that must never be violated. Affirmative phrasing only.

## Anti-Patterns

What NOT to do, with brief explanation of why.

ADR (Architecture Decision Record)

markdown
# ADR-NNN: [Title]

## Status

Accepted

## Context

The problem or question that required a decision.

## Decision

What was decided.

## Consequences

Positive and negative impacts.

## Alternatives Considered

What was evaluated and why it was rejected.

ADR-specific rules:

The ADR bar test (the same criteria as spec-init Step 8 and the WORKFLOW.md template):

Create an ADR only if the decision meets BOTH:

  1. Constrains work beyond the immediate change — cross-domain, cross-cutting, or hard to reverse
  2. Had real alternatives considered and rejected — a genuine choice existed, and the rejected options are worth remembering

OR meets this one alone:

  1. Contradicts or supersedes an existing ADR or a documented invariant.

Do NOT create an ADR for:

  • An implementation detail → record it as an invariant in the domain spec
  • A local, cheaply reversible choice → record it in the domain spec
  • Restating an existing spec or invariant → do nothing
  • A decision with no genuine alternatives → record it in the domain spec

Alternatives Considered is the bar. If that section cannot be filled honestly, it is not an ADR — the decision belongs in a domain spec.

  • Determine the next sequential number by scanning ALL files in specs/decisions/ — including superseded ADRs. The scan is number-keyed: parse the leading NNN from each filename (NNN-slug.md) and ignore the slug; next number = highest parsed NNN + 1
  • Numbers are NEVER reused (even for superseded ADRs)
  • Under parallel branches, a freshly allocated number is provisional until that branch merges — a sibling branch may have allocated the same number in the meantime
  • If a duplicate number reaches the tree at merge time, the second-landed ADR takes the next free number. When renumbering, update ALL of: the filename, the # ADR-NNN: [Title] heading, Superseded by [NNN](./NNN-slug.md) links in other ADRs, INDEX.md entries, and any cross-references to this ADR in other specs
  • Status: Accepted locks an ADR only once its current content is committed to the repository — verify with git status --porcelain -- specs/decisions/NNN-slug.md: empty output = committed = locked (outside a git repository, treat every accepted ADR as committed)
  • An accepted ADR that is untracked, or whose current content carries uncommitted changes, is still an editable draft: refine, reword, or rewrite it in place — no superseding ADR is needed; the commit is what locks it
  • To change a committed decision: create a NEW ADR, then update the old one's Status to Superseded by [NNN](./NNN-slug.md) (this is the only allowed edit to a committed accepted ADR)

Step 5 — Write cross-references

  • Use relative paths from specs/ directory
  • Format: [display text](relative/path.md)
  • Section anchors: lowercase, hyphen-separated: [section](path.md#section-name)
  • Source code references: backtick path from repo root, e.g. `src/module/file.ext`

Step 6 — Update INDEX.md

After creating the new spec file:

  1. Add an entry to the "Navigation by Task" table (if applicable)
  2. Add an entry to the "Directory Listing" section
  3. Maintain alphabetical/logical ordering within sections

Step 7 — Validate (embedded checklist)

Before declaring done, verify:

  • All sections from the template are present and in correct order
  • Cross-references point to existing files (verify with file reads)
  • Paths in Key Files are accurate (verify files exist)
  • Invariants are stated affirmatively ("X always does Y", NOT "X never does Z")
  • INDEX.md has been updated to include the new file
  • Naming follows conventions (kebab-case, correct directory)
  • ADR only: no other file in specs/decisions/ carries the same NNN number
  • No filler prose — every sentence carries information
  • ASCII diagrams used for flows (not Mermaid or other renderers)

Content Principles

  • Agent-optimized: predictable structure, explicit cross-references, no filler prose
  • Invariants are affirmative: "The scheduler always processes tasks in priority order" (not "The scheduler should not skip high-priority tasks")
  • Key Files use repo-root paths: src/core/scheduler.go, not ./scheduler.go
  • Tables for catalogs: interface catalogs, tool registries, config mappings, decision tables
  • ASCII for diagrams: must work without a renderer
  • No generated content: specs describe intended behavior; discrepancy with code = bug

Preguntas frecuentes

¿Qué hace la habilidad de IA Spec Create?

Create a new specification document following the project's spec system templates and conventions. Use when adding a new domain, component, contract, architecture doc, or Architecture Decision Record (ADR). Ensures correct format, naming, placement, cross-references, and INDEX.md update.

¿Por qué usar Spec Create en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Spec Create está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Spec Create en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/v0lka/skills/tree/main/development/sdd/spec-create. TypingMind lee su archivo SKILL.md y la instala como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Spec Create?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Spec Create?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Spec Create con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Spec Create?

Sí. v0lka la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇