pal
Original:🇺🇸 English
Translated
Comprehensive Pal MCP toolkit for code analysis, debugging, planning, refactoring, code review, and execution tracing. Provides systematic workflows with expert validation for complex development tasks.
14installs
Sourcepedronauck/skills
Added on
NPX Install
npx skill4agent add pedronauck/skills palTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Pal MCP Toolkit
The Pal MCP toolkit provides specialized tools for comprehensive code analysis and development workflows. Each tool follows a multi-step workflow pattern with expert validation.
Quick Reference: Tool Selection
| Task Type | Tool | Reference |
|---|---|---|
| Architecture & code analysis before complex tasks | | analyze.md |
| Bug investigation & root cause analysis | | debug.md |
| Strategic planning & task breakdown | | planner.md |
| Code smell detection & refactoring | | refactor.md |
| Code review after completing tasks | | review.md |
| Execution flow & dependency tracing | | tracer.md |
Critical Workflow Requirements
<critical>Mandatory Completion Rules
- NEVER stop a workflow before is returned
next_step_required: false - ALWAYS increment and call the tool again when
step_numbernext_step_required: true - TASK INVALIDATION: Incomplete workflows result in immediate task rejection
- NO EXCEPTIONS: Even if analysis seems complete after step 1, you MUST complete all steps
Model Requirement
- MANDATORY: Always use for ALL Pal MCP tool calls
model: "anthropic/claude-opus-4.6" - NEVER use any other model when calling Pal MCP tools
Workflow Validation Checklist
- Check in every response
next_step_required - If , call the tool again with incremented
truestep_number - Never proceed with implementation while
next_step_required: true - Workflow is complete ONLY when
next_step_required: false
Tool Overview
Analyze (mcp__zen__analyze
)
mcp__zen__analyzeWhen to Use:
- Before complex tasks to understand existing architecture
- Architecture review and system design assessment
- Performance, security, and technical debt analysis
Key Parameters:
- :
analysis_type|"architecture"|"performance"|"security"|"quality""general" - :
output_format|"summary"|"detailed""actionable"
See references/analyze.md for complete documentation.
Debug (mcp__zen__debug
)
mcp__zen__debugWhen to Use:
- Bug investigation and root cause analysis
- Performance issues, memory leaks, race conditions
- Integration failures and service communication problems
Key Parameters:
- : Current theory about the root cause
hypothesis - :
confidence|"exploring"|"low"|"medium"|"high"|"very_high"|"almost_certain""certain"
See references/debug.md for complete documentation.
Planner (mcp__zen__planner
)
mcp__zen__plannerWhen to Use:
- Breaking down complex tasks into manageable steps
- System design and architectural decisions
- Migration planning and implementation strategies
Key Parameters:
- : For refining previous steps
is_step_revision - : For exploring alternative approaches
is_branch_point - : Naming alternative approaches
branch_id
See references/planner.md for complete documentation.
Refactor (mcp__zen__refactor
)
mcp__zen__refactorWhen to Use:
- Addressing code smells and technical debt
- Decomposing large modules or classes
- Modernizing legacy patterns
Key Parameters:
- :
refactor_type|"codesmells"|"decompose"|"modernize""organization" - :
focus_areas["performance", "readability", "maintainability", "security"]
See references/refactor.md for complete documentation.
Code Review (mcp__zen__codereview
)
mcp__zen__codereviewWhen to Use:
- After completing a task (MANDATORY)
- Before submitting pull requests
- Validating implementation against project standards
Key Parameters:
- :
review_typefor comprehensive analysis"full" - :
severity_filterto catch all severity levels"all" - : Specific areas like "performance", "security", "type-safety"
focus_on
See references/review.md for complete documentation.
Tracer (mcp__zen__tracer
)
mcp__zen__tracerWhen to Use:
- Understanding code execution paths
- Mapping dependencies before refactoring
- Debugging complex flows
Key Parameters:
- :
trace_mode(execution flow) |"precision"(structural analysis) |"dependencies""ask" - : Clear description of what to trace and why
target_description
See references/tracer.md for complete documentation.
Common Required Parameters
All Pal MCP tools require these base parameters:
json
{
"step": "Description of current step",
"step_number": 1,
"total_steps": 2,
"next_step_required": true,
"findings": "Findings from this step",
"model": "anthropic/claude-opus-4.6"
}File Path Requirements
- ALWAYS use full absolute paths for
relevant_files - Include files directly involved in the analysis
- Include related files that provide context
- Include test files when relevant
Typical Workflow Pattern
- Start: Call the tool with and initial strategy
step_number: 1 - Iterate: Increment and refine findings based on previous step
step_number - Continue: Keep calling until
next_step_required: false - Complete: Only proceed with implementation after workflow completes
Violation Examples (Task Rejection)
- Calling a Pal tool once and proceeding to implementation
- Skipping steps because analysis seems complete
- Starting implementation before
next_step_required: false - Using a model other than
anthropic/claude-opus-4.6