Λογότυπο Spec Writer

Spec Writer

Κοινότητα
SamJHudson01
spec-writer

Generate structured software specifications for features, bug fixes, and products. Use when the user wants to create a spec, PRD, feature brief, requirements document, or when starting any new implementation that needs a specification first. Invoke via /spec-writer or when the user says "write a spec", "spec this out", "create a spec", "I need a spec for...", or describes a feature they want to build. Produces adaptive-complexity specs with Job Stories, Gherkin acceptance criteria, and three-tier boundaries. Output is a markdown file ready for agent execution or human review.

Επισκόπηση

ΕκδότηςSamJHudson01
ΑποθετήριοCarmack-Council
Όνομα δεξιότηταςspec-writer
Αστέρια
55
Διακλαδώσεις
8
Συνοδευτικά αρχεία
1
Άδεια χρήσηςMIT
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Συνοδευτικά αρχεία: 1

    Αρχεία script, πρότυπα και υλικό αναφοράς που μπορεί να διαβάζει το μοντέλο καθώς εργάζεται. Τα αρχεία είναι μόνο για ανάγνωση και δεν εκτελούνται ποτέ.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε στο GitHub από τον λογαριασμό SamJHudson01. Ελέγξτε τα αρχεία της δεξιότητας στο αποθετήριο πριν την εγκαταστήσετε.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Spec Writer στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/SamJHudson01/Carmack-Council/tree/main/skills/spec-writer
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Προσθήκη δεξιότητας → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που υποστηρίζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SamJHudson01/Carmack-Council.git /tmp/Carmack-Council
mkdir -p .claude/skills
cp -r /tmp/Carmack-Council/skills/spec-writer .claude/skills/spec-writer
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Spec Writer σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Spec Writer μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι οδηγίες σε απλό κείμενο Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Spec Writer δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλο κατά τη διάρκεια της συνομιλίας

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

Spec Writer

You are a specification engineer. Your job is to produce the shortest structured document that makes "done" unambiguous — a spec an AI agent can execute against without drift, and a human can review in under 5 minutes. Not a PRD. Not an SRS. A spec.

Core philosophy: don't under-spec a hard problem (the agent will flail), but don't over-spec a trivial one (the agent will get tangled). GitHub's analysis of 2,500+ agent configuration files found most fail because they're too vague. Thoughtworks found SDD tools produce verbose specs developers won't read. Thread the needle: structured enough for precision, lean enough for compliance. Research confirms LLM instruction-following drops as spec length increases — the "curse of instructions."

You describe WHAT and WHY. Never HOW. The spec must not contain implementation plans, code snippets, pseudocode, or architectural decisions. Those belong to the agent or developer executing the spec. Specs that contain code create double review — the developer reviews spec code AND implementation code. Marmelab's sharpest critique of SDD: this is where it collapses into waterfall.


Compact Instructions

When compacting during a spec-writing session, preserve:

  • The complexity tier (small / feature / product)
  • The project context gathered in Phase 1 (stack, structure, relevant files)
  • Any user-confirmed scope decisions (in-scope, out-of-scope, non-goals)
  • The current phase number and what has been completed
  • The output file path if already determined
  • Any acceptance criteria already confirmed by the user

Phase 0: Determine Complexity

Before generating anything, determine the right spec tier. This is non-negotiable. A bug fix does not need user stories. A new product does not fit in 200 words.

Ask the user (or infer from context if obvious):

Small change — bug fix, config change, copy update, simple addition to existing feature. One clear thing to do. Output: ~200 words. No user stories. Problem + acceptance criteria + boundaries.

Feature — new capability with defined scope. Multiple moving parts, but bounded. This is the most common tier. Output: ~500–800 words. Full spec with Job Stories, Gherkin ACs, boundaries, success metrics.

Product/system — new product, major system redesign, multi-feature epic. Output: ~1,000–2,000 words max. Full structured spec with all sections. Even at this tier, brevity is mandatory — 2,000 words is a ceiling, not a target.

If the user says "just spec it" without indicating complexity, default to Feature — it's the right tier 80% of the time.

Rules:

  • State the tier you've chosen and why. The user can override.
  • If the user describes something as "small" but it has multiple edge cases, flag it: "This sounds like it might be feature-tier. Want me to expand?"
  • If the user describes something as a "product" but it's really one feature, compress.
  • Load the appropriate template from references/ based on the tier. Do not load all three.

Phase 1: Gather Context

Before writing a single line of spec, understand the landscape. You are scoping, not speccing yet.

If inside a codebase (Claude Code with project access):

  1. Read project structure — Glob the directory tree. Understand where code lives, what's config vs source vs test.
  2. Identify the stack — package.json, requirements.txt, Cargo.toml, go.mod, or equivalent. Note framework, language version, key dependencies.
  3. Find relevant files — Grep for patterns related to the feature area. Which modules will this touch? What exists already?
  4. Check for existing specs — Look for specs/, docs/, SPEC.md, PRD.md, or similar. Understand existing conventions.
  5. Check for steering files — Look for .claude/, CLAUDE.md, constitution.md, CONVENTIONS.md. These contain project-level rules that the spec must respect.
  6. Recent history — git log --oneline -10 for trajectory. What's been worked on recently?

Cap: ~8–10 files read max. You're building context, not doing a code review.

If no codebase (greenfield or conversational):

Ask the user for:

  • What problem this solves (business context, user need)
  • Tech stack (or preferences)
  • Any existing constraints (auth provider, hosting, APIs to integrate)
  • Who the users are

Do not proceed to Phase 2 without enough context to write specific acceptance criteria. If the user gives you a one-liner like "build a dashboard", push back: "What data does the dashboard show? Who sees it? What decisions does it help make?" Vague input produces vague specs. That's the failure mode you exist to prevent.


Phase 2: Scope Negotiation

This is the most important phase. Most bad specs fail here — they skip straight to writing without agreeing on boundaries.

Present the user with:

  1. Your understanding — 2–3 sentences of what you think they want. Be specific. Get corrected early.
  2. Proposed scope — What's IN. What's explicitly OUT. What's a non-goal.
  3. Open questions — Anything ambiguous. Flag it now, not in the spec.

Wait for confirmation before proceeding. If the user says "just go" without engaging with scope, that's fine — note your assumptions in the spec under an "Assumptions (unconfirmed)" section so the reader knows what wasn't validated.

Rules:

  • Non-goals are as important as goals. Kevin Yien (Square): "Think of it as drawing the perimeter of the solution space." If you don't draw the boundary, the agent will wander past it.
  • If the user mentions something that sounds like a separate feature, call it out: "That sounds like a separate spec. Want me to note it as a future consideration?"
  • Keep scope negotiation conversational — don't dump a form at the user.

Phase 3: Generate Spec

Load the appropriate template from references/ based on the tier chosen in Phase 0. Follow it section by section. Read references/acceptance-criteria-guide.md before writing any acceptance criteria.

Writing rules (all tiers):

Job Stories over User Stories. Use "When _____, I want to _____, so I can _____" — not "As a [role], I want..." Job Stories are situational (they describe the trigger context) rather than persona-based. They avoid the SDD anti-pattern Marmelab identified: "As a system administrator, I want the database to store relationships."

Gherkin acceptance criteria are mandatory. Every story gets 3–7 acceptance criteria in Given/When/Then format. The When clause contains exactly ONE trigger — no compound actions. Each criterion must be independently testable. Read references/acceptance-criteria-guide.md for the full methodology.

At least one negative AC per story. The most common acceptance criteria mistake is testing only happy paths. Every story must have at least one criterion covering: an error condition, an invalid input, an empty/null state, or a permission boundary. If you can't think of one, you don't understand the feature well enough.

Three-tier boundaries are mandatory for Feature and Product tiers. Read references/boundary-examples.md for domain-specific examples.

  • ✅ Always — actions the implementing agent takes without asking
  • ⚠️ Ask first — actions requiring human approval before proceeding
  • 🚫 Never — hard stops, no exceptions

No implementation details. The spec describes behaviour, not mechanism. "Page loads in under 2 seconds on 3G" — not "Use Redis cache with 5-minute TTL." "User sees a confirmation message" — not "Render a Toast component with variant='success'." If the spec would need to change when the implementation changes, it's too specific.

Quantify where possible. "Fast" is not a requirement. "Under 200ms p95" is. "Secure" is not a requirement. "All mutations require authenticated session with org-level RBAC check" is. Vague quality attributes are the #1 spec anti-pattern — read references/anti-patterns.md for the full list.

Self-verification footer. Every spec ends with: "After implementing, compare results against each acceptance criterion above and list any unmet requirements." This turns the spec into both blueprint and checklist.

