gh-pull-request

gh-pull-request is a skill for Claude Code, Codex from apache/skywalking-banyandb. It costs 37 tokens per session (985 once invoked), scanned A, original, Apache-2.0.

Instructions for creating a GitHub pull request for SkyWalking BanyanDB. They define branch rules and the local checks required before submitting changes.

In plain words
What is it for?
Use them when creating a feature branch, running code generation, building, linting, checking formatting, verifying licence headers, and opening a pull request.
Why use it?
They reduce avoidable CI failures and prevent changes from being pushed directly to the main branch.

Skill for Claude CodeCodex

Part of the banyandb-bydbql plugin — 5 skills, 1 MCP server shipped together

About the project

Apache SkyWalking BanyanDB is a database for collecting, analyzing, and storing metrics, traces, and logs produced by observability and application-performance systems. It is intended for platforms such as Apache SkyWalking that need to work with monitoring data.

apache/skywalking-banyandb · 350 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/apache/skywalking-banyandb/gh-pull-request
Any agent
npx skills add apache/skywalking-banyandb --skill gh-pull-request
Clone the repo
git clone --depth 1 https://github.com/apache/skywalking-banyandb

Made for: Claude Code, Codex.

Or install banyandb-bydbql, the plugin that ships this one along with the rest of its 5 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gh-pull-request

README.md
[![agentmods](https://agentmods.dev/badge/skills/apache/skywalking-banyandb/gh-pull-request.svg)](https://agentmods.dev/skills/apache/skywalking-banyandb/gh-pull-request)
Your own site
<a href="https://agentmods.dev/skills/apache/skywalking-banyandb/gh-pull-request"><img src="https://agentmods.dev/badge/skills/apache/skywalking-banyandb/gh-pull-request.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 985 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00037 $0.00985
Opus 5 $0.00018 $0.00492
Sonnet 5 $0.00007 $0.00197
Haiku 4.5 $0.00004 $0.00098

Measured yesterday against content hash 838aecc08c35, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

gh-pull-request scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/gh-pull-request/SKILL.md · 109 lines

How it starts

The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Creating a Pull Request for SkyWalking BanyanDB

Branch Rules

Always create a PR from a new branch. Never push directly to main. This is the same convention as the main Apache SkyWalking repo (https://github.com/apache/skywalking).

git checkout -b <descriptive-branch-name>

Local Checks Before Creating PR

Run these checks locally before pushing. They mirror the CI check job and PR-blocking tests in .github/workflows/ci.yml.

Required: Code Generation and Build

make generate
make build

Required: Linting and Formatting

make lint
make check

make check verifies formatting (gofumpt), go mod tidy, and ensures no uncommitted generated file diffs.

Why this order: build must succeed before lint so generated code exists. check validates consistency after linting.

After make lint passes: If lint introduced any fixes (e.g. auto-formatting, field alignment corrections), commit those changes before running make check. Do NOT update CHANGES.md for these fixup commits — just stage all modified tracked files and commit with a message like chore: fix lint issues. Then run make check on the clean tree.

Required: License Headers

make license-check

All source files must have Apache 2.0 license headers.

Required: Update CHANGES.md

Add a one-line entry under the current development version section in CHANGES.md (at the repo root). Place it under the appropriate subsection (### Features, ### Bug Fixes, etc.).

Unit Tests

Run these test packages. Each can run in parallel if the user's machine has enough cores, but it's fine to run them sequentially:

make test-ci PKG=./banyand/...
make test-ci PKG=./bydbctl/...
make test-ci PKG=./pkg/...
make test-ci PKG=./fodc/...

The CI uses these options: --vv --fail-fast --label-filter \!slow with coverage flags. For local runs, use a simplified form unless the user asks for full CI parity:

TEST_CI_OPTS="--vv --fail-fast --label-filter \!slow" make test-ci PKG=./banyand/...

Read the full file on GitHub · 109 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 109 lines · 37 tokens per session scan A 838aecc08c35

Subscribe to this mod's changes

gh-pull-request is a skill published in the GitHub repository apache/skywalking-banyandb (350 stars, last pushed today), licensed Apache-2.0. It adds 37 tokens to every session and 985 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

migrate-state-management

Migrate Redux or React Context to the correct state option (React Query for server state, nuqs for URL/shareable state, Zustand for global client state). Use when refactoring away from Redux/Context, moving state to the right store, or when the user asks to migrate state management.

SigNoz/signoz · 64 tokens

datadog

Full-stack observability with Datadog APM, logs, metrics, synthetics, and RUM. Use when implementing monitoring, tracing, alerting, or cost optimization for production systems.

bobmatnyc/claude-mpm-skills · 43 tokens

数据模型文档生成

当用户要生成或更新 Doris 表的数据模型 Markdown(三一级标题:数据摘要、数据表列、JSON扩展字段)、从 Doris 拉取元数据与至少 100 行样本,并由脚本或 --llm 补全说明时启用。.

opsrobot-ai/opsrobot · 64 tokens

datamodel-gen

生成三个一级标题内容:基本信息、数据字段、使用示例 1.基本信息包括: 数据名称、原始路径(OpenClaw原始数据来源)、数据内容、数据库、数据表、用途定位、应用场景, 表格形式展示 2.数据字段包括两个子标题:数据表列和JSON扩展字段.

opsrobot-ai/opsrobot · 0 tokens

release-checklist

Pre-release safety audit for the Bifrost repo. Scans database migrations changed in a release for high-scale deadlock / lock-contention risks and for work that blocks application boot time, then produces a pass/warn/fail report with a concrete remediation plan. Invoked with /release-checklist [git-ref-range]. Built to…

maximhq/bifrost · 82 tokens

github-cli

Default GitHub skill for the action agent. Use githubcli for any GitHub request — create/list/view/close issues and PRs, assign, labels, repos, releases, checks, github.com/owner/repo URLs, or gh api. Prefer over shellrun/!gh. Run these with githubcli in the current agent turn.

Tracer-Cloud/opensre · 72 tokens