plan-flow.ts
// main.ts

> Plan-Flow

> for AI-assisted development

const workflow = "structured";
// Discovery → Plan → Execute → Review
/**
* Stop coding without a plan.
* Structured workflows for discovery, planning,
* execution, and code reviews.
*/
terminal
$ npx planflow-ai init --claude
Installing plan-flow...
Created .claude/commands/discovery.md
Created .claude/commands/create-plan.md
Created .claude/commands/execute-plan.md
Created .claude/commands/review-code.md
Updated CLAUDE.md
$ /setup
Indexing project patterns...
Ready! 42 files indexed.
$npx planflow-ai init

Click to see installation options

commands.md

# Available Commands

Everything you need for structured development

discovery.md
1export discovery
2// Gather requirements before coding
create-plan.md
1export create-plan
2// Generate structured implementation plans
execute-plan.md
1export execute-plan
2// Execute plans phase by phase
review-code.md
1export review-code
2// AI-powered code reviews
review-pr.md
1export review-pr
2// Comprehensive PR analysis
write-tests.md
1export write-tests
2// Generate test suites
workflow.ts
1// The Plan-Flow workflow
2const steps = [
3"1. /setup", // Index project patterns
4"2. /discovery", // Gather requirements
5"3. /create-plan", // Generate plan
6"4. /execute-plan", // Build phase by phase
7"5. /review-code", // Review before commit
8]
INSTALL.md

# Installation

Choose your platform and run the command in your project directory

quick-start.sh
## Quick Start (interactive)
$ npx planflow-ai init

Prompts you to select which platform(s) to install for.

Claude Code--claude
$ npx planflow-ai init --claude

Installs to .claude/commands/ and .claude/rules/

Cursor--cursor
$ npx planflow-ai init --cursor

Copies rules to rules/*.mdc

OpenClaw--openclaw
$ npx planflow-ai init --openclaw

Copies skills to skills/plan-flow/

Codex CLI--codex
$ npx planflow-ai init --codex

Copies to .agents/skills/plan-flow/

install-all.sh
## All Platforms (recommended)
$ npx planflow-ai init --all

Installs for Claude Code, Cursor, OpenClaw, and Codex CLI simultaneously.

options.md
## Additional Options
--forceOverwrite existing files
--target <dir>Target directory (defaults to current)
FAQ.md

# Frequently Asked Questions

Everything you need to know about Plan-Flow