agentleFS
AgentiveStackAgentiveStack/skills/spec/SKILL.md

spec

Skill72 starsChanged 7 months agoMITView on GitHub

Interview the user to produce a feature spec (PRD), grounded in the project's domain model, context map, and ubiquitous language. Outputs a structured spec document. Use when starting a new feature, enhancement, or significant change.

96 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use tickets, make-pdf and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • toveruxSkill

    tickets

    Break a spec, plan, or the current conversation into tracer-bullet tickets, each declaring its blocking edges.

    Also in 3 projects that use this

  • chloropineSkill

    make-pdf

    Turn any markdown file into a publication-quality PDF. Proper 1in margins, intelligent page breaks, page numbers, cover pages, running headers, curly quotes and em dashes, clickable TOC, diagonal DRAFT watermark. Not a draft artifact — a finished artifact. Use when asked to "make a PDF", "export to PDF", "turn this markdown into a PDF", or "generate a document". (cgstack) Voice triggers (speech-to-text aliases): "make this a pdf", "make it a pdf", "export to pdf", "turn this into a pdf", "turn this markdown into a pdf", "generate a pdf", "make a pdf from", "pdf this markdown".

    Also in 3 projects that use this

  • anombyte93Skill

    discover

    Phase 1 of the prd-taskmaster pipeline: brainstorm-driven discovery. Delegates to superpowers:brainstorming in Interactive Mode (one adaptive question at a time), or self-brainstorms in Autonomous Mode when no user is present. Intercepts before the brainstorming chain hands off to writing-plans — this skill owns the exit. Extracts constraints, calibrates scale (Solo / Team / Enterprise), and advances the pipeline to GENERATE.

    Also in 5 projects that use this

  • diego-tobalinaSkill

    build-fix

    Fix build and compilation errors systematically. Run when build fails.

    Also in 3 projects that use this

  • chloropineSkill

    context-restore

    Restore working context saved earlier by $context-save. Loads the most recent saved state (across all branches by default) so you can pick up where you left off — even across Conductor workspace handoffs. Use when asked to "resume", "restore context", "where was I", or "pick up where I left off". Pair with $context-save. Formerly /checkpoint resume — renamed because Codex treats /checkpoint as a native rewind alias in current environments. (cgstack)

    Also in 3 projects that use this

  • GoogleSkill

    metrics

    Expertise in analyzing time-series repository health metrics, investigating root causes, and proposing proactive workflow improvements.

    Also in 3 projects that use this

  • +1 more from chloropine

The file

We split this skill into the rules it gives an agent

11 rules. 0 are common, 8 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 79 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read existing domain documentation:

    line 16
  2. Distinctive:

    If the user hasn't provided enough context, interview briefly (3-5 questions max):

    line 25
  3. Distinctive:

    Don't over-interview. If the intent is clear from conversation context, skip to the next step.

    line 32
  4. Distinctive:

    Should it have tests? (Use pragmatic TDD: test core logic and boundaries, skip glue/UI)

    line 51
  5. Very specific:

    Write the spec using the template below.

    line 57
  6. Distinctive:

    If the feature spans multiple contexts, save to the primary context and note the cross-context impact.

    line 59
  7. Distinctive:

    Do NOT include file paths or code snippets — they go stale.

    line 95
  8. Distinctive:

    If the spec introduced new terms, refined existing ones, or made decisions that affect the domain model:

    line 116
  9. Very specific:

    Update docs/UBIQUITOUS_LANGUAGE.md with new terms

    line 118
  10. Very specific:

    Update relevant docs/contexts/<name>/CONTEXT.md with new invariants or contracts

    line 119
  11. Distinctive:

    Consider whether any decisions warrant an ADR (hard to reverse + surprising + real trade-off)

    line 120

“Common” is measured: kept by at least 6 in 10 of the 79 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Feature Spec

Produce a structured spec for a feature or change through a focused interview, grounded in the project's domain model.

Process

1. Discover project context

Read existing domain documentation:

  1. docs/CONTEXT_MAP.md — which contexts exist and how they relate
  2. docs/UBIQUITOUS_LANGUAGE.md — canonical terminology
  3. docs/contexts/*/CONTEXT.md — ownership, invariants, contracts for relevant contexts
  4. CLAUDE.md — project-level context

2. Understand the request

If the user hasn't provided enough context, interview briefly (3-5 questions max):

  • What problem does this solve? For whom?
  • What does success look like?
  • What's explicitly out of scope?
  • Are there constraints (timeline, tech, compatibility)?

Don't over-interview. If the intent is clear from conversation context, skip to the next step.

3. Explore the codebase

Explore the relevant areas to understand:

  • Current state of related features
  • Existing patterns and conventions
  • Which bounded contexts this feature touches
  • What interfaces already exist that this feature should use or extend

4. Identify modules and test boundaries

Sketch the major modules to build or modify. For each:

  • What bounded context does it belong to?
  • Is it a new concept or an extension of an existing one?
  • Does it cross context boundaries? (If so, what contracts are needed?)
  • Is there an opportunity for a deep module (small interface, significant implementation)?
  • Should it have tests? (Use pragmatic TDD: test core logic and boundaries, skip glue/UI)

Check with the user that these modules match their expectations and which should have tests.

5. Write the spec

Write the spec using the template below. Use domain language from UBIQUITOUS_LANGUAGE.md throughout. Save to docs/contexts/<primary-context>/specs/<slug>.md.

If the feature spans multiple contexts, save to the primary context and note the cross-context impact.

<spec-template>

[Feature Name]

Status: Draft Context(s): [Which bounded context(s) this touches] Date: [YYYY-MM-DD]

Problem

The problem from the user's perspective. What's broken, missing, or suboptimal?

Solution

The solution from the user's perspective. What will they be able to do after this ships?

User Stories

  1. As a [actor], I want [capability], so that [benefit]
  2. ...

Cover the full scope. Include edge cases and error scenarios.

Implementation Decisions

Decisions made during the spec process. Include:

  • Modules to build or modify (by domain concept, not file path)
  • Interface contracts between modules
  • Schema changes (Convex tables, ClickHouse tables)
  • API contracts (new endpoints, changed responses)
  • Cross-context contracts (what this feature needs from or exposes to other contexts)
  • Architectural decisions (with brief rationale)

Do NOT include file paths or code snippets — they go stale.

Testing Strategy

  • Which modules will have tests (pragmatic TDD: core logic + boundaries)
  • What makes a good test for this feature (behavioral, through public interfaces)
  • Prior art (similar tests that already exist in the codebase)
  • What to mock (only system boundaries: external APIs, databases)

Out of Scope

What this spec explicitly does NOT cover. Be specific.

Open Questions

Unresolved decisions that need answers before or during implementation.

</spec-template>

6. Domain model updates

If the spec introduced new terms, refined existing ones, or made decisions that affect the domain model:

  • Update docs/UBIQUITOUS_LANGUAGE.md with new terms
  • Update relevant docs/contexts/<name>/CONTEXT.md with new invariants or contracts
  • Consider whether any decisions warrant an ADR (hard to reverse + surprising + real trade-off)

Related skills

  • /domain — stress-test the spec against the domain model before implementation
  • /slice — break the spec into vertical slices for implementation
  • /tdd — implement each slice with tracer-bullet TDD

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.