Quick Start
Your first 5 minutes with Coding Friend — learn the core workflow.
Coding Friend enforces a disciplined engineering workflow. After installing the plugin, here are the steps to get started.
0. Scan your project into memory
# Enter claude code then run
/cf-scan
This will scan your project and extract the knowledge into the memory system. Read /cf-scan for more details.
Plan Your Work
# "--gui" flag generates a human-readable overview doc alongside the agent plan
/cf-plan --gui Build a user authentication system
# If you know the plan is quick and simple,
/cf-plan --fast Add a small new feature
# Autopilot mode: approve once, then review+fix+commit per phase, no prompts
/cf-plan --auto Add a small new feature
# Or even without /cf-plan (not recommended)
Build a user authentication system
Coding Friend explores your codebase, identifies existing patterns, and writes a structured implementation plan. The plan is saved to docs/plans/ by default.
In case your project needs tests, use with --add-tests. The cf-tdd skill activates automatically. With --add-tests, the skill enforces:
- RED — Write a failing test first
- GREEN — Write minimal code to pass
- REFACTOR — Clean up while tests stay green
You can also enable TDD globally via cf config or cf init (sets tdd: true in config). Check /cf-plan for more details.
Review Your Code
/cf-review src/auth/
# If you use Codex, run below to automatically call Codex in the current session of Claude Code
# Claude will call and wait for Codex to finish its review, then merge the results into one report
/cf-review --with-codex
# Or you can use below commands to hand over the review to another AI agent
# by creating a review prompt for the other AI agent and then collecting the results
/cf-review-out new-feature
# then
/cf-review-in new-feature
A multi-layer code review runs in a separate subagent, checking security, performance, style, and test coverage. Check /cf-review for more details.
Fix Bugs
/cf-fix Login fails with 401 error
# Or just talk about the bug and ask for fix
A bug fix workflow with problem verification. Check /cf-fix for more details.
Optimize Code
/cf-optimize getUserById query
A structured optimization workflow with before/after measurement. This skill also auto-invokes when you mention performance issues — just say "this endpoint is slow" and it activates. Check /cf-optimize for more details.
Commit
/cf-commit Add user authentication
A smart conventional commit workflow with diff analysis. It will also check if your code has any secrets that should be added to .gitignore. You should run it after you have written the code and verified that it works. Check /cf-commit for more details.
Ship It
/cf-ship Add user authentication
One command to verify all tests pass, create a conventional commit, push, and open a pull request. Check /cf-ship for more details. You can even use a custom skill guide to add additional steps before or after the standard workflow such as update the version number and changelog and then publish. Check Custom Skill Guides for more details.
Research
/cf-research GraphQL vs REST for mobile APIs
A deep research workflow with web search. The research is saved to docs/research/ by default. Check /cf-research for more details.
Capture Knowledge
/cf-remember auth flow
Capture project knowledge for the AI to use in future sessions. The knowledge is saved to docs/memory/ by default. It will then be integrated into the CF Memory System. Check /cf-remember for more details.
Learn From Your Work
/cf-learn
Extract what you learned during the session into structured docs. Use /cf-teach for a deeper, conversational breakdown of what happened and why. Host them locally with cf learn host or integrate with other LLM clients via cf mcp. Check /cf-learn for more details.

Use cf learn host to run a local website at http://localhost:3333
Ask Questions
/cf-ask How does the auth middleware work?
Ask questions about your codebase. The question is saved to docs/memory/ by default. Check /cf-ask for more details.
Save Session for Another Machine
/cf-session refactor auth flow
Save the current conversation to docs/sessions/ so you can resume it on another machine with cf session load + claude --resume. Check /cf-session for more details.
Tips
- Use
/cf-helpto see all available commands or ask about skills, agents, or workflows (e.g. "/cf-help what skills are available?") or just ask naturally about Coding Friend (e.g. "how does cf-plan work?") - Skills like
cf-tdd,cf-verification, andcf-optimizeactivate automatically — no slash needed