Better AI code starts with understanding your project.
Português (BR)
Quick Start -
Capabilities -
How It Works -
Commands -
Stack Lenses -
Philosophy -
Configuration -
Troubleshooting -
License
first-plan gives AI coding tools project context, existing patterns, and explicit requirements—then helps you verify changes with tests and scoped formal checks.
first-plan organizes project evidence in .first-plan/ and generates instructions for Claude Code, Codex, Cursor, GitHub Copilot, Cline and Aider. Coverage depends on the commands run and available sources. Instructions guide AI tools but do not guarantee adherence to every convention.
Deep integration for Claude Code (skills, agents, hooks). Tool-agnostic file generation for everyone else. Same IR, universal consumption.
Evidence-first workflow (v1.5.0)
Before changing code, find existing implementations, tests and references with locations and hashes:
fpe context --query "validate email" --budget 8000 --json
fpe impact # candidate API consumers in registered repos
fpe deployment status # unknown until observations are recorded
fpe mcp --root /absolute/project/path # read-only MCP over stdio
generate now preserves existing instructions and updates only its managed block. init --llm
marks generated claims as inferred/unverified, records prompt sources, and discovers nested manifests.
A release tag is not deployment evidence. Context and impact matches are candidates requiring verification.
See the v1.5 workflow, migration notes and limitations,
evaluation methodology, and release procedure.
Formal verification pilot (v1.6.0)
The v1.6.0 verification pilot checks three Rust engine properties with Kani: context budgets,
contract gate decisions and text preservation within an explicit bounded domain.
The pilot includes deliberate mutation controls and evidence reports. See scope and reproduction.
Verifiable project rules (v1.6.0)
Register requirements in .first-plan/rules.yaml, retrieve obligations through
fpe context --path, and run checks with fpe verify run using an externally
reviewed policy. Rule/test changes require policy review. Passing tests and formal
verification have distinct results. See workflow, limits and tenant example.
Available in v1.6.0.
Quick Start
For Claude Code users (deep integration)
Install via the plugin marketplace:
/plugin marketplace add vynazevedo/first-plan
/plugin install fp
Then in your project:
/fp:init # generate the full .first-plan/ IR
/fp:quick # or a 1-page glance in 5 seconds
For any other AI coding tool (Codex, Cursor, Copilot, Cline, Aider, etc)