Claude Code/Cheat Sheet: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
| Line 6: | Line 6: | ||
|} | |} | ||
== Keyboard | == Keyboard / UI == | ||
<pre> | <pre> | ||
shift + tab Normal- / Auto-Accept- / Plan-Mode | shift + tab Normal- / Auto-Accept- / Plan-Mode | ||
| Line 17: | Line 17: | ||
/agents # Manage agents | /agents # Manage agents | ||
@filename.txt # @file mention | |||
# always write unit tests # Add to memory | # always write unit tests # Add to memory | ||
!ls # Run bash commands | !ls # Run bash commands | ||
Revision as of 08:28, 30 July 2025
| Other articles |
Keyboard / UI
shift + tab Normal- / Auto-Accept- / Plan-Mode
/commands (built-in)
/clear # Clear conversation history /ide /cost # Show costs of current session /agents # Manage agents @filename.txt # @file mention # always write unit tests # Add to memory !ls # Run bash commands
/commands (custom)
/command1 [argument] # .claude/commands/command1.md (project command)
/command2 [argument] # ~/.claude/commands/command2.md (user command)
# commands in subfolders
/frontend:test # .claude/commands/frontend/test.md
# arguments
/fix-issue 123 # $ARGUMENTS <- 123
/commands (mcp)
/mcp # list mcp servers /mcp__github__list_prs
Memory
| file | |
|---|---|
| Project memory | ./CLAUDE.md
|
| User memory | ~/.claude/CLAUDE.md
|
sub agents
| file | |
|---|---|
| User sub agents | ~/.claude/agents/
|
| Project sub agents | .claude/agents/
|
thinking
think think more, think a lot, think harder, think longer
CLI
claude --dangerously-skip-permissions