Skip to content

Commit 173bb07

Browse files
committed
feat: add ccs cheat - quick reference card in your terminal
Color-coded cheat sheet organized by category (Session, Search, Navigate, Maintain, Planning Files, Session Naming). Everything you need without leaving the terminal or opening a browser. Also accessible as ccs ref or ccs quickref.
1 parent 86b0a12 commit 173bb07

File tree

3 files changed

+46
-1
lines changed

3 files changed

+46
-1
lines changed

bin/ccs

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ case "$cmd" in
3232
echo " ccs go <session-id> Resume by full session ID"
3333
echo " ccs stats Show conversation stats dashboard"
3434
echo " ccs doctor Health check (Ghost, Ollama, index)"
35+
echo " ccs cheat Quick reference card in terminal"
3536
echo " ccs ix Re-index all conversations"
3637
echo ""
3738
echo "Search flags:"
@@ -243,6 +244,49 @@ print()
243244
fi
244245
echo ""
245246
;;
247+
cheat|ref|quickref)
248+
B='\033[1m' # bold
249+
C='\033[0;36m' # cyan
250+
G='\033[0;32m' # green
251+
Y='\033[1;33m' # yellow
252+
P='\033[0;35m' # purple
253+
N='\033[0m' # reset
254+
echo ""
255+
echo -e "${B} Claude Code Power Stack - Quick Reference${N}"
256+
echo " ==========================================="
257+
echo ""
258+
echo -e " ${Y}SESSION${N}"
259+
echo -e " /standup Morning standup summary"
260+
echo -e " /rename-session Name session: project-type-desc"
261+
echo -e " /plan Create task_plan.md + findings.md + progress.md"
262+
echo ""
263+
echo -e " ${C}SEARCH${N}"
264+
echo -e " ccs \"query\" Search all projects"
265+
echo -e " ccs here \"query\" Search current project only"
266+
echo -e " ccs \"query\" -d 7 Last 7 days"
267+
echo -e " ccs \"query\" --since DATE Since specific date"
268+
echo ""
269+
echo -e " ${G}NAVIGATE${N}"
270+
echo -e " ccs go 1 Resume result #1 from last search"
271+
echo -e " ccs ls List recent sessions (7 days)"
272+
echo -e " ccs ls 30 List last 30 days"
273+
echo ""
274+
echo -e " ${P}MAINTAIN${N}"
275+
echo -e " ccs stats Usage dashboard"
276+
echo -e " ccs doctor Health check"
277+
echo -e " ccs ix Re-index conversations"
278+
echo -e " ghost mcp status Ghost MCP health"
279+
echo ""
280+
echo -e " ${Y}PLANNING FILES (created by /plan)${N}"
281+
echo -e " task_plan.md Phases, decisions, errors"
282+
echo -e " findings.md Research notes (update every 2 searches!)"
283+
echo -e " progress.md Session log"
284+
echo ""
285+
echo -e " ${B}SESSION NAMING${N} {project}-{type}-{descriptor}"
286+
echo -e " ${C}Types:${N} feat fix debug explore review plan research comms"
287+
echo -e " ${C}Example:${N} api-feat-auth-flow, mobile-fix-crash"
288+
echo ""
289+
;;
246290
ix|index|reindex)
247291
cc-conversation-search index --all
248292
;;

completions/_ccs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ _ccs() {
66
local -a subcommands
77
subcommands=(
88
'here:Search current project only'
9+
'cheat:Quick reference card in terminal'
910
'ls:List recent sessions'
1011
'go:Resume a session by number or ID'
1112
'stats:Show conversation stats dashboard'

completions/ccs.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ _ccs_completions() {
77

88
if [[ ${COMP_CWORD} -eq 1 ]]; then
99
# First arg: subcommands
10-
COMPREPLY=($(compgen -W "here ls go stats doctor ix help" -- "$cur"))
10+
COMPREPLY=($(compgen -W "here cheat ls go stats doctor ix help" -- "$cur"))
1111
return
1212
fi
1313

0 commit comments

Comments
 (0)