Jump to content

Claude Code/Cheat Sheet: Difference between revisions

From Wiki
Marcluer (talk | contribs)
Marcluer (talk | contribs)
Line 31: Line 31:
!ls                              # Run bash commands
!ls                              # Run bash commands


/init                            # initialize CLAUDE.md
/output-style                    # Default, Explanatory, Learning
/output-style                    # Default, Explanatory, Learning
</pre>
</pre>

Revision as of 19:36, 16 August 2025

Other articles

Keyboard / UI

shift-tab        # normal- / auto-accept- / planning-Mode
ctrl-R           # detailed output
esc-esc          # jump to previous message

ctrl-esc         # quick launch from ide (not working!)

/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

/init                            # initialize CLAUDE.md
/output-style                    # Default, Explanatory, Learning

/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 (CLAUDE.md)

IMPORTANT        # emphasis
@README.md       # link to files

thinking

think
think more, think a lot, think harder, think longer
ultrathink

CLI

claude --dangerously-skip-permissions