跳到正文
TakoAPI
返回技能列表

repomedic

由 mrummler17 提供

Web & Frontend Development
1.3k下载量由 clawskills.sh 提供
1星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Inspect the Dependabot alert and open PRs to classify the issue

  2. 2

    Confirm brace-expansion is a transitive dependency, not a direct one

  3. 3

    Propose adding a targeted pnpm.overrides entry, labeled Low risk

  4. 4

    Apply the override after user approval and regenerate the lockfile

  5. 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 或你在用的任意编程智能体里。

链接