buck2-new-project
Installation
SKILL.md
Buck2 New Project
Overview
This skill scaffolds new Buck2 projects with all required boilerplate: BUILD files with proper depot.* shims, PACKAGE files with metadata, SPDX license headers, and language-specific source templates. It saves time and ensures consistency across the monorepo.
Use this skill when:
- Creating a new Rust binary, library, or test crate
- Setting up a new Deno/TypeScript tool under
src/tools/ - Starting a new C++ project or library
- Adding a new component to the monorepo that needs its own BUILD file
This skill provides:
- Automated project scaffolding with
scripts/new_project.py - Language-specific templates (Rust, Deno, C++)
- Proper SPDX headers and copyright notices
- Correct use of
depot.*shim wrappers - PACKAGE file with metadata