# claude-code-guide

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.

- skill · `type=skill` · Claude Code · 905 installs
- Author: davila7
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/ai-research/claude-code-guide
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/skills/claude-code-guide

## What it 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.

## Install

### Claude Code (native platform)

1. **claude-code-templates**
```bash
npx claude-code-templates@latest --skill ai-research/claude-code-guide
```

2. **Skills CLI (Vercel)**
```bash
npx skills add davila7/claude-code-templates --skill claude-code-guide -a claude-code
```

3. **Manually: put the files in place**
- File: `~/.claude/skills/claude-code-guide/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/claude-code-guide/

### Codex

**Manually: put the files in place**
- File: `.agents/skills/claude-code-guide/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

**Manually: put the files in place**
- File: `.cursor/skills/claude-code-guide/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install davila7/claude-code-templates claude-code-guide
```

2. **Manually: put the files in place**
- File: `.github/skills/claude-code-guide/SKILL.md`

### Gemini CLI

**Platform CLI**
```bash
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/ai-research/claude-code-guide
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/claude-code-guide/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/ai-research/claude-code-guide

## When to use it
- 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
- Create a `CLAUDE.md` for this project with `npm run dev`, `npm test`, and `npm 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`.

## Similar
- [setup-matt-pocock-skills](https://affpapa.org/en/nevibecode/skills/setup-matt-pocock-skills.md) — skill · 1052851 installs
- [ask-matt](https://affpapa.org/en/nevibecode/skills/ask-matt.md) — skill · 766587 installs
- [to-tickets](https://affpapa.org/en/nevibecode/skills/to-tickets.md) — skill · 711230 installs
- [writing-plans](https://affpapa.org/en/nevibecode/skills/writing-plans.md) — skill · 282859 installs
- [caveman-review](https://affpapa.org/en/nevibecode/skills/caveman-review.md) — skill · 411800 installs
- [caveman-compress](https://affpapa.org/en/nevibecode/skills/caveman-compress.md) — skill · 411500 installs

From the same set: [davila7/claude-code-templates](https://affpapa.org/en/nevibecode/by/davila7/claude-code-templates.md) — 495 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
