[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78F34VAV1KRDVWRAEENGD2V":3,"skill-same:01M78F34VAV1KRDVWRAEENGD2V":46},{"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":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M78F34VAV1KRDVWRAEENGD2V","code-search",null,"Codebase discovery priority for all agents: (1) mcp-codebase-search MCP, (2) graphify if available, (3) default tools (Grep\u002FGlob\u002FRead). Use before claiming code exists, before adapt stack detection, and when grilling\u002Fdomain-modeling cross-checks the repo.","angpysha\u002Fapi2skill","angpysha","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F7025170?v=4","01M721R7EB17NTYWEFV7KW1B3Q","Andrii","01M78F2DTB4D5VB2WXKXBN0VFT",0,"MIT","https:\u002F\u002Fgithub.com\u002Fangpysha\u002Fapi2skill\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcode-search\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: code-search\ndescription: >-\n  Codebase discovery priority for all agents: (1) mcp-codebase-search MCP, (2) graphify if\n  available, (3) default tools (Grep\u002FGlob\u002FRead). Use before claiming code exists, before\n  adapt stack detection, and when grilling\u002Fdomain-modeling cross-checks the repo.\ndisable-model-invocation: false\n---\n\n# Code Search — discovery priority\n\n**Always follow this order** when exploring a repo, answering \"does X exist?\", stack detection,\nor cross-checking user claims against code.\n\n| Priority | Source | When to use |\n|----------|--------|-------------|\n| **1** | **[mcp-codebase-search](https:\u002F\u002Fgithub.com\u002Fteknologika\u002Fmcp-codebase-search\u002F)** MCP | MCP server `codebase-search` available in the host |\n| **2** | **graphify** | MCP unavailable or insufficient; `graphify` CLI\u002Fskill on PATH |\n| **3** | **Default tools** | Grep, Glob, Read, shell `find`\u002F`rg` — last resort |\n\nState **DEGRADED MODE** in chat when priority 1 and 2 are unavailable before making\nstructural claims about the codebase.\n\n---\n\n## Priority 1 — mcp-codebase-search (preferred)\n\nLocal semantic search via MCP ([`@teknologika\u002Fmcp-codebase-search`](https:\u002F\u002Fgithub.com\u002Fteknologika\u002Fmcp-codebase-search\u002F)).\n\n### Setup (once per machine \u002F repo)\n\n```bash\nnpm install -g @teknologika\u002Fmcp-codebase-search\nmcp-codebase-ingest --path . --name \u003Cproject-name>\n```\n\nCursor MCP config (`.cursor\u002Fmcp.json` or user settings):\n\n```json\n{\n  \"mcpServers\": {\n    \"codebase-search\": {\n      \"command\": \"mcp-codebase-search\",\n      \"args\": []\n    }\n  }\n}\n```\n\nSet `pipeline.manifest.json` → `code_search.codebase_name` to the ingest name.\n\n### MCP tools (use via CallMcpTool when host exposes them)\n\n| Tool | Use |\n|------|-----|\n| `list_codebases` | Verify index exists; check `lastScanAge` |\n| `update_codebase_scan` | Refresh after edits if `staleWarning` or scan age > 10 min |\n| `search_codebases` | Semantic search — primary discovery |\n| `get_chunk_content` \u002F `get_file_content` | Read matched code (paths, not pastes in chat) |\n| `get_adjacent_chunks` | Context around a partial chunk |\n| `list_files` | Stack detection — extensions, layout, test vs src |\n| `get_codebase_stats` | Language distribution for pack matching |\n\n### Workflow\n\n1. `list_codebases` — confirm project is indexed.\n2. If stale → `update_codebase_scan` with manifest `code_search.codebase_name`.\n3. `search_codebases` with descriptive queries (not bare identifiers).\n4. Cite **file paths + line ranges** in chat; use `get_chunk_content` for detail.\n\n### Dedupe Ticket — hard rule (no creation without one)\n\n**codebase-search is the *only valid source* for claims about what already exists** during a\nsession. Before adding **any** new file, module, class, function, or helper, produce a\n**Dedupe Ticket**:\n\n- **Intent signature** — one sentence describing what you are about to add\n- **Queries** — 2–4 `search_codebases` calls you will run\n- **Top matches** — up to 5 file paths returned by the tool\n- **Decision** — `reuse | extend | new`\n- **Rationale** — why\n\nSkipping the ticket to create new code is a protocol violation. If the MCP server is\nunavailable, state **DEGRADED MODE** and stop before making changes.\n\n---\n\n## Priority 2 — graphify (fallback)\n\nWhen MCP codebase search is unavailable or did not answer (e.g. no index yet):\n\n```bash\ngraphify . --no-viz            # adapt: first run\ngraphify . --update --no-viz   # re-adapt\n```\n\nRead `graphify-out\u002FGRAPH_REPORT.md` and `.graphify_labels.json` if present.\n\nGraphify is strong for **stack communities** and dependency graphs; prefer MCP for\n**\"where is X implemented?\"** during implementation and grilling.\n\n---\n\n## Priority 3 — default tools\n\nOnly when MCP and graphify are unavailable:\n\n- **Glob** — find files by name pattern\n- **Grep** — exact symbol\u002Fstring matches\n- **Read** — file contents after narrowing\n\nAvoid repo-wide blind grep when MCP or graphify can answer semantically.\n\n---\n\n## Adapt \u002F stack-selector\n\nDuring `.agents adapt` (after `PROJECT.md` intake):\n\n1. **mcp-codebase-search** — `list_files` + `get_codebase_stats` + targeted\n   `search_codebases` (e.g. \"entry point\", \"database migrations\", \"SwiftUI app\").\n2. **graphify** — if on PATH and repo has code; read `graphify-out\u002F`.\n3. **Filesystem globs** — `*.csproj`, `pubspec.yaml`, `Package.swift`, etc.\n4. **`PROJECT.md` Stack** — primary on greenfield.\n\nRecord `adapt.code_search_source` in recommendation: `mcp-codebase-search` | `graphify` | `filesystem` | `project-brief`.\n\n---\n\n## Grilling & domain-modeling\n\nWhen a grill question is answerable from code:\n\n1. Run **code-search** priority chain (MCP first).\n2. Then ask the human only if still ambiguous.\n\n`domain-modeling` cross-reference: use MCP `search_codebases` before claiming code contradicts the glossary.\n\n---\n\n## Constraints\n\n- Cite paths; do not dump large files into chat.\n- Call `update_codebase_scan` after significant local edits before relying on search results.\n- MCP runs locally — no code leaves the machine.\n- Graphify and MCP complement each other; **MCP wins for search**, graphify for graph-level stack signals when MCP is missing.\n","# Code Search — discovery priority\n\n**Always follow this order** when exploring a repo, answering \"does X exist?\", stack detection,\nor cross-checking user claims against code.\n\n| Priority | Source | When to use |\n|----------|--------|-------------|\n| **1** | **[mcp-codebase-search](https:\u002F\u002Fgithub.com\u002Fteknologika\u002Fmcp-codebase-search\u002F)** MCP | MCP server `codebase-search` available in the host |\n| **2** | **graphify** | MCP unavailable or insufficient; `graphify` CLI\u002Fskill on PATH |\n| **3** | **Default tools** | Grep, Glob, Read, shell `find`\u002F`rg` — last resort |\n\nState **DEGRADED MODE** in chat when priority 1 and 2 are unavailable before making\nstructural claims about the codebase.\n\n---\n\n## Priority 1 — mcp-codebase-search (preferred)\n\nLocal semantic search via MCP ([`@teknologika\u002Fmcp-codebase-search`](https:\u002F\u002Fgithub.com\u002Fteknologika\u002Fmcp-codebase-search\u002F)).\n\n### Setup (once per machine \u002F repo)\n\n```bash\nnpm install -g @teknologika\u002Fmcp-codebase-search\nmcp-codebase-ingest --path . --name \u003Cproject-name>\n```\n\nCursor MCP config (`.cursor\u002Fmcp.json` or user settings):\n\n```json\n{\n  \"mcpServers\": {\n    \"codebase-search\": {\n      \"command\": \"mcp-codebase-search\",\n      \"args\": []\n    }\n  }\n}\n```\n\nSet `pipeline.manifest.json` → `code_search.codebase_name` to the ingest name.\n\n### MCP tools (use via CallMcpTool when host exposes them)\n\n| Tool | Use |\n|------|-----|\n| `list_codebases` | Verify index exists; check `lastScanAge` |\n| `update_codebase_scan` | Refresh after edits if `staleWarning` or scan age > 10 min |\n| `search_codebases` | Semantic search — primary discovery |\n| `get_chunk_content` \u002F `get_file_content` | Read matched code (paths, not pastes in chat) |\n| `get_adjacent_chunks` | Context around a partial chunk |\n| `list_files` | Stack detection — extensions, layout, test vs src |\n| `get_codebase_stats` | Language distribution for pack matching |\n\n### Workflow\n\n1. `list_codebases` — confirm project is indexed.\n2. If stale → `update_codebase_scan` with manifest `code_search.codebase_name`.\n3. `search_codebases` with descriptive queries (not bare identifiers).\n4. Cite **file paths + line ranges** in chat; use `get_chunk_content` for detail.\n\n### Dedupe Ticket — hard rule (no creation without one)\n\n**codebase-search is the *only valid source* for claims about what already exists** during a\nsession. Before adding **any** new file, module, class, function, or helper, produce a\n**Dedupe Ticket**:\n\n- **Intent signature** — one sentence describing what you are about to add\n- **Queries** — 2–4 `search_codebases` calls you will run\n- **Top matches** — up to 5 file paths returned by the tool\n- **Decision** — `reuse | extend | new`\n- **Rationale** — why\n\nSkipping the ticket to create new code is a protocol violation. If the MCP server is\nunavailable, state **DEGRADED MODE** and stop before making changes.\n\n---\n\n## Priority 2 — graphify (fallback)\n\nWhen MCP codebase search is unavailable or did not answer (e.g. no index yet):\n\n```bash\ngraphify . --no-viz            # adapt: first run\ngraphify . --update --no-viz   # re-adapt\n```\n\nRead `graphify-out\u002FGRAPH_REPORT.md` and `.graphify_labels.json` if present.\n\nGraphify is strong for **stack communities** and dependency graphs; prefer MCP for\n**\"where is X implemented?\"** during implementation and grilling.\n\n---\n\n## Priority 3 — default tools\n\nOnly when MCP and graphify are unavailable:\n\n- **Glob** — find files by name pattern\n- **Grep** — exact symbol\u002Fstring matches\n- **Read** — file contents after narrowing\n\nAvoid repo-wide blind grep when MCP or graphify can answer semantically.\n\n---\n\n## Adapt \u002F stack-selector\n\nDuring `.agents adapt` (after `PROJECT.md` intake):\n\n1. **mcp-codebase-search** — `list_files` + `get_codebase_stats` + targeted\n   `search_codebases` (e.g. \"entry point\", \"database migrations\", \"SwiftUI app\").\n2. **graphify** — if on PATH and repo has code; read `graphify-out\u002F`.\n3. **Filesystem globs** — `*.csproj`, `pubspec.yaml`, `Package.swift`, etc.\n4. **`PROJECT.md` Stack** — primary on greenfield.\n\nRecord `adapt.code_search_source` in recommendation: `mcp-codebase-search` | `graphify` | `filesystem` | `project-brief`.\n\n---\n\n## Grilling & domain-modeling\n\nWhen a grill question is answerable from code:\n\n1. Run **code-search** priority chain (MCP first).\n2. Then ask the human only if still ambiguous.\n\n`domain-modeling` cross-reference: use MCP `search_codebases` before claiming code contradicts the glossary.\n\n---\n\n## Constraints\n\n- Cite paths; do not dump large files into chat.\n- Call `update_codebase_scan` after significant local edits before relying on search results.\n- MCP runs locally — no code leaves the machine.\n- Graphify and MCP complement each other; **MCP wins for search**, graphify for graph-level stack signals when MCP is missing.\n",{"name":5,"description":7,"disable-model-invocation":20},"main","e2524bdd7bab86898b0f1d624b8152b4590a129b",".agents\u002Fskills\u002Fcode-search","https:\u002F\u002Fgithub.com\u002Fangpysha\u002Fapi2skill","https:\u002F\u002Fwww.nuget.org\u002Fpackages\u002Fapi2skill","https:\u002F\u002Fgithub.com\u002Fangpysha",".NET Senior Software Engineer","2026-10-31 03:45:31",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add angpysha\u002Fapi2skill --skill code-search",{"tool":38,"command":39},"bunx","bunx skills add angpysha\u002Fapi2skill --skill code-search",{"tool":41,"command":42},"pnpm","pnpm dlx skills add angpysha\u002Fapi2skill --skill code-search","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fangpysha\u002Fapi2skill\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcode-search\u002FSKILL.md",true,[],[47,54,59,64,71,78],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M78F622M7F4WW0H07FTQBFM1","petstore","Call the Swagger Petstore API. A sample API that uses a petstore as an example to demonstrate api2skill.","https:\u002F\u002Fgithub.com\u002Fangpysha\u002Fapi2skill\u002Fblob\u002Fmain\u002Ftests\u002FApi2Skill.Tests\u002Ffixtures\u002F__approved__\u002Fpetstore-fsx\u002FSKILL.md",[],[],{"skillNo":55,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M78F5YMTHX818MXVCNZRSAGD","https:\u002F\u002Fgithub.com\u002Fangpysha\u002Fapi2skill\u002Fblob\u002Fmain\u002Ftests\u002FApi2Skill.Tests\u002Ffixtures\u002F__approved__\u002Fpetstore-csx\u002FSKILL.md",[],[],{"skillNo":60,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M78F5VTFF0CCN3VNVVWJ5N33","https:\u002F\u002Fgithub.com\u002Fangpysha\u002Fapi2skill\u002Fblob\u002Fmain\u002Ftests\u002FApi2Skill.Tests\u002Ffixtures\u002F__approved__\u002Fpetstore-cs\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M78F5PFP98A6RCB6TBB9RYTV","api2skill-creator","Interview the user about an OpenAPI\u002FSwagger API (including multi-spec, base URL, and authorization), assemble exact api2skill CLI commands, guide secrets.json setup, and migrate existing generated skills after api2skill upgrades (update \u002F regenerate \u002F merge). Prefer Plan mode for multi-spec interviews and migrations.","https:\u002F\u002Fgithub.com\u002Fangpysha\u002Fapi2skill\u002Fblob\u002Fmain\u002Fsrc\u002FApi2Skill\u002Ftemplates\u002Fapi2skill-creator\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M78F5J49PSFJFDC003BHGYQM","speckit-taskstoissues","Convert existing tasks into actionable, dependency-ordered GitHub issues for the feature based on available design artifacts.","https:\u002F\u002Fgithub.com\u002Fangpysha\u002Fapi2skill\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fspeckit-taskstoissues\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M78F5EH1C32843TGS23BGCSB","speckit-tasks","Generate an actionable, dependency-ordered tasks.md for the feature based on available design artifacts.","https:\u002F\u002Fgithub.com\u002Fangpysha\u002Fapi2skill\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fspeckit-tasks\u002FSKILL.md",[],[]]