Skip to content

Instantly share code, notes, and snippets.

@humorless
Last active March 9, 2026 21:05
Show Gist options
  • Select an option

  • Save humorless/f5305a37302d0cd563bd5d3158182d34 to your computer and use it in GitHub Desktop.

Select an option

Save humorless/f5305a37302d0cd563bd5d3158182d34 to your computer and use it in GitHub Desktop.
Claude Note
  1. 常見指令

claude "task" ;; task
claude -p "query" ;; query
claude -c ;; continue

  1. CLI 內建指令

/init
/exit

  1. 切換 Mode

[Shift+Tab] => Auto-Accept Mode => Plan Mode
claude --permission-mode plan

  1. 給予權限

/permissions

  1. 會話命名、繼續

;; 在會話期間使用 /rename 給它一個易記的名稱

/rename auth-refactor

;; 稍後按名稱繼續 從命令列: claude --resume auth-refactor

從會話內:

/resume auth-refactor

claude "scan this codebase under @src for duplicated patterns and suggest refactoring opportunities"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment