بنقرة واحدة
deep-research
// Perform comprehensive research and analysis using multiple discovery and analysis tools to provide a solid foundation for complex tasks.
// Perform comprehensive research and analysis using multiple discovery and analysis tools to provide a solid foundation for complex tasks.
| name | deep-research |
| description | Perform comprehensive research and analysis using multiple discovery and analysis tools to provide a solid foundation for complex tasks. |
This skill provides a systematic approach to researching and analyzing the codebase and external dependencies. It is designed to be used before starting complex implementation tasks.
<critical_tools> You MUST strictly follow the rules defined in the project's command guides.
Local Code Discovery
codebase_search for local code discovery.Sourcebot (External Search)
.claude/commands/sourcebot.mdlist_repos -> Identify ID -> search_code with filterByRepoIds.Pal MCP Toolkit (Architecture Analysis)
.claude/commands/pal.md (unified Pal skill)pal skill and appropriate Pal MCP tools before complex tasks.mcp__zen__analyze, mcp__zen__debug, mcp__zen__planner, mcp__zen__refactor, mcp__zen__codereview, mcp__zen__tracernext_step_required: false, YOUR TASK WILL BE INVALIDATED.model: "anthropic/claude-opus-4.6" for ALL Pal MCP tool calls.Context7 & Perplexity (External Knowledge)
.claude/commands/perplexity.md<research_strategy> MANDATORY: You MUST use your tools for EVERY research task. NO EXCEPTIONS.
codebase_search for local code discovery.codebase_search to search specific areas.zen_analyze tool to get a comprehensive view of the architecture, risks, and quality.<quality_standards>
<output_format> Return a SINGLE comprehensive message with the following structure:
[Concise summary of what was found in the local codebase, including key files and architectural patterns]
[Relevant patterns, best practices, or documentation found for external libraries]
[Insights on Architecture, Security, Performance, and Tech Debt derived from Pal Analyze]
[Concrete next steps, solution design, or answer to the user's request]
[List of absolute paths to the most important files discovered during research] </output_format>
Create comprehensive technical specs for SDK gaps, feature modules, or system centralization efforts. Use when writing specs, PRDs, gap analysis documents, or planning centralization of scattered functionality into a single module. Triggers on "create spec", "write spec", "gap spec", "centralize", "fill the gap".
Adversarial code review using the opposite model. Spawns 1–3 reviewers on the opposing model (Claude spawns Codex, Codex spawns Claude) to challenge work from distinct critical lenses. Triggers: "adversarial review".
Discover and understand project rules, coding standards, and architectural guidelines before starting a task. Use when you need to know the constraints, patterns, or compliance requirements for a feature, file, or technology.
Intelligently handle git rebase operations and resolve merge conflicts while preserving features and maintaining code quality. Use when rebasing feature branches, resolving conflicts across commits, and ensuring clean linear history without losing changes.
Enforce root-cause fixes over workarounds, hacks, and symptom patches in all software engineering tasks. Use when debugging issues, fixing bugs, resolving test failures, planning solutions, making architectural decisions, or reviewing code changes. Activates gate functions that detect and reject common workaround patterns such as type assertions, lint suppressions, error swallowing, timing hacks, and monkey patches. Don't use for trivial formatting changes or documentation-only edits.
Use when asking about Rust code style or best practices. Keywords: naming, formatting, comment, clippy, rustfmt, lint, code style, best practice, P.NAM, G.FMT, code review, naming convention, variable naming, function naming, type naming, 命名规范, 代码风格, 格式化, 最佳实践, 代码审查, 怎么命名