Logotipo de Cdd Spec Writer

Cdd Spec Writer

Comunidad
Oscaner
cdd-spec-writer

Independent spec-writer -- Node-anchored flow with digraph as single control-flow source of truth. Consumes the /superpowers:brainstorming(pi:/skill:brainstorming) (writing-spec) design flow inline as this session's baseline, then authors the target spec (single-spec / phase-spec / overall — one parameterized flow), commits it before the review-fix loop, and runs the loop following the engine's next face — the engine's next directive carries the pipeline continuation. Callable standalone; invoke as kairos:cdd-spec-writer(pi:/skill:cdd-spec-writer).

Add to TypingMind

Descripción general

EditorOscaner
Repositorioskills
Nombre de la habilidadcdd-spec-writer
Estrellas
63
Forks
0
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 la petición encaja con la habilidad.

  • 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 Oscaner en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Cdd Spec Writer 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/Oscaner/skills/tree/main/packages/kairos/skills/cdd-spec-writer
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → 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/Oscaner/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/packages/kairos/skills/cdd-spec-writer .claude/skills/cdd-spec-writer
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Cdd Spec Writer 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 encaja con la habilidad, 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 Cdd Spec Writer 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 Cdd Spec Writer 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 que encaja con la habilidad, 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á.

Kairos CDD-Spec-Writer

Writes the target spec from the writing-spec import — single-spec / phase-spec / overall under one parameterized flow (the schema target + scope gates + authoring differ by variant; the review-fix rhythm and the Invariants are the single shared skeleton) — commits it before reviewing under the cdd spec contract; on closure the engine's next: face carries the pipeline continuation.

Invocation discipline — every engine command runs as a background dispatch: launch it in the background and await the completion notification — never poll — then read the full output (stdout/stderr). Output filtering is forbidden — no piping to tail/head, no 2>&1 |, no EXIT=$? capture. Round rhythm — one review pass per dispatch; a fix round re-enters the review while the route is not done; commit the authored spec before the first review round; ensure the working tree is clean before entering review (dirty → BLOCKED; the orchestrator writes no tree during dispatch). Failure face — cross-node failure handling lives in the Failure Modes table below (the single source); node Fail entries keep only local behavior.

Flow Digraph

Node Definitions

run-writing-spec-session

  • Do: Import /superpowers:brainstorming(pi:/skill:brainstorming) (writing-spec import); it lands the design decisions this target spec will capture. The target (single-spec / phase-spec / overall) is the session parameter: it selects the schema target, the scope gates and the handoff of the flow
  • Read: nothing before the import; the import lands the design + the target
  • Exit: Import landed → author-spec
  • Fail: Upstream superpowers plugin missing → BLOCKED (no downgrade, no skip, no inline restatement)

author-spec

  • Do: Write the target spec document from the session output — overall lands in docs/kairos/overalls/, phase-spec and single-spec in docs/kairos/specs/ — generate the canonical skeleton first for the target type (npx -y @oscaner-skills/cdd-engine@latest schema get <overall|phase-spec|single-spec> --output skeleton <target path>) and fill its slots in place; the structure stays as generated. The landed document carries its identity in the front-matter slug: key (the engine keys the workspace and the board on it, never on the file name); a phase-spec additionally carries program: — the parent overall's slug:, the phase's attribution to its program. Per the target variant:
    • single-spec — the free-form spec form; the docs-lane doc-contract gate asserts the version-lineage on every reviewed spec
    • phase-spec — the phase scope is an increment only: when the phase scope changed vs the parent overall, sync the parent overall (Issue/Phase inventory + Dependency graph + version bump + change history) BEFORE writing (the four-table sync ordering; the sync is the registration gate, never a silent skip)
    • overall — the phase registration for a new phase is the parent's own table sync (see run-cdd-design's run-cdd-charter · sync)
  • Read: Session output + the target's structural contract (phase-spec/overall variants also read the parent overall)
  • Exit: File written → self-review
  • Fail: Session output unusable or write error → BLOCKED (missing design input)

self-review

  • Do: Review the just-written spec before committing — run five checks, substance first: (1) capture — every design decision the session landed is in the spec, every ruling recorded; (2) sufficiency — could the downstream plan author act without guessing? Name each place where a wrong guess would change what gets built; (3) consistency — doc-type / naming / cross-references agree; (4) failure modes — the design addresses the failure modes and edge conditions it implies; (5) proportion — the spec carries decisions, not a transcript of the work. Then the mechanical tail: zero leftover :::fill markers, zero angle-bracket literals outside link-anchor slots (cheap hygiene the doc-contract gate would otherwise flag). Issues found are fixed inline on the same file; this is a pre-commit self-check inside this flow, not a review round (no next: dispatch, no findings carrier).
  • Read: the written spec document + the session output it was authored from
  • Exit: Self-check clean (issues fixed inline) → commit-spec
  • Fail: Unresolvable defect needing upstream design input → BLOCKED (missing design input)

commit-spec

  • Do: git add the spec + conventional commit.
  • Read: The committed spec file path
  • Exit: Commit complete → NEXT-LOOP
  • Fail: Git error → report + fail-open (do not block user spec review)

NEXT-LOOP

  • Do: Run the review-fix rhythm for the authored spec — one review per pass. Dispatch the review round on the current ref (npx -y @oscaner-skills/cdd-engine@latest review --type spec --spec <path>); dispatch the output's next: line as written — the literal is the route: a fix dispatch consumes the findings handoff, a closure ends the flow (follow the engine's next: literal — for a phase/overall spec it routes the next pipeline entrypoint); a BLOCKED/TIMEOUT round carries no next: line — its reason rides stderr for reporting.
  • Read: the review output — its conclusion and the next: line, plus the findings handoff path
  • Exit: the next: line routes the next pipeline entrypoint (a skill ref / the pipeline terminus) → the flow ends (the engine's next: literal carries the next pipeline entrypoint when one exists); each fix pass re-enters this hub while the route is not terminal — the engine's next: literal has not yet handed the orchestrator off (the until next is terminal self-loop)
  • Fail: Re-running a review after a closure conclusion → violates Review Convergence (stop + report)

Invariants

#Invariant
I1Review Convergence (next: is the dispatch) — a review closes by its conclusion (APPROVED / CHANGES_REQUESTED / REVIEW_FIX), and the output's next: line carries the engine's default next step as a complete executable command; read the next: line and dispatch it as written — the literal is the dispatch, no kind→command mapping layer. A mid-backfill or a user adjudication that lands governs over the suggestion (current world state wins). Fixes always dispatch via the fix round, consuming the findings handoff; the orchestrator must not edit in place as a substitute; a fix commit opens a new review, never a re-run of a closed one
I2Spec commit discipline — the authored spec commits before the first review round; each fix round commits its own changes — approval closes the loop on a committed state; do not wait for dev merge
I3Mid-Flight Backfill — a user-raised backfill of overall/spec/plan docs surfaced while a dispatch is in flight lands through four ordered steps on the current call's return: (1) land immediately — hot context, no deferral; (2) commit on its own — a standalone change, never mixed with implementation commits; (3) pause the loop until clean — an uncommitted backfill trips the next review's entry gate (dirty → BLOCKED); (4) audit in-band on resume — the next review audits the backfill in-band; a backfill rewriting the current task's own plan/spec text routes through the orchestrator's plan write authority

Failure Modes

failurebehaviorreason
Upstream superpowers plugin missingBLOCKED (install superpowers — see the kairos README's installation table)Block policy: no silent fallback
review re-run after a closure conclusion (REVIEW_FIX / APPROVED)Violates I1 (Review Convergence) — stop + report to userA fix commit opens a new review, never a re-run of a closed one
Git commit errorreport + fail-openDo not block user spec review
Completed round with no next: line (not BLOCKED/TIMEOUT)HARD_ERROR — report the carried reason, re-run the same command to continueNo dispatchable next

Preguntas frecuentes

¿Qué hace la habilidad de IA Cdd Spec Writer?

Independent spec-writer -- Node-anchored flow with digraph as single control-flow source of truth. Consumes the /superpowers:brainstorming(pi:/skill:brainstorming) (writing-spec) design flow inline as this session's baseline, then authors the target spec (single-spec / phase-spec / overall — one parameterized flow), commits it before the review-fix loop, and runs the loop following the engine's next face — the engine's next directive carries the pipeline continuation. Callable standalone; invoke as kairos:cdd-spec-writer(pi:/skill:cdd-spec-writer).

¿Por qué usar Cdd Spec Writer en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Cdd Spec Writer 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 Cdd Spec Writer en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/Oscaner/skills/tree/main/packages/kairos/skills/cdd-spec-writer. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Cdd Spec Writer?

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 Cdd Spec Writer?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Cdd Spec Writer 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 Cdd Spec Writer?

Sí. Oscaner 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 el directorio

Crea ya tu propio espacio de trabajo con IA

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