OpenParable
Skip to content
← Back to skills

Verify Module Build

Testing & Quality
verify-module-build

Verify Module Build is an Agent Skill for testing & quality published in the bazelbuild/bazel-central-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Sets up and verifies local presubmit repository builds for modules in the Bazel Central Registry (BCR). Use when reproducing presubmit builds, testing module dependencies locally.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/bazelbuild/bazel-central-registry/blob/HEAD/.agent/skills/verify_module_build/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/verify-module-build, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Verify Module Build

This skill provides instructions for setting up and verifying module builds locally in the Bazel Central Registry (BCR).

Procedure

Copy this checklist and track progress:

  • Step 1: Setup presubmit repositories
  • Step 2: Run tests
  • Step 3: Troubleshoot stale cache if necessary

1. Setup

Prepare the local repositories for the module version:

bazel run //tools:setup_presubmit_repos -- --module {module_name}@{version}

2. Test

Run the specific build or test command provided by the setup tool's output.

3. Troubleshoot

If local changes are not reflected during testing, clear the bazel cache:

bazel clean --expunge