claude code - chunhualiao/public-docs GitHub Wiki

https://www.youtube.com/watch?v=6eBSHbLKuN0

npm install -g @anthropic-ai/claude-code

Tips for getting started:

 1. Run /init to create a CLAUDE.md file with instructions for Claude
 2. Use Claude to help with file analysis, editing, bash commands and git
 3. Be as specific as you would with another engineer for the best results
 4. ✔ Run /terminal-setup to set up terminal integration

 ※ Tip: Start with small features or bug fixes, tell Claude to propose a plan, and verify its suggested 
 edits

Common workflows

Explore › plan › confirm › code › commit

Figure out the root cause for issue #983, then propose a few fixes. Let me choose an approach before you code. ultrathink


Write tests › commit › code › iterate › commit

Write tests for @utils/markdown.ts to make sure links render properly (note the tests won’t pass yet, since links aren’t yet implemented). Then commit. Then update the code to make the tests pass.


Write code › screenshot result › iterate

Implement [mock.png]. Then screenshot it with Puppeteer and iterate till it looks like the mock.

Give Claude more context

Auto-add common bash commands, files, and style conventions to every session:

  • /<enterprise root>/CLAUDE.md
    Shared across all projects

  • ~/.claude/CLAUDE.md
    Shared across all projects

  • project-root/

    • CLAUDE.md
      Checked in
    • CLAUDE.local.md
      Not checked in

(Shortcut: type #)