agentleFS
codeApe-7codeApe-7/ai-agent-workflowGroup/.agents/skills/source-command-fix-build/SKILL.md

source-command-fix-build

Skill18 starsChanged 5 months agoMITView on GitHub

派遣 build-error-resolver 修复构建/类型/依赖/配置错误,不建 session

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this skill when the user asks to run the migrated source command fix-build.

    line 8

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

source-command-fix-build

Use this skill when the user asks to run the migrated source command fix-build.

Command Template

/fix-build

轻量入口:只派 build-error-resolver,以最小 diff 让构建变绿。不做架构调整、不做功能修改、不顺手重构。

使用

/fix-build                  # 主会话从最近的失败诊断
/fix-build npm run build    # 指定要修复的命令
/fix-build tsc --noEmit     # typecheck 失败

流程

  1. 主会话获取失败命令的完整输出(首次出问题就跑一次完整命令,捕获 stderr)
  2. Agent({ subagent_type: "build-error-resolver", ... }) 派遣,传入:
    • 失败命令
    • 完整错误输出
    • 项目栈(package.json / pyproject.toml / go.mod)
  3. build-error-resolver 按 .Codex/agents/build-error-resolver.md 输出"修复报告"
  4. 主会话呈现 diff + 重跑证据(同一命令变绿)

边界

  • 单一命令变绿即停,不顺手修其他失败
  • 不修测试断言(除非断言本身错误且必须报告)
  • 不做依赖大版本升级(除非失败信息明确要求)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.