agentleFS
wednesday-solutionswednesday-solutions/ai-agent-skills/skills/greenfield/SKILL.md

greenfield

Skill169 starsChanged 8 months agoMITView on GitHub

Parallel persona planning for new projects. Research agent runs first to build domain context, then Architect, PM, and Security agents run in parallel. Synthesis agent combines all perspectives into a detailed GSD-style PLAN.md with Tensions section.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    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. Very specific:

    Run once per project: ws-skills plan

    line 14
  2. Distinctive:

    Wait for all three to complete before running Synthesis.

    line 59
  3. Very specific:

    All files written to .wednesday/plans/ in the target directory:

    line 112
  4. Very specific:

    Never generate CODEBASE.md for greenfield projects — it doesn't exist yet

    line 130

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

Greenfield Planning Skill

Trigger

Run once per project: ws-skills plan

Reads BRIEF.md from the project root (or prompts for one). Asks 5 clarifying questions before planning.

Flow

Brief + Q&A
    ↓
Research agent (sequential)   ← domain landscape, ecosystem, hidden complexity
    ↓
┌─────────────────────────────────────┐
│ Architect │ PM │ Security (parallel)│  ← spawn 3 subagents simultaneously
└─────────────────────────────────────┘
    ↓
Synthesis             ← combines all into PLAN.md

Agents

1. Research (sequential — runs first)

Builds domain context that all other agents receive. Covers:

  • Existing solutions and their weaknesses
  • Standard and emerging tech stacks for this domain
  • Technologies to avoid and why
  • Non-obvious domain challenges
  • Integration landscape (auth, payments, comms, etc.)
  • Regulatory and compliance context
  • Realistic timeline based on similar projects
  • Hidden complexity — things that take 3x longer than expected
  • Success patterns from the best products in this space

Output: research.md

2–4. Architect, PM, Security (parallel subagents)

Spawn all three simultaneously using the Agent tool. Each receives the full brief, Q&A, and research output as context.

Agent 1 — Architect
Agent 2 — PM           ← launch all three in a single message, do not wait
Agent 3 — Security

Wait for all three to complete before running Synthesis.

Architect output: architect.md

  • System design overview
  • Tech stack with rationale per layer
  • Module boundaries and interfaces
  • Infrastructure and CI/CD
  • Scaling strategy
  • Technical risks

PM output: pm.md

  • Phases with tasks and acceptance criteria
  • Success metrics
  • Out of scope items
  • Assumptions

Security output: security.md

  • Threat model (likelihood + impact)
  • Data classification
  • Auth strategy recommendation
  • Compliance flags
  • Concrete security tasks
  • Urgent flags

5. Synthesis

Combines research + all three persona outputs into a single PLAN.md covering:

  • Overview
  • Clarifications table
  • Tech stack
  • Architecture
  • Phases with tasks and acceptance criteria
  • Security plan
  • Success metrics
  • Risks
  • Tensions (unresolved disagreements between personas)
  • Assumptions
  • Out of scope
  • Branch naming (GIT-OS format)

Output: PLAN.md

Tools

ActionTool
Read BRIEF.mdRead
Write persona output files (architect.md, pm.md, etc.)Write
Spawn Architect, PM, Security personas in parallelAgent (3 calls in one message)
Search the brief for keywordsGrep

Output Location

All files written to .wednesday/plans/ in the target directory:

.wednesday/plans/
├── research.md    ← domain context
├── architect.md   ← technical design
├── pm.md          ← phases and metrics
├── security.md    ← threat model
└── PLAN.md        ← combined PRD (primary output)

Failure Handling

Each agent fails independently. If one fails, the others continue and synthesis runs with whatever data is available. Failed agents show [partial fallback] in the progress display.

Rules

  • Branch naming in PLAN.md must follow GIT-OS format
  • Never generate CODEBASE.md for greenfield projects — it doesn't exist yet
  • Cost target: under $0.20 per run

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.