[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M718XZ8TBWDT986HMXSDJYB7":3,"skill-same:01M718XZ8TBWDT986HMXSDJYB7":66},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":50,"ownerDescription":6,"updatedAt":51,"install":52,"resources":65},"01M718XZ8TBWDT986HMXSDJYB7","gitnexus-cli",null,"Use when the user needs to run GitNexus CLI commands like analyze\u002Findex a repo, check status, clean the index, generate a wiki, or list indexed repos. Examples: \"Index this repo\", \"Reanalyze the codebase\", \"Generate a wiki\"","vasceannie\u002Fslopgate","vasceannie","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F20271133?v=4","01M718RGA8VV2EF22XJEMXVQ0Q","Travis Vasceannie","01M718RGB0GWSXBBZBN67Q6NHQ",1,"MIT","https:\u002F\u002Fgithub.com\u002Fvasceannie\u002Fslopgate\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fgitnexus-cli\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"cli","gitnexus","gitnexus cli","user","index","list","status","repos","commands","codebase","run","generate","examples","analyze","check","when","use","wiki","clean","repo","2026-11-10 10:12:30",false,"---\nname: gitnexus-cli\ndescription: \"Use when the user needs to run GitNexus CLI commands like analyze\u002Findex a repo, check status, clean the index, generate a wiki, or list indexed repos. Examples: \\\"Index this repo\\\", \\\"Reanalyze the codebase\\\", \\\"Generate a wiki\\\"\"\n---\n\n# GitNexus CLI Commands\n\nCommands below use `.\u002Fscripts\u002Fgitnexus \u003Ccommand>` — the tracked, repo-local wrapper delegates directly to the local GitNexus installation at `${GITNEXUS_BIN:-$HOME\u002F.local\u002Fbin\u002Fgitnexus}`. Operational docs therefore avoid package-runner fallbacks while using the locally installed version.\n\n> **Wrapper or local binary missing?** Restore `scripts\u002Fgitnexus`, install GitNexus at `$HOME\u002F.local\u002Fbin\u002Fgitnexus`, or set `GITNEXUS_BIN` to another local executable. Do not swap in package-runner commands for routine repository operations.\n\n## Commands\n\n### analyze — Build or refresh the index\n\n```bash\n.\u002Fscripts\u002Fgitnexus analyze\n```\n\nRun from the project root. This parses all source files, builds the knowledge graph, writes it to `.gitnexus\u002F`, and generates CLAUDE.md \u002F AGENTS.md context files.\n\n| Flag           | Effect                                                           |\n| -------------- | ---------------------------------------------------------------- |\n| `--force`      | Force full re-index even if up to date                           |\n| `--embeddings` | Enable embedding generation for semantic search (off by default) |\n| `--drop-embeddings` | Drop existing embeddings on rebuild. By default, an `analyze` without `--embeddings` preserves them. |\n| `--pdg` | Build the program-dependence layers used by `explain` and `pdg_query` (taint, CDG, and REACHING_DEF). |\n\n**When to run:** First time in a project, after major code changes, or when `gitnexus:\u002F\u002Frepo\u002F{name}\u002Fcontext` reports the index is stale. In Claude Code, a PostToolUse hook detects staleness after `git commit` and `git merge` and notifies the agent to run `analyze` — the hook does not run analyze itself, to avoid blocking the agent for up to 120s and risking KuzuDB corruption on timeout.\n\n### status — Check index freshness\n\n```bash\n.\u002Fscripts\u002Fgitnexus status\n```\n\nShows whether the current repo has a GitNexus index, when it was last updated, and symbol\u002Frelationship counts. Use this to check if re-indexing is needed.\n\n### clean — Delete the index\n\n```bash\n.\u002Fscripts\u002Fgitnexus clean\n```\n\nDeletes the `.gitnexus\u002F` directory and unregisters the repo from the global registry. Use before re-indexing if the index is corrupt or after removing GitNexus from a project.\n\n| Flag      | Effect                                            |\n| --------- | ------------------------------------------------- |\n| `--force` | Skip confirmation prompt                          |\n| `--all`   | Clean all indexed repos, not just the current one |\n\n### wiki — Generate documentation from the graph\n\n```bash\n.\u002Fscripts\u002Fgitnexus wiki\n```\n\nGenerates repository documentation from the knowledge graph using an LLM. Requires an API key (saved to `~\u002F.gitnexus\u002Fconfig.json` on first use).\n\n| Flag                | Effect                                    |\n| ------------------- | ----------------------------------------- |\n| `--force`           | Force full regeneration                   |\n| `--model \u003Cmodel>`   | LLM model (default: MiniMax-M3)           |\n| `--base-url \u003Curl>`  | LLM API base URL                          |\n| `--api-key \u003Ckey>`   | LLM API key                               |\n| `--concurrency \u003Cn>` | Parallel LLM calls (default: 3)           |\n| `--gist`            | Publish wiki as a public GitHub Gist      |\n\n### list — Show all indexed repos\n\n```bash\n.\u002Fscripts\u002Fgitnexus list\n```\n\nLists all repositories registered in `~\u002F.gitnexus\u002Fregistry.json`. The MCP `list_repos` tool provides the same information.\n\n## After Indexing\n\n1. **Read `gitnexus:\u002F\u002Frepo\u002F{name}\u002Fcontext`** to verify the index loaded\n2. Use the other GitNexus skills (`exploring`, `debugging`, `impact-analysis`, `refactoring`) for your task\n\n## Troubleshooting\n\n- **\"Not inside a git repository\"**: Run from a directory inside a git repo\n- **Index is stale after re-analyzing**: Restart Claude Code to reload the MCP server\n- **Embeddings slow**: Omit `--embeddings` (it's off by default) or set `OPENAI_API_KEY` for faster API-based embedding\n","# GitNexus CLI Commands\n\nCommands below use `.\u002Fscripts\u002Fgitnexus \u003Ccommand>` — the tracked, repo-local wrapper delegates directly to the local GitNexus installation at `${GITNEXUS_BIN:-$HOME\u002F.local\u002Fbin\u002Fgitnexus}`. Operational docs therefore avoid package-runner fallbacks while using the locally installed version.\n\n> **Wrapper or local binary missing?** Restore `scripts\u002Fgitnexus`, install GitNexus at `$HOME\u002F.local\u002Fbin\u002Fgitnexus`, or set `GITNEXUS_BIN` to another local executable. Do not swap in package-runner commands for routine repository operations.\n\n## Commands\n\n### analyze — Build or refresh the index\n\n```bash\n.\u002Fscripts\u002Fgitnexus analyze\n```\n\nRun from the project root. This parses all source files, builds the knowledge graph, writes it to `.gitnexus\u002F`, and generates CLAUDE.md \u002F AGENTS.md context files.\n\n| Flag           | Effect                                                           |\n| -------------- | ---------------------------------------------------------------- |\n| `--force`      | Force full re-index even if up to date                           |\n| `--embeddings` | Enable embedding generation for semantic search (off by default) |\n| `--drop-embeddings` | Drop existing embeddings on rebuild. By default, an `analyze` without `--embeddings` preserves them. |\n| `--pdg` | Build the program-dependence layers used by `explain` and `pdg_query` (taint, CDG, and REACHING_DEF). |\n\n**When to run:** First time in a project, after major code changes, or when `gitnexus:\u002F\u002Frepo\u002F{name}\u002Fcontext` reports the index is stale. In Claude Code, a PostToolUse hook detects staleness after `git commit` and `git merge` and notifies the agent to run `analyze` — the hook does not run analyze itself, to avoid blocking the agent for up to 120s and risking KuzuDB corruption on timeout.\n\n### status — Check index freshness\n\n```bash\n.\u002Fscripts\u002Fgitnexus status\n```\n\nShows whether the current repo has a GitNexus index, when it was last updated, and symbol\u002Frelationship counts. Use this to check if re-indexing is needed.\n\n### clean — Delete the index\n\n```bash\n.\u002Fscripts\u002Fgitnexus clean\n```\n\nDeletes the `.gitnexus\u002F` directory and unregisters the repo from the global registry. Use before re-indexing if the index is corrupt or after removing GitNexus from a project.\n\n| Flag      | Effect                                            |\n| --------- | ------------------------------------------------- |\n| `--force` | Skip confirmation prompt                          |\n| `--all`   | Clean all indexed repos, not just the current one |\n\n### wiki — Generate documentation from the graph\n\n```bash\n.\u002Fscripts\u002Fgitnexus wiki\n```\n\nGenerates repository documentation from the knowledge graph using an LLM. Requires an API key (saved to `~\u002F.gitnexus\u002Fconfig.json` on first use).\n\n| Flag                | Effect                                    |\n| ------------------- | ----------------------------------------- |\n| `--force`           | Force full regeneration                   |\n| `--model \u003Cmodel>`   | LLM model (default: MiniMax-M3)           |\n| `--base-url \u003Curl>`  | LLM API base URL                          |\n| `--api-key \u003Ckey>`   | LLM API key                               |\n| `--concurrency \u003Cn>` | Parallel LLM calls (default: 3)           |\n| `--gist`            | Publish wiki as a public GitHub Gist      |\n\n### list — Show all indexed repos\n\n```bash\n.\u002Fscripts\u002Fgitnexus list\n```\n\nLists all repositories registered in `~\u002F.gitnexus\u002Fregistry.json`. The MCP `list_repos` tool provides the same information.\n\n## After Indexing\n\n1. **Read `gitnexus:\u002F\u002Frepo\u002F{name}\u002Fcontext`** to verify the index loaded\n2. Use the other GitNexus skills (`exploring`, `debugging`, `impact-analysis`, `refactoring`) for your task\n\n## Troubleshooting\n\n- **\"Not inside a git repository\"**: Run from a directory inside a git repo\n- **Index is stale after re-analyzing**: Restart Claude Code to reload the MCP server\n- **Embeddings slow**: Omit `--embeddings` (it's off by default) or set `OPENAI_API_KEY` for faster API-based embedding\n",{"name":5,"description":7},"master","5fab8004af1390aa17b3447f2780766c8bf2482c",".claude\u002Fskills\u002Fgitnexus-cli",0,"https:\u002F\u002Fgithub.com\u002Fvasceannie\u002Fslopgate","https:\u002F\u002Fgithub.com\u002Fvasceannie","thingswithstuff.io","2026-11-12 20:22:46",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add vasceannie\u002Fslopgate --skill gitnexus-cli",{"tool":58,"command":59},"bunx","bunx skills add vasceannie\u002Fslopgate --skill gitnexus-cli",{"tool":61,"command":62},"pnpm","pnpm dlx skills add vasceannie\u002Fslopgate --skill gitnexus-cli","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvasceannie\u002Fslopgate\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fgitnexus-cli\u002FSKILL.md",true,[],[67,93,116,138,159,178],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":39},"01M71951JDWCYMS8GDC2C7395D","type-strictness","Enforce strict type compliance by eliminating `Any` types and `# type: ignore` comments. Use when:\n(1) Editing code that contains `Any` as a type annotation\n(2) Code has `# type: ignore` or `# pyright: ignore` comments\n(3) User requests type fixes or type strictness enforcement\n(4) Importing from untyped third-party libraries\n(5) User asks to \"fix types\", \"remove Any\", or \"add proper typing\"\n(6) Pyrefly or mypy reports type errors that need resolution\n(7) Code review reveals weak typing patterns\nFollows hierarchical resolution: codebase inference → type stubs → library inspection → type guards → casting (last resort).","https:\u002F\u002Fgithub.com\u002Fvasceannie\u002Fslopgate\u002Fblob\u002Fmaster\u002Fbundle\u002Fshared\u002Fskills\u002Ftype-strictness\u002FSKILL.md",[],[74,75,76,77,78,79,80,81,82,34,83,84,85,86,87,88,89,90,91,92],"type","type strictness","typing","types","remove","code review","fix","errors","inspection","code","review","reports","libraries","casting","pyrefly","mypy","pyright","library","patterns",{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":39},"01M7194XGBQXSE7Y5BZ4K5CSTK","slopgate-test-extender","Extend Python test suites with parametrization, fixture reuse, and quality enforcement. Use when asked to add tests, extend existing tests, improve test coverage, consolidate duplicate tests, fix test quality issues, or when Slopgate reports untested-production-code, missing test references, or coverage gaps. Triggers on requests like \"add tests for X\", \"extend these tests\", \"parametrize tests\", \"consolidate tests\", \"fix test quality\", \"improve test coverage\", \"write tests for this function\", \"test this module\", \"behavior tests\", \"integration tests\", \"missing tests\", \"coverage holes\", \"untested code\", or when a hook denies with test-related findings.","https:\u002F\u002Fgithub.com\u002Fvasceannie\u002Fslopgate\u002Fblob\u002Fmaster\u002Fbundle\u002Fshared\u002Fskills\u002Fslopgate-test-extender\u002FSKILL.md",[],[100,101,102,103,104,80,105,106,107,108,109,110,34,83,111,112,85,113,114,115],"slopgate test extender","test","coverage","fixture","testing","issues","write tests","improve","only","cleanup","loop","candidate","consolidate","references","opencode","orchestrator",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":39},"01M7194RMVQS5YJJ4ZEFXX20VS","slopgate-intelligent-coding-patterns","Pattern-selection playbook for agents editing code with complex branching, stateful parsers\u002Fworkflows, duplicated skeletons, policy checks, or ordered transforms. Load before refactoring if\u002Felif dispatch chains, boolean-flag state machines, repeated validation predicates, parallel provider\u002Flanguage implementations, or regex\u002Fcontent transformation pipelines. Also load when asked to \"apply a design pattern\", \"which pattern should I use here\", \"refactor this switch statement\", \"replace if-elif chain\", \"state machine pattern\", \"strategy pattern\", \"template method\", \"pipeline pattern\", \"specification pattern\", \"dispatch table\", \"guard clause refactor\", \"reduce cyclomatic complexity\", or when Slopgate fires PY-CODE-014, PY-CODE-017, PY-CODE-018, QUALITY-LINT-001, or PY-QUALITY-010. Use with behavior-locking tests and avoid pattern theater for simple one-off code.","https:\u002F\u002Fgithub.com\u002Fvasceannie\u002Fslopgate\u002Fblob\u002Fmaster\u002Fbundle\u002Fshared\u002Fskills\u002Fslopgate-intelligent-coding-patterns\u002FSKILL.md",[],[123,124,92,125,126,127,128,129,130,131,132,133,134,108,109,135,136,34,137,83],"coding patterns","slopgate intelligent coding patterns","coding","stateful","complexity","branch","which","chain","parsers","pipeline","selection","design","utility","workflows","reduce",{"skillNo":139,"name":140,"nameZh":6,"description":141,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":39},"01M7194KTXBM85GB0W7JKFQD55","slopgate-hygiene-orchestrator","Orchestrate systematic elimination of linter warnings and errors across Python, TypeScript, and Rust codebases. Use when asked to \"clean up lints\", \"fix all warnings\", \"run hygiene\", \"eliminate type errors\", \"orchestrate code quality fixes\", \"fix lint errors\", \"resolve quality gate failures\", \"pass CI checks\", \"reduce tech debt\", \"refactor to pass hooks\", or when a Slopgate hook denies with QUALITY-LINT-001, PY-CODE-017, PY-CODE-018, or any collector finding. This skill coordinates multiple code-hygiene-enforcer agents working in parallel on non-conflicting file groupings, tracks progress persistently via JSON exports, and loops until all issues are resolved. CRITICAL: Never run linters directly—always use `slopgate lint check` as the primary gate, discover project-specific tools from config files, and export findings to JSON for tracking.","https:\u002F\u002Fgithub.com\u002Fvasceannie\u002Fslopgate\u002Fblob\u002Fmaster\u002Fbundle\u002Fshared\u002Fskills\u002Fslopgate-hygiene-orchestrator\u002FSKILL.md",[],[145,146,115,147,80,148,149,37,150,151,109,137,29,152,153,154,155,156,157,158],"slopgate hygiene orchestrator","hygiene","project","ci","local","never run","files","lint check","systematic","config","typescript","debt","quality-gates","hook",{"skillNo":160,"name":161,"nameZh":6,"description":162,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":163,"categories":164,"keywords":165,"publishedAt":39},"01M7194G50FZYXXT8VNK360RPA","slopgate-code-smell-utility-locator","Autoactivate when code-smell hooks or reviews mention feature envy, thin wrappers, duplicate helpers, duplicate code,\nscattered helpers, builders\u002Ffactories\u002Fconfig\u002Fconstants\u002Fdataclass reuse, PY-CODE-012, PY-CODE-013, QUALITY-LINT-001,\nor repeated slopgate code-quality denials. Also load when asked to \"find existing helpers\", \"consolidate utilities\",\n\"search for duplicate code\", \"where is this already implemented\", \"reuse existing logic\", \"don't duplicate this\",\n\"find similar functions\", \"utility inventory\", \"code smell radar\", or before adding new helpers\u002Fwrappers so agents can\nfind existing shared utilities and consolidate instead of duplicating.","https:\u002F\u002Fgithub.com\u002Fvasceannie\u002Fslopgate\u002Fblob\u002Fmaster\u002Fbundle\u002Fshared\u002Fskills\u002Fslopgate-code-smell-utility-locator\u002FSKILL.md",[],[135,166,83,167,102,168,169,170,171,108,172,34,173,112,114,174,175,154,176,177],"slopgate code smell utility locator","shared","reviews","inventory","search","hooks","new","coordination","radar","code-quality","Utilities","dataclass",{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":184,"publishedAt":39},"01M7194AWG1Q37F9756H4SFDH9","slopgate-code-hygiene-refactor","Recovery playbook for Slopgate and project quality failures. Load after hook\u002Flint denials such as PY-CODE-017 flat sibling modules, PY-CODE-018 oversized modules, QUALITY-LINT-001 post-edit quality backstops, PY-QUALITY-010 magic numbers \u002F repeated literals, PY-CODE-012\u002FPY-CODE-013 smell findings, type-suppression bans, duplicate helpers, or repeated hygiene retry loops. Also load when asked to \"refactor this module\", \"split this file\", \"extract a class\", \"reduce complexity\", \"fix god class\", \"flatten module hierarchy\", \"move code to a package\", \"extract helpers\", \"consolidate duplicates\", \"replace magic numbers with constants\", or when a hook blocks an edit with structural complaints. Focuses on preserving public APIs while refactoring toward packages, cohesive modules, typed seams, and focused tests.","https:\u002F\u002Fgithub.com\u002Fvasceannie\u002Fslopgate\u002Fblob\u002Fmaster\u002Fbundle\u002Fshared\u002Fskills\u002Fslopgate-code-hygiene-refactor\u002FSKILL.md",[],[185,186,83,187,146,188,127,189,190,147,191,169,192,80,108,135,34,137,173,112],"code hygiene","slopgate code hygiene refactor","refactor","modules","duplicates","retry","move","structural"]