Addendum: Git Operations, Slash Commands & GitHub Integration banner
marcuspat marcuspat

Addendum: Git Operations, Slash Commands & GitHub Integration

Development community intermediate

Description

> **Append this to the Definitive Guide, Quick Reference, and Prompt Guide.** > Covers: Claude Code built-in slash commands, Ruflo GitHub agents, git workflow skills, and custom command patterns. ---

Installation

Terminal
claude install-skill https://github.com/marcuspat/turbo-flow

README

Addendum: Git Operations, Slash Commands & GitHub Integration

**Append this to the Definitive Guide, Quick Reference, and Prompt Guide.** Covers: Claude Code built-in slash commands, Ruflo GitHub agents, git workflow skills, and custom command patterns.


Claude Code Built-In Slash Commands

These are hardcoded into the Claude Code CLI. They are NOT Ruflo or TurboFlow — they work in any Claude Code session.

Command Purpose
/help List all available commands
/compact [focus] Compress conversation context. Add focus: /compact retain the auth flow and test results
/clear Clear conversation history (use when switching tasks)
/model [name] Switch model mid-session: /model opus, /model sonnet, /model haiku
/cost Show token usage and cost statistics
/context Visualize current context window usage (colored grid)
/plan Enter plan mode — Claude designs approach without making changes
/review Code review of recent git changes (bundled skill)
/init Initialize project with CLAUDE.md
/diff Interactive diff viewer of all changes Claude has made
/config Open settings interface
/doctor Check installation health
/export [file] Export conversation to file or clipboard
/hooks Manage hook configurations
/ide Manage IDE integrations
/agents Manage custom AI subagents
/bashes List and manage background tasks
/add-dir Add additional working directories
/login Switch accounts
/logout Log out
/memory Review/edit what Claude has remembered about your project
/resume Resume a previous session
/exit Exit the REPL
/bug Report bugs to Anthropic
/install-github-app Set up Claude GitHub Actions

Built-In Skills (bundled with Claude Code)

These are prompt-based — Claude orchestrates them using its tools:

Skill What it does
/review Structured code review of recent git changes
/simplify Simplify complex code
/debug Debug with structured approach
/batch Batch operations across files
/loop Evaluator-optimizer loop
/claude-api Build with the Anthropic API
/plan Plan mode — design before implementing
/btw Side question without polluting main context

Keyboard Shortcuts

Shortcut Action
Shift+Tab Cycle: normal → auto-accept → plan mode
Cmd+T / Ctrl+T Toggle Extended Thinking
Cmd+P / Ctrl+P Model picker
Ctrl+G Open external editor
Ctrl+R Search command history
Esc Esc Rewind (/rewind)
!command Execute shell command and embed output in context

Git Workflow Prompts

Prompt: Smart Commit

Review the current git diff. Generate a Conventional Commit message following this format:
type(scope): description

Types: feat, fix, docs, style, refact