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

build构建

Agent Skill

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

总安装

275

周安装

11

GitHub Stars

公开资料未说明

下载量

89
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/camacho/ai-skills --skill build

简介

build 用于通过子代理执行已批准的构建计划,验证结果并生成报告,适用于复杂任务分解场景。

  • 它从计划文件中提取任务批次,按顺序或并行执行,并在出错时停止等待人工干预。
  • 使用时需确保在链接的工作树中运行,并已获 /review 批准或属于 hotfix 范围。
  • 安装前请确认仓库权限、维护状态,以及是否会触发命令执行、文件修改或网络请求。
  • build 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

/build

Execute plan tasks via subagents, validate, report.

Announce: "Starting /build — executing plan with subagent dispatch."

Prerequisites

  • Plan approved by /review (Step 4), OR one-sentence scope / hotfix (no plan)
  • Working in a linked worktree (not primary)

With Plan

1. Load

Read ai-workspace/plans/<name>.md. Extract tasks into ordered batches:

  • Tasks under the same step or marked parallel = one batch
  • Tasks with dependencies on prior tasks = separate sequential batch
  • Note file paths, test expectations, and acceptance criteria per task

2. Execute Batches

Batches run sequentially. Tasks within a batch dispatch in parallel via subagents.

Agent selection per task:

Plan structureAgentNotes
Separate "write test" + "implement" taskstest-writer (RED) then implementer (GREEN)Sequential within the pair
Combined task ("implement X with tests")implementerHandles TDD internally
Docs-only taskdoc-writer

Parallel safety: only dispatch tasks in parallel when they touch different files.

Subagent prompt — provide each agent:

You are implementing Task N: [task name]

## Task Description
[FULL TEXT from plan — paste it, don't make the subagent read the file]

## Context
[Where this fits, what earlier batches produced, architectural decisions]

## Working Directory
[Absolute path to worktree]

## Project Conventions
- TDD: write failing test first, make it pass, refactor
- Commit after task completes (conventional commits)
- TypeScript strict, ESM, Biome, Vitest, Pino logger, no barrel exports
- Self-review before reporting back

## Report: DONE | DONE_WITH_CONCERNS | BLOCKED | NEEDS_CONTEXT

Handle responses:

StatusAction
DONEMark task complete
DONE_WITH_CONCERNSRead concerns — if correctness/scope, address before continuing
NEEDS_CONTEXTProvide missing context, re-dispatch
BLOCKEDAssess: more context? more capable model? break smaller? escalate to human?
Task touches protected fileStop immediately — never dispatch

Never retry BLOCKED without changing something.

Inter-batch check — after each batch, verify no regressions before starting the next:

pnpm typecheck && pnpm test

3. Validate (Hard Gate)

After ALL batches complete:

pnpm validate

Read the output. Never claim success without evidence. If it fails:

  1. Diagnose the failure
  2. Fix (dispatch subagent or fix directly for small issues)
  3. Re-run pnpm validate
  4. Max 3 fix-validate cycles. If still failing, stop and report.

Step 6 (/review) CANNOT begin until validate passes.

4. Report

Build complete.
Tasks: <completed>/<total>
Validate: PASS
Next step: /review (Step 6)

Include any DONE_WITH_CONCERNS notes. Update .branch-context.md with decisions made during build.

Without Plan (Hotfix / One-Sentence Scope)

Implement directly — no subagent orchestration for small scope.

  1. TDD: write failing test (RED), implement fix (GREEN), refactor
  2. Minimal change: fix the defect, nothing else (hotfixes)
  3. Root cause: document in commit message body (hotfixes)
  4. Validate: pnpm validate — same hard gate, same 3-attempt max

Codex / Cursor Fallback

No subagent dispatch. Execute tasks sequentially in main session. Same validation gate applies.

Integration

RelationSkill
Called by/task (Step 5)
Depends on/plan (Step 3) + /review plan approval (Step 4)
Followed by/review build review (Step 6)

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.45%
按下载量换算33

Claude

30.01%
按下载量换算27

Cursor

17.76%
按下载量换算16

Gemini CLI

8.19%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

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

来源信息

继续浏览同类 Skills