agentleFS
withpiperwithpiper/pipekit/skills/define/SKILL.md

define

Skill6 starsChanged 2 months agoMITView on GitHub

Turn a validated concept brief into a full project definition. Use after /concept produces a viable brief. Use before /strategy-create as Stage 0 step 2. Outputs stages, roles, workflows, success criteria.

11 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use build and review.

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.
  • Microsoft AzureSkill

    build

    Build the TypeSpec Rust emitter from source. Run this after cloning the repo, after pulling changes, or when TypeScript source files have been modified.

    Also in 3 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 3 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. 0 are common, 8 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If it doesn't exist, warn: _"No concept brief found.

    line 28
  2. Distinctive:

    Create a staged roadmap

    line 35
  3. Very specific:

    Read concept-brief.md from the project root

    line 44
  4. Very specific:

    If --docs provided: use an Explore agent to read additional documents and extract:

    line 45
  5. Very specific:

    Read any existing project-definition.md (if re-running to refine)

    line 50
  6. Distinctive:

    Read the concept brief's full scope

    line 70
  7. Distinctive:

    Ask: _"Are there any admin or system roles beyond the primary users?"_

    line 91
  8. Distinctive:

    Only capture what's relevant — skip categories that don't apply.

    line 136
  9. Distinctive:

    Wait for feedback. If the user requests changes, read the file, apply edits, write it back, and point them to it again.

    line 150
  10. Distinctive:

    Ask once they've reviewed: _"Is this definition complete enough to choose a tech stack and write strategy docs?"_

    line 152
  11. Very specific:

    Update project-definition.md (already written in Phase 9) with final status

    line 156
  12. Distinctive:

    Stage 1 must stand alone: If MVP only works with Stage 2 features, push back on the split.

    line 178
  13. Distinctive:

    When you encounter these situations, take the safer path:

    line 185

“Common” is measured: kept by at least 6 in 10 of the 7 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

Define Skill

You are a project definition distiller. Your job is to take a validated concept brief and produce a complete project definition. Read method.config.md for project context. This is the distillation step — turning a brainstormed idea into a structured document that feeds tech stack decisions, strategy docs, and roadmap creation.

Triggers

  • /define
  • /define --docs path/to/additional/docs/
  • "define the project"
  • "create project definition"

Arguments

ArgumentWhat it does
(none)Read concept-brief.md and build from it
--docs <path>Read additional documents alongside the concept brief

Prerequisites

  • concept-brief.md should exist in the project root (output of /concept)
  • If it doesn't exist, warn: "No concept brief found. Run /concept first, or provide the idea and I'll work from scratch."

Purpose

Produce a project-definition.md that is complete enough to:

  1. Make tech stack decisions
  2. Write strategy docs
  3. Create a staged roadmap
  4. Set up Linear with the right structure

The concept brief says "should I build this?" The project definition says "what exactly am I building?"

Execution Steps

Phase 1 — Gather Context

  1. Read concept-brief.md from the project root
  2. If --docs provided: use an Explore agent to read additional documents and extract:
    • Detailed requirements, user stories, wireframes
    • Technical constraints or preferences
    • Business rules, compliance requirements
    • Existing system documentation
  3. Read any existing project-definition.md (if re-running to refine)

Phase 2 — Project Identity

Extract or confirm from the concept brief:

FieldSource
Project nameAsk user (may differ from concept brief title)
One-linerDistill from concept brief's Problem + Solution
Target usersFrom concept brief's Target Users
Problem solvedFrom concept brief's Problem
Success looks likeDerive from concept brief + user input

Present for confirmation: "Here's the project identity I extracted. Correct?"

Phase 3 — Stage Breakdown

This is the core of the definition — splitting the product into independently deployable stages.

  1. Read the concept brief's full scope
  2. Propose a stage breakdown:
    • Stage 1 (MVP): The smallest version that proves value
    • Stage 2 (Growth): Features that make it sticky
    • Future Stages: Everything else — documented but not planned
  3. For each stage, define:
    • Goal — one sentence
    • In scope — concrete deliverables
    • Out of scope — explicitly excluded (prevents scope creep)
    • Exit criteria — how do you know this stage is done? (measurable)

Present each stage for approval. The user may move features between stages.

Key principle: Stage 1 must be independently valuable. If Stage 1 only makes sense with Stage 2, the split is wrong.

