Build

From softspark/ai-toolkit · View interactive version

Build is an AI agent skill from the GitHub repository softspark/ai-toolkit. Builds project with auto-detected toolchain (npm, poetry, cargo, go, flutter, Docker). Triggers: build, compile, bundle, produce artifacts.

How to use this skill

Skill file

Build Project

$ARGUMENTS

Build the current project.

Project context

Auto-Detection

Run the bundled script to detect build system:

python3 ${CLAUDE_SKILL_DIR}/scripts/detect-build.py [dev|prod|docker]

Usage

/build [target]

What This Command Does

  1. Detects project type
  2. Runs appropriate build command
  3. Reports build status

Build Commands by Project Type

| Project Type | Build Command |

|--------------|---------------|

| Node.js | npm run build or pnpm build |

| Python | poetry build or pip install -e . |

| Flutter | flutter build |

| Go | go build ./... |

| Rust | cargo build --release |

| Docker | docker compose build |

Output Format

## Build Report

### Status: Success / Failed

### Build Details
- **Project**: [name]
- **Type**: [type]
- **Command**: [command used]
- **Duration**: [time]

### Artifacts
- [artifact 1]
- [artifact 2]

### Warnings
- [warning if any]

### Errors
- [error if any]

Targets

| Target | Description |

|--------|-------------|

| dev | Development build |

| prod | Production build |

| docker | Docker image build |

| all | Build all targets |

MANDATORY: Documentation Update

After build configuration changes, update documentation:

When to Update

Post-Build Changes Checklist

Rules

Gotchas

When NOT to Use

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.