Refresh the installed claudemd plugin to the latest released version in one shot (marketplace update → uninstall → install via the claude CLI). Use when the SessionStart banner reports a newer version, or /claudemd-doctor flags a stale plugin cache. Restart Claude Code afterwards — spec + manifest then sync…
Audit the HARD-rules manifest. Cross-references spec/hard-rules.json with rule-hits.jsonl bySection data over the last N days (default 30). Surfaces §13.1 demote candidates (hook-enforced rules with 0 hits in window) and stale-review entries.
Show claudemd plugin version, installed spec version, kill-switch state, and rule-hits summary. Pass --verbose for full kill-switch + escape-token reference.
Register claudemd's PS1-style statusLine (user@host:path (branch) model [ctx:N% · 5h:N% · 7d:N%] — context / 5h quota / weekly quota, all used %) in /.claude/settings.json. Use when (1) the user asks to add / configure / set up a statusline or status bar, (2) a fresh machine has no statusline and the user wants the…
Pre-uninstall cleanup. Run BEFORE /plugin uninstall claudemd@claudemd to clear the plugin manifest, state dir, and rule-hits log. Spec files in /.claude/ are kept by default. Required because Claude Code's marketplace lifecycle does not fire preUninstall, so without this step /plugin uninstall leaves orphan state…
Runs when you submit a prompt, before the agent sees it, executing version-sync.sh and memory-prompt-hint.sh via bash (2 commands). From sdsrss/claudemd.
Runs before the agent uses a tool for Bash and Read tool calls, executing pre-bash-safety-check.sh, banned-vocab-check.sh, ship-baseline-check.sh, memory-read-check.sh and session-extended-read.sh via bash (5 commands). From sdsrss/claudemd.
Runs when the agent finishes a response, executing residue-audit.sh, sandbox-disposal-check.sh, mem-audit.sh, transcript-structure-scan.sh and session-summary.sh via bash (5 commands). From sdsrss/claudemd.
Marketplace hosting the /onboard skill — legacy project onboarding for Claude Code with multi-stack support, token-budgeted CLAUDE.md, 4 guard hooks, forbidden zone management, CI alignment, --doctor health checks, and reversible uninstall.
Legacy project onboarding for Claude Code — analyzes the codebase, generates a token-budgeted CLAUDE.md, wires 4 guard hooks, manages forbidden zones, and aligns CI with local commands. Default --local-only writes zero PROJECT files (no team pollution). Use when setting up Claude Code on a legacy project, configuring.
Instructions for sdsrss/onboard, covering claude.md, what this repo is, architecture you must know, versioning philosophy (changelog.md) and validation commands.
旧项目接入 Claude Code 的标准化引导流程——多语言栈、token-budgeted CLAUDE.md、4 个 guard hook、可逆 uninstall、健康诊断。Use when setting up Claude Code on a legacy project, configuring guard hooks, generating CLAUDE.md, aligning CI with local commands, running --doctor health checks, uninstalling onboard, or migrating an older install.