Claude Code Workflow
Could not copy markdown source body. Please use "view as markdown".
fp integrates with Claude Code to keep issues, progress, and commits connected throughout development. Once configured, Claude Code follows the fp workflow automatically.
fp initDuring setup, fp asks which coding agent is in use. Select Claude Code, then confirm to install the integration:
Which coding agent are you using? 1) Claude Code 2) Other coding agent (Codex, Gemini, Mistral, ...) 3) Skip
Set up Claude Code project-managed skills and hooks? (Y/n)This installs fp skills and hooks into the project:
- Skills -
/fp-plan,/fp-implement,/fp-reviewbecome available in Claude Code - Hook - a PostToolUse hook tracks file changes back to issues
FP_CLAUDE.md- fp workflow rules loaded by Claude Code on every sessionCLAUDE.md- updated with a reference toFP_CLAUDE.md
Restart Claude Code after setup to activate the skills.
To run the Claude Code setup on an already-initialized project:
fp setup claudeThe fp workflow: plan, implement, review
Section titled “The fp workflow: plan, implement, review”fp is structured around three phases:
| Phase | Skill | Description |
|---|---|---|
| Plan | /fp-plan | Break a feature into a hierarchy of scoped issues |
| Implement | /fp-implement | Claim an issue, do the work, log progress, attach commits |
| Review | /fp-review | Inspect diffs, verify commits are assigned, prepare for PR |
These skills are installed into the project. Invoke them directly in Claude Code, or describe what needs to be done and Claude Code will use them.
Plan out the authentication featureClaude Code creates an issue hierarchy in fp:
FP-abcd [todo] Add authentication├── FP-efgh [todo] Design auth flow├── FP-ijkl [todo] Implement OAuth provider├── FP-mnop [todo] Add session management└── FP-qrst [todo] Write testsImplement
Section titled “Implement”Work on FP-ijklfp tracks which commits belong to which issue as work progresses. Claude Code claims the issue, logs progress via comments, and marks it done following the workflow in CLAUDE.md.
Review
Section titled “Review”Issues and diffs are accessible from the CLI or the fp Mac app.
From the CLI:
fp issue diff FP-ijkl # Diff for one issuefp issue files FP-ijkl # Files changedfp issue diff FP-abcd # Parent aggregates all childrenfp tree # Overview of all progressfp review FP-ijkl # Open interactive diff review in the Mac appExtending the workflow
Section titled “Extending the workflow”Plan, implement, and review are the default cornerstones. fp is extensible and every project’s workflow is different. See the Extensions docs for how to adapt fp to fit specific needs.
How the CLAUDE.md integration works
Section titled “How the CLAUDE.md integration works”Accepting the Claude Code setup adds the following to CLAUDE.md:
@FP_CLAUDE.mdFP_CLAUDE.md is managed by fp. It instructs Claude Code to:
- Use
fp issuefor task tracking instead of built-in todo tools - Log progress with
fp commentat each milestone - Attach commits with
fp issue assign - Commit frequently and before ending a session
These rules are part of the project context and do not need to be repeated in prompts.
To update FP_CLAUDE.md after upgrading fp:
fp setup claude- Review before marking done - use
fp issue diffto verify what Claude Code changed - Use priorities -
--priority highhelps Claude Code pick the most important work first - Keep issues small - smaller issues produce tighter diffs and more focused sessions