# Build-Ready Plan Generator (`variable_licorice/build-ready-plan-generator`) Actor

Turn a software idea into a build-ready technical plan a coding agent can execute without guessing: sized scope, stated assumptions, compared approaches, pre-mortem, frozen contracts, Mermaid diagrams, task breakdown with Done-when checks, linted before delivery.

- **URL**: https://apify.com/variable_licorice/build-ready-plan-generator.md
- **Developed by:** [Richard Hill III](https://apify.com/variable_licorice) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2,990.00 / 1,000 plan generated

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Build-Ready Plan Generator

Turn a software idea into a technical plan that a coding agent or another engineer can build from **without making a single judgment call**.

Coding agents rarely fail because they can't code. They fail because the plan left forty decisions open, and they guess toward whatever compiles first. This Actor runs a senior tech lead's planning method on your idea and hands back one decided document.

### What you get

One Markdown plan per run, plus a structured summary in the dataset:

- **Sized scope**: S, M or L, with the plan depth to match.
- **Stated assumptions**: every question that would change the design is answered with a default you can veto, so nothing is silently guessed.
- **Approaches compared**: two or three genuinely different designs, with the reason the winner won and the losers lost.
- **Pre-mortem and risk sweep**: the five likeliest ways the project fails, each prevented, mitigated or accepted in writing, checked against a catalog of about 45 commonly missed failure modes (double-firing webhooks, pagination past page one, timezone and DST bugs, token cost blowups, the second-client problem, partial failures).
- **Frozen contracts**: exact schemas, field names, example payloads and error shapes.
- **Mermaid diagrams**: architecture, plus sequence diagrams for retries, webhooks and multi-actor flows.
- **Work breakdown**: walking-skeleton-first tasks, each with a runnable "Done when" check, ready to paste into Linear, Jira or GitHub issues.
- **Executor guardrails**: what the builder must not do, and when to stop and ask.
- **Linted before delivery**: a plan linter flags vague words ("appropriate", "robust", "TBD"), missing sections and tasks without checks. The plan is revised until the findings are cleared (up to 3 rounds), and anything left is listed for you.

### How to use it

1. Describe what you want to build in **What do you want to build?** A few paragraphs is ideal: the problem, who uses it, what must work.
2. Optionally add **Constraints** (stack, hosting, deadline, budget, must-use or must-avoid tech) and **Existing system** (repo layout, services, data models).
3. Leave **Speed** on Standard for the full plan, or pick Fast for a quick look. The Console form starts on Fast so a first try is quick; switch it to Standard for real work.
4. Run it. A Standard plan usually takes 4 to 8 minutes.
5. Open `plan.md` from the run's key-value store, or read `planMarkdown` from the dataset.

There is no interview. Where your description leaves a design-changing question open, the plan picks a default and lists it under Assumptions. To change one, add your answer to **Constraints** and run again.

### Input

| Field | Required | Description |
|---|---|---|
| `projectDescription` | yes | What you want to build (40 to 20,000 characters). |
| `constraints` | no | Stack, hosting, deadlines, budget, mandated or forbidden technology. |
| `existingContext` | no | What already exists. Leave empty for a new project. |
| `size` | no | `auto` (default), `S`, `M` or `L`. |
| `speed` | no | `standard` (default, full depth) or `fast` (a lighter single pass in a few minutes, no fix rounds). Same price either way. |
| `maxFixRounds` | no | Lint-and-fix rounds, 0 to 3 (default 2). Same price either way. |

### Output

**Key-value store**

- `plan.md`: the full plan in Markdown.
- `brief.json`: the design brief behind it (size, assumptions, approaches, pre-mortem, risk findings).

**Dataset** (one item per run)

```json
{
  "title": "Stripe webhook ingester",
  "size": "M",
  "problemStatement": "Payment events are lost or double-counted today.",
  "chosenApproach": "Accept, enqueue, process idempotently",
  "assumptions": [
    { "question": "Deploy target?", "assumption": "A single container on your existing host.", "shapeChanging": true }
  ],
  "lintClean": true,
  "lintFindingsRemaining": 0,
  "lintFindings": [],
  "fixRounds": 1,
  "planCharacters": 14249,
  "planUrl": "https://api.apify.com/v2/key-value-stores/.../records/plan.md",
  "briefUrl": "https://api.apify.com/v2/key-value-stores/.../records/brief.json",
  "planMarkdown": "# Stripe webhook ingester ...",
  "tier": "full",
  "createdAt": "2026-11-16T21:57:12Z"
}
```

### Pricing

**$2.99 per plan.** You pay only when a plan is saved to your storage. Runs that fail, are declined, or stop on invalid input are not charged. Your **maximum cost per run** must be at least $2.99, or the run stops before any work starts.

### Use it from an AI agent or the API

The Actor works with the Apify API, the Apify MCP server and agent payments, so an agent can call it mid-task: send the project description, get back `planMarkdown`, and hand that to a coding agent.

```bash
curl -X POST "https://api.apify.com/v2/acts/<USERNAME>~build-ready-plan-generator/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"projectDescription": "A webhook receiver that stores Stripe payment events exactly once and alerts Slack on failed payments."}'
```

### Good inputs and bad inputs

- **Good:** "An internal tool that pulls our Shopify orders every hour, flags orders with a mismatched shipping address, and posts a daily digest to Slack. Python team of two, hosted on a single VPS."
- **Too thin:** "Build me an app." The plan will be mostly assumptions.
- **Not a fit:** finished plans you want executed, non-software projects, or anything you wouldn't hand to an engineer.

### FAQ

**Does it write code?** No. It writes the plan that makes the code come out right the first time.

**Can I trust every decision?** Treat it like a strong senior's first draft. Every decision carries its rationale, and every guess is listed as an assumption, so a review takes minutes, not hours.

**Where does my description go?** Your input and the plan are saved in your own Apify storage. To write the plan, the text is sent to an AI model provider's API. Don't include passwords, keys or personal data in the description.

**Something went wrong.** Open an issue on this Actor's Issues tab with the run ID.

# Actor input Schema

## `projectDescription` (type: `string`):

Describe the project, feature, service or agent: the problem, who uses it, and what must work. A few paragraphs is ideal. The more you say, the fewer assumptions the plan has to make.

## `constraints` (type: `string`):

Optional. Stack, hosting, deadlines, budget, technologies you must use or avoid, compliance needs.

## `existingContext` (type: `string`):

Optional. What already exists: repo layout, services, data models, conventions. Leave empty for a new project.

## `size` (type: `string`):

Auto lets the planner size it. S: one component, about 2 days. M: a feature or service with several parts. L: a multi-service system or anything customer-facing at launch.

## `speed` (type: `string`):

Standard (default): the full planner with deep reasoning and lint-and-fix rounds, about 4 to 8 minutes. Fast: a lighter single pass in a few minutes, good for a quick look. Same price either way.

## `maxFixRounds` (type: `integer`):

How many times the plan is revised to clear linter findings (vague words, missing sections, tasks without checks). Same price either way.

## Actor input object example

```json
{
  "projectDescription": "A webhook receiver that takes Stripe payment events, stores them in our Postgres database exactly once, and posts failed payments to a Slack channel. About 2,000 events a day. Our team is two Python developers.",
  "size": "S",
  "speed": "fast",
  "maxFixRounds": 2
}
```

# Actor output Schema

## `plan` (type: `string`):

The full build-ready plan

## `dataset` (type: `string`):

Dataset item with the plan summary, lint result and the plan text

## `files` (type: `string`):

plan.md and brief.json

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "projectDescription": "A webhook receiver that takes Stripe payment events, stores them in our Postgres database exactly once, and posts failed payments to a Slack channel. About 2,000 events a day. Our team is two Python developers.",
    "size": "S",
    "speed": "fast"
};

// Run the Actor and wait for it to finish
const run = await client.actor("variable_licorice/build-ready-plan-generator").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "projectDescription": "A webhook receiver that takes Stripe payment events, stores them in our Postgres database exactly once, and posts failed payments to a Slack channel. About 2,000 events a day. Our team is two Python developers.",
    "size": "S",
    "speed": "fast",
}

# Run the Actor and wait for it to finish
run = client.actor("variable_licorice/build-ready-plan-generator").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "projectDescription": "A webhook receiver that takes Stripe payment events, stores them in our Postgres database exactly once, and posts failed payments to a Slack channel. About 2,000 events a day. Our team is two Python developers.",
  "size": "S",
  "speed": "fast"
}' |
apify call variable_licorice/build-ready-plan-generator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,variable_licorice/build-ready-plan-generator"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/gH28zDb1YvMpKDNLT/builds/RXvOzjlC20MLqcZoz/openapi.json
