buck2-local-resources

Community

Orchestrate Buck2 local resources for tests.

Authorthoughtpolice
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Buck2 tests often require external resources (databases, HTTP servers, message queues); this skill shows how to orchestrate local resources using Buck2 LocalResourceInfo and ExternalRunnerTestInfo, managing lifecycle and environment pass-through.

Core Features & Use Cases

  • Create Buck2 tests with local resources (databases, HTTP servers, and more) and manage their lifecycle automatically.
  • Pass connection details to tests via environment variables using LocalResourceInfo.
  • Compose multi-resource test scenarios (e.g., HTTP server + database) with ExternalRunnerTestInfo.

Quick Start

Create a broker script that outputs JSON with pid and resource details, then wire it into a broker rule and a test rule to run under Buck2.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: buck2-local-resources
Download link: https://github.com/thoughtpolice/a/archive/main.zip#buck2-local-resources

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.