build-profiles

Manages build profiles via the BUILD_PROFILE environment variable for dev, release, and ci modes.

836|66|Updated Feb 3, 2025
One-click install
npx skills add https://github.com/kreuzberg-dev/html-to-markdown --skill build-profiles-kreuzberg-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-profiles
Source: https://github.com/kreuzberg-dev/html-to-markdown/tree/main/.codex/skills/build-profiles
Command: npx skills add https://github.com/kreuzberg-dev/html-to-markdown --skill build-profiles-kreuzberg-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides clear instructions and usage examples for managing different build profiles, ensuring optimal build configurations for development, release, and CI environments.

Core Features & Use Cases

  • Environment Control: Uses the BUILD_PROFILE environment variable to select build modes.
  • Profile Types: Supports dev (fast iteration, debug symbols), release (optimized production builds), and ci (optimized with debug symbols).
  • Use Case: When developing new features, you can quickly build and test your code using the dev profile for faster feedback loops.

Quick Start

Use the build-profiles skill to set the build profile to dev.

Frequently Asked Questions about build-profiles

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage different build profiles for development, release, and CI environments?

You can manage build profiles by setting the `BUILD_PROFILE` environment variable to select distinct build modes for development, release, and continuous integration environments. This ensures consistent build outcomes across different deployment stages.

What build configuration should I use for faster feedback loops during feature development?

For fast iteration during feature development, use the `dev` build profile. This configuration prioritizes iteration speed and includes debug symbols to help you quickly build and test your code.

Can I use environment variables to switch between optimized production builds and debug builds?

Yes, you can switch between optimized production builds and debug builds using environment variables. Set the variable to `release` for optimized production builds or `ci` for builds that combine optimization with debug symbols.

What is the difference between the release and ci build modes?

The `release` profile generates optimized production builds for maximum performance, whereas the `ci` profile creates optimized builds that retain debug symbols for continuous integration pipelines.

Does setting a build mode ensure consistent outcomes across different deployment stages?

Yes, setting a specific build mode ensures consistent build outcomes across different deployment stages. By controlling the build configuration through environment variables, you optimize for iteration speed, performance, or debuggability as needed.