Guide users through writing their first Buck2 rule to learn fundamental concepts including rules, actions, targets, configurations, analysis, and select().
SkillScore86Maintained
Automatic
◆DevOps & SRE pack
Last verified 8/20/2026
What it changes
Passed 18 of 21 test cases with the skill, and 12 of 21 without it.
Without skill59%
With skill86%
Checks it passed that the model alone missed
Wraps command arguments using cmd_args()
Indexes into dep[DefaultInfo].default_outputs for each dependency target
Calls .as_output() on the output artifact reference within the command arguments
and 4 more in the full report
6 fixed13 passed either way3 still failing0 broke
Pass-rate lift
+27 pp
Tokens
+344%
Agent turns
0%
Response time
-38%
Model gemini-3.6-flashMeasured 8/20/2026v119 of 22 cases passed with skill · 21 comparable
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 6 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 6
Prompt
After successfully running the build test for Step 4 (creating an action), what interaction pattern must be followed before moving on to Step 5?
What was checked, without and with the skill
Checked
Without skill
With skill
Uses AskUserQuestion to ask the user if they are ready to proceed or want to ask questions or explore
Missed
Passed
case-14 · gemini-3.6-flash · 8/20/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md919 linessingle file
@nolint
Buck2 Rule Basics - Interactive Tutorial
Overview
This is an interactive, step-by-step tutorial that teaches Buck2
fundamentals through hands-on practice. You'll guide users through writing a
simple text processing rule that converts text to uppercase, explaining core
concepts as they encounter them.
Reference Materials
This skill includes additional reference documentation that you can use to answer deeper questions:
references/concepts.md - Deep dive into Buck2 core concepts including:
The Buck2 build model (load, configuration, analysis, execution phases)
Targets in depth (unconfigured vs configured, cells, dependencies)
Artifacts (source vs build artifacts, bound vs unbound)
Actions (properties, caching, inputs/outputs)
Providers (built-in and custom, provider propagation)