repomedic
由 mrummler17 提供
Web & Frontend Development简介
Safely triage and remediate GitHub dependency hygiene issues with explicit guardrails.
描述
该技能的功能
RepoMedic triages and fixes GitHub dependency hygiene problems, including Dependabot PR failures, pnpm lockfile corruption, transitive CVEs, and CI build breakages caused by dependency resolution. It follows an analyze-first approach with explicit approval gates before touching any files.
It enforces risk labeling and approval gates before any file changes, reducing the chance of breaking a build while trying to fix a security alert.
何时使用
- Fix a Dependabot PR that keeps failing CI checks
- Resolve pnpm-lock.yaml drift blocking a branch merge
- Patch a transitive brace-expansion or lodash CVE without touching direct deps
- Diagnose why a Vercel preview build broke after a dependency update
- Add pnpm.overrides to close a security advisory on a nested package
示例工作流
User asks: Dependabot flagged a critical CVE in brace-expansion and the PR is failing CI
- 1
Inspect the Dependabot alert and open PRs to classify the issue
- 2
Confirm brace-expansion is a transitive dependency, not a direct one
- 3
Propose adding a targeted pnpm.overrides entry, labeled Low risk
- 4
Apply the override after user approval and regenerate the lockfile
- 5
Run pnpm audit and CI checks to confirm the advisory is closed
PR-ready summary with the override diff, audit confirmation, and a plain-English explanation of what changed and why
安装
clawhub install mrummler17/repomedic运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。