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.

Plugin+CLI+Learn Host+Learn MCP+CF Memory
Early stage — expect rough edges and frequent changes. Want to shape it? Join us on GitHub.
20+
Skills & Commands
6
Specialized Agents

Features

Beyond Skills & Agents — the tools and systems that power your workflow.

Statusline


Always know what's happening. Your terminal statusline, upgraded with real-time project context — version, branch, model, account, context usage, and rate limits at a glance. Read more about it here.

claude — coding-friend
claude[12:47:44]
   |
  ▟█▙    Claude Code v2.1.50
 ▐▛███▜▌  Opus 4.6 · Claude Max
▝▜█████▛▘ ~/git/coding-friend
 ▘▘ ▝▝
Try "how do I log an error?"
Opus (1M)
cf v0.3.0coding-friend (⎇ main)👤 Thi Dinh (me@dinhanhthi.com)
ctx 42%[5h] 30% → 2:30pm[7d] 10% → mar 15, 2:30pm
Opus (1M)Model
cf v0.3.0CF version
coding-friend (⎇ main)Project + Branch
👤 Thi Dinh (thi@…)Account
ctx 42%Context
[5h] 30% → 2:30pm | [7d] 10% → mar 15, 2:30pmRate limit

Run cf statusline to set up in seconds.

Workflow in action

Skills and agents work together automatically.

Main flowAuto-InvokedAgents

Plus utility skills: /cf-ask, /cf-remember, /cf-research, /cf-session, /cf-help

CF Memory
01

/cf-plan

Brainstorm your approach. Explores the codebase, identifies patterns, and writes a phased plan with parallel execution.

cf-explorercf-planner
02

cf-tdd

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

cf-explorercf-implementer/cf-fixcf-sys-debug
03

/cf-review

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

cf-reviewer/cf-optimize
04

/cf-commit

Smart conventional commit. Analyzes staged changes and writes a meaningful commit message.

cf-verification
loop back to cf-tdd
05

/cf-ship

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

cf-writer/cf-learn

Memory Architecture

3-tier graceful degradation — always works, even without heavy dependencies. See Memory System for more details.

Claude CodeSession

Your AI coding session. Skills like /cf-fix, /cf-ask, and /cf-remember trigger memory operations automatically.

MCP Serverstdio

Central routing hub. Detects the best available backend (SQLite → Daemon → Grep) and routes all 6 memory tools directly to it.

selects best backend
1
SQLiteFTS5 + sqlite-vec + RRF
direct

Full hybrid search with semantic vectors

fallback
2
MiniSearchBM25 + fuzzy matching
via Daemon

In-memory index hosted by background daemon (Hono + UDS)

fallback
3
Grepfile scan
direct

Zero deps, always available

Markdown Filesdocs/memory/*.md

Source of truth. Human-readable markdown with YAML frontmatter. Git-trackable, portable, never locked in.

/slash skills

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

/cf-askMedium~1K–2.5K tokens injected into prompt

Ask

Quick Q&A about your codebase with persistent memory

/cf-commitMedium~1K–2.5K tokens injected into prompt

Commit

Smart conventional commits with diff analysis

/cf-fixHigh>2.5K tokens injected into prompt

Fix

Quick bug fix workflow with problem verification and approach confirmation

/cf-helpMedium~1K–2.5K tokens injected into prompt

Help

Answer questions about Coding Friend — skills, agents, workflows. Also auto-invoked when you ask naturally.

/cf-learnMedium~1K–2.5K tokens injected into prompt

Learn

Extract human learning docs from vibe coding sessions

/cf-optimizeMedium~1K–2.5K tokens injected into prompt

Optimize

Structured optimization with before/after measurement

/cf-planHigh>2.5K tokens injected into prompt

Plan

Brainstorm and create phased implementation plans with parallel execution

/cf-rememberHigh>2.5K tokens injected into prompt

Remember

Capture project knowledge for AI memory across sessions

/cf-researchMedium~1K–2.5K tokens injected into prompt

Research

In-depth research with web search and parallel subagents

/cf-reviewMedium~1K–2.5K tokens injected into prompt

Review

Multi-layer code review in a forked subagent

/cf-review-inMedium~1K–2.5K tokens injected into prompt

Review In

Collect and act on review results from an external AI agent

/cf-review-outLow<1K tokens injected into prompt

Review Out

Generate a review prompt for an external AI agent (Gemini, Codex, etc.)

/cf-scanHigh>2.5K tokens injected into prompt

Scan

Scan project and bootstrap memory with architecture and conventions

/cf-sessionMedium~1K–2.5K tokens injected into prompt

Session

Save current session to docs/sessions/ to resume on another machine

/cf-shipLow<1K tokens injected into prompt

Ship

Verify, commit, push, and create PR in one command (supports --dry-run)

/cf-teachMedium~1K–2.5K tokens injected into prompt

Teach

Personal teacher — conversational storytelling breakdown of any task

/cf-warmHigh>2.5K tokens injected into prompt

Warm

Catch up after absence — summarize git history for a specific user

Custom skill guides

Extend any built-in skill with your own rules. Add steps before, after, or throughout any workflow.

.coding-friend/skills/cf-commit-custom/SKILL.md
## Before
- Check branch naming convention
## Rules
- Always include ticket number in subject
## After
- Run tests if commit type is feat: or fix:
## Before

Runs before the builtin workflow starts

## Rules

Additional rules applied throughout

## After

Runs after the final step completes

Create .coding-friend/skills/<skill-name>-custom/SKILL.md to customize any skill.

Get started in 4 steps

Install once, use in every project. More details in the documentation.

1Install CLI
npm i -g coding-friend-cli
2Install Plugin
cf install
3Initialize Workspace
cf init
4Update to the latest version
cf update