Agent skill

Repair Prevention Assessment

by devcodex-labs in devcodex-labs/devcodex

修复防复发完成门禁 Owner — 任何 fix、self-fix 或 dev 中的 repair 切片在 accepted 前使用;形成可机器验证的 RepairPreventionAssessmentV1,分离当前关闭证据与长期前瞻有效性,避免 active 工作流依赖未部署的 gray 能力。

AGPL-3.0Auto-check passed

Install Repair Prevention Assessment

skills CLI
$ npx skills add devcodex-labs/devcodex --skill repair-prevention-assessment -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install devcodex-labs/devcodex repair-prevention-assessment --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/devcodex-labs/devcodex.git skills-src && mkdir -p .claude/skills && cp -r skills-src/content/skills/repair-prevention-assessment .claude/skills/repair-prevention-assessment && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
repair-prevention-assessment
GitHub stars
439
Token cost
~760 tokens
SKILL.md length
194 words
Files
3
Skills in repo
70
Repo updated
First seen
Licence
AGPL-3.0

At a glance

修复防复发完成门禁 Owner — 任何 fix、self-fix 或 dev 中的 repair 切片在 accepted 前使用;形成可机器验证的 RepairPreventionAssessmentV1,分离当前关闭证据与长期前瞻有效性,避免 active 工作流依赖未部署的 gray 能力。

  • SKILL.md covers 职责, RepairPreventionAssessmentGate, 与 gray 返工工程的边界 and 验证与失败语义, plus 1 more section
  • Calls node

What it does

Repair Prevention Assessment is an agent skill from devcodex-labs/devcodex. 修复防复发完成门禁 Owner — 任何 fix、self-fix 或 dev 中的 repair 切片在 accepted 前使用;形成可机器验证的 RepairPreventionAssessmentV1,分离当前关闭证据与长期前瞻有效性,避免 active 工作流依赖未部署的 gray 能力。

Its SKILL.md is about 760 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `intent.json` and `repair-prevention-assessment.schema.json`).

The repository describes itself as: Intent-driven AI coding workflow runtime for consistent context, skills, approvals, validation, and handoffs across six AI coding hosts. The licence is AGPL-3.0.

Example prompts

  • “/repair-prevention-assessment”

What it can do on your machine

Read from SKILL.md and the folder at commit 1dd4525. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Repair Prevention Assessment loads about 760 tokens when it runs. Until then it costs about 45 tokens; SKILL.md has 194 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~45
When it runs · the whole SKILL.md, loaded when a task matches
~760

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from devcodex-labs/devcodex at commit 1dd4525, republished under its AGPL-3.0 licence (© devcodex-labs). 194 words, ~760 tokens.

Download SKILL.mdSave it as .claude/skills/repair-prevention-assessment/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
repair-prevention-assessment
description
修复防复发完成门禁 Owner — 任何 fix、self-fix 或 dev 中的 repair 切片在 accepted 前使用;形成可机器验证的 RepairPreventionAssessmentV1,分离当前关闭证据与长期前瞻有效性,避免 active 工作流依赖未部署的 gray 能力。

Repair Prevention Assessment

职责

本 Skill 是所有 repair task 的稳定、默认部署完成门禁,唯一拥有 RepairPreventionAssessmentGate 与 RepairPreventionAssessmentV1。它判断当前问题能否关闭,并要求为长期控制给出诚实的前瞻计划;不负责计算返工率、验证控制长期有效或自动晋级候选,这些试验性职责归 gray rework-prevention-engineering。

机器结构以 repair-prevention-assessment.schema.json 为准,确定性判定以 scripts/lib/repair-prevention-assessment.js 为准。其他 Skill、Prompt、报告与清单只能引用本 Owner,不复制字段定义。

RepairPreventionAssessmentGate

任何 repair——包括 fix、dev 中的修复切片、self-fix、审查 finding 修复与发布阻断修复——在 accepted 前必须形成有效 RepairPreventionAssessmentV1。当前修复重跑只允许进入 immediateClosureEvidence,不得写成长期 prevention 已有效。

双根因与证据
字段要求
defectRootCause缺陷、遗漏或错误判断本身为什么发生
controlFailure哪个需求、方案、实现、测试、复审或发布控制应拦截却未拦截
escapedFrom / detectedAt应发现阶段与真实发现阶段
regressionSeeds / negativeCases当前回归输入与能证明控制边界的负例
controlOwner / consumers控制真相源、执行消费者与验证消费者
immediateClosureEvidence当前 repair 的 fresh 关闭证据
prospectiveEvidencePlan后续可比较 WorkUnit、独立上下文、指标防作弊与回滚准备
rollbackOrSunset误报、成本或无效时的回退与退役条件
风险模式
  • 低/普通风险首次 repair 可使用 mode=light,但双根因、回归 seed、负例、当前关闭证据与 rollback/sunset 仍不可缺。
  • P0/P1、安全、控制面、公共契约、发布、多批次、角色交接、high/critical 或 repeat escape 必须 mode=full,追加 whyMissed / authorizationEvidence / independentReReviewPlan。
  • repeat escape 不得选择 no-new-control 或只恢复说明文案;必须使用 new-control-provisional,紧急高风险才允许 emergency-active。
preventionDecision
决策使用条件生命周期结论
existing-control-restored已有 active 控制因接线或执行偏差未生效保持既有控制;本次重跑不重新证明效果
new-control-provisional新增或实质修改 prompt/contract/checklist/probe/test/hook/tool新控制保持 gray/provisional,等待前瞻证据
no-new-control已有控制足够、一次性不可泛化、成本高于风险或无更早发现点必须使用标准 reason 与独立 evidence
emergency-activeP0、安全或高风险控制面必须先阻断active-expiring;必须有明确授权、补证与回退

prospectiveEvidencePlan.status=sufficient 只有在不少于 3 个可比 WorkUnit 或 2 个独立上下文、metricGaming=false 且 rollbackReady=true 时有效。当前事件唯一重跑必须保持 retrospective-only。

与 gray 返工工程的边界

  • 本 Skill 始终处理“当前 repair 能否 accepted”,属于 active correctness gate。
  • 只有用户或任务涉及返工率、一次通过率、重复逃逸簇、whyMissed 复发、PreventionHitRate 或长期效果判定时,才额外选择 gray rework-prevention-engineering。
  • active workflow 不得把 gray Skill 作为 mandatory dependency。gray 不可用时,本 Skill 仍须完整执行,不允许跳过 assessment。

验证与失败语义

最小验证:node scripts/test-repair-prevention-assessment.js,并由 V94、review checklist、report 与默认安装 replay 复证。以下任一情况阻断 accepted:

  • assessment 缺失、schema/identity 无效或风险模式不足;
  • immediate closure 与 prospective evidence 混写;
  • repeat escape 继续使用旧说明文字或无理由 no-new-control;
  • active consumer 强依赖默认不部署的 gray Skill;
  • mandatory Skill 未进入默认部署面;
  • rollback/sunset 或独立复审计划缺失。

反模式

  • 用“测试通过”同时证明当前修复与长期有效。
  • 为降低返工指标而隐藏 finding、缩小 WorkUnit 或把返工改名为计划迭代。
  • 把所有低风险 repair 扩大为完整事故报告。
  • 为避免生命周期拆分而无证据晋级 gray Skill。

© devcodex-labs, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files in content/skills/repair-prevention-assessment of devcodex-labs/devcodex.

  • SKILL.md
  • intent.json
  • repair-prevention-assessment.schema.json

Open the folder on GitHubat commit 1dd4525

Compare with similar skills

Repair Prevention Assessment next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Repair Prevention Assessment compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Repair Prevention Assessment this skilldevcodex-labs/devcodex439—~760Automated safety check: PassAGPL-3.0
Openclaw Repair Sweepopenclaw/openclaw392k—~1.8kAutomated safety check: PassMIT
TDD Repairruvnet/ruflo74k—~1.6kAutomated safety check: NotesMIT
Acreadiness Assessgithub/awesome-copilot40k1 repos~839Automated safety check: PassMIT
Relsa Severity AssessmentK-Dense-AI/scientific-agent-skills48k1 repos~5.2kAutomated safety check: NotesMIT
Claude Code Skill Assessmentluongnv89/claude-howto42k—~5.5kAutomated safety check: PassMIT

Similar skills

  • Openclaw Repair Sweep

    openclaw/openclaw

    Run scoped OpenClaw issue/PR repair campaigns: coordinate workers, prove root causes, and land or close verified work under the requested authority.

    392k GitHub stars~1.8k tokensUpdated today
    DevelopmentAuto-check passed
  • TDD Repair

    ruvnet/ruflo

    Test-Driven Repair — given a failing test, spawn a bounded headless claude -p (Read/Edit/Bash only) that makes the test pass without modifying it.

    74k GitHub stars~1.6k tokensUpdated today
    Testing & QAAuto-check: notes
  • Acreadiness Assess

    github/awesome-copilot

    Official

    Run the AgentRC readiness assessment on the current repository and produce a static HTML dashboard at reports/index.html.

    40k GitHub starsUsed in 1 repo~839 tokens
    Legal & ComplianceAuto-check passed
  • Relsa Severity Assessment

    K-Dense-AI/scientific-agent-skills

    Supports multivariate severity assessment and exploratory endpoint-time score forecasting for laboratory animal studies using the RELSA (RELative Severity Assessment) score and ARIMA-based foRcast…

    48k GitHub starsUsed in 1 repo~5.2k tokens
    Data & AnalyticsAuto-check: notes
  • Claude Code Skill Assessment

    luongnv89/claude-howto

    Runs a quick or deep quiz on Claude Code skills, scores ten feature areas and generates a personalized learning path with prioritized next steps.

    42k GitHub stars~5.5k tokensUpdated 9 days ago
    EducationAuto-check passed
  • Conducting Cyber Risk Assessment With Nist 800 30

    mukul975/Anthropic-Cybersecurity-Skills

    Conduct a defensible cybersecurity risk assessment using the NIST SP 800-30 Rev 1 methodology: prepare scope and a risk model, identify threat sources and threat events, identify vulnerabilities and…

    34k GitHub stars~2.5k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed

More from devcodex-labs/devcodex

All 70 skills in this repo
  • Accessibility I18n

    devcodex-labs/devcodex

    无障碍与国际化专家 Owner — 当任务涉及可访问性、键盘操作、焦点、屏幕阅读器、ARIA、语言地区、本地化、RTL、翻译资源、用户可见文案或多语言文档时使用;要求把包容性体验和本地化验证绑定到真实用户路径。

    439 GitHub stars~718 tokensUpdated 22 days ago
    Auto-check passed
  • AI Agent System Architecture

    devcodex-labs/devcodex

    AI Agent 系统架构专家 Owner — 当任务涉及 Agent 路由、工具调用、上下文管理、记忆、状态机、权限、人机协作、可观测性、回放验证或模型辅助治理时使用;要求把 Agent 行为设计成可解释、可恢复、可审计。

    439 GitHub stars~2.4k tokensUpdated 22 days ago
    Auto-check passed
  • API Contract Architecture

    devcodex-labs/devcodex

    API 契约架构专家 Owner — 当任务涉及 public API、HTTP/SDK/CLI 契约、版本兼容、错误模型、分页过滤、幂等、Schema、类型、迁移或消费者影响时使用;要求先冻结消费者契约,再设计实现与验证。

    439 GitHub stars~865 tokensUpdated 22 days ago
    Auto-check passed
  • Architecture Design

    devcodex-labs/devcodex

    架构设计文档编排 Owner — 当用户要求架构设计、系统设计、技术架构或可指导开发、Review 与任务拆分的完整方案时使用;要求从业务流程反推节点、状态、数据、一致性、异常补偿、ADR 与实施任务。

    439 GitHub stars~1.1k tokensUpdated 22 days ago
    Auto-check passed
  • Audit Common

    devcodex-labs/devcodex

    审查公共维度 G0~G5 + Profile Freshness Check — 所有 audit 子类型必先执行的基础维度层

    439 GitHub stars~4.1k tokensUpdated 22 days ago
    Auto-check passed
  • Audit Session

    devcodex-labs/devcodex

    审计工作流的跨会话状态机 — 在 <audit-root/.audit-state/<session-id.json 持久化轮次/发现项/收敛状态,支持 Token 中断后精准恢复

    439 GitHub stars~1.8k tokensUpdated 22 days ago
    Auto-check passed

Questions about Repair Prevention Assessment

What does Repair Prevention Assessment do?

修复防复发完成门禁 Owner — 任何 fix、self-fix 或 dev 中的 repair 切片在 accepted 前使用;形成可机器验证的 RepairPreventionAssessmentV1,分离当前关闭证据与长期前瞻有效性,避免 active 工作流依赖未部署的 gray 能力。. Repair Prevention Assessment is an agent skill from devcodex-labs/devcodex.

How do I install Repair Prevention Assessment in Claude Code?

Run `npx skills add devcodex-labs/devcodex --skill repair-prevention-assessment -a claude-code`. Or copy the skill folder (content/skills/repair-prevention-assessment in devcodex-labs/devcodex) into .claude/skills/repair-prevention-assessment in your project. Claude Code loads it when a task matches its description.

How do I install Repair Prevention Assessment in Codex?

Run `npx skills add devcodex-labs/devcodex --skill repair-prevention-assessment -a codex`. Or copy the skill folder (content/skills/repair-prevention-assessment in devcodex-labs/devcodex) into .agents/skills/repair-prevention-assessment in your project. Codex loads it when a task matches its description.

Can I use Repair Prevention Assessment in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add devcodex-labs/devcodex --skill repair-prevention-assessment -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/repair-prevention-assessment, .gemini/skills/repair-prevention-assessment, .github/skills/repair-prevention-assessment and .opencode/skills/repair-prevention-assessment in your project.

What does Repair Prevention Assessment need to run?

Going by SKILL.md and its folder, Repair Prevention Assessment needs the command-line tools its instructions call (node).

Does Repair Prevention Assessment access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Repair Prevention Assessment safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Repair Prevention Assessment use?

Repair Prevention Assessment is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Repair Prevention Assessment use?

About 760 tokens (SKILL.md is roughly 3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Repair Prevention Assessment?

Skills that share tags, products or a category with Repair Prevention Assessment: Openclaw Repair Sweep (openclaw/openclaw, 392k stars), TDD Repair (ruvnet/ruflo, 74k stars), Acreadiness Assess (github/awesome-copilot, 40k stars) and Relsa Severity Assessment (K-Dense-AI/scientific-agent-skills, 48k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Repair Prevention Assessment?

devcodex-labs (a GitHub organization) maintains it in devcodex-labs/devcodex, which has 439 GitHub stars. The repository holds 70 skills in this directory. The repository was last updated on September 17, 2026.

Source: devcodex-labs/devcodex on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.