Skip to content
Back to skills

Build

ASecurity

Use when a planned change is ready to build, or the user says go or build it.

  • 14 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added August 31, 2026
ai-agentsgogit

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add chan4lk/specclaw --skill build --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Build?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Build
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/chan4lk-build/badge)](https://www.skillsdirectory.com/skills/chan4lk-build)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Use when a planned change is ready to build, or the user says go or build it.
---

**Flow check:** run `specclaw-ensure-init .specclaw && specclaw-flow .specclaw`. If it prints `full`, read `$CLAUDE_PLUGIN_ROOT/references/full/build.md` and follow it instead of this file.

# specclaw build (lean)

1. `specclaw-validate-change .specclaw <change> build`, then `specclaw-build setup .specclaw <change>` (creates the branch). Commit `.specclaw/mock/index.html` and the change folder: `specclaw(<change>): mock + change`.
Before coding, read every file `specclaw-presets .specclaw` prints (project presets win over built-ins). Follow them in every file. If it exits non-zero, stop and show its errors.

2. For each pending task in `change.md`, in order:
   - Mark it in progress with `specclaw-update-task-status .specclaw/changes/<change>/change.md <T> in_progress`.
   - Write the minimum code that meets its ACs, following the presets and the project's existing patterns.
   - Tests: **at most one per AC**, written only for the ACs this task delivers. No speculative tests or abstractions.
   - Run the project's test command. On failure, fix and retry up to `loop.max_iterations` times (default 2). Then mark the task `failed` and stop with the error.
   - On success: `specclaw-update-task-status … <T> complete`, then `specclaw-build commit .specclaw <change> <T> "<title>" <files…>`.
3. **Refactor.** Run `specclaw-quality-scan .` and note `totals.duplicated_lines`; skip to step 4 if it is 0. Move each `duplicates[]` pair into the preset's **Shared** location (base class, generic handler, shared hook or utility). Re-scan and run the tests. Keep it only if duplicated lines dropped and the tests pass, then commit `specclaw(<change>): refactor`; otherwise discard it: `git restore` only the files the refactor edited, and delete only the files it created. Write `Quality: <before> → <after> duplicated lines` under `## Verify`. If a tool shows `not_run`, write that instead.
4. No review agents, no party panel, no learnings files. Do the work directly; spawn a subagent only for a large task that is independent of the others.
5. `specclaw-update-status .specclaw`. If `specclaw-gh-sync` is on PATH and `github.sync: true`, run `specclaw-gh-sync update .specclaw <change>`; skip silently otherwise. Say which screen now matches its mock section. Next step: `/specclaw:verify`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.