* feat(agents): enhance librarian and explore prompts with parallel execution and evidence-based citations Librarian agent enhancements: - Add mandatory 5+ parallel tool execution requirement - Add WebSearch integration for latest information - Add repository cloning to /tmp for deep source analysis - Require GitHub permalinks for all code citations - Add evidence-based reasoning with specific code references - Enhanced gh CLI usage with permalink construction Explore agent enhancements: - Add mandatory 3+ parallel tool execution requirement - Extensive Git CLI integration for repository analysis - Add git log, git blame, git diff commands for exploration - Add parallel execution examples and best practices * feat(agents): add LSP and AST-grep tools to librarian and explore prompts Librarian agent: - Added LSP tools section (lsp_hover, lsp_goto_definition, lsp_find_references, etc.) - Added AST-grep section with pattern examples for structural code search - Updated parallel execution examples to include LSP and AST-grep tools - Added guidance on when to use AST-grep vs Grep vs LSP Explore agent: - Added LSP tools section for semantic code analysis - Added AST-grep section with examples for TypeScript/React patterns - Updated parallel execution examples to include 6 tools - Added tool selection guidance for LSP and AST-grep * fix(agents): remove explore agent references from librarian prompt Subagents cannot call other agents, so replaced all Explore agent references with direct tool usage (Glob, Grep, ast_grep_search). --------- Co-authored-by: Claude <noreply@anthropic.com>
9.2 KiB
9.2 KiB