Token导航 LogoToken导航

Agent Skill · 开发

repair-damage(修复损坏)

repair-damage 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

repair-damage 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 16,944。

总安装 451周安装 19GitHub Stars 12下载 158核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:repair-damage(修复损坏)
来源仓库:https://github.com/pjt222/development-guides
仓库路径:skills/repair-damage
安装命令:
npx skills add https://github.com/pjt222/development-guides --skill repair-damage
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/pjt222/development-guides --skill repair-damage

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

repair-damage 用于处理 GitHub 仓库、Issue、Pull Request 等协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中围绕代码变更进行整理。它可辅助分析仓库状态、代码差异或协作事项,适用于开发流程管理。

通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 核验用法。安装前建议确认权限范围、维护状态及是否触发联网或文件操作。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/repair-damage

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/pjt222/development-guides --skill repair-damag…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

repair-damage 怎么安装?

在终端执行 npx skills add https://github.com/pjt222/development-guides --skill repair-damage。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

repair-damage 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

repair-damage 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

repair-damage 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

repair-damage 用的人多吗?

公开数据是累计安装 451 次,近一周安装 19 次,下载 158 次,GitHub 12 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

repair-damage 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
repair-damage

修复损坏 · 本页

45112需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Repair Damage

Implement regenerative recovery for systems that have sustained structural damage — whether from incidents, failed migrations, accumulated neglect, or external disruption. Uses biological wound-healing as a framework: triage, stabilization, scaffolding, progressive rebuild, and scar tissue management.

When to Use

  • A system has suffered an incident and needs structured recovery beyond "just fix it"
  • A failed transformation (see adapt-architecture) left the system in a damaged intermediate state
  • Accumulated technical debt has caused partial system failure
  • Organizational damage (team departures, knowledge loss, morale collapse) needs structured repair
  • Post-defense recovery (see defend-colony) when the colony sustained damage
  • A system is functional but degraded, and the degradation is worsening

Inputs

  • Required: Description of the damage (what broke, when, how severely)
  • Required: Current system state (what's still working, what's not)
  • Optional: Root cause (if known — may not be clear yet)
  • Optional: Pre-damage system state (for comparison)
  • Optional: Available repair resources (time, people, budget)
  • Optional: Urgency (is the system actively degrading or stable-but-damaged?)

Procedure

Step 1: Triage — Assess and Classify Wounds

Rapidly assess all damage and classify by severity and urgency.

  1. Catalog every known point of damage:

- What specific component, function, or capability is affected? - Is the damage complete (non-functional) or partial (degraded)? - Is the damage spreading (affecting adjacent components) or contained?

  1. Classify each wound:
Wound Classification:
┌──────────┬──────────────────────┬────────────────────────────────────┐
│ Class    │ Severity             │ Response                           │
├──────────┼──────────────────────┼────────────────────────────────────┤
│ Critical │ Core function lost,  │ Immediate: stop bleeding, activate │
│          │ data at risk,        │ backup, redirect traffic, page     │
│          │ actively spreading   │ on-call team                       │
├──────────┼──────────────────────┼────────────────────────────────────┤
│ Serious  │ Important function   │ Urgent: fix within hours/days,     │
│          │ degraded, no spread  │ workarounds acceptable short-term  │
├──────────┼──────────────────────┼────────────────────────────────────┤
│ Moderate │ Non-critical function│ Scheduled: fix within sprint,      │
│          │ affected, contained  │ prioritize against other work      │
├──────────┼──────────────────────┼────────────────────────────────────┤
│ Minor    │ Cosmetic or edge     │ Backlog: fix when convenient,      │
│          │ case, no user impact │ may self-resolve                   │
└──────────┴──────────────────────┴────────────────────────────────────┘
  1. Prioritize repair order:

- Critical wounds first (stop the bleeding) - Then serious wounds (restore important function) - Moderate and minor wounds can wait for scheduled repair

  1. Check for wound interaction:

- Do any wounds amplify each other? (A is worse because B is also broken) - Would fixing one wound automatically fix others? (shared root cause) - Would fixing one wound make another worse? (competing repair strategies)

Expected: A complete wound inventory classified by severity, with a prioritized repair order that accounts for wound interactions.

On failure: If triage takes too long (the system is actively degrading), skip detailed classification and focus on: "What is the single most critical thing to stabilize?" Fix that first, then return to full triage.

Step 2: Emergency Stabilization

Stop the damage from spreading before beginning repair.

  1. Contain the wound:

- Isolate damaged components (circuit breakers, network segmentation, traffic rerouting) - Prevent cascade: disable non-essential features that depend on damaged components - Preserve evidence: take snapshots, save logs, capture the current state before any changes

  1. Apply emergency patches:

- These are not permanent fixes — they're tourniquets - Acceptable emergency measures: - Redirect traffic to a healthy replica - Disable the damaged feature entirely - Apply a known-working configuration from backup - Scale up healthy components to absorb redirected load - Unacceptable emergency measures: - Modifying code without testing (creates new wounds) - Deleting data to "reset" the problem (destroys recovery options) - Hiding the damage (disabling alerts, suppressing errors)

  1. Verify stabilization:

- Is the damage still spreading? If yes, containment failed — try a broader isolation - Is the system functional (possibly degraded)? If yes, proceed to repair - Are emergency patches holding? If yes, you have time for deliberate repair

Expected: The system is stable (not actively degrading) even if degraded. Damage is contained and not spreading. Evidence is preserved for root cause analysis.

On failure: If stabilization fails (damage continues spreading despite containment), escalate to full system fallback: activate disaster recovery, switch to backup system, or gracefully degrade to minimal viable operation. Stabilization that takes too long becomes the disaster.

Step 3: Build Repair Scaffolding

