code/build-incremental/SKILL.md
Implements code in progressive, verified increments — auto-detects the project's toolchain, builds each unit, runs checks (typecheck, lint, test), fixes errors, and commits with semantic messages. Use when building features, implementing milestones, or making multi-step changes.
npx skillsauth add mostafa-drz/claude-skills build-incrementalInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Implement code in progressive, verified increments. Each unit is built, checked, and committed before moving to the next.
Read ~/.claude/skills/build-incremental/preferences.md using the Read tool. If not found, no preferences are set.
On startup, use Bash to detect: project stack files (ls package.json Cargo.toml pyproject.toml go.mod Makefile), CLAUDE.md presence, current git branch, and git status. Skip any that fail.
Check $ARGUMENTS:
help → display help then stopconfig → interactive setup then stopreset → delete ~/.claude/skills/build-incremental/preferences.md, confirm, stop--dry-run <description> → show the plan without executing then stop--no-commit <description> → build and verify but don't commit--skip-lint <description> → skip linting, only run type checksBuild — Implement code in verified increments
Usage:
/build-incremental <what to build> Build incrementally with checks + commits
/build-incremental --dry-run <description> Show plan without executing
/build-incremental --no-commit <description> Build and verify, don't commit
/build-incremental --skip-lint <description> Skip lint, only typecheck
/build-incremental config Set toolchain and commit preferences
/build-incremental reset Clear preferences
/build-incremental help This help
Examples:
/build-incremental add user settings page with form validation
/build-incremental Milestone 2 from IMPLEMENTATION_PLAN.md
/build-incremental --dry-run refactor auth middleware
How it works:
1. Detects your toolchain (or reads from preferences)
2. Breaks work into committable units
3. For each unit: implement → check → fix → commit
4. Reports summary with all commits
Current preferences:
(shown above under Preferences)
Use AskUserQuestion:
Q1 — "Type check command?" (auto-detect (default), custom command)
pnpm typecheck, npm run typecheck, tsc --noEmit, cargo check, go vet, mypy ., pyrightQ2 — "Lint command?" (auto-detect (default), custom command, skip)
pnpm lint, npm run lint, cargo clippy, golangci-lint run, ruff checkQ3 — "Lint fix command?" (auto-detect (default), custom command, skip)
pnpm lint:fix, npm run lint:fix, cargo clippy --fix, ruff check --fixQ4 — "Commit style?" (conventional (default) — feat:, fix:, etc.; simple — plain messages; project-default — read from CLAUDE.md)
Q5 — "Unit size?" (small — 1-2 files per commit; medium — 3-5 files (default); large — whole milestone)
Save to ~/.claude/skills/build-incremental/preferences.md.
If no preferences file exists:
Auto-detect the toolchain from project files:
package.json → check for typecheck, lint, lint:fix scripts, detect pnpm/npm/yarn from lockfileCargo.toml → cargo check, cargo clippypyproject.toml / requirements.txt → mypy, ruff, pyrightgo.mod → go vet, golangci-lintMakefile → check for lint, check targetsShow: "Detected: [toolchain]. Run /build-incremental config to customize, or continue with these defaults."
Proceed normally.
$ARGUMENTS references a milestoneIf --dry-run, show the plan and stop.
Write the code for one unit. Follow project conventions from CLAUDE.md. Read existing code before modifying.
Run checks in this order:
Type check:
{typecheck command from preferences or auto-detected}
If fails: read errors, fix, re-run until passing.
Lint:
{lint command}
If fails:
{lint fix command}Skip lint if --skip-lint flag.
Skip if --no-commit flag.
git add -A or git add .)feat(scope): description, fix(scope): description, refactor: descriptionCheck if more units remain. If yes → Step 2. If no → summary.
Build complete: {description}
Commits:
1. {hash} {message}
2. {hash} {message}
Verification:
✓ Type check: no errors
✓ Lint: no errors
{If milestone: Next milestone: {name} or "none remaining"}
git add . — always add specific filesdevelopment
--- name: triage-board description: >- Generates a structured triage artifact from the current conversation's findings — a self-contained Desktop folder with a JSON Schema, schema-conformant report.json, prose markdown, and a single-file HTML viewer. Viewer ships with MD / CSV / JSON download buttons in the header and a per-finding "Copy as Markdown" action that produces a GitHub/Linear/Notion-ready ticket block. Stateless — triage state lives in the user's ticket system, not in the
development
Runs a beginner-mind end-to-end UI audit of any running app — local dev server, staging, production, or a specific URL. Drives Chrome through every interactive element on the target surface, collects structured findings (severity, category, where, symptom, impact, repro, triage), and hands the result off to `/triage-board` which produces the Desktop folder (schema + JSON + Markdown + single-file HTML viewer with MD/CSV/JSON exports and a per-finding Copy as Markdown button). Use when you want fresh-eyes verification of a feature, page, modal, flow, branch, or whole app — before shipping, before review, before a demo, or any time the UI deserves a careful poke.
development
Reviews the user's past Claude Code conversations from a wellbeing perspective — sentiment, tone, emotional arc, recurring patterns — and generates a supportive, science-grounded report in both Markdown and HTML. Default lookback is 48 hours across all projects. Uses recognised emotion frameworks (Plutchik, Ekman, Russell's circumplex, Pennebaker linguistic markers) and cites the science behind every observation. Learns the user's baseline tone over time so future reports flag genuine shifts, not noise. Use when the user asks for an emotional/wellbeing recap, mood check, sentiment review, or wants to understand their own ups and downs across recent work sessions.
development
--- name: workflow-advisor description: >- Analyzes recent Claude Code conversations and local Claude state (skills, settings, memory files, CLAUDE.md), researches the latest Claude Code features and best practices online, and suggests one workflow improvement at a time with reasoning and a concrete action item. Can save accepted suggestions to memory for tracking. Use when you want to discover underused Claude Code features, improve your development workflow, stay current with the lat