agentleFS
withpiperwithpiper/pipekit/skills/strategy-create/SKILL.md

strategy-create

Skill6 starsChanged 2 months agoMITView on GitHub

Bootstrap strategy docs from a project definition. Use after /define produces a project definition. Use as Stage 0 step 3 before /roadmap-create. Configurable doc set; counterpart to /strategy-sync which updates existing docs.

The file

We split this skill into the rules it gives an agent

12 rules. About 0 are common, 4 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    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 project definition found.

    line 19
  2. Very specific:

    Read method.config.md if it exists (may already have a Strategy Docs table)

    line 34
  3. Very specific:

    Read the template from templates/strategy/

    line 78
  4. Very specific:

    Read project-definition.md for source material

    line 79
  5. Distinctive:

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

    line 93
  6. Very specific:

    Create the Strategy/ directory if it doesn't exist

    line 106
  7. Very specific:

    Write each approved doc to Strategy/

    line 107
  8. Distinctive:

    Use consistent filenames matching the method config format:

    line 108
  9. Very specific:

    Read method.config.md (create from template if it doesn't exist)

    line 119
  10. Very specific:

    Update the ## Strategy Docs table with the docs just created:

    line 120
  11. Distinctive:

    Write first, review in editor: Write each doc to disk immediately, point the user to the file, and give a brief terminal summary.

    line 164
  12. Distinctive:

    When you encounter these situations, take the safer path:

    line 168

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

Strategy Create Skill

You are a strategy document generator. Your job is to create initial strategy docs from a project definition. Read method.config.md for project context. This is the creation counterpart to /strategy-sync (which updates existing docs after features ship).

Triggers

  • /strategy-create
  • "create strategy docs"
  • "bootstrap strategy docs"

Prerequisites

  • project-definition.md should exist (output of /define)
  • If it doesn't exist, warn: "No project definition found. Run /define first."

Purpose

Strategy docs are the human-readable explanation of the product. They serve two audiences:

  1. Stakeholders — understand what the product does in plain language
  2. Developers — understand the technical model, permissions, and patterns

These docs are living documents: /strategy-create generates v0.1.0, /strategy-sync updates them after features ship. Code is always truth — docs track reality.

Execution Steps

Phase 1 — Determine Doc Set

  1. Read project-definition.md
  2. Read method.config.md if it exists (may already have a Strategy Docs table)
  3. Analyze the project definition to recommend which docs are needed:

Always create:

DocTemplateWhen
Conceptual Overviewtemplates/strategy/conceptual-overview.mdAlways
Technical Architecturetemplates/strategy/technical-architecture.mdAlways

Create if applicable:

DocTemplateTrigger
Design Directiontemplates/strategy/design-direction.mdProject has a UI (web, mobile, desktop)
Permissionstemplates/strategy/permissions.mdProject has user roles with different access levels
Data Modeltemplates/strategy/data-model.mdProject has complex data relationships or calculations
Workflow Examplestemplates/strategy/workflow-examples.mdProject has multi-step user journeys
UX Referencetemplates/strategy/ux-reference.mdProject has complex UI interactions
  1. Present the recommended doc set:
## Recommended Strategy Docs for {Project Name}

Required:
  1. Conceptual Overview — what it does (stakeholders)
  2. Technical Architecture — how it works (developers)

Recommended based on your project:
  3. Permissions — you defined {N} user roles with different access
  4. Data Model — your workflows involve {entities}

Optional:
  5. Workflow Examples — would help document {N} key workflows
  6. UX Reference — skip for now, add when UI patterns emerge

Create all recommended? Or adjust the list?
  1. User approves or adjusts the doc set.

Phase 2 — Generate Each Doc

For each approved doc, in order:

  1. Read the template from templates/strategy/
  2. Read project-definition.md for source material
  3. Generate a first draft:
    • Fill in project-specific content from the definition
    • Match the audience level specified in the template header
    • Mark sections as [TBD] where the definition doesn't provide enough detail
    • Set version to v0.1.0 and date to today
  4. Write the file to Strategy/ immediately — don't dump the full document in the terminal
  5. Tell the user where to find it and give a brief summary:

"Written to Strategy/{DocName}.md. Here's what it covers:"

  • {3-5 bullet summary of the document's key content}

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

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

Audience discipline:

  • Conceptual Overview: Simple language. A stakeholder with no technical background should understand it completely. No code, no jargon.
  • Technical Architecture: Developer-level. Schema detail, API patterns, code conventions.
  • Design Direction: Practical. Developers and AI agents need clear aesthetic guidance. Ask for inspiration links, color preferences, typography direction, and anti-patterns. Explicitly probe for the build model's default aesthetic tendencies — recent Claude models settle into a persistent house style (cream backgrounds, serif displays like Georgia/Fraunces/Playfair, terracotta accents, Space Grotesk, purple gradients, generic sans stacks). If the user's aesthetic doesn't counter these with a concrete alternative, the build agents will default to them — generic "make it clean" instructions just shift the model to a different fixed palette. This doc is read by /frontend-design during execution.
  • Permissions: Technical but clear. Admins need to understand the access model.
  • Data Model: Developer-level. Entity relationships, constraints, calculations.
  • Workflow Examples: Step-by-step, concrete. All audiences.
  • UX Reference: Practical. Developers and support need to understand UI patterns.

Phase 3 — Write Files

  1. Create the Strategy/ directory if it doesn't exist
  2. Write each approved doc to Strategy/
  3. Use consistent filenames matching the method config format:
    • Strategy/ConceptualOverview.md
    • Strategy/TechnicalArchitecture.md
    • Strategy/DesignDirection.md
    • Strategy/Permissions.md
    • Strategy/DataModel.md
    • Strategy/WorkflowExamples.md
    • Strategy/UXReference.md

Phase 4 — Update Config

  1. Read method.config.md (create from template if it doesn't exist)
  2. Update the ## Strategy Docs table with the docs just created:
## Strategy Docs

| Doc | File | Purpose | Audience |
|-----|------|---------|----------|
| Conceptual Overview | `Strategy/ConceptualOverview.md` | What the product does | Stakeholders |
| Technical Architecture | `Strategy/TechnicalArchitecture.md` | System design, APIs, patterns | Developers |
| Permissions | `Strategy/Permissions.md` | Auth, roles, access control | Developers, Admins |
  1. This table is read by /strategy-sync to know which docs to update after features ship.

Phase 5 — Summary

## Strategy Docs Created

Directory: Strategy/
Docs created: {N}
  - ConceptualOverview.md (v0.1.0)
  - TechnicalArchitecture.md (v0.1.0)
  - Permissions.md (v0.1.0)
  - ...

Config updated: method.config.md — Strategy Docs table

TBD sections: {N} items across {M} docs need detail as the project develops
  - TechnicalArchitecture.md §Data Model: schema not yet defined
  - ...

Next steps:
  - Tech stack decisions (if not yet made): /startup
  - /roadmap-create — turn project stages into a structured roadmap
  - Strategy docs will be updated automatically via /strategy-sync after features ship

Rules

  • v0.1.0 is intentionally incomplete. Strategy docs grow with the project. It's fine to have [TBD] sections — they'll be filled as features are built and /strategy-sync runs.
  • Don't invent features. Strategy docs describe what's in the project definition, not new ideas. If a doc feels thin, that's OK — it'll grow.
  • Match audience. Conceptual Overview reads like a product pitch. Technical Architecture reads like system design docs. Don't mix the registers.
  • Config is the manifest. The method.config.md Strategy Docs table is the source of truth for which docs exist. Both /strategy-create and /strategy-sync read it.
  • Write first, review in editor. Write each doc to disk immediately, point the user to the file, and give a brief terminal summary. Don't dump full documents in the terminal — the user reviews in their editor.

Common Drifts to Avoid

When you encounter these situations, take the safer path:

  • Reducing the doc set → Every project needs at minimum Conceptual Overview + Technical Architecture. Other docs are optional, but these two anchor everything.
  • Entire sections as [TBD] → Individual [TBD] items are fine. But if an entire section is [TBD], the project definition likely wasn't detailed enough — go back to /define.
  • Mixing audience registers → Read the template header for each doc. Conceptual Overview uses no jargon; Technical Architecture includes schema detail. Keep the registers separate.
  • Padding thin docs → v0.1.0 is supposed to be thin. It grows as features ship and /strategy-sync runs. Inventing features to fill pages creates inaccurate docs.

Related

  • /define — previous step: creates the project definition that feeds this skill
  • /strategy-sync — counterpart: updates these docs after features ship
  • /roadmap-create — next step: uses strategy docs to build the roadmap
  • templates/strategy/ — templates for each doc type

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.