[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74G4VXYBA2RK7FGKF7JGYTG":3,"skill-same:01M74G4VXYBA2RK7FGKF7JGYTG":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":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M74G4VXYBA2RK7FGKF7JGYTG","code-crumbs",null,"Use the codebase knowledge graph for structural code queries. Use to explore the codebase, understand the architecture, what functions exist, show me the structure, who calls this function, what does X call, trace the call chain, find callers of, show dependencies, impact analysis, dead code, unused functions, high fan-out, refactor candidates, code quality audit, graph query syntax, Cypher query examples, edge types, how to use search_graph.","casualjim\u002Fpi-mimir","casualjim","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F456109?v=4","01M74FWNWVYZQ29YNASRYNTCG4","Ivan Porto Carrero","01M74FWNXE5R8481XV0Q8Q7EY0",16,"MIT","https:\u002F\u002Fgithub.com\u002Fcasualjim\u002Fpi-mimir\u002Fblob\u002Fmain\u002Fpackages\u002Fpi-crumbs\u002Fskills\u002Fcode-crumbs\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: code-crumbs\ndescription: Use the codebase knowledge graph for structural code queries. Use to explore the codebase, understand the architecture, what functions exist, show me the structure, who calls this function, what does X call, trace the call chain, find callers of, show dependencies, impact analysis, dead code, unused functions, high fan-out, refactor candidates, code quality audit, graph query syntax, Cypher query examples, edge types, how to use search_graph.\n---\n\n# Crumbs — Knowledge Graph Tools\n\nGraph tools return precise structural results in ~500 tokens vs ~80K for grep.\n\n## Quick Decision Matrix\n\n| Question | Tool call |\n|----------|----------|\n| Who calls X? | `trace_path(direction=\"inbound\")` |\n| What does X call? | `trace_path(direction=\"outbound\")` |\n| Full call context | `trace_path(direction=\"both\")` |\n| Find by name pattern | `search_graph(name_pattern=\"...\")` |\n| Read exact source | `get_code_snippet(qualified_name=\"...\")` |\n| Dead code | `search_graph(max_degree=0, exclude_entry_points=true)` |\n| Cross-service edges | `query_graph` with Cypher |\n| Project structure | `get_architecture` |\n| Text search | `search_code(pattern=\"...\")` |\n| File neighborhood | `graph_star(center, max_depth)` |\n| Dependency path A→B | `graph_path(from, to)` |\n\nAll tools are prefixed `code_crumbs_` (e.g. `code_crumbs_search_graph`).\n\n## Exploration Workflow\n1. `project_status` — check if the project is indexed\n2. `get_graph_schema` — understand node\u002Fedge types\n3. `search_graph(label=\"Function\", name_pattern=\".*Pattern.*\")` — find code\n4. `get_code_snippet(qualified_name=\"project.path.FuncName\")` — read source\n\n## Tracing Workflow\n1. `search_graph(name_pattern=\".*FuncName.*\")` — discover exact name\n2. `trace_path(function_name=\"FuncName\", direction=\"both\", depth=3)` — trace\n\n## Quality Analysis\n- Dead code: `search_graph(max_degree=0, exclude_entry_points=true)`\n- High fan-out: `search_graph(min_degree=10, relationship=\"CALLS\")`, inspect outbound trace\n- High fan-in: `search_graph(min_degree=10, relationship=\"CALLS\")`, inspect inbound trace\n\n## Topology\nWhole-graph algorithms over the same code graph — reach for these when the question is about\nstructure across many files rather than one symbol.\n\n| Question | Tool call |\n|----------|----------|\n| What sits around this file? | `graph_star(center, max_depth)` |\n| How does A depend on B? | `graph_path(from, to)` |\n| Which files are hot \u002F central? | `graph_hotspots` |\n| Where are the dependency cycles? | `graph_cycles` |\n| How big is each feature area? | `graph_volumes` |\n| Where should I cut for a refactor? | `graph_refactor` |\n| Graph-wide counters | `graph_stats` |\n\nDrift over time is CLI-only: `crumbs graph snapshot > baseline.json`, later `crumbs graph diff baseline.json`.\n\n## Core Tools\n`project_status`, `list_projects`, `index`, `search_graph`, `search_code`,\n`trace_path`, `query_graph`, `get_graph_schema`, `get_code_snippet`, `get_architecture`,\n`graph_star`, `graph_path`, `graph_hotspots`, `graph_cycles`, `graph_volumes`,\n`graph_refactor`, `graph_stats`\n\n## Edge Types\nCALLS, HTTP_CALLS, IMPORTS, DEFINES, DEFINES_METHOD,\nUSAGE, FILE_CHANGES_WITH, CONTAINS_FILE, CONTAINS_FOLDER,\nWRITES, INHERITS, RAISES, SEMANTICALLY_RELATED, SIMILAR_TO\n\n## Cypher Examples (for query_graph)\n```\nMATCH (a)-[r:HTTP_CALLS]->(b) RETURN a.name, b.name, r.url_path, r.confidence LIMIT 20\nMATCH (f:Function) WHERE f.name =~ '.*Handler.*' RETURN f.name, f.file_path LIMIT 50\nMATCH (a)-[r:CALLS]->(b) WHERE a.name = 'main' RETURN b.name\n```\n\n## Gotchas\n1. `search_graph(relationship=\"HTTP_CALLS\")` filters nodes by degree — use `query_graph` with Cypher to see actual edges.\n2. `query_graph` can return huge rows — add `LIMIT`.\n3. `trace_path` needs exact-ish names — use `search_graph(name_pattern=...)` first.\n4. `get_code_snippet` returns exact source in one call — prefer it over search-then-read.\n5. `direction=\"outbound\"` misses cross-service callers — use `direction=\"both\"`.\n6. Results paginate — check `has_more` and use `offset`.\n\n## Prose, not code\nCrumbs also indexes markdown docs and past sessions — see the `docs-crumbs` skill.\nMost relevant here: never `grep`\u002F`read` a whole README\u002FROADMAP\u002FPLAN to find a section, use\n`search_unified(target=\"documents\")` instead. Also `search_sessions` for past conversations\nand `context` for anchored context packs.\n","# Crumbs — Knowledge Graph Tools\n\nGraph tools return precise structural results in ~500 tokens vs ~80K for grep.\n\n## Quick Decision Matrix\n\n| Question | Tool call |\n|----------|----------|\n| Who calls X? | `trace_path(direction=\"inbound\")` |\n| What does X call? | `trace_path(direction=\"outbound\")` |\n| Full call context | `trace_path(direction=\"both\")` |\n| Find by name pattern | `search_graph(name_pattern=\"...\")` |\n| Read exact source | `get_code_snippet(qualified_name=\"...\")` |\n| Dead code | `search_graph(max_degree=0, exclude_entry_points=true)` |\n| Cross-service edges | `query_graph` with Cypher |\n| Project structure | `get_architecture` |\n| Text search | `search_code(pattern=\"...\")` |\n| File neighborhood | `graph_star(center, max_depth)` |\n| Dependency path A→B | `graph_path(from, to)` |\n\nAll tools are prefixed `code_crumbs_` (e.g. `code_crumbs_search_graph`).\n\n## Exploration Workflow\n1. `project_status` — check if the project is indexed\n2. `get_graph_schema` — understand node\u002Fedge types\n3. `search_graph(label=\"Function\", name_pattern=\".*Pattern.*\")` — find code\n4. `get_code_snippet(qualified_name=\"project.path.FuncName\")` — read source\n\n## Tracing Workflow\n1. `search_graph(name_pattern=\".*FuncName.*\")` — discover exact name\n2. `trace_path(function_name=\"FuncName\", direction=\"both\", depth=3)` — trace\n\n## Quality Analysis\n- Dead code: `search_graph(max_degree=0, exclude_entry_points=true)`\n- High fan-out: `search_graph(min_degree=10, relationship=\"CALLS\")`, inspect outbound trace\n- High fan-in: `search_graph(min_degree=10, relationship=\"CALLS\")`, inspect inbound trace\n\n## Topology\nWhole-graph algorithms over the same code graph — reach for these when the question is about\nstructure across many files rather than one symbol.\n\n| Question | Tool call |\n|----------|----------|\n| What sits around this file? | `graph_star(center, max_depth)` |\n| How does A depend on B? | `graph_path(from, to)` |\n| Which files are hot \u002F central? | `graph_hotspots` |\n| Where are the dependency cycles? | `graph_cycles` |\n| How big is each feature area? | `graph_volumes` |\n| Where should I cut for a refactor? | `graph_refactor` |\n| Graph-wide counters | `graph_stats` |\n\nDrift over time is CLI-only: `crumbs graph snapshot > baseline.json`, later `crumbs graph diff baseline.json`.\n\n## Core Tools\n`project_status`, `list_projects`, `index`, `search_graph`, `search_code`,\n`trace_path`, `query_graph`, `get_graph_schema`, `get_code_snippet`, `get_architecture`,\n`graph_star`, `graph_path`, `graph_hotspots`, `graph_cycles`, `graph_volumes`,\n`graph_refactor`, `graph_stats`\n\n## Edge Types\nCALLS, HTTP_CALLS, IMPORTS, DEFINES, DEFINES_METHOD,\nUSAGE, FILE_CHANGES_WITH, CONTAINS_FILE, CONTAINS_FOLDER,\nWRITES, INHERITS, RAISES, SEMANTICALLY_RELATED, SIMILAR_TO\n\n## Cypher Examples (for query_graph)\n```\nMATCH (a)-[r:HTTP_CALLS]->(b) RETURN a.name, b.name, r.url_path, r.confidence LIMIT 20\nMATCH (f:Function) WHERE f.name =~ '.*Handler.*' RETURN f.name, f.file_path LIMIT 50\nMATCH (a)-[r:CALLS]->(b) WHERE a.name = 'main' RETURN b.name\n```\n\n## Gotchas\n1. `search_graph(relationship=\"HTTP_CALLS\")` filters nodes by degree — use `query_graph` with Cypher to see actual edges.\n2. `query_graph` can return huge rows — add `LIMIT`.\n3. `trace_path` needs exact-ish names — use `search_graph(name_pattern=...)` first.\n4. `get_code_snippet` returns exact source in one call — prefer it over search-then-read.\n5. `direction=\"outbound\"` misses cross-service callers — use `direction=\"both\"`.\n6. Results paginate — check `has_more` and use `offset`.\n\n## Prose, not code\nCrumbs also indexes markdown docs and past sessions — see the `docs-crumbs` skill.\nMost relevant here: never `grep`\u002F`read` a whole README\u002FROADMAP\u002FPLAN to find a section, use\n`search_unified(target=\"documents\")` instead. Also `search_sessions` for past conversations\nand `context` for anchored context packs.\n",{"name":5,"description":7},"main","86a206d111fba4ffc9c47c363486479262e63513","packages\u002Fpi-crumbs\u002Fskills\u002Fcode-crumbs",9,"https:\u002F\u002Fgithub.com\u002Fcasualjim\u002Fpi-mimir","https:\u002F\u002Fgithub.com\u002Fcasualjim","http:\u002F\u002Fflanders.co.nz","2026-11-10 15:32:15",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add casualjim\u002Fpi-mimir --skill code-crumbs",{"tool":38,"command":39},"bunx","bunx skills add casualjim\u002Fpi-mimir --skill code-crumbs",{"tool":41,"command":42},"pnpm","pnpm dlx skills add casualjim\u002Fpi-mimir --skill code-crumbs","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcasualjim\u002Fpi-mimir\u002Fblob\u002Fmain\u002Fpackages\u002Fpi-crumbs\u002Fskills\u002Fcode-crumbs\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"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},"01M74GK3CG2X0988XMHBKNC0HG","why","Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Discovers available MCPs and queries each evidence category (source control, issue tracker, long-form docs, real-time chat, infrastructure observability, error tracking, product analytics warehouse) in parallel, then returns a cited read on decisions and tradeoffs. Use how for runtime behavior.","https:\u002F\u002Fgithub.com\u002Fcasualjim\u002Fpi-mimir\u002Fblob\u002Fmain\u002Fpackages\u002Fpi-pstack\u002Fskills\u002Fwhy\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M74GK2A4034JSAN8BCGBEPVB","unslop","Cut AI tells from any writing.","https:\u002F\u002Fgithub.com\u002Fcasualjim\u002Fpi-mimir\u002Fblob\u002Fmain\u002Fpackages\u002Fpi-pstack\u002Fskills\u002Funslop\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M74GK13302GXTR58TM47BQY1","typescript-best-practices","TypeScript best practices. Use when reading or editing any .ts or .tsx file.","https:\u002F\u002Fgithub.com\u002Fcasualjim\u002Fpi-mimir\u002Fblob\u002Fmain\u002Fpackages\u002Fpi-pstack\u002Fskills\u002Ftypescript-best-practices\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M74GJYB1DJCA4AQH22MWYM9J","technical-writing","Layered technical-writing standard: Diátaxis structure, Google developer style sentences, STE instruction rules, Global English syntax. Use for \u002Fskill:technical-writing or when writing or reviewing docs, RFCs, readmes, PR descriptions, or commit messages.","https:\u002F\u002Fgithub.com\u002Fcasualjim\u002Fpi-mimir\u002Fblob\u002Fmain\u002Fpackages\u002Fpi-pstack\u002Fskills\u002Ftechnical-writing\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M74GJW7794XM60AKH76941T0","teach","Explain a body of work plainly so a person actually understands it. Runs the `how` and `why` skills and weaves what they find into one clear explanation. Use for 'teach me this', 'help me really understand X', 'explain this change or subsystem to me'.","https:\u002F\u002Fgithub.com\u002Fcasualjim\u002Fpi-mimir\u002Fblob\u002Fmain\u002Fpackages\u002Fpi-pstack\u002Fskills\u002Fteach\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M74GJPQN3RW4FN7G78W2NFR1","tdd","Use only when the user explicitly asks for TDD, a failing test, or a regression test, OR when the bug has an obvious cheap local test target. Skip when the test path is unclear, expensive, integration-heavy, or not requested.","https:\u002F\u002Fgithub.com\u002Fcasualjim\u002Fpi-mimir\u002Fblob\u002Fmain\u002Fpackages\u002Fpi-pstack\u002Fskills\u002Ftdd\u002FSKILL.md",[],[]]