Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计提醒

build构建

Agent Skill

build 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

329

周安装

14

GitHub Stars

2

下载量

115
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/slamb2k/mad-skills --skill build

简介

build 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于根据关键词、任务场景或来源线索进行信息筛选和整理。
  • 可结合来源仓库、安装命令和原始 README 继续核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 使用时需注意数据来源的准确性和适用性,避免依赖未经验证的外部信息。

SKILL.md

Build - Context-Isolated Feature Development

When this skill is invoked, IMMEDIATELY output the banner below before doing anything else. Pick ONE tagline at random — vary your choice each time. CRITICAL: Reproduce the banner EXACTLY character-for-character. The first line of the art has 4 leading spaces — you MUST preserve them.

{tagline}

⠀   ██╗██████╗ ██╗   ██╗██╗██╗     ██████╗
   ██╔╝██╔══██╗██║   ██║██║██║     ██╔══██╗
  ██╔╝ ██████╔╝██║   ██║██║██║     ██║  ██║
 ██╔╝  ██╔══██╗██║   ██║██║██║     ██║  ██║
██╔╝   ██████╔╝╚██████╔╝██║███████╗██████╔╝
╚═╝    ╚═════╝  ╚═════╝ ╚═╝╚══════╝╚═════╝

Taglines:

  • ⚙️ Compiling hopes and dreams...
  • 🏗️ Bob the Builder has entered the chat!
  • 🤖 Assembling the Voltron of code!
  • 🏭 Feature factory: ONLINE
  • ☕ Hold my coffee, I'm building!
  • 📦 Some assembly required...
  • 🧱 Bricks, mortar, and semicolons!
  • 🏎️ Let's see what this baby can do!

Output Formatting

After the banner, display parsed input:

┌─ Input ────────────────────────────────────────
│  {Field}:  {value}
│  Flags:    {parsed flags or "none"}
└────────────────────────────────────────────────

Pre-flight results:

── Pre-flight ───────────────────────────────────
  ✅ {dep}           {version or "found"}
  ⚠️ {dep}           not found → {fallback detail}
  ❌ {dep}           missing → stopping
──────────────────────────────────────────────────

Stage/phase headers: ━━ {N} · {Name} ━━━━━━━━━━━━━━━━━━━━━━━━━

Status icons: ✅ done · ❌ failed · ⚠️ degraded · ⏳ working · ⏭️ skipped


Execute a detailed design/plan through the full feature-dev lifecycle with maximum context isolation. Every heavy stage runs in a subagent so the primary conversation only accumulates structured reports.

Stage prompts: references/stage-prompts.md Report budgets: references/report-contracts.md Agent selection: references/architecture-notes.md Project detection: references/project-detection.md

Flags

Parse optional flags from the request:

  • --skip-questions: Skip Stage 2 (clarifying questions)
  • --skip-review: Skip Stage 5 (code review)
  • --no-ship: Stop after Stage 8 docs update
  • --parallel-impl: Split implementation into parallel agents when independent

Pre-flight

Before starting, check all dependencies in this table:

DependencyTypeCheckRequiredResolutionDetail
shipskillls.claude/skills/ship/SKILL.md ~/.claude/skills/ship/SKILL.md ~/.claude/plugins/marketplaces/slamb2k/skills/ship/SKILL.md 2>/dev/nullyesstopInstall with: npx skills add slamb2k/mad-skills --skill ship
primeskillls.claude/skills/prime/SKILL.md ~/.claude/skills/prime/SKILL.md ~/.claude/plugins/marketplaces/slamb2k/skills/prime/SKILL.md 2>/dev/nullnofallbackContext loading; falls back to manual CLAUDE.md/goals scan
feature-dev:code-exploreragentnofallbackUses general-purpose agent
feature-dev:code-architectagentnofallbackUses general-purpose agent
feature-dev:code-revieweragentnofallbackUses general-purpose agent

For each row, in order:

  1. Run the Check command (for cli/npm) or test file existence (for agent/skill)
  2. If found: continue silently
  3. If missing: apply Resolution strategy

