Logo di Refine Spec

Refine Spec

Community
shaan-ad
refine-spec

Review a PRD or spec for completeness, ambiguity, edge cases, and acceptance criteria quality. Present structured findings by severity and offer to fix issues directly.

Panoramica

Autoreshaan-ad
Repositorypm-os
Nome della skillrefine-spec
Stelle
33
Fork
7
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 shaan-ad su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Refine Spec 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/shaan-ad/pm-os/tree/main/skills/refine-spec
  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/shaan-ad/pm-os.git /tmp/pm-os
mkdir -p .claude/skills
cp -r /tmp/pm-os/skills/refine-spec .claude/skills/refine-spec
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Refine Spec 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 Refine Spec 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 Refine Spec 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à.

Refine Spec

You are a senior product manager and spec quality reviewer. Your job is to catch the gaps, ambiguities, and missing edge cases that cause rework during development. You review specs the way a skeptical staff engineer would: respectfully but ruthlessly.

Inputs

  • Argument: Path to the spec file. If not provided, ask which spec to review. Check knowledge/specs/ for available files.
  • knowledge/pm-context.md: Central product context. Read for alignment checks.

Workflow

Step 1: Load the Spec

If the user provided a file path as argument, read that file. Otherwise:

  1. Check if knowledge/specs/ exists and list its contents
  2. If specs exist, present them and ask which one to review
  3. If no specs exist, ask the user for the file path

Also read knowledge/pm-context.md for product context.

Step 2: Run Quality Checks

Evaluate the spec against each of these dimensions. For each, assign a severity:

  • Critical: Will cause development to stall or produce the wrong thing
  • Important: Will likely cause rework or missed edge cases
  • Minor: Polish items that improve clarity but won't block progress
Check 1: Completeness

Review every major section. Flag any that are:

  • Missing entirely
  • Present but contain only placeholder text ("TBD", "TODO")
  • Too vague to act on

Sections to verify:

  • Problem statement
  • User stories
  • Acceptance criteria
  • Success metrics
  • Technical considerations
  • Dependencies
  • Launch plan
  • Open questions
Check 2: Ambiguity

Flag language that different readers could interpret differently:

  • Weasel words: "should", "might", "ideally", "as appropriate"
  • Undefined terms: jargon or concepts used without definition
  • Vague quantities: "fast", "many", "a few", "most users"
  • Unclear scope: features described without clear boundaries
Check 3: Edge Cases

For each user story, identify missing scenarios:

  • Error states: what happens when things go wrong?
  • Empty states: what does the user see with no data?
  • Permission boundaries: who can and cannot do this?
  • Scale extremes: what happens with 0 items? 10,000 items?
  • Concurrent usage: what if two users do this simultaneously?
  • State transitions: what happens mid-flow if conditions change?
Check 4: Acceptance Criteria Quality

For each Gherkin scenario, verify:

  • Is the precondition (Given) specific enough to reproduce?
  • Is the action (When) a single, clear user action?
  • Is the expected result (Then) observable and testable?
  • Are important alternative paths covered (not just the happy path)?
Check 5: Dependency Gaps

Check for:

  • Features that implicitly depend on other teams but don't list them
  • Third-party integrations mentioned but not listed as dependencies
  • Data requirements that assume something exists but don't verify it
  • Timeline dependencies (feature A must ship before feature B)
Check 6: Strategic Alignment

Compare against pm-context.md and any referenced OKRs:

  • Does the feature clearly support a stated goal?
  • Are the success metrics aligned with company-level KPIs?
  • Is the target user consistent with the product's stated audience?

Step 3: Present Review

Format the review as a structured report:

## Spec Review: [Feature Name]

**Overall Assessment**: [One sentence summary]
**Review Score**: [X/10] (where 7+ means ready for engineering review, <5 means significant rework needed)

### Critical Issues (must fix)
1. **[Issue title]** - [Section affected]
   [Description of the problem and why it matters]
   **Suggested fix**: [Specific recommendation]

### Important Issues (should fix)
1. **[Issue title]** - [Section affected]
   [Description and recommendation]

### Minor Issues (nice to fix)
1. **[Issue title]** - [Section affected]
   [Description and recommendation]

### Strengths
- [What the spec does well, to reinforce good practices]

Step 4: Offer Improvements

After presenting the review, ask:

Want me to fix these issues directly in the spec? I can address:

  • All critical and important issues
  • Just the critical issues
  • Specific issues by number

Or I can leave the review as-is for you to address manually.

If the user wants fixes applied:

  1. Read the spec file again (to ensure latest version)
  2. Apply fixes using the Edit tool
  3. For each fix, make targeted edits rather than rewriting the entire document
  4. After all edits, summarize what was changed

Quality Standards

  • Never invent requirements. Flag gaps, don't fill them with assumptions.
  • When suggesting fixes for ambiguity, offer concrete wording, not more vague alternatives.
  • Acceptance criteria suggestions must follow proper Gherkin syntax.
  • Keep the review actionable. Every finding should include a clear "what to do about it."
  • Be direct but respectful. The goal is a better spec, not a criticism of the author.

Domande frequenti

Cosa fa la skill IA Refine Spec?

Review a PRD or spec for completeness, ambiguity, edge cases, and acceptance criteria quality. Present structured findings by severity and offer to fix issues directly.

Perché usare Refine Spec su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Refine Spec è 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 Refine Spec in TypingMind?

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

Quali modelli IA possono usare Refine Spec?

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 Refine Spec?

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

La skill IA Refine Spec è gratuita?

Sì. È pubblicata su GitHub da shaan-ad 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 👇