Loading lesson…
Claude Code is Anthropic's terminal-native coding agent. Let's install it, wire it to a project, and use the features most engineers miss on day one.
Claude Code is a terminal-based agent that reads and writes files, runs commands, and carries project context across sessions. Unlike an IDE plugin, it can drive your entire development environment, not just the editor.
# Install globally via npm
npm install -g @anthropic-ai/claude-code
# First run — authenticates via browser
cd my-project
claude
# Inside the TUI, type your first request:
# "Explain what this repo does and list the main entry points."Two commands and you are running an agent against your codebase.Drop a CLAUDE.md file at the root of your project. Claude Code reads it on every session. This is where you put your project's conventions, scripts to run, architecture notes, and the AI etiquette you want followed. Teams treat it as a living style guide.
# CLAUDE.md
## Stack
- Next.js 15, TypeScript, Tailwind, Postgres via Prisma.
## How to run
- `pnpm dev` for local, `pnpm test` for tests, `pnpm build` before PR.
## Conventions
- Server actions live in `app/actions/`, named `<verb><Noun>`.
- Never commit directly to main — always open a branch.
- Use Zod for all public API inputs.
## Things to avoid
- Do not add new dependencies without asking first.
- Do not rename exported functions — downstream consumers break.A CLAUDE.md is the single highest-leverage file in any Claude Code project.As of 2026, slash commands and skills are unified in Claude Code. Put markdown files in .claude/skills/ at the project root, and each one becomes a /slash-command. The skill defines a repeatable workflow: run tests, deploy, generate a PR description, whatever you need.
# .claude/skills/pr-ready.md
---
name: pr-ready
description: Prepare the branch for PR review
---
1. Run `pnpm lint --fix` and commit any fixes.
2. Run `pnpm test` and make sure all pass.
3. Run `pnpm build` and fix any type errors.
4. Write a PR description summarizing the diff in 3 bullets.
5. Suggest a PR title under 70 characters.Now typing /pr-ready in any Claude Code session triggers this playbook.A sub-agent is a separate Claude instance spawned from your main session to handle a narrow job. Define one in .claude/agents/explore.md with its own tool access and system prompt. Then say: Use the explore agent to find all auth-related files. Up to 10 can run in parallel, which is a game-changer for parallel codebase exploration.
The best interface is the one that can drive the whole machine. The terminal still is.
— A Unix-pilled engineer
The big idea: Claude Code treats your terminal as the agent's workspace. CLAUDE.md gives it context, skills automate recurring work, and sub-agents run parallel tasks. Invest in those three and the tool compounds.
15 questions · take it digitally for instant feedback at tendril.neural-forge.io/learn/quiz/end-coding-installing-claude-code-creators
What file should you place at your project's root to give Claude Code persistent context about your project's conventions, scripts, and architecture?
What is the maximum number of sub-agents that Claude Code can run simultaneously in a single session?
Where should you define a custom sub-agent with its own tool access and system prompt?
What is the primary purpose of the hook system in Claude Code?
Which of the following is NOT a lifecycle event supported by Claude Code's hook system?
What makes sub-agents especially powerful for codebase exploration?
What happens when you place a markdown file in your project's .claude/skills/ directory?
A team wants to ensure that tests run automatically every time a file is edited in their project. Which feature should they configure?
What is the recommended first step after installing and authenticating Claude Code in a new project?
What type of information should you include in a CLAUDE.md file?
What distinguishes a sub-agent from the main Claude Code session?
Which directory structure is correct for defining a skill that can be invoked with a slash command?
What is the 'big idea' behind Claude Code's design philosophy, as described in the material?
You want one sub-agent to have database access and another to only read repository files. What feature enables this?
Which of these is a recommended day-one workflow for getting started with Claude Code in a project?