Agent skill
build-profiles
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/build-profiles
SKILL.md
priority: critical
Build Profiles
BUILD_PROFILE environment variable controls build mode (default: "release").
Available Profiles:
-
dev: Fast iteration, debug symbols, no optimizations. Use for development/testing.
- Cargo profile: debug
- Optimization: -C opt-level=0
- Usage:
BUILD_PROFILE=dev task rust:buildortask rust:build:dev
-
release: Optimized production builds, minimal debug symbols. Use for production/benchmarking.
- Cargo profile: release
- Optimization: -C opt-level=3
- Usage:
BUILD_PROFILE=release task rust:buildortask rust:build:release
-
ci: Release optimizations + debug symbols for troubleshooting. Use in CI/CD pipelines.
- Cargo profile: release
- Debug: enabled
- Usage:
BUILD_PROFILE=ci task rust:build(automatically set in GitHub Actions)
Profile Mapping:
BUILD_PROFILE=dev→ CARGO_PROFILE_DIR=debugBUILD_PROFILE=release→ CARGO_PROFILE_DIR=releaseBUILD_PROFILE=ci→ CARGO_PROFILE_DIR=release (but with debug info)
Usage Examples:
# Dev builds (fast, debug symbols)
BUILD_PROFILE=dev task rust:build
BUILD_PROFILE=dev task build:all
# Release builds (optimized)
BUILD_PROFILE=release task rust:build
task build:all:release
# CI builds (optimized + debug)
BUILD_PROFILE=ci task build:all
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?