claude-code
npx skills add mintlify --skill claude-code
Agent 安装分布
Skill 文档
Capabilities
Claude Code is an agentic coding tool that operates directly in your terminal, enabling developers to transform ideas into code through natural language conversations. It can read, write, and execute code, interact with external tools through the Model Context Protocol (MCP), and delegate tasks to specialized subagents. Claude Code maintains full context awareness of your project structure and can work both interactively and programmatically.
Skills
Code Development & Modification
- Build features from descriptions: Generate complete implementations from natural language specifications
- Refactor code: Update legacy code to modern patterns while maintaining functionality
- Write tests: Create comprehensive test suites following project conventions
- Generate documentation: Add JSDoc, docstrings, or markdown documentation
- Create commits and PRs: Generate meaningful commit messages and pull request descriptions
Debugging & Analysis
- Debug issues: Analyze error messages, identify root causes, and implement fixes
- Code review: Review code for quality, security, and best practices
- Performance analysis: Identify bottlenecks and suggest optimizations
- Codebase exploration: Navigate and understand unfamiliar codebases quickly
- Find relevant code: Locate files and functions related to specific features
Terminal Operations
- Execute commands: Run bash commands, scripts, and development tools
- File operations: Read, write, edit, and manage files and directories
- Background tasks: Run long-running processes while continuing other work
- Interactive sessions: Maintain conversation context across multiple interactions
External Integrations (via MCP)
- Connect to services: Integrate with GitHub, Sentry, databases, APIs, and cloud platforms
- Query databases: Execute SQL queries and analyze data
- Monitor systems: Check error logs, analytics, and monitoring services
- Automate workflows: Chain browser actions with terminal commands
- Access documentation: Pull information from web sources and internal tools
Specialized Agents
- Explore agent: Fast, read-only codebase exploration using Haiku model
- Plan agent: Research and planning without making changes
- Custom subagents: Create specialized agents for specific tasks with custom prompts and tool restrictions
Customization & Extension
- Skills: Create reusable prompts and workflows invokable with /skill-name
- Plugins: Package and distribute custom functionality
- Hooks: Automate workflows around tool events
- Memory files: Maintain persistent context with CLAUDE.md files
Workflows
Feature Implementation
- Describe the feature in natural language
- Claude Code creates a plan and asks clarifying questions
- Implementation with file creation/modification
- Test generation and execution
- Commit creation with appropriate message
Bug Fixing
- Share error message or describe the issue
- Claude analyzes codebase to identify the problem
- Suggests and implements fixes
- Runs tests to verify the solution
- Creates a commit with the fix
Code Review Process
- Request review of recent changes or specific files
- Claude analyzes code for issues and improvements
- Provides feedback organized by priority
- Can implement suggested changes directly
Database Operations
- Connect to database via MCP server
- Execute read-only queries for analysis
- Generate reports and insights
- Export results in desired format
Multi-Step Automation
- Define complex workflow requirements
- Claude chains multiple operations together
- Handles file operations, API calls, and tool execution
- Provides progress updates and final summary
Integration
Development Environments
- Works in any terminal (native support for iTerm2, WezTerm, VS Code terminal)
- IDE extensions for VS Code and JetBrains
- Chrome extension for browser automation
- Desktop app for GUI interface
CI/CD Integration
- GitHub Actions support via claude-code-action
- GitLab CI/CD pipeline integration
- Programmatic execution via Agent SDK
- Automated code review and testing
Cloud Platforms
- Claude API (default)
- Amazon Bedrock deployment
- Google Vertex AI deployment
- Microsoft Azure integration
External Tools (MCP)
- GitHub for code management
- Sentry for error monitoring
- PostgreSQL, MySQL for databases
- Slack for team communication
- Custom MCP servers for proprietary tools
Context
Permission Management
Claude Code operates with explicit permission controls. It requests approval before executing commands, modifying files, or accessing external resources. Users can configure auto-approval for specific tools or operate in different permission modes (normal, auto-accept, plan mode).
Context Window Management
Claude Code maintains awareness of your entire project structure while managing token usage efficiently. It can compact conversations to preserve context, delegate exploration to subagents to avoid cluttering the main conversation, and use MCP Tool Search to dynamically load tools on-demand.
Model Selection
Different models serve different purposes: Sonnet (default) for balanced capability and speed, Opus for complex reasoning tasks, and Haiku for fast, lightweight operations. Subagents can use different models than the main conversation.
Session Persistence
All conversations are automatically saved and can be resumed later. Sessions are stored per project directory, can be named for easy identification, and maintain full context including tool usage history.
Security Considerations
Claude Code respects .gitignore patterns, requires explicit permissions for operations, supports sandboxed execution environments, and can be configured with restricted tool access. Enterprise deployments support managed configurations and audit logging.
For additional documentation and navigation, see: https://code.claude.com/docs/llms.txt