claude-code-guide — Claude Code skill: setup
This skill covers Claude Code setup, task wording, and debugging habits. Use it when an agent needs project rules and a clear way to verify edits.
npx claude-code-templates@latest --skill ai-research/claude-code-guideWhat claude-code-guide does
claude-code-guide shows how to place a CLAUDE.md file at the project root and use it to describe commands, code style, and the order of work. It recommends reading the relevant files before editing, narrowing the search with grep or find, and running tests after a change.
The guide also covers prompts for deeper analysis, root-cause debugging, log checks, and verbose command output. Work is split into small requests so each result can be reviewed before the next one. If project guidance is not written into CLAUDE.md, Claude Code will not receive that persistent project context.
What it helps with
- define project rules in
CLAUDE.md - ask Claude Code to trace an error to its root cause
- locate relevant files before editing
- check a change by running the project tests
- inspect logs with verbose command output
Example prompts for the agent
- Create a
CLAUDE.mdfor this project withnpm run dev,npm test, andnpm run build, plus TypeScript and React Hooks conventions. - Investigate this failure from its root cause: locate the relevant files, propose a small plan, make the change, and run the tests.
- The agent is stuck. Check the logs, rerun the command with verbose output, and record the useful project rule in
CLAUDE.md.
How to install claude-code-guide
1claude-code-templates
npx claude-code-templates@latest --skill ai-research/claude-code-guide2Skills CLI (Vercel)
npx skills add davila7/claude-code-templates --skill claude-code-guide -a claude-code3Manually: put the files in place
~/.claude/skills/claude-code-guide/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/claude-code-guide/
Manually: put the files in place
.agents/skills/claude-code-guide/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/claude-code-guide/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install davila7/claude-code-templates claude-code-guide2Manually: put the files in place
.github/skills/claude-code-guide/SKILL.mdPlatform CLI
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/ai-research/claude-code-guideManually: put the files in place
.devin/skills/claude-code-guide/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about claude-code-guide
How do I install claude-code-guide in Claude Code?
Run npx claude-code-templates@latest --skill ai-research/claude-code-guide. This installs the skill for Claude Code.
What does claude-code-guide do?
It explains project guidance through CLAUDE.md, prompt patterns, debugging steps, and incremental agent workflows. The focus is on giving Claude Code usable context and checking edits.
Which prompt patterns does the skill recommend for deeper reasoning?
Ask Claude Code to work through the problem step by step, identify the root cause, plan before acting, and verify its assumptions. These patterns are part of the guide’s advanced prompting section.