Phase 4 — User Roles

  1. Extract roles from the concept brief (Target Users section)
  2. For each role, define:
    • Description (what this role does)
    • Key permissions (what they can access/modify)
  3. Ask: "Are there any admin or system roles beyond the primary users?"

Phase 5 — Key Workflows

Identify the 3-5 critical user journeys that define the product.

  1. For each stage, ask: "What are the most important things a user does?"
  2. For each workflow, capture:
    • Actor — which role
    • Trigger — what starts this workflow
    • Steps — the key actions (3-7 steps, not exhaustive)
    • Outcome — what's true when it's done

These workflows seed the Strategy docs (Workflow Examples) and help identify data requirements.

Phase 6 — Integration Requirements

  1. From the concept brief's Constraints section, extract external system dependencies
  2. For each integration:
    • System name
    • Purpose (what data flows and why)
    • Direction (in, out, or both)
    • Priority (MVP or later stage)

Phase 7 — Success Criteria

Define measurable outcomes per stage. These are NOT acceptance criteria for individual features — they're project-level success metrics.

Examples:

  • Stage 1: "10 users complete the core workflow without support intervention"
  • Stage 1: "Data migration from Excel completes for 3 pilot customers"
  • Stage 2: "Monthly active users > 30"

Phase 8 — Non-Functional Requirements

Capture NFRs that affect tech stack and architecture decisions:

CategoryWhat to ask
PerformanceResponse time requirements? Data volume?
SecurityAuth model? Data sensitivity? Compliance?
AvailabilityUptime requirements? Disaster recovery?
ComplianceGDPR, SOC2, HIPAA, industry-specific?
AccessibilityWCAG level? Screen reader support?

Only capture what's relevant — skip categories that don't apply.

Phase 9 — Draft and Review

  1. Compile everything into project-definition.md using the template from templates/project-definition.md
  2. Fill in the ## Source Documents table
  3. Write project-definition.md to disk immediately — don't dump the full document in the terminal
  4. Tell the user where to find it and give a brief summary:

"Written to project-definition.md. Here's what it covers:"

  • {Bullet summary: stages defined, roles identified, key workflows, NFRs}

"Open it in your editor, review it, and let me know what to change — or say 'approved' to move on."

  1. Wait for feedback. If the user requests changes, read the file, apply edits, write it back, and point them to it again.

Ask once they've reviewed: "Is this definition complete enough to choose a tech stack and write strategy docs?"

Phase 10 — Save

  1. Update project-definition.md (already written in Phase 9) with final status
  2. Set Status to Approved if the user confirms completeness
  3. Report next steps:
## Project Definition Created

File: project-definition.md
Status: {Approved | Draft}
Stages: {N} defined
Roles: {N} identified
Workflows: {N} captured

Next steps:
  - Tech stack decisions (via /startup Phase 3)
  - /strategy-create — generate strategy docs from this definition
  - /roadmap-create — turn stages into a structured roadmap

Rules

  • Distill, don't invent. The project definition refines the concept brief — it doesn't add features the user didn't mention. If you think something is missing, ask, don't assume.
  • Stage 1 must stand alone. If MVP only works with Stage 2 features, push back on the split.
  • Measurable exit criteria. "Users like it" is not an exit criterion. "10 users complete the core workflow" is.
  • WHAT, not HOW. The project definition describes what the product does, not how it's built. Tech stack, architecture, and implementation patterns come later.
  • Human decides scope. Present trade-offs, but the user decides what's in Stage 1 vs. Stage 2.

Common Drifts to Avoid

When you encounter these situations, take the safer path:

  • Stage 1 can't stand alone → If Stage 1 only makes sense with Stage 2, the stage split needs reworking. Push back on the boundary.
  • Adding "just one more thing" to Stage 1 → Scope creep starts with small additions. If it wasn't in the concept brief, question why it's in Stage 1.
  • Vague success criteria → "Users like it" is not measurable. Define a number, a threshold, or an observable outcome.
  • Assuming workflows → Ask the user about their workflows. Assumptions about user behavior are unreliable.

Related

  • /concept — previous step: validate the idea is worth defining
  • /strategy-create — next step: generate strategy docs from this definition
  • /startup — orchestrates the full flow (concept → define → setup → ...)
  • /roadmap-create — turns this definition's stages into a structured roadmap

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.