[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F612CNA388BFJGEZKE72GC":3,"skill-same:01M7F612CNA388BFJGEZKE72GC":52},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7F612CNA388BFJGEZKE72GC","tech-search",null,"Self-contained deep tech research. WebSearch + WebFetch + Haiku workers.\nPipeline: Query > Decompose > Parallel Search (Haiku) > Evaluate > Synthesize > Document.\nZero external dependencies. MCPs optional.\nSalva em docs\u002Fresearch\u002F{YYYY-MM-DD}-{slug}\u002F.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Ftech-search\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: tech-search\ndescription: |\n  Self-contained deep tech research. WebSearch + WebFetch + Haiku workers.\n  Pipeline: Query > Decompose > Parallel Search (Haiku) > Evaluate > Synthesize > Document.\n  Zero external dependencies. MCPs optional.\n  Salva em docs\u002Fresearch\u002F{YYYY-MM-DD}-{slug}\u002F.\n---\n\n# Tech Search\n\nSelf-contained deep research pipeline. Zero external dependencies.\n\n## Quick Start\n\n```\n\u002Ftech-search \"React Server Components vs Client Components\"\n```\n\n## Activation\n\n1. Parse query from `$ARGUMENTS` (or ask if not provided)\n2. Execute 6-phase workflow\n3. Save to `docs\u002Fresearch\u002F{YYYY-MM-DD}-{slug}\u002F`\n\n**CRITICAL:**\n- NEVER implement code. Redirect to @pm or @dev.\n- NEVER write files outside `docs\u002Fresearch\u002F`.\n\n---\n\n## SKILL DEFINITION\n\n```yaml\nskill:\n  name: Tech Search\n  id: tech-search\n\nveto_conditions:\n  - id: VETO_NO_RESULTS\n    trigger: \"ALL search waves return 0 results\"\n    action: \"STOP + Report: 'No results found. Reformulate query or check connectivity.'\"\n\n  - id: VETO_IMPLEMENTATION_REQUEST\n    trigger: \"User asks to implement, code, create agent\u002Fskill, or deploy\"\n    action: \"REDIRECT: 'Implementation is not my scope. Use @pm for prioritization or @dev for execution.'\"\n    keywords:\n      - \"implementa\"\n      - \"cria o agent\"\n      - \"cria a skill\"\n      - \"faz o codigo\"\n      - \"escreve o codigo\"\n      - \"desenvolve\"\n      - \"deploy\"\n      - \"implement\"\n      - \"build this\"\n      - \"code this\"\n\n  - id: VETO_FORBIDDEN_PATH\n    trigger: \"Attempt to write outside docs\u002Fresearch\u002F\"\n    action: \"BLOCK + Error: 'Writing outside docs\u002Fresearch\u002F is forbidden.'\"\n\nconstraints:\n  forbidden_actions:\n    - NEVER implement code, agents, skills, or production artifacts\n    - NEVER create files outside docs\u002Fresearch\u002F\n    - NEVER write to .claude\u002Fagents\u002F, .claude\u002Fskills\u002F, squads\u002F, app\u002F, lib\u002F\n\ntool_hierarchy:\n  search:\n    1_preferred: \"Exa MCP (mcp__exa__web_search_exa) - if available\"\n    2_fallback: \"WebSearch (always available)\"\n    detection: \"Try Exa first. If 401\u002F429\u002F503, set exa_available=false, use WebSearch.\"\n\n  docs:\n    1_preferred: \"Context7 MCP (mcp__context7__resolve-library-id + query-docs) - if available\"\n    2_fallback: \"WebSearch with 'site:{library}.dev docs' or 'site:{library}.io docs'\"\n    detection: \"Try Context7 first. If fails, set context7_available=false.\"\n\n  deep_read:\n    only: \"WebFetch with prompts\u002Fpage-extract.md prompt\"\n    note: \"No ETL, no Bash, no external scripts. Pure WebFetch.\"\n\n  workers:\n    type: \"general-purpose\"\n    model: \"haiku\"\n    max_parallel: 5\n    max_deep_reads_per_worker: 3\n\nworkflow:\n  phases:\n\n    # ──────────────────────────────────────────────\n    # PHASE 1: AUTO-CLARIFY\n    # ──────────────────────────────────────────────\n    1_auto_clarify:\n      name: \"Auto-Clarification\"\n      model_tier: \"MAIN MODEL (inline)\"\n      description: |\n        Pattern matching + technology detection on the user query.\n        Determines if clarification is needed or can be skipped.\n\n      execution: |\n        1. Read user query (original text, unmodified)\n\n        2. PATTERN MATCHING (case-insensitive):\n           - Technical keywords: \"code\", \"implement\", \"how to\", \"api\", \"bug\",\n             \"error\", \"debug\", \"library\", \"sdk\", \"tutorial\", \"example\"\n             → inferred_context.focus = \"technical\"\n           - Comparison keywords: \"compare\", \"vs\", \"versus\", \"difference\",\n             \"better\", \"alternative\", \"tradeoff\", \"pros and cons\"\n             → inferred_context.focus = \"comparison\"\n           - Recency keywords: \"latest\", \"new\", \"2024\", \"2025\", \"2026\",\n             \"recent\", \"state of the art\", \"trending\"\n             → inferred_context.temporal = \"recent\"\n             → Append current year to search queries\n\n        3. TECHNOLOGY DETECTION (case-insensitive):\n           Scan for known technologies:\n           - Languages: JavaScript\u002FJS, TypeScript\u002FTS, Python, Java, Go, Rust, C#, Ruby, PHP\n           - Frameworks: React, Next.js, Vue, Angular, Svelte, Express, FastAPI, Django, Flask\n           - Databases: PostgreSQL, MySQL, MongoDB, Redis, Supabase, Firebase, Elasticsearch\n           - AI\u002FML: LLM, RAG, LangChain, OpenAI, Claude, Anthropic, TensorFlow, PyTorch\n           - Infra: Docker, Kubernetes, AWS, Vercel, GraphQL, REST, WebSocket\n           → Collect into inferred_context.domain = [list]\n\n        4. DECISION:\n           - IF any pattern OR technology detected → skip clarification\n           - IF nothing detected → ask ONE question:\n             \"Your query seems broad. What is the focus and technical context?\"\n\n      output: \"inferred_context object {focus, temporal, domain, skip_clarification}\"\n\n    # ──────────────────────────────────────────────\n    # PHASE 2: DECOMPOSE\n    # ──────────────────────────────────────────────\n    2_decompose:\n      name: \"Query Decomposition\"\n      model_tier: \"MAIN MODEL\"\n      description: |\n        Decomposes user query into 5-7 atomic, directly searchable sub-queries.\n        Uses extended thinking for deeper analysis.\n\n      execution: |\n        ultrathink\n\n        1. DEEP ANALYSIS (use extended thinking):\n           - What are the REAL questions behind this query?\n           - What would a domain expert want to know?\n           - What gaps might standard searches miss?\n           - What assumptions should be tested?\n\n        2. GENERATE 5-7 sub-queries that:\n           - Cover ORTHOGONAL angles (not overlapping)\n           - Include at least one \"devil's advocate\" query\n           - Include at least one \"expert-level\" query\n           - Are directly searchable (not abstract)\n\n        3. INCORPORATE inferred_context:\n           - If focus=comparison → ensure queries cover both\u002Fall sides\n           - If temporal=recent → add year constraints\n           - If domain detected → scope queries to those technologies\n\n        4. OUTPUT format:\n           {\n             \"main_topic\": \"string\",\n             \"sub_queries\": [\"query1\", \"query2\", ...],\n             \"search_strategy\": \"parallel\"\n           }\n\n      output: \"decomposition_result JSON\"\n\n    # ──────────────────────────────────────────────\n    # PHASE 3: PARALLEL SEARCH (Haiku Workers)\n    # ──────────────────────────────────────────────\n    3_parallel_search:\n      name: \"Parallel Search via Haiku Workers\"\n      model_tier: \"HAIKU (via Task tool, general-purpose agent)\"\n      description: |\n        Dispatches sub-queries as parallel Haiku workers.\n        Each worker: WebSearch → select top URLs → WebFetch on best → return JSON.\n        Max 5 workers in parallel. No external dependencies.\n\n      execution: |\n        1. PRE-CHECK MCP AVAILABILITY (main model, before dispatch):\n           - Try Context7: mcp__context7__resolve-library-id for detected library\n             → If fails: context7_available = false\n           - Try Exa: mcp__exa__web_search_exa(\"test\", 1)\n             → If 401\u002F429\u002F503: exa_available = false\n\n        2. DISPATCH WORKERS:\n           For EACH sub-query, create a Task call:\n\n           Task(\n             subagent_type: \"general-purpose\",\n             model: \"haiku\",\n             prompt: \u003CWORKER_PROMPT>\n           )\n\n           Dispatch ALL Task calls in a SINGLE message for parallel execution.\n           Max 5 workers.\n\n           WORKER PROMPT TEMPLATE:\n           ```\n           You are a research worker. Search and extract information for ONE specific query.\n\n           QUERY: {sub_query}\n           CONTEXT: {inferred_context_json}\n           MCP AVAILABILITY: exa={exa_available}, context7={context7_available}\n\n           INSTRUCTIONS:\n           1. Search using the best available tool:\n              - If context7 available AND query is about a specific library:\n                → Use mcp__context7__resolve-library-id then mcp__context7__query-docs\n              - If exa available:\n                → Use mcp__exa__web_search_exa(query, numResults=5)\n              - Else:\n                → Use WebSearch(query)\n\n           2. From search results, select top 2-3 most relevant URLs\n\n           3. Deep-read top 1-3 results using WebFetch:\n              - For each URL, use WebFetch with this prompt:\n                \"Extract technical information relevant to: {sub_query}\n                 Focus on: specific facts\u002Fnumbers\u002Fbenchmarks, code examples (preserve exactly),\n                 best practices and warnings, expert recommendations.\n                 Skip: navigation, ads, generic intros.\n                 Format as structured markdown with Key Findings, Code\u002FExamples,\n                 Expert Quotes, and Actionable Insights sections.\"\n\n           4. Return results as JSON (no other text):\n              {\n                \"sub_query\": \"the original sub-query\",\n                \"sources\": [\n                  {\"url\": \"...\", \"title\": \"...\", \"snippet\": \"first 200 chars...\",\n                   \"credibility\": \"HIGH|MEDIUM|LOW\", \"tool_used\": \"WebSearch|Exa|Context7\"}\n                ],\n                \"key_findings\": [\"finding1 with specific data\", \"finding2\", ...],\n                \"code_examples\": [\"```lang\\ncode\\n```\", ...],\n                \"expert_quotes\": [\"quote — author\", ...]\n              }\n\n           IMPORTANT:\n           - Do NOT synthesize or write reports. Just search and return raw findings.\n           - Be HONEST about credibility (LOW if source is generic\u002Foutdated).\n           - Preserve code examples EXACTLY as found.\n           - Max 3 deep reads per worker.\n           ```\n\n        3. AGGREGATE RESULTS (main model):\n           - Collect all worker responses\n           - Parse JSON from each Task result\n           - Deduplicate by URL (keep highest credibility)\n           - Build unified results with tool attribution\n\n        4. HANDLE FAILURES:\n           - For failed workers (no response or invalid JSON):\n             → Log warning, execute that sub-query directly in main context\n           - RULE: at least 1 successful result to proceed\n\n      output: |\n        {\n          \"search_results\": [...],\n          \"tools_used\": {\"exa\": N, \"context7\": N, \"websearch\": N, \"webfetch\": N},\n          \"worker_stats\": {\"dispatched\": N, \"succeeded\": N, \"failed\": N}\n        }\n\n    # ──────────────────────────────────────────────\n    # PHASE 4: EVALUATE COVERAGE\n    # ──────────────────────────────────────────────\n    4_evaluate_coverage:\n      name: \"Coverage Evaluation\"\n      model_tier: \"HAIKU (via Task tool)\"\n      description: |\n        Evaluates if research is complete. Decides CONTINUE or STOP.\n        Max 2 waves total (simpler than tech-research's 3 waves).\n\n      execution: |\n        Wrap in Task(model: \"haiku\"):\n\n        1. Calculate metrics:\n           - coverage_score (0-100): How well do findings answer the original query?\n           - source_quality: Count HIGH\u002FMEDIUM\u002FLOW credibility sources\n           - new_info_ratio: Estimate unique facts vs total\n\n        2. STOPPING RULES:\n           HARD STOPS (always stop):\n           - wave >= 2 → \"Max iterations reached\"\n           - coverage_score >= 80 AND high_credibility >= 3 → \"Sufficient coverage\"\n\n           SOFT STOP:\n           - coverage_score >= 65 AND wave >= 1 → \"Acceptable coverage\"\n\n           MUST CONTINUE:\n           - coverage_score \u003C 50 AND wave == 1 → \"Insufficient first wave\"\n\n        3. IF CONTINUE:\n           - Generate 2-3 targeted gap-filling queries\n           - Return to Phase 3 (search again with new queries)\n\n        4. IF STOP:\n           - Document final score and remaining gaps\n\n      output: |\n        {\n          \"decision\": \"CONTINUE|STOP\",\n          \"coverage_score\": 0-100,\n          \"stop_reason\": \"reason\",\n          \"gaps\": [...],\n          \"next_queries\": [...] (if CONTINUE)\n        }\n\n    # ──────────────────────────────────────────────\n    # PHASE 5: SYNTHESIZE\n    # ──────────────────────────────────────────────\n    5_synthesize:\n      name: \"Synthesize\"\n      model_tier: \"MAIN MODEL\"\n      description: |\n        Consolidates all findings into a comprehensive research report.\n        Produces DOCUMENTATION ONLY, never production code.\n\n      execution: |\n        1. Review all aggregated search results and findings\n        2. Identify patterns, consensus, and contradictions across sources\n        3. Rank techniques\u002Fsolutions by evidence strength\n        4. Generate:\n           - Executive summary (TL;DR)\n           - Detailed findings organized by theme\n           - Code examples for REFERENCE only (not production)\n           - Decision matrix: when to use what\n           - Practical next steps recommending @pm or @dev\n        5. ALWAYS end with \"Next Steps\" section redirecting to implementation agents\n\n      output: \"Synthesized report content\"\n\n    # ──────────────────────────────────────────────\n    # PHASE 6: DOCUMENT\n    # ──────────────────────────────────────────────\n    6_document:\n      name: \"Document\"\n      model_tier: \"MAIN MODEL\"\n      description: \"Save complete research to docs\u002Fresearch\u002F\"\n      structure:\n        folder: \"docs\u002Fresearch\u002F{YYYY-MM-DD}-{slug}\u002F\"\n        files:\n          - name: \"README.md\"\n            content: \"Index + TL;DR\"\n          - name: \"00-query-original.md\"\n            content: \"Original question + inferred context\"\n          - name: \"01-deep-research-prompt.md\"\n            content: \"Generated structured prompt with sub-queries\"\n          - name: \"02-research-report.md\"\n            content: \"Complete research findings\"\n          - name: \"03-recommendations.md\"\n            content: \"Recommendations and next steps (NO production code)\"\n\nsecurity:\n  - Never include API keys or secrets in research docs\n  - Sanitize sensitive paths before saving\n  - Validate URLs before fetching\n  - NEVER write files outside docs\u002Fresearch\u002F\n  - NEVER create agents, skills, or production code\n\nscope_boundaries:\n  allowed_paths:\n    - \"docs\u002Fresearch\u002F**\"\n  forbidden_paths:\n    - \".claude\u002Fagents\u002F\"\n    - \".claude\u002Fskills\u002F\"\n    - \"squads\u002F\"\n    - \"app\u002F\"\n    - \"lib\u002F\"\n    - \"src\u002F\"\n    - \"*.ts\"\n    - \"*.tsx\"\n    - \"*.js\"\n    - \"*.py\"\n  exception: \"Code examples within docs\u002Fresearch\u002F markdown are allowed for DOCUMENTATION only\"\n```\n\n---\n\n## Execution Flow\n\n```\nQuery → Auto-Clarify → Decompose (ultrathink, MAIN MODEL)\n                              |\n              [Sub-query 1]  [Sub-query 2]  ... [Sub-query 5]\n                   |              |                   |\n              [Haiku GP]     [Haiku GP]          [Haiku GP]\n              (search+read)  (search+read)       (search+read)\n                   |              |                   |\n                   +------+-------+-------+-----------+\n                          |\n                    Aggregate (MAIN MODEL)\n                          |\n                    Evaluate Coverage (HAIKU)\n                          |\n                    (coverage OK?) ── NO ──→ [Wave 2, max 2 total]\n                          | YES\n                          |\n                    Synthesize (MAIN MODEL)\n                          |\n                    Document (MAIN MODEL)\n```\n\n## What This Skill Does NOT Have\n\n- No ETL service dependency\n- No infrastructure\u002F references\n- No squads\u002F references\n- No Bash commands\n- No custom agents (uses built-in general-purpose)\n- No Python\u002FJS scripts\n- No npm dependencies\n- No wave compression (max 2 waves, context is sufficient)\n- No citation verification (simplifies without quality loss)\n- No follow-up behavior (run again for more research)\n- No BlogDiscovery or SemanticChunker\n\n## Output Structure\n\n```\ndocs\u002Fresearch\u002F{YYYY-MM-DD}-{slug}\u002F\n├── README.md                    # Index + TL;DR\n├── 00-query-original.md         # Original question + context\n├── 01-deep-research-prompt.md   # Generated prompt with sub-queries\n├── 02-research-report.md        # Complete findings\n└── 03-recommendations.md        # Recommendations (NO production code)\n```\n","# Tech Search\n\nSelf-contained deep research pipeline. Zero external dependencies.\n\n## Quick Start\n\n```\n\u002Ftech-search \"React Server Components vs Client Components\"\n```\n\n## Activation\n\n1. Parse query from `$ARGUMENTS` (or ask if not provided)\n2. Execute 6-phase workflow\n3. Save to `docs\u002Fresearch\u002F{YYYY-MM-DD}-{slug}\u002F`\n\n**CRITICAL:**\n- NEVER implement code. Redirect to @pm or @dev.\n- NEVER write files outside `docs\u002Fresearch\u002F`.\n\n---\n\n## SKILL DEFINITION\n\n```yaml\nskill:\n  name: Tech Search\n  id: tech-search\n\nveto_conditions:\n  - id: VETO_NO_RESULTS\n    trigger: \"ALL search waves return 0 results\"\n    action: \"STOP + Report: 'No results found. Reformulate query or check connectivity.'\"\n\n  - id: VETO_IMPLEMENTATION_REQUEST\n    trigger: \"User asks to implement, code, create agent\u002Fskill, or deploy\"\n    action: \"REDIRECT: 'Implementation is not my scope. Use @pm for prioritization or @dev for execution.'\"\n    keywords:\n      - \"implementa\"\n      - \"cria o agent\"\n      - \"cria a skill\"\n      - \"faz o codigo\"\n      - \"escreve o codigo\"\n      - \"desenvolve\"\n      - \"deploy\"\n      - \"implement\"\n      - \"build this\"\n      - \"code this\"\n\n  - id: VETO_FORBIDDEN_PATH\n    trigger: \"Attempt to write outside docs\u002Fresearch\u002F\"\n    action: \"BLOCK + Error: 'Writing outside docs\u002Fresearch\u002F is forbidden.'\"\n\nconstraints:\n  forbidden_actions:\n    - NEVER implement code, agents, skills, or production artifacts\n    - NEVER create files outside docs\u002Fresearch\u002F\n    - NEVER write to .claude\u002Fagents\u002F, .claude\u002Fskills\u002F, squads\u002F, app\u002F, lib\u002F\n\ntool_hierarchy:\n  search:\n    1_preferred: \"Exa MCP (mcp__exa__web_search_exa) - if available\"\n    2_fallback: \"WebSearch (always available)\"\n    detection: \"Try Exa first. If 401\u002F429\u002F503, set exa_available=false, use WebSearch.\"\n\n  docs:\n    1_preferred: \"Context7 MCP (mcp__context7__resolve-library-id + query-docs) - if available\"\n    2_fallback: \"WebSearch with 'site:{library}.dev docs' or 'site:{library}.io docs'\"\n    detection: \"Try Context7 first. If fails, set context7_available=false.\"\n\n  deep_read:\n    only: \"WebFetch with prompts\u002Fpage-extract.md prompt\"\n    note: \"No ETL, no Bash, no external scripts. Pure WebFetch.\"\n\n  workers:\n    type: \"general-purpose\"\n    model: \"haiku\"\n    max_parallel: 5\n    max_deep_reads_per_worker: 3\n\nworkflow:\n  phases:\n\n    # ──────────────────────────────────────────────\n    # PHASE 1: AUTO-CLARIFY\n    # ──────────────────────────────────────────────\n    1_auto_clarify:\n      name: \"Auto-Clarification\"\n      model_tier: \"MAIN MODEL (inline)\"\n      description: |\n        Pattern matching + technology detection on the user query.\n        Determines if clarification is needed or can be skipped.\n\n      execution: |\n        1. Read user query (original text, unmodified)\n\n        2. PATTERN MATCHING (case-insensitive):\n           - Technical keywords: \"code\", \"implement\", \"how to\", \"api\", \"bug\",\n             \"error\", \"debug\", \"library\", \"sdk\", \"tutorial\", \"example\"\n             → inferred_context.focus = \"technical\"\n           - Comparison keywords: \"compare\", \"vs\", \"versus\", \"difference\",\n             \"better\", \"alternative\", \"tradeoff\", \"pros and cons\"\n             → inferred_context.focus = \"comparison\"\n           - Recency keywords: \"latest\", \"new\", \"2024\", \"2025\", \"2026\",\n             \"recent\", \"state of the art\", \"trending\"\n             → inferred_context.temporal = \"recent\"\n             → Append current year to search queries\n\n        3. TECHNOLOGY DETECTION (case-insensitive):\n           Scan for known technologies:\n           - Languages: JavaScript\u002FJS, TypeScript\u002FTS, Python, Java, Go, Rust, C#, Ruby, PHP\n           - Frameworks: React, Next.js, Vue, Angular, Svelte, Express, FastAPI, Django, Flask\n           - Databases: PostgreSQL, MySQL, MongoDB, Redis, Supabase, Firebase, Elasticsearch\n           - AI\u002FML: LLM, RAG, LangChain, OpenAI, Claude, Anthropic, TensorFlow, PyTorch\n           - Infra: Docker, Kubernetes, AWS, Vercel, GraphQL, REST, WebSocket\n           → Collect into inferred_context.domain = [list]\n\n        4. DECISION:\n           - IF any pattern OR technology detected → skip clarification\n           - IF nothing detected → ask ONE question:\n             \"Your query seems broad. What is the focus and technical context?\"\n\n      output: \"inferred_context object {focus, temporal, domain, skip_clarification}\"\n\n    # ──────────────────────────────────────────────\n    # PHASE 2: DECOMPOSE\n    # ──────────────────────────────────────────────\n    2_decompose:\n      name: \"Query Decomposition\"\n      model_tier: \"MAIN MODEL\"\n      description: |\n        Decomposes user query into 5-7 atomic, directly searchable sub-queries.\n        Uses extended thinking for deeper analysis.\n\n      execution: |\n        ultrathink\n\n        1. DEEP ANALYSIS (use extended thinking):\n           - What are the REAL questions behind this query?\n           - What would a domain expert want to know?\n           - What gaps might standard searches miss?\n           - What assumptions should be tested?\n\n        2. GENERATE 5-7 sub-queries that:\n           - Cover ORTHOGONAL angles (not overlapping)\n           - Include at least one \"devil's advocate\" query\n           - Include at least one \"expert-level\" query\n           - Are directly searchable (not abstract)\n\n        3. INCORPORATE inferred_context:\n           - If focus=comparison → ensure queries cover both\u002Fall sides\n           - If temporal=recent → add year constraints\n           - If domain detected → scope queries to those technologies\n\n        4. OUTPUT format:\n           {\n             \"main_topic\": \"string\",\n             \"sub_queries\": [\"query1\", \"query2\", ...],\n             \"search_strategy\": \"parallel\"\n           }\n\n      output: \"decomposition_result JSON\"\n\n    # ──────────────────────────────────────────────\n    # PHASE 3: PARALLEL SEARCH (Haiku Workers)\n    # ──────────────────────────────────────────────\n    3_parallel_search:\n      name: \"Parallel Search via Haiku Workers\"\n      model_tier: \"HAIKU (via Task tool, general-purpose agent)\"\n      description: |\n        Dispatches sub-queries as parallel Haiku workers.\n        Each worker: WebSearch → select top URLs → WebFetch on best → return JSON.\n        Max 5 workers in parallel. No external dependencies.\n\n      execution: |\n        1. PRE-CHECK MCP AVAILABILITY (main model, before dispatch):\n           - Try Context7: mcp__context7__resolve-library-id for detected library\n             → If fails: context7_available = false\n           - Try Exa: mcp__exa__web_search_exa(\"test\", 1)\n             → If 401\u002F429\u002F503: exa_available = false\n\n        2. DISPATCH WORKERS:\n           For EACH sub-query, create a Task call:\n\n           Task(\n             subagent_type: \"general-purpose\",\n             model: \"haiku\",\n             prompt: \u003CWORKER_PROMPT>\n           )\n\n           Dispatch ALL Task calls in a SINGLE message for parallel execution.\n           Max 5 workers.\n\n           WORKER PROMPT TEMPLATE:\n           ```\n           You are a research worker. Search and extract information for ONE specific query.\n\n           QUERY: {sub_query}\n           CONTEXT: {inferred_context_json}\n           MCP AVAILABILITY: exa={exa_available}, context7={context7_available}\n\n           INSTRUCTIONS:\n           1. Search using the best available tool:\n              - If context7 available AND query is about a specific library:\n                → Use mcp__context7__resolve-library-id then mcp__context7__query-docs\n              - If exa available:\n                → Use mcp__exa__web_search_exa(query, numResults=5)\n              - Else:\n                → Use WebSearch(query)\n\n           2. From search results, select top 2-3 most relevant URLs\n\n           3. Deep-read top 1-3 results using WebFetch:\n              - For each URL, use WebFetch with this prompt:\n                \"Extract technical information relevant to: {sub_query}\n                 Focus on: specific facts\u002Fnumbers\u002Fbenchmarks, code examples (preserve exactly),\n                 best practices and warnings, expert recommendations.\n                 Skip: navigation, ads, generic intros.\n                 Format as structured markdown with Key Findings, Code\u002FExamples,\n                 Expert Quotes, and Actionable Insights sections.\"\n\n           4. Return results as JSON (no other text):\n              {\n                \"sub_query\": \"the original sub-query\",\n                \"sources\": [\n                  {\"url\": \"...\", \"title\": \"...\", \"snippet\": \"first 200 chars...\",\n                   \"credibility\": \"HIGH|MEDIUM|LOW\", \"tool_used\": \"WebSearch|Exa|Context7\"}\n                ],\n                \"key_findings\": [\"finding1 with specific data\", \"finding2\", ...],\n                \"code_examples\": [\"```lang\\ncode\\n```\", ...],\n                \"expert_quotes\": [\"quote — author\", ...]\n              }\n\n           IMPORTANT:\n           - Do NOT synthesize or write reports. Just search and return raw findings.\n           - Be HONEST about credibility (LOW if source is generic\u002Foutdated).\n           - Preserve code examples EXACTLY as found.\n           - Max 3 deep reads per worker.\n           ```\n\n        3. AGGREGATE RESULTS (main model):\n           - Collect all worker responses\n           - Parse JSON from each Task result\n           - Deduplicate by URL (keep highest credibility)\n           - Build unified results with tool attribution\n\n        4. HANDLE FAILURES:\n           - For failed workers (no response or invalid JSON):\n             → Log warning, execute that sub-query directly in main context\n           - RULE: at least 1 successful result to proceed\n\n      output: |\n        {\n          \"search_results\": [...],\n          \"tools_used\": {\"exa\": N, \"context7\": N, \"websearch\": N, \"webfetch\": N},\n          \"worker_stats\": {\"dispatched\": N, \"succeeded\": N, \"failed\": N}\n        }\n\n    # ──────────────────────────────────────────────\n    # PHASE 4: EVALUATE COVERAGE\n    # ──────────────────────────────────────────────\n    4_evaluate_coverage:\n      name: \"Coverage Evaluation\"\n      model_tier: \"HAIKU (via Task tool)\"\n      description: |\n        Evaluates if research is complete. Decides CONTINUE or STOP.\n        Max 2 waves total (simpler than tech-research's 3 waves).\n\n      execution: |\n        Wrap in Task(model: \"haiku\"):\n\n        1. Calculate metrics:\n           - coverage_score (0-100): How well do findings answer the original query?\n           - source_quality: Count HIGH\u002FMEDIUM\u002FLOW credibility sources\n           - new_info_ratio: Estimate unique facts vs total\n\n        2. STOPPING RULES:\n           HARD STOPS (always stop):\n           - wave >= 2 → \"Max iterations reached\"\n           - coverage_score >= 80 AND high_credibility >= 3 → \"Sufficient coverage\"\n\n           SOFT STOP:\n           - coverage_score >= 65 AND wave >= 1 → \"Acceptable coverage\"\n\n           MUST CONTINUE:\n           - coverage_score \u003C 50 AND wave == 1 → \"Insufficient first wave\"\n\n        3. IF CONTINUE:\n           - Generate 2-3 targeted gap-filling queries\n           - Return to Phase 3 (search again with new queries)\n\n        4. IF STOP:\n           - Document final score and remaining gaps\n\n      output: |\n        {\n          \"decision\": \"CONTINUE|STOP\",\n          \"coverage_score\": 0-100,\n          \"stop_reason\": \"reason\",\n          \"gaps\": [...],\n          \"next_queries\": [...] (if CONTINUE)\n        }\n\n    # ──────────────────────────────────────────────\n    # PHASE 5: SYNTHESIZE\n    # ──────────────────────────────────────────────\n    5_synthesize:\n      name: \"Synthesize\"\n      model_tier: \"MAIN MODEL\"\n      description: |\n        Consolidates all findings into a comprehensive research report.\n        Produces DOCUMENTATION ONLY, never production code.\n\n      execution: |\n        1. Review all aggregated search results and findings\n        2. Identify patterns, consensus, and contradictions across sources\n        3. Rank techniques\u002Fsolutions by evidence strength\n        4. Generate:\n           - Executive summary (TL;DR)\n           - Detailed findings organized by theme\n           - Code examples for REFERENCE only (not production)\n           - Decision matrix: when to use what\n           - Practical next steps recommending @pm or @dev\n        5. ALWAYS end with \"Next Steps\" section redirecting to implementation agents\n\n      output: \"Synthesized report content\"\n\n    # ──────────────────────────────────────────────\n    # PHASE 6: DOCUMENT\n    # ──────────────────────────────────────────────\n    6_document:\n      name: \"Document\"\n      model_tier: \"MAIN MODEL\"\n      description: \"Save complete research to docs\u002Fresearch\u002F\"\n      structure:\n        folder: \"docs\u002Fresearch\u002F{YYYY-MM-DD}-{slug}\u002F\"\n        files:\n          - name: \"README.md\"\n            content: \"Index + TL;DR\"\n          - name: \"00-query-original.md\"\n            content: \"Original question + inferred context\"\n          - name: \"01-deep-research-prompt.md\"\n            content: \"Generated structured prompt with sub-queries\"\n          - name: \"02-research-report.md\"\n            content: \"Complete research findings\"\n          - name: \"03-recommendations.md\"\n            content: \"Recommendations and next steps (NO production code)\"\n\nsecurity:\n  - Never include API keys or secrets in research docs\n  - Sanitize sensitive paths before saving\n  - Validate URLs before fetching\n  - NEVER write files outside docs\u002Fresearch\u002F\n  - NEVER create agents, skills, or production code\n\nscope_boundaries:\n  allowed_paths:\n    - \"docs\u002Fresearch\u002F**\"\n  forbidden_paths:\n    - \".claude\u002Fagents\u002F\"\n    - \".claude\u002Fskills\u002F\"\n    - \"squads\u002F\"\n    - \"app\u002F\"\n    - \"lib\u002F\"\n    - \"src\u002F\"\n    - \"*.ts\"\n    - \"*.tsx\"\n    - \"*.js\"\n    - \"*.py\"\n  exception: \"Code examples within docs\u002Fresearch\u002F markdown are allowed for DOCUMENTATION only\"\n```\n\n---\n\n## Execution Flow\n\n```\nQuery → Auto-Clarify → Decompose (ultrathink, MAIN MODEL)\n                              |\n              [Sub-query 1]  [Sub-query 2]  ... [Sub-query 5]\n                   |              |                   |\n              [Haiku GP]     [Haiku GP]          [Haiku GP]\n              (search+read)  (search+read)       (search+read)\n                   |              |                   |\n                   +------+-------+-------+-----------+\n                          |\n                    Aggregate (MAIN MODEL)\n                          |\n                    Evaluate Coverage (HAIKU)\n                          |\n                    (coverage OK?) ── NO ──→ [Wave 2, max 2 total]\n                          | YES\n                          |\n                    Synthesize (MAIN MODEL)\n                          |\n                    Document (MAIN MODEL)\n```\n\n## What This Skill Does NOT Have\n\n- No ETL service dependency\n- No infrastructure\u002F references\n- No squads\u002F references\n- No Bash commands\n- No custom agents (uses built-in general-purpose)\n- No Python\u002FJS scripts\n- No npm dependencies\n- No wave compression (max 2 waves, context is sufficient)\n- No citation verification (simplifies without quality loss)\n- No follow-up behavior (run again for more research)\n- No BlogDiscovery or SemanticChunker\n\n## Output Structure\n\n```\ndocs\u002Fresearch\u002F{YYYY-MM-DD}-{slug}\u002F\n├── README.md                    # Index + TL;DR\n├── 00-query-original.md         # Original question + context\n├── 01-deep-research-prompt.md   # Generated prompt with sub-queries\n├── 02-research-report.md        # Complete findings\n└── 03-recommendations.md        # Recommendations (NO production code)\n```\n",{"name":5,"description":7},"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","05-技能与代理开发\u002Ftech-search",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill tech-search",{"tool":38,"command":39},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill tech-search",{"tool":41,"command":42},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill tech-search","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Ftech-search\u002FSKILL.md",true,[46],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"prompts\u002Fpage-extract.md","REFERENCE","参考文档",3436,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Ftech-search\u002Fprompts\u002Fpage-extract.md",[53,60,65,72,79,86],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":61,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]