buck2-local-resources
CommunityOrchestrate Buck2 local resources for tests.
Software Engineering#automation#environment-variables#integration-testing#buck2#local-resources#external-runner#broker-script
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 requiredComponents
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.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.