Download for MacApple silicon, macOS 14+
Skill

buck2-rule-basics

@facebook Updated 2026-10-19

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

With your agent

Install OMGSkills skill "facebook/buck2:buck2-rule-basics" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.

Manual command

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.