claude-code
Delegate tasks to Claude Code for complex refactoring, architecture-level changes, multi-file edits, in-depth code review, and debugging. Excels at deep reasoning about code structure.
Best use case
claude-code is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Delegate tasks to Claude Code for complex refactoring, architecture-level changes, multi-file edits, in-depth code review, and debugging. Excels at deep reasoning about code structure.
Teams using claude-code should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/claude-code/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How claude-code Compares
| Feature / Agent | claude-code | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Delegate tasks to Claude Code for complex refactoring, architecture-level changes, multi-file edits, in-depth code review, and debugging. Excels at deep reasoning about code structure.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
Best AI Skills for Claude
Explore the best AI skills for Claude and Claude Code across coding, research, workflow automation, documentation, and agent operations.
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
Cursor vs Codex for AI Workflows
Compare Cursor and Codex for AI coding workflows, repository assistance, debugging, refactoring, and reusable developer skills.
SKILL.md Source
## What is Claude Code Claude Code is Anthropic's terminal-based coding agent. It reads entire codebases, performs multi-file edits, runs commands, manages git, and supports multi-agent workflows with sub-agent delegation. ## When to delegate to Claude Code Use Claude Code when you need to: - Perform complex multi-file refactoring - Make architecture-level changes across a codebase - Debug complex issues that require deep code understanding - Conduct thorough code reviews with actionable feedback - Implement features that span multiple files and modules - Work on tasks that benefit from Claude's strong reasoning capabilities - Review git diffs and provide structured feedback ## How to invoke Claude Code ### Non-interactive (recommended for delegation) Use the `-p` flag for non-interactive print mode: ```bash claude -p "YOUR PROMPT HERE" ``` ### With structured output ```bash claude -p "YOUR PROMPT" --output-format json ``` ### Pipe input for review ```bash git diff | claude -p "Review these changes for bugs and security issues" ``` ### Resume last conversation ```bash claude -c ``` ### With specific model ```bash claude -p "YOUR PROMPT" --model claude-sonnet-4-5 ``` ### Restrict available tools ```bash claude -p "YOUR PROMPT" --allowedTools "read,grep,glob" ``` ## Important notes - Requires Claude Pro/Max subscription or `ANTHROPIC_API_KEY` - The `-p` flag is essential for non-interactive use - Supports `--output-format json` for machine-readable structured output - Supports `--input-format stream-json` for pipeline integration - Creates `CLAUDE.md` project config file (similar to AGENTS.md) - Claude Code has its own sub-agent support - useful for breaking down complex tasks ## Delegation pattern For code changes: ```bash RESULT=$(claude -p "Refactor the authentication module in src/auth/ to use the strategy pattern. Maintain backward compatibility with existing tests. Return a summary of changes made.") ``` For code review: ```bash RESULT=$(git diff main..HEAD | claude -p "Review these changes. Focus on: 1) Security vulnerabilities 2) Performance regressions 3) API contract changes. Output as structured markdown." --output-format text) ``` For debugging: ```bash RESULT=$(claude -p "The test in tests/auth.test.ts is failing with error: [ERROR]. Investigate the root cause and fix it. Return the fix as a diff.") ```
Related Skills
sdlc-orchestrator
Orchestrate multiple coding agent CLIs as sub-agents. Load this skill to understand which coding agent CLI to delegate tasks to based on task type (front-end, context engineering, GitHub workflows, refactoring, pair programming, rapid prototyping).
kimi-cli
Delegate tasks to Kimi CLI for front-end development, full-stack coding, and long-context code understanding. Powered by Moonshot AI's Kimi K2 model with extended context support.
gemini-cli
Delegate tasks to Gemini CLI for context engineering, large codebase analysis, research-heavy coding tasks, and documentation generation. Gemini has a 1M token context window and built-in Google Search grounding.
cursor-cli
Delegate tasks to Cursor CLI (agent command) for IDE-grade coding in the terminal, cloud agent handoff for long-running tasks, and rapid prototyping with multi-model support.
copilot-cli
Delegate tasks to GitHub Copilot CLI for GitHub workflow automation, PR creation and review, issue management, and repository operations. Deeply integrated with GitHub's ecosystem.
aider
Delegate tasks to Aider for AI pair programming with auto-git-commits, model-agnostic LLM support, and architect mode for complex changes. Works with any LLM provider.
claude-devfleet
通过Claude DevFleet协调多智能体编码任务——规划项目、在隔离的工作树中并行调度智能体、监控进度并读取结构化报告。
everything-claude-code-conventions
Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.
claude-api
Anthropic Claude API patterns for Python and TypeScript. Covers Messages API, streaming, tool use, vision, extended thinking, batches, prompt caching, and Claude Agent SDK. Use when building applications with the Claude API or Anthropic SDKs.
linear-claude-skill
Manage Linear issues, projects, and teams
ffuf-claude-skill
Web fuzzing with ffuf
claude-win11-speckit-update-skill
Windows 11 system management