Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

Build

FreeNo executable scriptsNot checked

用TDD工作流执行实施计划任务,自动提交与阶段门禁。提供专业的能力支持,适用于多种工作场景。内置错误恢复与降级机制,跨格式适配,适配多源数据。 功能涵盖:。Use when 需要项目管理、任务规划、进度跟踪、团队协作时使用。不适用于实际人员绩效评估。适用于独立开发者、企业团队和自动化工作流场景。支持中文交互,无需复杂…

thcjpby thcjp482 installs in other catalogs

About this skill

功能说明: 本技能涵盖 专业的能力支持、提交与阶段门禁 等核心能力。

功能说明: 本技能涵盖 中文交互、化工作流场景 等核心能力。

This skill is self-contained — follow the task loop, TDD rules, and completion flow below instead of delegating to external build/execution skills (superpowers, etc.).

Execute tasks from an implementation plan. Finds plan.md (in docs/plan/), picks the next unchecked task, implements it with TDD workflow, commits, and updates progress.

When to use

After /plan has created a track with spec.md + plan.md. This is the execution engine.

Pipeline: /plan → /build → /deploy → /review

协议 Tools (use if available)

  • session_search(query) — find how similar problems were solved before
  • project_code_search(query, project) — find reusable code across projects
  • codegraph_query(query) — check file dependencies, imports, callers

If 协议 tools are not available, fall back to Glob + Grep + Read.

Pre-flight Checks

详细内容已移至 references/detail.md

Track Selection

If $ARGUMENTS contains a track ID:

  • Validate: {plan_root}/{argument}/plan.md exists (check docs/plan/).
  • If not found: search docs/plan/*/plan.md for partial matches, suggest corrections.

If $ARGUMENTS contains --task X.Y:

  • Jump directly to that task in the active track.

If no argument:

  1. Search for plan.md files in docs/plan/.
  2. Read each plan.md, find tracks with uncompleted tasks.
  3. If multiple, ask via AskUserQuestion.
  4. If zero tracks: "No plans found. Run /plan first."

Context Loading

Step 1 — Architecture overview (if 协议 available)

codegraph_explain(project="{project name}")

Returns: stack, languages, directory layers, key patterns, top dependencies, hub files — one call instead of exploring the tree manually.

Step 2 — Essential docs (parallel reads)

  1. docs/plan/{trackId}/plan.md — task list (REQUIRED)
  2. docs/plan/{trackId}/spec.md — acceptance criteria (REQUIRED)
  3. docs/workflow.md — TDD policy, commit strategy (if exists)
  4. .md — architecture, Do/Don't
  5. .solo/pipelines/progress.md — running docs from previous iterations (if exists, pipeline-specific). Contains what was done in prior pipeline sessions: stages completed, commit SHAs, last output lines. Use this to avoid repeating completed work.

Do NOT read source code files at this stage. Only docs. Source files are loaded per-task in the execution loop (step 3 below).

Resumption

If a task is marked [~] in plan.md:

Resuming: {track title}
Last task: Task {X.Y}: {description} [in progress]

1. Continue from where we left off
2. Restart current task
3. Show progress summary first

Ask via AskUserQuestion, then proceed.

Task Execution Loop

Makefile convention: If Makefile exists in project root, always prefer make targets over raw commands. Use make test instead of pnpm test, make lint instead of pnpm lint, make build instead of pnpm build, etc. Run make help (or read Makefile) to discover available targets. If a make integration or similar target exists, use it for integration testing after pipeline-related tasks.

IMPORTANT — All-done check: Before entering the loop, scan plan.md for ANY - [ ] or - [~] tasks. If ALL tasks are [x] — skip the loop entirely and jump to Completion section below to run final verification and output <solo:done/>.

For each incomplete task in plan.md (marked [ ]), in order:

1. Find Next Task

Parse plan.md for first line matching - [ ] Task X.Y: (or - [~] Task X.Y: if resuming).

2. Start Task

  • Update plan.md: [ ] → [~] for current task.
  • Announce: "Starting Task X.Y: {description}"

3. Research (smart, before coding)

Do NOT grep the entire project or read all source files. Load only what this specific task needs.

If 协议 available (preferred):

  1. project_code_search(query="{task keywords}", project="{name}") — find relevant code in the project. Read only the top 2-3 results.
  2. session_search("{task keywords}") — check if you solved this before.
  3. codegraph_query("MATCH (f:File {project: '{name}'})-[:IMPORTS]->(dep) WHERE f.path CONTAINS '{module}' RETURN dep.path") — check imports/dependencies of files you'll modify.

If 协议 unavailable (fallback):

  1. Read ONLY the files explicitly mentioned in the task description (file paths).
  2. Glob for the specific module directory the task targets (e.g., src/auth/**/*.ts), not the entire project.
  3. If the task doesn't mention files, use Grep with a narrow pattern on src/ or app/ — never **/*.

Never do: Grep "keyword" . across the whole project. This dumps hundreds of lines into context for no reason. Be surgical.

Python-Specific Quality Tools

JS/TS-Specific Quality Tools

iOS/Android-Specific Quality Tools

When the project uses a mobile stack:

iOS (Swift):

swiftlint li
Full SKILL.md on ClawHub

Install Build in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

read
exec

FAQ

What does the Build skill do?

用TDD工作流执行实施计划任务,自动提交与阶段门禁。提供专业的能力支持,适用于多种工作场景。内置错误恢复与降级机制,跨格式适配,适配多源数据。 功能涵盖:。Use when 需要项目管理、任务规划、进度跟踪、团队协作时使用。不适用于实际人员绩效评估。适用于独立开发者、企业团队和自动化工作流场景。支持中文交互,无需复杂配置即开即用。 功能涵盖: solo。

How do I install the Build skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the Build skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare Build with