Skip to content
Data
Skill

/compiling

Compile and build the SkyWalking BanyanDB project. Use when the user asks to compile, build, or generate code for this project.

From plugin
banyandb-bydbql
3555 skills1 MCP

Claude Code

$ npx -y skills add apache/skywalking-banyandb --skill compiling --agent claude-code

SKILL.md

compiling.SKILL.md
name: compiling
description: Compile and build the SkyWalking BanyanDB project. Use when the user asks to compile, build, or generate code for this project.
allowed-tools: Bash, Read, Grep, Glob

Compiling SkyWalking BanyanDB

Follow these steps to compile the project.

Step 1: Generate protobuf and mock code

Run `make generate` first. This regenerates `.pb.go` files from `.proto` definitions and mock files via mockgen.

This step is **required** whenever:

  • Proto files (`.proto`) have been added or modified
  • Go interfaces used by mockgen have changed

If generate fails, check:

  • `protoc` and Go protobuf plugins are installed
  • Proto file syntax is valid
  • Interface signatures match mock expectations

Step 2: Build all binaries

Run `make build` to compile all project components: ui, banyand, bydbctl, mcp, fodc/agent, fodc/proxy.

Binaries are output to each component's `build/bin/dev/` directory.

Troubleshooting

  • **Missing fields in .pb.go**: Proto files were updated but `make generate` was not run. Run it first.
  • **Mock generation failures**: An interface changed but the mock wasn't regenerated. `make generate` fixes this.
  • **Import errors**: Check import aliases match CLAUDE.md conventions (e.g., `commonv1`, `databasev1`).

Other useful targets

  • `make clean` — clean all build artifacts
  • `make clean-build` — clean only build binaries
  • `make lint` — run linters
  • `make test` — run tests
Read more
@apache
Ships withbanyandb-bydbql

BanyanDB, as an observability database, aims to ingest, analyze and store Metrics, Tracing and Logging data. It's designed to handle observability data generated by observability platform and APM system, like Apache SkyWalking etc.

3555 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
355
Star history of apache/skywalking-banyandb on GitHub, a chart by star-history.com

Other skills on banyandb-bydbql.

bydbql

bydbql

Generate, validate, and optionally execute read-only BanyanDB BydbQL for STREAM, MEASURE, TRACE, and PROPERTY resources. Use when…

gh-issue

gh-issue

Size-audit, write, and split BanyanDB issues that somebody else or an automated TDD workflow can implement. Use whenever the user…

gh-pull-request

gh-pull-request

Create a GitHub pull request for SkyWalking BanyanDB. Use when the user asks to create a PR, submit changes, or open a pull…

vendor-update

vendor-update

Upgrade Go/Node.js vendor dependencies and sync tool versions. Use whenever the user says "upgrade dependencies", "update…

More skills from other plugins.

context-loader
Auto-invoked

context-loader

Search memories from earlier Pi sessions in this repository. Use it when earlier work may already explain the code, error,…

mem05d69k
@mem0ai@mem0aiInstall Skill
analyzing-ai-citations

analyzing-ai-citations

Answer AI citation and answer engine optimization (AEO) questions in PostHog: whether AI answer engines (ChatGPT, Claude, and an…

posthog11d41k
@posthog@posthogInstall Skill

Questions about compiling.

Which coding agents can use compiling?
compiling installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.