Coding Friend

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.

15
Skills
5
Agents
7
Hooks
15+
Commands

How It Works

A disciplined workflow from planning to knowledge capture.

01

Plan

Brainstorm your approach. Coding Friend explores the codebase, identifies patterns, and writes a structured plan.

terminal
$ /cf-plan Build a REST API with auth
Creating implementation plan...

Exploring codebase...
Identifying patterns...
Designing approach...

Plan written to docs/plans/rest-api-auth.md
02

Implement

Write code with TDD enforced. Every feature starts with a failing test, then implementation, then refactor.

terminal
$ Write the auth middleware
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)
03

Review

Multi-layer code review runs in a separate subagent. Checks security, performance, style, and test coverage.

terminal
$ /cf-review src/auth/
Code Review (forked subagent)

Security: No injection vulnerabilities
Performance: Token caching recommended
Style: Consistent with codebase
Tests: 100% branch coverage

2 suggestions, 0 issues
04

Ship

One command to verify, commit, push, and create a pull request. Smart conventional commits included.

terminal
$ /cf-ship Add JWT auth middleware
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
05

Learn

Capture what you learned from the session. Generate docs, host as a website, or integrate with other LLM clients.

terminal
$ /cf-learn
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 — coding-friend
claude[12:47:44]
    |
   ▟█▙     Claude Code v2.1.50
 ▐▛███▜▌   Opus 4.6 · Claude Max
▝▜█████▛▘  ~/git/coding-friend
  ▘▘ ▝▝
SessionStart:startup hook error
Try "how do I log an error?"
cf v1.6.0coding-friendOpus 4.6⎇ main19%12:59
cf v1.6.0CF version
coding-friendProject
Opus 4.6Model
mainGit branch
19% → 12:59Usage → Reset

Run cf statusline to set up in seconds.

/slash Commands

Manual triggering with natural language. Coding Friend handles the rest.

/cf-plan

Plan

Brainstorm and create implementation plans with structured exploration

/cf-fix

Fix

Quick bug fix workflow with problem verification and approach confirmation

/cf-ask

Ask

Quick Q&A about your codebase with persistent memory

/cf-optimize

Optimize

Structured optimization with before/after measurement

/cf-review

Review

Multi-layer code review in a forked subagent

/cf-commit

Commit

Smart conventional commits with diff analysis

/cf-ship

Ship

Verify, commit, push, and create PR in one command

/cf-remember

Remember

Capture project knowledge for AI memory across sessions

/cf-learn

Learn

Extract human learning docs from vibe coding sessions

/cf-research

Research

In-depth research with web search and parallel subagents

Auto-Invoked Skills

These skills activate automatically when relevant. No slash needed.

cf-tdd

TDD Workflow

Enforces test-driven development: RED, GREEN, REFACTOR

cf-sys-debug

Systematic Debug

4-phase debugging methodology for systematic problem solving

cf-code-review

Code Review

Multi-layer review checklist automatically applied

cf-verification

Verification Gate

Ensures tests pass before claiming work is done

Get Started in 3 Steps

Install once, use in every project.

1Install CLI
npm i -g coding-friend-cli
2Install Plugin (in Claude Code)
/plugin marketplace add dinhanhthi/coding-friend
/plugin install coding-friend@coding-friend-marketplace
3Initialize Workspace
cf init