From kmgraph
Updates sidebars.js when docs files are moved or renamed via git mv, edits, or user commands. Fixes stale entries, preserves labels, scans and updates broken internal Markdown links.
How this skill is triggered — by the user, by Claude, or both
Slash command
/kmgraph:sidebar-updateThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Fires when a docs file is moved or renamed — detected from:
Fires when a docs file is moved or renamed — detected from:
git mv docs/old-path.md docs/new-path.md in the conversationdocs/ pathDoes not apply to:
docs/Extract from context:
OLD_PATH — original path relative to docs/ without .md (e.g., guides/foo)NEW_PATH — new path relative to docs/ without .md (e.g., guides/bar/foo)grep -n "OLD_PATH" sidebars.js
If found: show the matching line(s) and the surrounding category context.
If not found: note "No sidebar entry found for OLD_PATH — the file may not have been in the sidebar yet." Offer to add a new entry for NEW_PATH and stop here.
Replace the stale id: value in sidebars.js:
OLD: {type: 'doc', id: 'OLD_PATH', label: '...'}
NEW: {type: 'doc', id: 'NEW_PATH', label: '...'}
Preserve the existing label: value unless the user provides a new one.
grep -r "OLD_PATH" docs/ --include="*.md" --include="*.mdx" -l
For each file found, show the matching lines. Offer to update them in place (replacing OLD_PATH references with NEW_PATH).
sidebar-update complete:
✓ sidebars.js — updated id: 'OLD_PATH' → 'NEW_PATH'
✓ N internal link(s) updated (or: no internal links found)
| Situation | Behavior |
|---|---|
| File moved to a new category in the sidebar | Update id: but also ask if the entry should move to a different category block |
| Multiple sidebar entries for the same old path | Show all matches and confirm each update |
| Label should change with the rename | Ask: "Should the sidebar label also change from '[old label]' to '[suggested label]'?" |
| Old path not in sidebar | Offer to add a new entry; skip link scan |
sidebars.js uses autogenerated sidebar | Note that autogenerated sidebars pick up the rename automatically; suggest verifying the id: frontmatter in the file is consistent |
npx claudepluginhub technomensch/knowledge-graph --plugin kmgraphFetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Applies a firm's KYC/AML rules grid to parsed onboarding records: assigns risk rating, checks required documents, outputs rule outcomes with citations, and routes for escalation.
Generates daily or weekly digests of activity from connected sources (chat, email, docs, tasks, CRM), highlighting action items, decisions, mentions, and project updates.