- stop: notify user with Detail, halt execution - url: notify user with Detail (install link), halt execution - install: notify user, run the command in Detail, continue if successful - ask: notify user, offer to run command in Detail, continue either way (or halt if required) - fallback: notify user with Detail, continue with degraded behavior

  1. After all checks: summarize what's available and what's degraded
  2. Capture PLAN (the user's argument) and FLAGS
  3. Load project context — invoke /prime to load domain-specific context (CLAUDE.md, specs, memory). If /prime is unavailable, fall back to manually scanning CLAUDE.md and specs/ directory.
  4. Detect project type using references/project-detection.md to populate PROJECT_CONFIG (language, test_runner, test_setup)
  5. Check for outstanding items from previous work:

- Query persistent tasks via TaskList for incomplete items - Search CLAUDE.md for a "Known Issues" or "Open Questions" section - Search memory (if available) for recent unresolved items

  1. If outstanding items found, present via AskUserQuestion: "Found {count} outstanding items from previous work:" {numbered list with summary of each} "Address any of these before starting the build?" Options:

- "Yes, let me choose which ones" → present each; options: "Incorporate into this build" / "Skip for now" / "Explain more" Items marked "incorporate" get appended to the PLAN as additional requirements for Stage 1 to explore. - "No, proceed with the build" → continue normally


Plan Resolution

Before Stage 1, resolve the PLAN argument into content:

  1. File detection — If the argument contains / or ends with .md, .yaml, .json, or .txt, treat it as a file path:

- Try reading the path as-is - If not found, try specs/{arg} - If found, use file content as PLAN - If not found at any location, treat the original argument as free-form text

  1. Free-form text — If not a file path (or file not found), use the argument verbatim as PLAN
  2. Display — In the Input box, show the resolved source:

- File: Plan: {file path} ({line count} lines) - Text: Plan: inline ({word count} words)


Stage 1: Explore

Launch feature-dev:code-explorer (fallback: general-purpose):

Task(
  subagent_type: "feature-dev:code-explorer",
  description: "Explore codebase for build plan",
  prompt: <read from references/stage-prompts.md#stage-1>
)

Substitute {PLAN} into the prompt. Parse EXPLORE_REPORT. Extract questions for Stage 2.


Stage 2: Clarifying Questions

Skip if --skip-questions or no questions found.

Runs on the primary thread (requires user interaction).

  1. Review EXPLORE_REPORT questions and potential_issues
  2. Present questions to user via AskUserQuestion
  3. Store answers as CLARIFICATIONS

Stage 3: Architecture Design

Launch feature-dev:code-architect (fallback: general-purpose):

Task(
  subagent_type: "feature-dev:code-architect",
  description: "Design implementation architecture",
  prompt: <read from references/stage-prompts.md#stage-3>
)

Substitute {PLAN}, {EXPLORE_REPORT}, {CLARIFICATIONS}. Parse ARCH_REPORT. Present approach_summary to user for confirmation.

If rejected, incorporate feedback and re-run.


Stage 4: Implementation

If --parallel-impl and ARCH_REPORT has independent parallel_groups, launch multiple general-purpose subagents in parallel.

Otherwise launch one general-purpose subagent:

Task(
  subagent_type: "general-purpose",
  description: "Implement plan",
  prompt: <read from references/stage-prompts.md#stage-4>
)

Substitute {PLAN}, {ARCH_REPORT}, conventions, {PROJECT_CONFIG.test_runner}. Parse IMPL_REPORT(s). If any failed, assess retry or abort.


Stage 5: Code Review

Skip if --skip-review.

Launch 3 feature-dev:code-reviewer subagents in parallel (fallback: general-purpose):

  1. Simplicity & DRY
  2. Bugs & Correctness
  3. Conventions & Integration

Prompts in references/stage-prompts.md#stage-5.

Consolidate reports. Present only critical and high severity findings. Ask: "Fix these now, or proceed as-is?"


Stage 6: Fix Review Findings

Only if Stage 5 found issues AND user wants them fixed.

Launch general-purpose subagent:

Task(
  subagent_type: "general-purpose",
  description: "Fix review findings",
  prompt: <read from references/stage-prompts.md#stage-6>
)

Stage 7: Verify

Launch Bash subagent (haiku):

Task(
  subagent_type: "Bash",
  model: "haiku",
  description: "Run verification tests",
  prompt: <read from references/stage-prompts.md#stage-7>
)

Substitute {PROJECT_CONFIG.test_runner} and {PROJECT_CONFIG.test_setup}.

If tests fail:

  • First failure: launch general-purpose agent to fix, retry
  • Second failure: report to user and stop

Stage 8: Update Progress Documentation

Skip if EXPLORE_REPORT has no source_docs.

Launch general-purpose subagent:

Task(
  subagent_type: "general-purpose",
  description: "Update progress documentation",
  prompt: <read from references/stage-prompts.md#stage-8>
)

If --no-ship: Stop here and present final summary.


Stage 9: Ship

Invoke the /ship skill:

/ship {approach_summary from ARCH_REPORT}. Files: {files from IMPL_REPORT}

Stage 10: Debrief

Always runs on the primary thread (requires user interaction).

  1. Scan all stage reports for unresolved items:

- EXPLORE_REPORT: potential_issues not addressed by implementation - ARCH_REPORT: risks with deferred mitigations - REVIEW_REPORT: medium/low findings not fixed in Stage 6 - TEST_REPORT: warnings, skipped tests, flaky results - DOCS_REPORT: docs_skipped items - IMPL_REPORT: issues_encountered that were worked around

  1. Compile into DEBRIEF_ITEMS (see references/stage-prompts.md#stage-10). Categorise each as: unresolved_risk, deferred_fix, open_question, assumption, or tech_debt.
  2. If no items found, skip to Final Report.
  3. Present numbered summary via AskUserQuestion grouped by category. Each item shows: [category] summary (effort). Options:

- "Fix now" → create a task list of resolution activities for each item; present for user confirmation, then work through them - "Create tasks for future sessions" → use TaskCreate for each item as a persistent task, with category as prefix and suggested action as description - "Note and continue" → acknowledge items without formal tracking; log to memory (if exists) or as source file comments. No further action. - "Let me choose per item" → present each individually with full description, evidence, and impact. Options per item: "Fix now" / "Create task" / "Explain more" / "Note and continue". "Explain more" reads source files cited in evidence, provides expanded context, then re-presents the item for decision.

  1. After resolution, include debrief summary in the Final Report.

Final Report

┌─ Build · Report ───────────────────────────────
│
│  ✅ Build complete
│
│  📋 Plan:      {first line of plan}
│  🏗️ Approach:  {approach_summary}
│
│  📝 Changes
│     Files modified:  {count}
│     Files created:   {count}
│     Tests:           {passed}/{total} ✅
│     Docs updated:    {count or "none"}
│
│  🔍 Review
│     Findings addressed: {count fixed} / {count found}
│
│  📊 Debrief: {count resolved} / {count surfaced}
│     {list of created tasks}
│
│  🔗 Links
│     PR:  {pr_url}
│     CI:  {merge_commit}
│
│  ⚡ Next steps
│     {debrief items or "none — all clear"}
│
└─────────────────────────────────────────────────

If any stage failed, report the failure point and what was accomplished.


Rollback

If implementation succeeds but later stages fail:

  • Tests fail: fix agent attempts repair, then reports to user
  • Review critical: user decides fix or proceed
  • Ship fails: code is still committed locally; user can manually push
  • Never silently revert completed implementation work

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.4%
按下载量换算42

Claude

29.01%
按下载量换算33

Cursor

18.72%
按下载量换算22

Gemini CLI

8.14%
按下载量换算9

安全审计

Gen Agent Trust Hub

可疑

Socket

可疑

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills