Jump to content

Claude Code/Cheat Sheet: Difference between revisions

From Wiki
Marcluer (talk | contribs)
mNo edit summary
Marcluer (talk | contribs)
mNo edit summary
Line 25: Line 25:
== /commands (mcp) ==
== /commands (mcp) ==
<pre>
<pre>
</pre>
/mcp__github__list_prs</pre>


== sub agents ==
== sub agents ==

Revision as of 15:09, 28 July 2025

Main article: Claude Code

/commands (built-in)

/clear                           # Clear conversation history
/cost                            # Show costs of current session
/agents                          # Manage agents

# 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__github__list_prs

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