Download for macOS
Skill

buck2-rule-basics

@facebook Updated 2026-08-31

Guide users through writing their first Buck2 rule to learn fundamental concepts including rules, actions, targets, configurations, analysis, and select(). Use this skill when users want to learn Buck2 basics hands-on or need help understanding rule writing.

Install

git clone https://github.com/facebook/buck2 /tmp/buck2 && ln -s /tmp/buck2/.claude/skills/buck2-rule-basics ~/.claude/skills/buck2-rule-basics

From README

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.