Claude Code Plugin
Disciplined Engineering Workflows
A lean toolkit that enforces TDD, systematic debugging, smart commits, code review, and knowledge capture across your engineering workflow.
How It Works
A disciplined workflow from planning to knowledge capture.
Plan
Brainstorm your approach. Coding Friend explores the codebase, identifies patterns, and writes a structured plan.
Creating implementation plan... Exploring codebase... Identifying patterns... Designing approach... Plan written to docs/plans/rest-api-auth.md
Implement
Write code with TDD enforced. Every feature starts with a failing test, then implementation, then refactor.
cf-tdd activated RED: Writing failing test... auth.test.ts: should reject invalid tokens GREEN: Implementing... auth.middleware.ts: JWT validation REFACTOR: Cleaning up... All tests passing (3/3)
Review
Multi-layer code review runs in a separate subagent. Checks security, performance, style, and test coverage.
Code Review (forked subagent) Security: No injection vulnerabilities Performance: Token caching recommended Style: Consistent with codebase Tests: 100% branch coverage 2 suggestions, 0 issues
Ship
One command to verify, commit, push, and create a pull request. Smart conventional commits included.
Verification: All tests passing (12/12) Commit: feat(auth): add JWT middleware Push: origin/feat/jwt-auth PR: #42 created https://github.com/.../pull/42
Learn
Capture what you learned from the session. Generate docs, host as a website, or integrate with other LLM clients.
Extracting knowledge... JWT Authentication Patterns Token validation flow Middleware composition Error handling strategies Saved to docs/learn/Web_Dev/jwt-auth.md Host with: cf host
Smart Statusline
Always know what's happening. Your terminal statusline, upgraded with real-time project context.
✻ | ▟█▙ Claude Code v2.1.50 ▐▛███▜▌ Opus 4.6 · Claude Max ▝▜█████▛▘ ~/git/coding-friend ▘▘ ▝▝
Run cf statusline to set up in seconds.
/slash Commands
Manual triggering with natural language. Coding Friend handles the rest.
/cf-planPlan
Brainstorm and create implementation plans with structured exploration
/cf-fixFix
Quick bug fix workflow with problem verification and approach confirmation
/cf-askAsk
Quick Q&A about your codebase with persistent memory
/cf-optimizeOptimize
Structured optimization with before/after measurement
/cf-reviewReview
Multi-layer code review in a forked subagent
/cf-commitCommit
Smart conventional commits with diff analysis
/cf-shipShip
Verify, commit, push, and create PR in one command
/cf-rememberRemember
Capture project knowledge for AI memory across sessions
/cf-learnLearn
Extract human learning docs from vibe coding sessions
/cf-researchResearch
In-depth research with web search and parallel subagents
Auto-Invoked Skills
These skills activate automatically when relevant. No slash needed.
cf-tddTDD Workflow
Enforces test-driven development: RED, GREEN, REFACTOR
cf-sys-debugSystematic Debug
4-phase debugging methodology for systematic problem solving
cf-code-reviewCode Review
Multi-layer review checklist automatically applied
cf-verificationVerification Gate
Ensures tests pass before claiming work is done
Get Started in 3 Steps
Install once, use in every project.
npm i -g coding-friend-cli/plugin marketplace add dinhanhthi/coding-friend
/plugin install coding-friend@coding-friend-marketplacecf init