agentleFS
kreighmitchellkreighmitchell/SuperClaude/.claude/skills/sc-build/SKILL.md

sc-build

Skill4 starsChanged 8 months agoMITView on GitHub

Build, compile, and package projects with intelligent error handling and optimization. Use when building projects, creating artifacts, debugging build failures, or preparing deployments.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Build & Package Skill

Project building and packaging with optimization and error handling.

Quick Start

# Standard build
/sc:build [target]

# Production with optimization
/sc:build --type prod --clean --optimize

# Verbose development build
/sc:build frontend --type dev --verbose

Behavioral Flow

  1. Analyze - Project structure, configs, dependencies
  2. Validate - Build environment, toolchain components
  3. Execute - Build process with real-time monitoring
  4. Optimize - Apply optimizations, minimize bundles
  5. Package - Generate artifacts and build reports

Flags

FlagTypeDefaultDescription
--typestringdevdev, prod, test
--cleanboolfalseClean build (remove previous artifacts)
--optimizeboolfalseEnable advanced optimizations
--verboseboolfalseDetailed build output
--validateboolfalseInclude validation steps

Personas Activated

  • devops-engineer - Build optimization and deployment preparation

Evidence Requirements

This skill requires evidence. You MUST:

  • Show build command output and exit codes
  • Reference generated artifacts
  • Report timing metrics and optimization results

Build Types

Development (--type dev)

  • Fast compilation
  • Source maps enabled
  • Debug symbols included
  • No minification

Production (--type prod)

  • Full optimization
  • Minification enabled
  • Tree-shaking applied
  • Dead code elimination

Test (--type test)

  • Test coverage instrumentation
  • Mock configurations
  • Test-specific environment

Examples

Clean Production Build

/sc:build --type prod --clean --optimize
# Minification, tree-shaking, deployment prep

Component Build

/sc:build frontend --verbose
# Targeted build with detailed output

Validation Build

/sc:build --type dev --validate
# Development build with quality gates

Error Handling

Build failures trigger:

  1. Error log analysis
  2. Dependency verification
  3. Configuration validation
  4. Actionable resolution guidance

Tool Coordination

  • Bash - Build system execution
  • Read - Configuration analysis
  • Grep - Error parsing and log analysis
  • Glob - Artifact discovery
  • Write - Build reports

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.