Token导航 LogoToken导航

Agent Skill · 开发

as-fix(作为修复)

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

as-fix 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 9,816。

总安装 2,521周安装 104GitHub Stars 45下载 824核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/buiducnhat/agent-skills --skill as-fix

这个 Skill 是做什么的

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

针对明确 bug 执行最小化修复与安全验证流程。要求具备错误复现证据且影响范围可控才可启动。强调诊断优先原则,拒绝大规模重构或跨系统修改。最终必须通过回归测试才能关闭工单流转。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

as-fix 属于开发类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/as-fix

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/buiducnhat/agent-skills --skill as-fix;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

as-fix 怎么安装?

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

as-fix 支持哪些 AI 工具?

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

as-fix 需要什么权限?

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

as-fix 是免费的吗?

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

as-fix 用的人多吗?

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

as-fix 安全吗?

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

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

值得选的地方

  • 同时适配 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有提醒
as-fix

作为修复 · 本页

2,52145只读未明确通过

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

SKILL.md 原文

Fix

Purpose

Resolve concrete bugs safely through structured diagnosis, minimal fixes, and verification.

This skill is for bug-fix execution when scope is clear and risk is manageable.

Scope Gate (Required Before Starting)

Use this skill only when all conditions below are true:

  1. Concrete issue signal exists

- Clear failing behavior, error, or regression is identified - Enough evidence exists to begin diagnosis (logs, stack trace, failing test, or reproducible steps)

  1. Likely localized fix path

- Issue appears constrained to a small area - No expected cross-system redesign or migration

  1. Low-to-moderate architectural risk

- Fix can be made without foundational changes - No phased rollout/feature-flag strategy is expected

  1. Straightforward verification path

- Reproduction and post-fix checks can be run in practical scope - Success criteria can be validated directly

If any condition fails, escalate to brainstorm or write-plan.

Hard Stop Escalation Criteria

Immediately stop and switch to planning if any of these occur:

  • Root cause remains unclear after focused investigation
  • Fix requires cross-cutting architectural or data-model changes
  • Scope expands into large refactor or multi-module migration
  • Security/compliance-sensitive behavior is involved
  • Verification reveals broad regressions requiring phased mitigation
  • Multiple fix attempts fail without converging on a root cause

Escalation action:

  1. Stop all implementation activities.
  2. Output the exact message: "This fix exceeds safe single-pass debugging limits. Ask, Recommend brainstorm or write-plan first to define phased diagnosis, implementation, and risk controls."

Workflow

Step 1: Intake and Contextualize

  1. Understand the reported bug and define explicit expected behavior.
  2. Collect/confirm minimum bug report fields:

- Title - Expected behavior - Actual behavior - Reproduction steps - Evidence (logs, trace, screenshot, failing test output) - Environment (branch/OS/runtime/version if relevant) - Impact/severity

  1. Load project context per the shared Context Loading Protocol.

Step 2: Reproduce and Diagnose

  1. Reproduce the issue consistently.
  2. Locate the failure point (file/function/line range/subsystem).
  3. Trace control/data flow to identify the root cause.
  4. Form a fix hypothesis and confirm it explains observed behavior.

Guidelines:

  • Read surrounding code, not only the failing line.
  • Prefer root-cause correction over symptom patching.
  • Add temporary diagnostics only when needed; remove them after use.

Step 3: Decide Small vs Bigger Fix

Classify the work before coding:

Small fix (continue in this skill)

Most are true:

  • Root cause is clear and validated
  • Change surface is narrow (typically a few files)
  • Regression risk is limited and testable quickly
Bigger/risky fix (escalate to brainstorm or write-plan)

Any are true:

  • Root cause is uncertain
  • Multiple subsystems must change together
  • Requires migration, rollout sequencing, or broad refactor
  • Risk cannot be reasonably controlled in a single pass

If it is a bigger fix, follow Hard Stop Escalation Criteria.

Step 4: Implement (Small Fix Path)

  1. State a brief 1-3 bullet implementation plan.
  2. Apply the smallest targeted change that resolves the root cause.
  3. Keep scope strict; avoid unrelated refactors.
  4. Add/update regression tests when applicable.

Step 5: Verify

Run validation in increasing scope:

  1. Focused checks for the changed behavior/module
  2. Nearby regression checks
  3. Relevant project checks (lint/typecheck/tests/build) as needed

Fix is complete only when:

  • Reproduction no longer fails
  • Expected behavior is confirmed
  • No critical regressions are introduced

If verification indicates broader impact, escalate to brainstorm or write-plan.

Step 6: Complete and Report

Provide a concise completion report with:

  • Root cause
  • What changed
  • Why this fix works
  • Verification performed and results
  • Residual risks / follow-ups

If behavior or documentation-relevant rules changed, update the minimal relevant docs. If architecture changed, this should have been escalated.

Rules

  • Do not guess when key context is missing; ask via Question Tool.
  • Always prioritize root-cause fixes.
  • Keep blast radius minimal.
  • Do not mark done without verification.
  • Escalate early when scope/risk exceeds this skill.

Optional Bug Report Template

Use when the report is incomplete:

  • Title:
  • Expected behavior:
  • Actual behavior:
  • Reproduction steps:
  • Error logs/stack trace:
  • Environment:
  • Impact/severity:
  • Additional context:

平台分布

Codex

38.16%
按下载量换算314

Claude

29.11%
按下载量换算240

Cursor

19.68%
按下载量换算162

Gemini CLI

8.34%
按下载量换算69

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

继续浏览同类 Skills