Logo di Spec Update

Spec Update

Community
v0lka
spec-update

Update existing specification documents after code changes that alter documented behavior, interfaces, or invariants. Use after implementation when you have changed behavior covered by a spec, added/removed/renamed interfaces in a contract, modified architectural boundaries, or changed configuration. Ensures format preservation, cross-reference integrity, and INDEX.md currency.

Panoramica

Autorev0lka
Repositoryskills
Nome della skillspec-update
Stelle
28
Fork
1
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da v0lka su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Spec Update in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/v0lka/skills/tree/main/development/sdd/spec-update
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'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-update .claude/skills/spec-update
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Spec Update in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Spec Update non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Spec Update non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Spec Update

Update existing specification documents to reflect code changes. Specs are the source of truth about intended behavior — when code changes, affected specs must be updated to stay aligned.


When to Invoke

Update specs after any change that:

  • Alters behavior documented in a domain spec
  • Adds, removes, or renames interfaces that appear in a contract
  • Changes architectural boundaries or invariants
  • Modifies configuration parameters documented in a spec
  • Adds or removes files referenced in a spec's "Key Files" section
  • Changes event payloads, types, or protocols documented in a contract

Do NOT update specs for:

  • Internal refactoring that preserves documented behavior
  • Bug fixes that bring code INTO alignment with the spec (the spec was already correct)
  • Changes to code not covered by any spec

Procedure

Step 1 — Identify affected specs

Determine which specs need updating based on what you changed:

What you changedUpdate
Component behaviorDomain detail file for that component
New component in existing domainDomain README (catalog/table) + new detail file (use spec-create)
Interface signaturesContract spec for that boundary
Initialization/wiringContract spec "Initialization" section
Configuration parametersDomain README "Configuration" section
Error handling strategyDomain detail "Error Handling" + contract "Error Propagation"
Architectural rulesArchitecture spec + potentially affected contracts
File paths (rename/move)All specs referencing those paths in "Key Files"

Step 2 — Read the current spec FULLY

Read the entire spec before making any modifications. This is critical because:

  • You need to understand the existing structure to preserve it
  • There may be invariants you're about to violate
  • Cross-references may need updating
  • The document format has a required section order

Step 3 — Make targeted updates

Rules for updating:

  1. Preserve the document format — sections and their order are defined in META.md. Never reorder, remove, or rename sections.
  2. Update, don't append — modify existing content in place. Don't add "Updated:" prefixes or changelog entries within the spec.
  3. Maintain voice — specs use declarative, factual statements. No hedging ("should", "might"), no changelog language ("was changed to").
  4. Keep invariants affirmative — "X always does Y", not "X never does Z".
  5. Update cross-references — if file paths changed, update all references across all affected specs.
  6. Preserve information density — no filler prose. Every sentence carries information.

Step 4 — Handle ADR immutability

Status: Accepted locks an ADR only once its current content is committed to the repository. Establish which case applies before touching an accepted ADR — git: git status --porcelain -- specs/decisions/NNN-slug.md; empty output = committed (outside a git repository, treat the ADR as committed):

  • Uncommitted (untracked, or content differs from the last commit) — the ADR is still a draft: edit it freely in place — reword, correct, or even reverse the decision; no superseding ADR is needed. The commit is what locks it
  • Committed — do NOT edit it. If your change contradicts the decision:
    • Create a new ADR that supersedes it (use spec-create skill)
    • Update only the ## Status line of the old ADR to: Superseded by [NNN](./NNN-slug.md)
    • This is the ONLY permitted edit to a committed accepted ADR

If you have no way to run git, establish the commit state from the task context or ask the user — never guess about a committed accepted ADR.

Step 5 — Update INDEX.md (if applicable)

Update specs/INDEX.md if:

  • You added or removed a spec file
  • You renamed a spec file
  • The "task → spec" mapping table needs a new entry for discoverability

Step 6 — Update cross-references in other specs

If your changes affect content referenced by other specs:

  • Search for references to the updated file across all specs
  • Verify section anchors still resolve (lowercase, hyphen-separated)
  • Update any broken links

Step 7 — Validate (embedded checklist)

Before declaring the update complete, verify:

  • All sections from the template are still present and in correct order
  • No sections were accidentally removed or reordered
  • Cross-references point to existing files and valid section anchors
  • Paths in "Key Files" are accurate (verify the files exist)
  • Invariants are stated affirmatively
  • INDEX.md reflects the current file set (if files were added/removed)
  • ADR immutability was respected (committed accepted ADRs touched only via superseding; uncommitted drafts edited in place)
  • No filler prose was introduced
  • ASCII diagrams are consistent with updated behavior
  • Tables/catalogs include any new entries

Common Mistakes to Avoid

MistakeWhy it's badWhat to do
Silently skipping spec updateSpecs drift, next agent gets wrong contextAlways check if specs are affected
Rewriting the entire specLoses carefully worded invariantsMake minimal, targeted edits
Adding changelog entriesClutters the spec, wastes context windowUpdate in-place, git history tracks changes
Editing a committed accepted ADRLoses decision historyCreate new ADR with Superseded by (uncommitted accepted ADRs are drafts — edit in place)
Updating spec before code is doneRisk of spec-code mismatch if implementation changesUpdate spec AFTER implementation is complete
Skipping cross-reference checkBroken links make specs unreachableSearch for references to modified content
Stating invariants negativelyHarder to verify complianceAlways use affirmative phrasing

Multiple Specs Affected

When a single code change affects multiple specs (e.g., adding a new interface touches both a domain spec and a contract), update them in this order:

  1. Contract specs (boundary definitions)
  2. Domain detail specs (component behavior)
  3. Domain READMEs (catalogs, extension points)
  4. Architecture specs (system-level rules)
  5. INDEX.md (navigation)

This order ensures that references from higher-level docs to lower-level docs are valid at each step.

Domande frequenti

Cosa fa la skill IA Spec Update?

Update existing specification documents after code changes that alter documented behavior, interfaces, or invariants. Use after implementation when you have changed behavior covered by a spec, added/removed/renamed interfaces in a contract, modified architectural boundaries, or changed configuration. Ensures format preservation, cross-reference integrity, and INDEX.md currency.

Perché usare Spec Update su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Spec Update è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Spec Update in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/v0lka/skills/tree/main/development/sdd/spec-update. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Spec Update?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Spec Update?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Spec Update: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Spec Update è gratuita?

Sì. È pubblicata su GitHub da v0lka con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