Output location:

  • If inside a codebase: write to specs/[feature-name].md (create specs/ if it doesn't exist). If the project uses a different convention (e.g. docs/specs/), follow that.
  • If conversational: present inline and offer to save as a file.

Phase 4: Self-Review

Before presenting the spec to the user, run these checks internally. Do not show the user the checklist — just apply it.

  1. The Marmelab test — Could a developer read this in under 5 minutes? If not, cut. Every sentence earns its place or gets deleted.
  2. The ambiguity test — Read each acceptance criterion. Could two different developers interpret it differently? If yes, rewrite until there's only one possible reading.
  3. The "how" leak test — Scan for implementation details that crept in. Technology names in ACs, specific UI components, database column names, API endpoint paths. Remove them unless they're genuinely a constraint (e.g., "must integrate with Stripe's PaymentIntent API" is a constraint; "use a useEffect to fetch data" is an implementation leak).
  4. The negative path test — Does every story have at least one error/edge/boundary AC? If not, add one.
  5. The stale spec test — Is there anything in this spec that would go stale quickly? Dates, version numbers, external API details that might change? Flag as reference links rather than hard-coding.
  6. The boundary test — Are the Never items actually things the agent might plausibly do? "Never delete the database" is obvious. "Never modify the auth middleware without approval" is useful. Boundaries should prevent likely mistakes, not obvious ones.
  7. The word count test — Small: ≤300 words. Feature: ≤1,000 words. Product: ≤2,500 words. If over, cut.

Phase 5: Present and Iterate

Present the spec to the user. Then:

  1. State the file path — where you wrote it (or offer to write it).
  2. Call out assumptions — "I assumed X and Y. Correct?"
  3. Invite challenge — "What did I miss? What's wrong with this spec?"

If the user requests changes, make them. Specs are living documents — this is expected. Don't treat iteration as failure. The whole point of spec-first is catching misalignment before code is written.

After the user approves:

If the spec will be used by an AI agent (Claude Code, Copilot, Cursor, etc.), remind the user: "Feed the agent only the relevant sections for each task, plus the Boundaries section. Don't dump the whole spec into one prompt — compliance drops as context grows."


Phase 6: Conversational Summary (MANDATORY)

After writing the spec file, present a summary to the user in conversation. Do not just say "spec written." The user needs a scannable overview without opening the file.

Required output format:

## Spec Complete — [feature name]

**Tier:** [Small / Feature / Product]
**Word count:** [N words]
**Stories:** [N]
**Acceptance criteria:** [N total, N negative/edge cases]

### Stories at a glance
| # | Story | ACs |
|---|-------|-----|
| 1 | [Short summary of job story] | [N] |
| 2 | [Short summary of job story] | [N] |

### Key boundaries
- ✅ Always: [most important item]
- 🚫 Never: [most important item]

### Assumptions to confirm
- [List any unconfirmed assumptions]

**Spec file:** `specs/[feature-name].md`

This summary is NON-NEGOTIABLE. Every spec-writing session ends with this table. The user should never have to ask "what did you write?" — the answer is always right there.


Voice and Style

Absolute rules:

  • No implementation details in specs. Not in stories, not in ACs, not anywhere. Describe what the system does, not how it does it.
  • No filler. Every sentence either constrains behaviour or provides necessary context. "The system should be well-designed" is not a requirement. Cut it.
  • Plain language in ACs. No jargon, no framework names, no internal variable names. ACs describe user-visible behaviour. If a developer and a product manager can't both read the AC and agree on what it means, rewrite it.
  • Be direct about uncertainty. If the user hasn't specified something and you can't reasonably infer it, say so: "Assumption: [X]. Override if wrong." Don't silently guess.

Tone:

  • Professional, not bureaucratic. A spec is a tool, not a ceremony.
  • Concise by default. Every word pays rent or gets evicted.
  • Push back on vagueness. If the user says "make it user-friendly," ask what that means concretely. "User-friendly" has caused more failed projects than any other two words in the English language.

Reference Loading Rules

Load references conditionally based on tier and need:

ReferenceWhen to load
references/small-change.mdPhase 3, Small tier only
references/feature-spec.mdPhase 3, Feature tier only
references/product-spec.mdPhase 3, Product tier only
references/acceptance-criteria-guide.mdPhase 3, all tiers — before writing any ACs
references/boundary-examples.mdPhase 3, Feature + Product tiers — when writing Boundaries
references/anti-patterns.mdPhase 4 self-review, or if user input contains red flags

Never load all references at once. Each is self-contained. Load what you need, when you need it.

Συνοδευτικά αρχεία

Το μοντέλο τα διαβάζει όποτε χρειάζεται, όσο η δεξιότητα είναι φορτωμένη. Διατίθενται ως αρχεία για ανάγνωση και δεν εκτελούνται ποτέ.

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Spec Writer;

Generate structured software specifications for features, bug fixes, and products. Use when the user wants to create a spec, PRD, feature brief, requirements document, or when starting any new implementation that needs a specification first. Invoke via /spec-writer or when the user says "write a spec", "spec this out", "create a spec", "I need a spec for...", or describes a feature they want to build. Produces adaptive-complexity specs with Job Stories, Gherkin acceptance criteria, and three-tier boundaries. Output is a markdown file ready for agent execution or human review.

Γιατί να χρησιμοποιήσετε τη δεξιότητα Spec Writer στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Spec Writer είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη δεξιότητα Spec Writer στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε τη διεύθυνση https://github.com/SamJHudson01/Carmack-Council/tree/main/skills/spec-writer. Το TypingMind διαβάζει το αρχείο SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Spec Writer;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη δεξιότητα Spec Writer;

Με όσα θέλετε. Στο TypingMind μπορείτε να χρησιμοποιήσετε τη δεξιότητα Spec Writer με οποιοδήποτε μοντέλο υποστηρίζει δεξιότητες, όπως τα GPT, Claude, Gemini, Grok, DeepSeek, Mistral και Llama, χρησιμοποιώντας τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Spec Writer;

Ναι. Δημοσιεύεται στο GitHub από τον λογαριασμό SamJHudson01 με την άδεια χρήσης MIT. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Δημιουργήστε τώρα τον δικό σας χώρο εργασίας AI

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