Create your own skill and run a three-agent team for parallel code review
In 10 minutes: write a SKILL.md with a review checklist, enable experimental agent teams, and launch three agents that review your project from different angles
- 1.Install Claude Code if you haven't already. Run in the terminal: npm install -g @anthropic-ai/claude-code. Then launch claude in your project folder to authorize.
Node.js 18+ required. If the service is unavailable in your region, use any working VPN for the authorization step.
Claude Code ↗About this tool - 2.Create a skill file for code review. In the project root, run the command below - it will create the .claude/skills/code-review/ folder and a SKILL.md file inside.
The .claude folder stores all Claude Code settings for the current project. The skill file is loaded only when invoked, so it doesn't consume tokens when idle.
Claude Code Skills ↗Promptmkdir -p .claude/skills/code-review && cat > .claude/skills/code-review/SKILL.md << 'EOF' --- description: Conduct a structured code review of changed files --- # Code Review Skill When invoked, perform a review with these checks: 1. Read all unstaged and staged changes (git diff). 2. For each changed file, check: - Security: input validation, hardcoded secrets, injection risks. - Logic: edge cases, error handling, race conditions. - Style: naming, dead code, obvious duplication. 3. Output a table: | File | Severity | Issue | Suggestion |. 4. End with a one-paragraph summary and top 3 priorities to fix. EOF
What this prompt doesThis bash command creates a skill with a YAML header (description) and a body containing a review checklist. The text between --- defines when Claude applies the skill. Replace the checklist items with your own if needed. - 3.Enable experimental agent teams. Create or edit the .claude/settings.json file in the project root and add the environment variable.
Agent teams is an experimental feature. There may be limitations when resuming a session. In non-interactive mode (-p flag), teammates are not spawned.
Claude Code Agent Teams ↗Promptcat > .claude/settings.json << 'EOF' { "env": { "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1" } } EOFWhat this prompt doesThis bash command writes project settings that enable agent teams. The settings.json file controls Claude Code environment variables for a specific project. - 4.Run claude in the terminal inside the project folder. Paste the prompt below, replacing [project description] with a one or two sentence description of what your project does.
Claude will create a shared task list, spawn three teammates, and coordinate them. Each agent works in its own context window.
Claude Code ↗About this toolPromptI'm working on [project description]. Spawn three teammates to review the codebase from different angles: one focused on security and edge cases, one on architecture and code organization, one playing devil's advocate by looking for missing tests and failure scenarios. Each teammate should use the code-review skill. Share findings with each other, then synthesize a prioritized action list.
What this prompt doesThis English prompt asks Claude to spawn three agents with different roles: security, architecture, and critic (tests and failure scenarios). Each should use the created code-review skill. Replace [project description] with your project description. - 5.Wait for the agents to finish. The team lead will collect findings into a single prioritized action list. Copy the result into a file or issue tracker.
If the response is too long, ask the team lead: «Summarize the top 5 issues in a table». Agent teams consume more tokens than a single session - keep your plan limits in mind.
Claude Code ↗About this toolPromptSummarize the top 5 issues found by the team in a markdown table with columns: Priority, File, Issue, Fix effort (S/M/L).
What this prompt doesThis English prompt asks the team lead to compress findings into a table of the top 5 issues with priority, file, description, and estimated fix effort (S/M/L).
- subscriptionClaude Code (Anthropic subscription)Claude Code is included in Claude Pro and higher subscriptions; not available on the free plan. Agent teams consume significantly more tokens than a single session - keep your plan's daily limits in mind.
- freeNode.jsFree runtime environment, required to install Claude Code. Version 18 or higher.
Why today
AI services change fast - interfaces and free limits may differ from what's described.