{"owner":"bazelbuild","repo":"bazel","hasSkills":true,"totalSkillsCount":4,"totalTokensCount":1500,"categories":["root-instruction","mcp-config","marketplace","plugin-manifest"],"hasMcp":true,"mcpConfig":{"mcpServers":{"bazel":{"command":"npx","args":["-y","@modelcontextprotocol/server-bazel"]}}},"found":["AGENTS.md",".cursor/mcp.json",".claude-plugin/marketplace.json",".claude-plugin/plugin.json"],"skills":{"AGENTS.md":"# Bazel Codebase Guide for Gemini\n\nWelcome to the Bazel repository. This document provides essential context and\nworkflows for working with the Bazel codebase.\n\n## 🏗️ Building & Running Bazel\n\nTo build Bazel from source, use a pre-installed `bazel` or `bazelisk` binary.\n\n*   **Fast Iteration Build (Recommended):** `bazel build //src:bazel-dev`\n*   **Standard Build:** `bazel build //src:bazel`\n\n### ⚡ Performance Tips\n\n*   **Remote Execution:** If you have access to a Remote Build Execution (RBE)\ncluster, use `--config=remote` to significantly speed up your builds:\n    ```bash\n    bazel build --config=remote //src:bazel-dev\n    ```\n\n### 🔄 Iterative Development Workflow\n\nTo test changes safely without interfering with your primary workspace,\nuse a separate binary and output base:\n\n1.  **Build and Copy:**\n    ```bash\n    bazel build //src:bazel-dev && cp bazel-bin/src/bazel-dev /tmp/bazel\n    ```\n2.  **Run commands:**\n    ```bash\n    /tmp/bazel --output_base=/tmp/ob-dev <command>\n    ```\n\n**Note:** Using a custom `--output_base` (e.g., `/tmp/ob-dev`) is crucial to\navoid locking your main workspace server and ensures your development\nenvironment remains isolated.\n\n## 🧪 Testing\n\nTests are located primarily in `src/test`.\n\n### Finding Relevant Tests\nIf you modify a file, find tests that transitively depend on it:\n```bash\nbazel query \"rdeps(//src/test/..., path/to/file.java)\"\n```\n\n### Running Tests\n\n*   **Unit Tests:** Typically `java_test` targets.\n*   **Integration Tests:**\n    *   Java-based: Subclasses of `BuildIntegrationTestCase`.\n    *   Shell-based: Located in `src/test/shell`, using a bash test framework.\n\n## 📜 Architecture & Codebase\n\nBazel uses a **Client/Server** architecture. The client (C++) is a lightweight\nwrapper that starts and communicates with a long-lived Java server.\n\n*   **Skyframe:** The incremental evaluation framework. Most core logic is\nimplemented as `SkyFunction`s evaluating `SkyKey`s into `SkyValue`s.\n*   **Starlark:** The configuration language used for `BUILD` and `.bzl` files.\n*   **Loading/Analysis/Execution:** The three phases of a Bazel command.\n\nFor architectural details or introspection capabilities,\nsee: `docs/contribute/codebase.mdx`\n\n## 🧹 Linting & Formatting\n\n*   **Java:** Follows Google Java Style.\n*   **Starlark:** Use `buildifier` for `BUILD` and `.bzl` files.\n",".cursor/mcp.json":"# Model Context Protocol (MCP) Configuration\n\nPath: `.cursor/mcp.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/bazelbuild/bazel/HEAD/.cursor/mcp.json)",".claude-plugin/marketplace.json":"# Claude Plugin Marketplace Catalog\n\nPath: `.claude-plugin/marketplace.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/bazelbuild/bazel/HEAD/.claude-plugin/marketplace.json)",".claude-plugin/plugin.json":"# claude-plugin Plugin Manifest\n\nPath: `.claude-plugin/plugin.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/bazelbuild/bazel/HEAD/.claude-plugin/plugin.json)"},"files":{"AGENTS.md":"# Bazel Codebase Guide for Gemini\n\nWelcome to the Bazel repository. This document provides essential context and\nworkflows for working with the Bazel codebase.\n\n## 🏗️ Building & Running Bazel\n\nTo build Bazel from source, use a pre-installed `bazel` or `bazelisk` binary.\n\n*   **Fast Iteration Build (Recommended):** `bazel build //src:bazel-dev`\n*   **Standard Build:** `bazel build //src:bazel`\n\n### ⚡ Performance Tips\n\n*   **Remote Execution:** If you have access to a Remote Build Execution (RBE)\ncluster, use `--config=remote` to significantly speed up your builds:\n    ```bash\n    bazel build --config=remote //src:bazel-dev\n    ```\n\n### 🔄 Iterative Development Workflow\n\nTo test changes safely without interfering with your primary workspace,\nuse a separate binary and output base:\n\n1.  **Build and Copy:**\n    ```bash\n    bazel build //src:bazel-dev && cp bazel-bin/src/bazel-dev /tmp/bazel\n    ```\n2.  **Run commands:**\n    ```bash\n    /tmp/bazel --output_base=/tmp/ob-dev <command>\n    ```\n\n**Note:** Using a custom `--output_base` (e.g., `/tmp/ob-dev`) is crucial to\navoid locking your main workspace server and ensures your development\nenvironment remains isolated.\n\n## 🧪 Testing\n\nTests are located primarily in `src/test`.\n\n### Finding Relevant Tests\nIf you modify a file, find tests that transitively depend on it:\n```bash\nbazel query \"rdeps(//src/test/..., path/to/file.java)\"\n```\n\n### Running Tests\n\n*   **Unit Tests:** Typically `java_test` targets.\n*   **Integration Tests:**\n    *   Java-based: Subclasses of `BuildIntegrationTestCase`.\n    *   Shell-based: Located in `src/test/shell`, using a bash test framework.\n\n## 📜 Architecture & Codebase\n\nBazel uses a **Client/Server** architecture. The client (C++) is a lightweight\nwrapper that starts and communicates with a long-lived Java server.\n\n*   **Skyframe:** The incremental evaluation framework. Most core logic is\nimplemented as `SkyFunction`s evaluating `SkyKey`s into `SkyValue`s.\n*   **Starlark:** The configuration language used for `BUILD` and `.bzl` files.\n*   **Loading/Analysis/Execution:** The three phases of a Bazel command.\n\nFor architectural details or introspection capabilities,\nsee: `docs/contribute/codebase.mdx`\n\n## 🧹 Linting & Formatting\n\n*   **Java:** Follows Google Java Style.\n*   **Starlark:** Use `buildifier` for `BUILD` and `.bzl` files.\n",".cursor/mcp.json":"# Model Context Protocol (MCP) Configuration\n\nPath: `.cursor/mcp.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/bazelbuild/bazel/HEAD/.cursor/mcp.json)",".claude-plugin/marketplace.json":"# Claude Plugin Marketplace Catalog\n\nPath: `.claude-plugin/marketplace.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/bazelbuild/bazel/HEAD/.claude-plugin/marketplace.json)",".claude-plugin/plugin.json":"# claude-plugin Plugin Manifest\n\nPath: `.claude-plugin/plugin.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/bazelbuild/bazel/HEAD/.claude-plugin/plugin.json)"},"items":[{"name":"AGENTS.md","path":"AGENTS.md","rawUrl":"https://raw.githubusercontent.com/bazelbuild/bazel/HEAD/AGENTS.md","title":"AI Agent Protocol & Instructions","category":"root-instruction","format":"markdown","content":"# Bazel Codebase Guide for Gemini\n\nWelcome to the Bazel repository. This document provides essential context and\nworkflows for working with the Bazel codebase.\n\n## 🏗️ Building & Running Bazel\n\nTo build Bazel from source, use a pre-installed `bazel` or `bazelisk` binary.\n\n*   **Fast Iteration Build (Recommended):** `bazel build //src:bazel-dev`\n*   **Standard Build:** `bazel build //src:bazel`\n\n### ⚡ Performance Tips\n\n*   **Remote Execution:** If you have access to a Remote Build Execution (RBE)\ncluster, use `--config=remote` to significantly speed up your builds:\n    ```bash\n    bazel build --config=remote //src:bazel-dev\n    ```\n\n### 🔄 Iterative Development Workflow\n\nTo test changes safely without interfering with your primary workspace,\nuse a separate binary and output base:\n\n1.  **Build and Copy:**\n    ```bash\n    bazel build //src:bazel-dev && cp bazel-bin/src/bazel-dev /tmp/bazel\n    ```\n2.  **Run commands:**\n    ```bash\n    /tmp/bazel --output_base=/tmp/ob-dev <command>\n    ```\n\n**Note:** Using a custom `--output_base` (e.g., `/tmp/ob-dev`) is crucial to\navoid locking your main workspace server and ensures your development\nenvironment remains isolated.\n\n## 🧪 Testing\n\nTests are located primarily in `src/test`.\n\n### Finding Relevant Tests\nIf you modify a file, find tests that transitively depend on it:\n```bash\nbazel query \"rdeps(//src/test/..., path/to/file.java)\"\n```\n\n### Running Tests\n\n*   **Unit Tests:** Typically `java_test` targets.\n*   **Integration Tests:**\n    *   Java-based: Subclasses of `BuildIntegrationTestCase`.\n    *   Shell-based: Located in `src/test/shell`, using a bash test framework.\n\n## 📜 Architecture & Codebase\n\nBazel uses a **Client/Server** architecture. The client (C++) is a lightweight\nwrapper that starts and communicates with a long-lived Java server.\n\n*   **Skyframe:** The incremental evaluation framework. Most core logic is\nimplemented as `SkyFunction`s evaluating `SkyKey`s into `SkyValue`s.\n*   **Starlark:** The configuration language used for `BUILD` and `.bzl` files.\n*   **Loading/Analysis/Execution:** The three phases of a Bazel command.\n\nFor architectural details or introspection capabilities,\nsee: `docs/contribute/codebase.mdx`\n\n## 🧹 Linting & Formatting\n\n*   **Java:** Follows Google Java Style.\n*   **Starlark:** Use `buildifier` for `BUILD` and `.bzl` files.\n","isInternal":false,"tokens":600,"sizeBytes":2357},{"name":"marketplace.json","path":".claude-plugin/marketplace.json","rawUrl":"https://raw.githubusercontent.com/bazelbuild/bazel/HEAD/.claude-plugin/marketplace.json","title":"Claude Plugin Marketplace Catalog","category":"marketplace","format":"json","content":"# Claude Plugin Marketplace Catalog\n\nPath: `.claude-plugin/marketplace.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/bazelbuild/bazel/HEAD/.claude-plugin/marketplace.json)","tokens":300,"sizeBytes":195},{"name":"plugin.json","path":".claude-plugin/plugin.json","rawUrl":"https://raw.githubusercontent.com/bazelbuild/bazel/HEAD/.claude-plugin/plugin.json","title":"claude-plugin Plugin Manifest","category":"plugin-manifest","format":"json","content":"# claude-plugin Plugin Manifest\n\nPath: `.claude-plugin/plugin.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/bazelbuild/bazel/HEAD/.claude-plugin/plugin.json)","tokens":300,"sizeBytes":181},{"name":"mcp.json","path":".cursor/mcp.json","rawUrl":"https://raw.githubusercontent.com/bazelbuild/bazel/HEAD/.cursor/mcp.json","title":"Model Context Protocol (MCP) Configuration","category":"mcp-config","format":"json","content":"# Model Context Protocol (MCP) Configuration\n\nPath: `.cursor/mcp.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/bazelbuild/bazel/HEAD/.cursor/mcp.json)","tokens":300,"sizeBytes":174}],"systemPromptSnippet":"<yakaai_skills repo=\"bazelbuild/bazel\">\n<!-- File: AGENTS.md (Tokens: ~600 | Category: root-instruction) -->\n# Bazel Codebase Guide for Gemini\n\nWelcome to the Bazel repository. This document provides essential context and\nworkflows for working with the Bazel codebase.\n\n## 🏗️ Building & Running Bazel\n\nTo build Bazel from source, use a pre-installed `bazel` or `bazelisk` binary.\n\n*   **Fast Iteration Build (Recommended):** `bazel build //src:bazel-dev`\n*   **Standard Build:** `bazel build //src:bazel`\n\n### ⚡ Performance Tips\n\n*   **Remote Execution:** If you have access to a Remote Build Execution (RBE)\ncluster, use `--config=remote` to significantly speed up your builds:\n    ```bash\n    bazel build --config=remote //src:bazel-dev\n    ```\n\n### 🔄 Iterative Development Workflow\n\nTo test changes safely without interfering with your primary workspace,\nuse a separate binary and output base:\n\n1.  **Build and Copy:**\n    ```bash\n    bazel build //src:bazel-dev && cp bazel-bin/src/bazel-dev /tmp/bazel\n    ```\n2.  **Run commands:**\n    ```bash\n    /tmp/bazel --output_base=/tmp/ob-dev <command>\n    ```\n\n**Note:** Using a custom `--output_base` (e.g., `/tmp/ob-dev`) is crucial to\navoid locking your main workspace server and ensures your development\nenvironment remains isolated.\n\n## 🧪 Testing\n\nTests are located primarily in `src/test`.\n\n### Finding Relevant Tests\nIf you modify a file, find tests that transitively depend on it:\n```bash\nbazel query \"rdeps(//src/test/..., path/to/file.java)\"\n```\n\n### Running Tests\n\n*   **Unit Tests:** Typically `java_test` targets.\n*   **Integration Tests:**\n    *   Java-based: Subclasses of `BuildIntegrationTestCase`.\n    *   Shell-based: Located in `src/test/shell`, using a bash test framework.\n\n## 📜 Architecture & Codebase\n\nBazel uses a **Client/Server** architecture. The client (C++) is a lightweight\nwrapper that starts and communicates with a long-lived Java server.\n\n*   **Skyframe:** The incremental evaluation framework. Most core logic is\nimplemented as `SkyFunction`s evaluating `SkyKey`s into `SkyValue`s.\n*   **Starlark:** The configuration language used for `BUILD` and `.bzl` files.\n*   **Loading/Analysis/Execution:** The three phases of a Bazel command.\n\nFor architectural details or introspection capabilities,\nsee: `docs/contribute/codebase.mdx`\n\n## 🧹 Linting & Formatting\n\n*   **Java:** Follows Google Java Style.\n*   **Starlark:** Use `buildifier` for `BUILD` and `.bzl` files.\n\n<!-- File: .claude-plugin/marketplace.json (Tokens: ~300 | Category: marketplace) -->\n# Claude Plugin Marketplace Catalog\n\nPath: `.claude-plugin/marketplace.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/bazelbuild/bazel/HEAD/.claude-plugin/marketplace.json)\n\n<!-- File: .claude-plugin/plugin.json (Tokens: ~300 | Category: plugin-manifest) -->\n# claude-plugin Plugin Manifest\n\nPath: `.claude-plugin/plugin.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/bazelbuild/bazel/HEAD/.claude-plugin/plugin.json)\n\n<!-- File: .cursor/mcp.json (Tokens: ~300 | Category: mcp-config) -->\n# Model Context Protocol (MCP) Configuration\n\nPath: `.cursor/mcp.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/bazelbuild/bazel/HEAD/.cursor/mcp.json)\n</yakaai_skills>"}