Construct the temporary structures that support the repair process.

  1. Set up a repair environment:

- Branch or copy the damaged system for repair work - Ensure repair changes can be tested before applying to production - Create a rollback plan for each repair step

  1. Build diagnostic infrastructure:

- Enhanced monitoring on damaged areas (detect regression immediately) - Logging that captures the repair process (what was changed, when, why) - Comparison tools: before-damage state vs. current vs. after-repair

  1. Design the repair sequence:

- For each wound (in priority order from triage): a. Root cause identification (why did this break?) b. Repair approach (fix the cause, not just the symptom) c. Verification method (how to confirm the repair worked) d. Regression check (did the repair break anything else?)

  1. Identify scar tissue risk:

- Repairs done under pressure often introduce scar tissue (workarounds, special cases, technical debt) - Plan for scar tissue management (Step 5) from the start

Expected: A repair environment with diagnostic capability, a sequenced repair plan, and awareness of scar tissue risk.

On failure: If setting up a proper repair environment is too slow (system urgency demands immediate production changes), apply changes directly but with extreme discipline: one change at a time, tested by the available means, rolled back if it doesn't help.

Step 4: Execute Progressive Rebuild

Repair damage systematically, verifying each fix before proceeding.

  1. For each wound (in triage priority order): a. Identify root cause:

- Is this a code bug? Configuration error? Data corruption? Dependency failure? - Is this a symptom of a deeper structural problem? - Would fixing the root cause also address other wounds? b. Implement the repair: - Fix the root cause, not just the symptom - If the root cause can't be fixed immediately, implement a deliberate workaround and document it - Keep repairs minimal — fix what's broken, don't refactor the neighborhood c. Verify the repair: - Does the specific damaged function work correctly now? - Does the repair pass automated tests? - Is the system's overall health improved or at least unchanged? d. Check for regression: - Did this repair break anything else? - Are emergency patches from Step 2 still needed, or can some be removed?

  1. After all critical and serious wounds are repaired:

- Remove emergency patches that are no longer needed - Restore disabled features - Return traffic to normal routing

  1. Schedule moderate and minor wound repairs:

- These enter the normal development workflow - Track them to completion (don't let them become "accepted" damage)

Expected: Critical and serious wounds are repaired with verified fixes. Emergency patches are removed. The system is restored to functional operation.

On failure: If a repair attempt fails or causes regression, roll back to the previous state and reassess. If multiple repair attempts fail for the same wound, the damage may be too deep for local repair — consider whether the affected component needs full replacement rather than repair (see dissolve-form).

Step 5: Manage Scar Tissue and Strengthen

Address the workarounds and shortcuts introduced during emergency repair, and strengthen against recurrence.

  1. Inventory scar tissue:

- Emergency patches that became permanent - Workarounds that were never replaced with proper fixes - Special cases added to handle damage-related edge cases - Disabled features that were never re-enabled

  1. For each piece of scar tissue, decide:

- Remove: the workaround is no longer needed (damage is fully repaired) - Replace: the workaround addresses a real need but should be implemented properly - Accept: the workaround is the most practical long-term solution (rare, document why)

  1. Strengthen against recurrence:

- Root cause analysis: why did this damage occur? - Prevention: what would have prevented it? (monitoring, testing, architecture change) - Detection: how could we detect this faster next time? (alerts, health checks) - Recovery: how could we recover faster? (runbooks, backup procedures, automation)

  1. Update immune memory:

- Add the incident pattern to monitoring and alerting (see defend-colony immune memory) - Update runbooks with the repair procedure that worked - Share learnings across the team/organization

Expected: Scar tissue is managed (removed, replaced, or accepted with documentation). The system is not only repaired but more resilient than before the damage. Learnings are captured for future incidents.

On failure: If scar tissue management is deprioritized ("it works, don't touch it"), schedule it explicitly. Unmanaged scar tissue accumulates and eventually contributes to the next incident. If the root cause can't be identified, strengthen detection and recovery speed as compensating controls.

Validation

  • All damage is inventoried and classified by severity
  • Emergency stabilization stopped the spread of damage
  • Evidence is preserved for root cause analysis
  • Critical and serious wounds are repaired with verified fixes
  • Emergency patches are removed after proper repair
  • Scar tissue is inventoried and managed (removed, replaced, or documented)
  • Root cause analysis identifies prevention and detection improvements
  • System resilience is improved compared to pre-damage state

Common Pitfalls

  • Repairing without stabilizing: Attempting to fix the root cause while the system is actively bleeding. Stabilize first, then repair. Tourniquets before surgery
  • Permanent emergency patches: Emergency measures that become the permanent solution create compounding technical debt. Always follow up with proper repair
  • Root cause assumption: Assuming the root cause is known without investigation. Many "obvious" causes are symptoms of deeper issues. Investigate before committing to a repair strategy
  • Repair-induced damage: Rushing repairs without testing creates new wounds. One verified fix per iteration — never batch untested changes
  • Ignoring scar tissue: "It works now" is not the same as "it's healthy." Scar tissue from hasty repairs is the seed of the next incident

Related Skills

  • assess-form — damage assessment shares methodology with form assessment
  • adapt-architecture — architectural adaptation may be needed if damage reveals structural weakness
  • dissolve-form — for components too damaged to repair; dissolve and rebuild
  • defend-colony — defense triggers repair; post-incident recovery feeds back into defense
  • shift-camouflage — surface adaptation can mask damage while repair proceeds (with caution)
  • conduct-post-mortem — structured post-incident analysis complements root cause identification
  • write-incident-runbook — repair procedures should be captured as runbooks for future incidents

平台分布

Codex

33.38%
按下载量换算53

Claude

32.14%
按下载量换算51

Cursor

19.7%
按下载量换算31

Gemini CLI

9.69%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills