> For the complete documentation index, see [llms.txt](https://www.pranaypourkar.co.in/the-programmers-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code.md).

# Claude Code

- [Getting Started](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/getting-started.md)
- [Installation](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/getting-started/installation.md)
- [Authentication](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/getting-started/authentication.md)
- [First Project](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/getting-started/first-project.md)
- [/init](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/getting-started/init.md)
- [Core Workflow](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/core-workflow.md)
- [How Claude Code Works](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/core-workflow/how-claude-code-works.md)
- [Plan First](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/core-workflow/plan-first.md)
- [Execute](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/core-workflow/execute.md)
- [Verify](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/core-workflow/verify.md)
- [Review](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/core-workflow/review.md)
- [Project Context](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/project-context.md)
- [CLAUDE.md](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/project-context/claude-md.md)
- [Global vs Project Instructions](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/project-context/global-vs-project-instructions.md)
- [Rules](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/project-context/rules.md)
- [Context Architecture](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/project-context/context-architecture.md)
- [Skills](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/skills.md)
- [What Are Skills?](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/skills/what-are-skills.md)
- [SKILL.md](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/skills/skill-md.md)
- [Auto Invocation](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/skills/auto-invocation.md)
- [Slash Invocation](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/skills/slash-invocation.md)
- [Reference Skills](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/skills/reference-skills.md)
- [Action Skills](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/skills/action-skills.md)
- [Skill Design](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/skills/skill-design.md)
- [Skill + Subagent](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/skills/skill-+-subagent.md)
- [MCP](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/mcp.md)
- [What Is MCP?](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/mcp/what-is-mcp.md)
- [MCP Servers](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/mcp/mcp-servers.md)
- [MCP Tools](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/mcp/mcp-tools.md)
- [MCP Configuration](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/mcp/mcp-configuration.md)
- [MCP Security](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/mcp/mcp-security.md)
- [MCP + Skills](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/mcp/mcp-+-skills.md)
- [Hooks](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/hooks.md)
- [What Are Hooks?](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/hooks/what-are-hooks.md)
- [Lifecycle Events](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/hooks/lifecycle-events.md)
- [PreToolUse](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/hooks/pretooluse.md)
- [PostToolUse](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/hooks/posttooluse.md)
- [Session Events](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/hooks/session-events.md)
- [Command Hooks](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/hooks/command-hooks.md)
- [Security Guardrails](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/hooks/security-guardrails.md)
- [Subagents](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/subagents.md)
- [What Are Subagents?](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/subagents/what-are-subagents.md)
- [Custom Subagents](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/subagents/custom-subagents.md)
- [Context Isolation](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/subagents/context-isolation.md)
- [Specialized Agents](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/subagents/specialized-agents.md)
- [Agent Memory](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/subagents/agent-memory.md)
- [Subagent + Skills](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/subagents/subagent-+-skills.md)
- [Agent Teams](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/agent-teams.md)
- [What Are Agent Teams?](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/agent-teams/what-are-agent-teams.md)
- [Team Lead](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/agent-teams/team-lead.md)
- [Teammates](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/agent-teams/teammates.md)
- [Shared Tasks](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/agent-teams/shared-tasks.md)
- [Agent Communication](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/agent-teams/agent-communication.md)
- [When Not to Use Teams](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/agent-teams/when-not-to-use-teams.md)
- [Parallel Development](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/parallel-development.md)
- [Worktrees](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/parallel-development/worktrees.md)
- [Parallel Sessions](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/parallel-development/parallel-sessions.md)
- [Background Agents](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/parallel-development/background-agents.md)
- [Batch Workflows](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/parallel-development/batch-workflows.md)
- [Plugins](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/plugins.md)
- [What Are Plugins?](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/plugins/what-are-plugins.md)
- [Plugin Structure](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/plugins/plugin-structure.md)
- [Skills](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/plugins/skills.md)
- [Agents](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/plugins/agents.md)
- [Hooks](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/plugins/hooks.md)
- [MCP](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/plugins/mcp.md)
- [Plugin Marketplaces](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/plugins/plugin-marketplaces.md)
- [Claude Code Commands](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/claude-code-commands.md)
- [Command Reference](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/claude-code-commands/command-reference.md)
- [Session & Context Commands](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/claude-code-commands/session-and-context-commands.md)
- [Model Commands](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/claude-code-commands/model-commands.md)
- [Planning Commands](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/claude-code-commands/planning-commands.md)
- [Agent & Task Commands](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/claude-code-commands/agent-and-task-commands.md)
- [Git & Worktree Commands](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/claude-code-commands/git-and-worktree-commands.md)
- [Remote & Cross-Device Commands](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/claude-code-commands/remote-and-cross-device-commands.md)
- [Shell & Utility Commands](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/claude-code-commands/shell-and-utility-commands.md)
- [Command Cheat Sheet](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/claude-code-commands/command-cheat-sheet.md)
- [Verification & Quality](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/verification-and-quality.md)
- [TDD with Claude](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/verification-and-quality/tdd-with-claude.md)
- [Tests First](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/verification-and-quality/tests-first.md)
- [Code Review](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/verification-and-quality/code-review.md)
- [Self-Critique](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/verification-and-quality/self-critique.md)
- [Verification Loops](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/verification-and-quality/verification-loops.md)
- [Claude Code Security](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/claude-code-security.md)
- [Permissions](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/claude-code-security/permissions.md)
- [Tool Restrictions](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/claude-code-security/tool-restrictions.md)
- [MCP Security](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/claude-code-security/mcp-security.md)
- [Hooks as Guardrails](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/claude-code-security/hooks-as-guardrails.md)
- [Prompt Injection](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/claude-code-security/prompt-injection.md)
- [Advanced Workflows](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/advanced-workflows.md)
- [Java & Spring Boot](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/advanced-workflows/java-and-spring-boot.md)
- [Git & GitLab](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/advanced-workflows/git-and-gitlab.md)
- [Databases & Liquibase](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/advanced-workflows/databases-and-liquibase.md)
- [OpenAPI](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/advanced-workflows/openapi.md)
- [Documentation](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/advanced-workflows/documentation.md)
- [Extension Architecture](https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code/extension-architecture.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.pranaypourkar.co.in/the-programmers-guide/ai/claude/claude-code.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
