Communitygithub.com

故障修复流程编排

编排修复缺陷的完整流程——将缺陷重现为失败的回归测试、修复至通过、代码审查并受限提交——通过将每个阶段委托给相应的ECC智能体执行。当现有行为出现错误或异常时使用。

故障修复流程编排 是什么?

该技能旨在自动化缺陷修复的端到端流程,适用于现有行为被破坏或产生错误输出的场景。它作为`orch-pipeline`共享引擎的轻量封装,将修复过程拆解为四个核心阶段:先将缺陷重现为新的失败回归测试(阶段4),然后修复代码直至测试通过,接着进行代码审查,最后执行受限提交。与同类技能的区别在于:若现有行为正确但希望改变,应使用`orch-change-feature`;若功能尚不存在,则使用`orch-add-feature`。该技能支持ECC智能体平台,默认操作尺寸为小(通常较简单),会跳过研究阶段(阶段1),但允许在根因不清晰时引入`code-explorer`辅助分析,在安全敏感路径中可添加`security-reviewer`进行安全检查。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/affaan-m/everything-claude-code/tree/main/skills/orch-fix-defect

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

故障修复流程编排 是做什么的?

参与者 · 动作 · 目标:orch · fix · defect。共享引擎orch-pipeline的轻量封装。

使用时机

  • 某功能出现问题:输出错误、报错、崩溃、回归缺陷。
  • 与同类技能区分:
    • 行为正确但希望改变 → orch-change-feature。
    • 能力尚不存在 → orch-add-feature。

操作设置

  • 默认尺寸下限: 小(通常较简单)。
  • 阶段掩码: 0 →(仅在根因不明显或标准以上时使用轻量阶段2)→ 4 → 5 → 6。研究阶段(1)通常跳过。
  • 第一步(阶段4): 将缺陷重现为新的失败测试(回归测试),然后修复直至通过。先证明缺陷存在,这是区分修复与调整的关键。

工作原理

  1. 使用上述设置运行orch-pipeline引擎。
  2. 如果根因不清晰,在编写红色测试之前使用code-explorer限定范围;构建失败则升级给build-error-resolver//build-fix处理。
  3. 在门禁1(仅当生成计划时)和门禁2(预提交)处暂停。
  4. 如果缺陷位于安全敏感路径,添加security-reviewer。

示例

orch-fix-defect: 轮询器在空NWS响应时崩溃
→ 编写失败测试重现崩溃 → 修复至通过
→ 代码审查 → 提交  [门禁2:确认]   (提交信息:fix:)

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

accessibility

Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA. Use when building or auditing UI that must meet WCAG 2.2 Level AA, or when reviewing a change for keyboard, contrast, or screen-reader support.

affaan-m/claude-api

Anthropic Claude API patterns for Python and TypeScript. Covers Messages API, streaming, tool use, vision, extended thinking, batches, prompt caching, and Claude Agent SDK. Use when building applications with the Claude API or Anthropic SDKs.

affaan-m/everything-claude-code

End-to-end marketing campaign planning and execution. Covers audience research, positioning, campaign angle definition, landing page copy, email sequences, social posts, ad copy, short-form video scripts, and content calendars. Use as the orchestration layer for multi-channel product launches. Use when planning or executing a multi-channel product launch, or producing landing page, email, social, or ad copy.

affaan-m/everything-claude-code

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/everything-claude-code-conventions

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use when the user asks to build web components, pages, or applications and the visual direction matters as much as the code quality.

affaan-m/gget

gget CLI and Python workflow for quick genomic database queries, sequence lookup, BLAST-style searches, enrichment checks, and reproducible bioinformatics evidence logs.

affaan-m/literature-review

Systematic literature-review workflow for academic, biomedical, technical, and scientific topics, including search planning, source screening, synthesis, citation checks, and evidence logging.

affaan-m/motion-ui

Production-ready UI motion system for React/Next.js. Use when implementing animations, transitions, or motion patterns.

affaan-m/project-guidelines-example

Example project-specific skill template based on a real production application.

affaan-m/pubmed-database

Direct PubMed and NCBI E-utilities search workflows for biomedical literature, MeSH queries, PMID lookup, citation retrieval, and API-backed literature monitoring.

affaan-m/scholar-evaluation

Structured scholarly-work evaluation for papers, proposals, literature reviews, methods sections, evidence quality, citation support, and research-writing feedback.

affaan-m/uspto-database

USPTO patent and trademark data workflow for official record lookup, PatentSearch queries, TSDR checks, assignment data, and reproducible IP research logs.

agent-architecture-audit

Full-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack.

agent-eval

Head-to-head comparison of coding agents (Claude Code, Aider, Codex, etc.) on custom tasks with pass rate, cost, time, and consistency metrics. Use when choosing between coding agents, or when a change to an agent setup needs measured pass rate, cost, and time rather than an impression.

agent-harness-construction

Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates. Use when defining or revising an agent

agentic-engineering

Operate as an agentic engineer using eval-first execution, decomposition, and cost-aware model routing. Use when planning or executing engineering work that agents will carry out end to end.

agentic-os

Build persistent multi-agent operating systems on Claude Code. Covers kernel architecture, specialist agents, slash commands, file-based memory, scheduled automation, and state management without external databases. Use when building a persistent multi-agent system on Claude Code with its own memory, commands, and scheduling.

agent-introspection-debugging

Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.

agent-payment-x402

Add x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Supports Base through agentwallet-sdk and X Layer through OKX Payments / OKX Agent Payments Protocol. Use when an agent must pay for something itself and needs per-task budgets, spending controls, and a non-custodial wallet.

相关技能