Back to Skills

spec-update-skill

Eibon7
Updated Yesterday
28 views
0
View on GitHub
Metageneral

About

This skill automatically updates and formats the spec.md file after features, PR merges, or issue closures. It identifies modified sections, updates documentation, normalizes Markdown formatting, and manages the table of contents. The skill also validates coherence with existing GDD nodes and outputs updated specs with a standardized changelog entry.

Quick Install

Claude Code

Recommended
Plugin CommandRecommended
/plugin add https://github.com/Eibon7/roastr-ai
Git CloneAlternative
git clone https://github.com/Eibon7/roastr-ai.git ~/.claude/skills/spec-update-skill

Copy and paste this command in Claude Code to install this skill

Documentation


name: spec-update-skill description: Actualiza y formatea spec.md tras cada feature, PR o cierre de issue. triggers:

  • "spec"

  • "update"

  • "merge"

  • "feature"

  • "close issue" used_by:

  • orchestrator

  • documentation-agent

  • all-agents steps:

  • paso1: "Leer spec.md actual para entender estructura y secciones"

  • paso2: "Identificar qué secciones fueron modificadas en el código"

  • paso3: "Actualizar secciones relevantes con cambios implementados"

  • paso4: "Normalizar formato Markdown (headings, lists, code blocks)"

  • paso5: "Actualizar TOC (Table of Contents) si existe"

  • paso6: "Añadir entrada de changelog con formato estándar"

  • paso7: "Validar coherencia con nodos GDD en docs/nodes/"

  • paso8: "Verificar que no hay conflictos con documentación existente"

  • paso9: "Validar sintaxis Markdown (headings anidados, links, etc)" output: |

  • spec.md actualizado con cambios

  • Changelog entry: docs/changelog/issue-{id}.md

  • Validación de coherencia con nodos GDD secciones_especiales:

  • "Agentes Relevantes": "Actualizar al invocar agentes"

  • "Node-Agent Matrix": "Sincronizar tabla global"

  • "Coverage": "Verificar Source: auto"

  • "Architecture": "Actualizar diagramas y flujos" formato_changelog:

  • template: |

    Issue #{id}: {título}

    Fecha: {fecha} Tipo: {Feature|Bug|Test|Docs|Refactor} Prioridad: {P0|P1|P2}

    Cambios

    • {descripción del cambio}

    Archivos Modificados

    • {lista de archivos}

    Tests

    • {cobertura de tests}

    Nodos GDD Afectados

    • {nodos actualizados}

    Agentes Involucrados

    • {agentes que trabajaron} estructura_spec:
  • "Sección 1: Overview"

  • "Sección 2: Architecture"

  • "Sección 3: Features"

  • "Sección 4: Testing"

  • "Sección 5: Deployment"

  • "Sección 6: Agentes Relevantes"

  • "Sección 7: Node-Agent Matrix"

  • "Sección 8: Changelog" reglas_formato:

  • "Headings deben seguir jerarquía (## para secciones, ### para subsecciones)"

  • "Listas usar - para bullets, números para ordered"

  • "Code blocks con lenguaje especificado (```language)"

  • "Links usar formato texto"

  • "Tablas con pipes | para separar columnas"

  • "No dejar líneas vacías innecesarias" validacion:

  • "¿Coherente con nodos GDD?"

  • "¿Changelog completo?"

  • "¿TOC actualizado?"

  • "¿Sin conflictos con docs existentes?"

  • "¿Headings bien formateados?"

  • "¿Links válidos?" ejemplos:

  • contexto: "Issue #500: Se añadió feature de User Profile" cambios_spec: |

    Features

    • User Profile con avatar, stats y actividad (Issue #500)

    Architecture

    • Nuevo endpoint: GET /api/user/profile
    • Nuevo componente: UserProfile.jsx
  • contexto: "Issue #600: Fix de seguridad en auth" cambios_spec: |

    Security

    • Validación mejorada de tokens JWT
    • Rate limiting añadido a endpoints de login

    Tests

    • Cobertura aumentada: 95% en auth flows coherencia_gdd:
  • validar: "¿Los nodos en docs/nodes/ coinciden con spec.md?"

  • validar: "¿Coverage source es auto?"

  • validar: "¿Agentes Relevantes están actualizados?"

  • accion: "Si hay inconsistencia → actualizar nodos primero, luego spec.md" referencias:

  • "spec.md - Archivo principal"

  • "docs/nodes/ - Nodos GDD"

  • "docs/changelog/ - Historial"

  • "CLAUDE.md - Documentación general"

GitHub Repository

Eibon7/roastr-ai
Path: .claude/skills/spec-update-skill.md

Related Skills

subagent-driven-development

Development

This skill executes implementation plans by dispatching a fresh subagent for each independent task, with code review between tasks. It enables fast iteration while maintaining quality gates through this review process. Use it when working on mostly independent tasks within the same session to ensure continuous progress with built-in quality checks.

View skill

algorithmic-art

Meta

This Claude Skill creates original algorithmic art using p5.js with seeded randomness and interactive parameters. It generates .md files for algorithmic philosophies, plus .html and .js files for interactive generative art implementations. Use it when developers need to create flow fields, particle systems, or other computational art while avoiding copyright issues.

View skill

executing-plans

Design

Use the executing-plans skill when you have a complete implementation plan to execute in controlled batches with review checkpoints. It loads and critically reviews the plan, then executes tasks in small batches (default 3 tasks) while reporting progress between each batch for architect review. This ensures systematic implementation with built-in quality control checkpoints.

View skill

cost-optimization

Other

This Claude Skill helps developers optimize cloud costs through resource rightsizing, tagging strategies, and spending analysis. It provides a framework for reducing cloud expenses and implementing cost governance across AWS, Azure, and GCP. Use it when you need to analyze infrastructure costs, right-size resources, or meet budget constraints.

View skill