← 返回
开发者工具 中文

Plan Flow

Structured AI-assisted development workflows - discovery, planning, execution, code reviews, and testing
结构化 AI 辅助开发工作流:发现、规划、执行、代码审查与测试
brunoscardoso
开发者工具 clawhub v1.0.8 1 版本 99851.6 Key: 无需
★ 0
Stars
📥 673
下载
💾 4
安装
1
版本
#ai#development#latest#planning#workflow

概述

Plan-Flow: Structured AI-Assisted Development

A comprehensive skill set for AI-assisted software development with structured workflows and persistent project memory.

Available Commands

CommandDescription
----------------------
/setupAnalyze project and generate pattern files
/discoveryCreate discovery document for requirements gathering
/create-planCreate implementation plan with phases and complexity scores
/execute-planExecute plan phases with verification
/create-contractCreate integration contract from API docs
/review-codeReview local uncommitted changes
/review-prReview a Pull Request
/write-testsWrite tests to achieve coverage target
/flowToggle autopilot mode (auto-chains the full workflow)

Always-Active Features

FeatureDescription
----------------------
Project LedgerPersistent learning journal at flow/ledger.md - silently captures mistakes, corrections, and project-specific knowledge across sessions

Recommended Workflow

Automated - runs without asking permission:

1. /setup           → Index project patterns (run once)
2. /discovery       → Gather requirements for a feature
3. /create-plan     → Create structured implementation plan (auto-runs after discovery)
4. /execute-plan    → Execute the plan phase by phase (auto-runs after plan)
5. /review-code     → Review changes before committing
6. Archive          → Move discovery + plan to flow/archive/

Only stop to ask the user when:

  • Missing critical information (device type, browser, etc.)
  • Need to reproduce an issue
  • Ambiguous requirements
  • Need approval for destructive actions

Never ask "Ready to create plan?" or "Proceed with execution?" - just do it.

Core Concepts

Complexity Scoring

Every plan phase has a complexity score (0-10):

ScoreLevelDescription
---------------------------
0-2TrivialSimple, mechanical changes
3-4LowStraightforward implementation
5-6MediumModerate complexity, some decisions
7-8HighComplex, multiple considerations
9-10Very HighSignificant complexity/risk

Flow Directory Structure

All artifacts are stored in flow/:

flow/
├── archive/           # Completed/abandoned plans
├── contracts/         # Integration contracts
├── discovery/         # Discovery documents
├── plans/             # Active implementation plans
├── references/        # Reference materials
├── reviewed-code/     # Code review documents
├── reviewed-pr/       # PR review documents
└── ledger.md          # Persistent project learning journal

Critical Rules

  1. Automated Workflow: Run discovery → plan → execute automatically. Only stop to ask when you need information from the user.
  2. Discovery First (Hard Block): /discovery is required before /create-plan. Plans cannot be created without a discovery document. No exceptions. If no discovery exists, run discovery first.
  3. Tests Last: Tests are always the last phase of any implementation plan.
  4. Build at End Only: Run build verification only after ALL phases complete.
  5. Archive When Done: Move completed discovery and plans to flow/archive/.

Configuration

Create .plan-flow.yml in your project root:

ai:
  provider: claude
  anthropic_api_key: sk-ant-api03-your-key-here

Requirements

  • git - For version control operations
  • gh - GitHub CLI for PR reviews

Installation

clawhub install plan-flow

Or add to your workspace skills folder:

git clone https://github.com/brunoscardoso/plan-flow.git ~/.openclaw/skills/plan-flow

版本历史

共 1 个版本

  • v1.0.8 当前
    2026-03-30 10:32 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,528
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,926
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,473