Feature flag conditional compilation
Skill kjuhwa/skills-hub/skills/build-system/feature-flag-conditional-compilation
Self-correcting knowledge corpus for Claude Code — 9 stable shape clusters, bias-correction pipeline baked into contribution flow. 47 papers, 45 techniques, 1.1k skills.
npx -y skills add kjuhwa/skills-hub --skill feature-flag-conditional-compilationAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Nested feature gates (hwcodec, vram, mediacodec, flutter, unix-file-copy-paste) in Cargo.toml.
SKILL.md
1.1 KB, as published. Nobody here has run it
Feature Flag Conditional Compilation
When to use
Nested feature gates (hwcodec, vram, mediacodec, flutter, unix-file-copy-paste) in Cargo.toml.
Source context
- Repo:
rustdesk/rustdesk@ac124c0680 - Demonstrated in:
Cargo.toml
Why this generalizes
Template for large Rust workspaces with optional subsystems.
Next steps before publishing
- Read the source files above and rewrite this as a product-agnostic
how-to— keep the pattern, drop rustdesk-specific names. - Add a minimal code example in the target language (Rust + Dart / Rust only / etc.).
- List 2-3 gotchas you hit while reproducing it.