Agent Skills: Custom Build Process

Project-specific build process for the Builder workflow. Builds frontend assets for claudecode_webui.

UncategorizedID: edanstarfire/claudecode_webui/custom-build-process

Install this agent skill to your local

pnpm dlx add-skill https://github.com/EdanStarfire/claudecode_webui/tree/HEAD/.claude/skills/custom-build-process

Skill Files

Browse the full folder contents for custom-build-process.

Download Skill

Loading file tree…

.claude/skills/custom-build-process/SKILL.md

Skill Metadata

Name
custom-build-process
Description
Project-specific build process for the Builder workflow. Builds frontend assets for claudecode_webui.

Custom Build Process

Purpose

This is a project-specific custom skill called by the Builder workflow after implementation is complete. It handles building project artifacts specific to this project (claudecode_webui).

Generic workflow skills invoke this skill if it exists; if absent, the build step is skipped.

When Called

The Builder invokes this skill from its working directory (the worktree) after code changes are complete but before testing.

Build Steps

Frontend Build (if frontend code changed)

Check if frontend code was modified:

git diff --name-only HEAD~1 | grep -q "^frontend/" && echo "Frontend changed"

If frontend code changed, build it:

cd frontend && npm run build

Verification

After build:

  • Verify frontend/dist/ directory was created/updated
  • Check build output for errors
  • Report any build failures

Usage by Generic Skills

The Builder workflow calls this skill like:

Invoke custom-build-process skill (no arguments - uses cwd)

The skill runs project-specific build commands in the Builder's working directory. If this skill does not exist, the generic workflow skips the build step.