Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问许可证需确认审计通过

fix修复

Agent Skill

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

总安装

4,445

周安装

189

GitHub Stars

45

下载量

1,557
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

fix 用于系统化修复 bug,通过复现问题、定位根因、应用最小修复并验证安全性来解决问题。

  • 它要求完整的 bug 报告输入(标题、预期行为、实际行为、复现步骤和证据),避免盲目修改。
  • 使用时需提供清晰的错误描述和相关日志,Agent 会优先保证正确性和安全,而非追求速度。
  • 安装前请确认仓库权限、维护状态,以及是否会修改源代码、运行测试或访问外部诊断工具。
  • fix 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Fix

Overview

Use this skill to resolve bugs through a structured flow:

  1. Intake a clear bug report
  2. Reproduce and isolate root cause
  3. Apply the smallest safe fix
  4. Verify with focused and project-wide checks
  5. Document what changed and why

Prefer correctness and safety over speed. Do not guess.

Workflow

Step 1: Bug Report Intake

Collect or confirm the minimum required issue context before changing code.

Required intake fields:

  • Title: short bug summary
  • Expected behavior: what should happen
  • Actual behavior: what happens now
  • Reproduction steps: exact steps/inputs
  • Evidence: logs, stack trace, screenshots, failing test output
  • Environment: branch, OS/runtime, app version/commit (if available)
  • Impact: severity and affected users/areas

If key fields are missing, ask targeted follow-up questions first.

Step 2: Reproduce and Diagnose

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

Guidelines:

  • Read surrounding code, not just the failing line.
  • Prefer root-cause fixes, not symptom patches.
  • Add temporary diagnostics/logging only if needed to isolate behavior.
  • Remove or clean up temporary diagnostics after verification.

Step 3: Complexity Gate (Go / No-Go)

Classify the fix before implementation:

Simple Fix (proceed in this skill)

All or most are true:

  • Clear root cause
  • Localized change (small surface area)
  • Low architectural risk
  • Limited file impact
  • Verification path is straightforward

Complex/Risky Fix (stop and route to write-plan)

Any are true:

  • Root cause still unclear
  • Cross-cutting or architectural changes needed
  • Significant refactor or migration involved
  • High regression risk
  • Multi-phase rollout required
  • External dependency or infra uncertainty

If complex, stop and recommend creating a plan with write-plan.

Step 4: Implement the Fix (Simple Path)

  1. State a brief fix plan in 1-3 bullets.
  2. Apply minimal, targeted code changes.
  3. Keep behavior changes explicit and scoped.
  4. Add/adjust tests to prevent regression when applicable.

Implementation rules:

  • Avoid unrelated refactors.
  • Preserve existing conventions and project standards.
  • Keep changes idempotent and safe to re-run where relevant.

Step 5: Verify

Run verification in increasing scope:

  1. Focused checks for the affected module/feature
  2. Regression checks for nearby behavior
  3. Project checks as relevant (lint/typecheck/tests/build)

Bug is fixed only when:

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

If verification fails unexpectedly, stop and reassess diagnosis.

Step 6: Complete and Report

Provide a concise completion report:

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

If architecture, codebase structure, or product behavior changed materially, update documentation artifacts (typically docs/project-pdr.md, docs/codebase.md, docs/architecture.md) via the docs workflow.

Rules

  • No guessing: Question Tool when critical context is missing.
  • Root cause first: never ship symptom-only patches knowingly.
  • Smallest safe change: minimize blast radius.
  • Verify before done: no fix is complete without checks.
  • Escalate complexity: use write-plan for risky/broad changes.

Optional Bug Report Template

Use this template when the user provides an incomplete issue report:

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

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

38.53%
按下载量换算600

Claude

29.4%
按下载量换算458

Cursor

17.25%
按下载量换算269

Gemini CLI

10.06%
按下载量换算157

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills