Token导航 LogoToken导航TokenDH.com
研究检索只读clawhub未标认证来源可访问clear审计通过

surgical-contributor手术贡献者

Agent Skill

surgical-contributor 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

6,689

周安装

268

GitHub Stars

2

下载量

2,165
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:surgical-contributor(手术贡献者)
来源仓库:https://github.com/dj-shortcut/surgical-contributor
安装命令:
openclaw skills install surgical-contributor
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install surgical-contributor

简介

手术式贡献者聚焦最小安全变更解决真实痛点。

  • 添加回归保护并编写测试用例。surgical-contributor 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 适合代码维护与渐进式改进场景。
  • 需熟悉目标仓库开发流程与 CI/CD 配置。
  • 建议提交前运行本地测试套件。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

SKILL.md

name
surgical-contributor
description
Deliver small, high-signal contributions by finding and fixing one real pain point with the narrowest safe change, adding regression protection, and writing a maintainer-friendly PR summary. Use for bug fixes, workflow paper cuts, state/caching correctness issues, startup/config/platform edge cases, and UI-backend behavior drift where low review burden and low merge risk matter.

Surgical Contributor

Overview

Execute a disciplined contribution loop: reproduce, isolate, patch minimally, and protect against regressions.

Optimize for:

  • Mergeability
  • Trust
  • Behavior stability

Core Principles

These principles govern all decisions:

  • Think before coding: do not assume; surface uncertainty early
  • Simplicity first: prefer the smallest solution that fully solves the problem
  • Surgical changes: touch only what is required for the fix
  • Goal-driven execution: define success via reproduction and verification

If uncertain:

  • state assumptions explicitly
  • prefer clarification over guessing
  • choose the safer, narrower change

Contribution Doctrine

Apply this doctrine in every run:

  • Regression-first
  • Minimal-diff
  • Maintainer-friendly

Refuse these by default unless explicitly requested:

  • Broad refactors
  • Speculative architecture shifts
  • Opportunistic style rewrites
  • Feature expansion beyond the bug or paper cut

What “Surgical” Means in Practice

  • Only modify the minimal set of files and lines required
  • Do not change unrelated code, comments, or formatting
  • Match existing patterns and conventions
  • Do not introduce abstractions unless strictly necessary
  • If a smaller patch works, prefer it

Every changed line must trace directly to the identified problem.

Operating Modes

Choose exactly one mode at the start of work:

  1. Bugfix mode

Reproduce a correctness issue, isolate root cause, apply narrow patch, add regression protection.

  1. Paper-cut mode

Fix high-frequency UX friction in hot paths with minimal behavioral surface area.

  1. Refactor-under-permission mode

Only when explicitly requested; keep each change independently safe and reviewable.

  1. Review-my-own-PR mode

Perform a strict maintainer-style critique before final output (no code changes).

Non-code repository fallback

If no executable bug exists, treat the repository as a specification system.

Fix exactly one deterministic weakness:

  • ambiguity
  • missing constraint
  • contradiction
  • scope leak
  • unenforceable rule

Use the smallest reviewable documentation patch.

Standard Workflow

1. Find one pain point

Select one issue that is:

  • Reproducible
  • Narrow in scope
  • High-value

Prefer:

  • State/caching bugs
  • Edge-case crashes
  • UI-backend drift
  • Startup/config issues
  • Hot-path UX friction

Stack-Specific Focus

When working in UI-heavy or stateful codebases, prioritize issues where small state mistakes create disproportionate user impact.

Focus areas:

  • State synchronization bugs
  • Cache invalidation errors
  • Selection / batch operation drift
  • Undo/redo inconsistencies
  • UI-backend contract mismatches
  • Interaction edge cases (keyboard, focus, timing)

These bugs often:

  • have small fixes
  • but high user impact
  • and low review resistance when isolated correctly

When available, consult:

  • references/risk-map.md

Use it during:

  • target selection
  • self-review

2. Write a tiny change plan before editing

Document:

  • Observed behavior
  • Expected behavior
  • Suspected root cause
  • Safest seam to modify
  • Risk surface

State assumptions explicitly if any uncertainty exists.

3. Reproduce first

Create a minimal repro:

  • Existing test
  • New focused test
  • Small harness
  • Manual repro if needed

Do not fix before proving the failure.

4. Implement the narrowest safe fix

Rules:

  • No unrelated cleanup
  • Preserve all non-bug behavior
  • Prefer local fixes over rewrites
  • Avoid new abstractions unless required
  • Keep code as simple as possible

If two solutions exist, choose the simpler one.

5. Add regression protection

Add exactly one durable protection:

  • Automated test (preferred)
  • Focused harness
  • Manual verification protocol

Tie directly to the reproduced issue.

6. Run self-review before finalizing

Checklist:

  • Is behavior outside the bug unchanged?
  • Are state and cache flows still consistent?
  • Are edge cases still safe?
  • Are UI/interaction flows intact?
  • Is platform behavior safe (if relevant)?
  • Is naming consistent with the repo?
  • Is this the smallest viable patch?

7. Produce maintainer-language PR summary

Use this exact structure:

## What broke
<one short paragraph>

## Root cause
<one short paragraph>

## Why this fix is minimal
<scope boundary + reasoning>

## What I tested
<tests / repro / verification>

## What I intentionally did not change
<explicit non-goals>

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

70.31%
按下载量换算1,522

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills