Shows the current branch's open PRs (title, build state, the issue each closes) above the prompt (uses `bdt pr info --all`)

██████╗ ███╗ ███╗███████╗ ███████╗██╗ ██╗██╗██╗ ██╗ ███████╗
██╔══██╗████╗ ████║██╔════╝ ██╔════╝██║ ██╔╝██║██║ ██║ ██╔════╝
██████╔╝██╔████╔██║███████╗ ███████╗█████╔╝ ██║██║ ██║ ███████╗
██╔══██╗██║╚██╔╝██║╚════██║ ╚════██║██╔═██╗ ██║██║ ██║ ╚════██║
██████╔╝██║ ╚═╝ ██║███████║ ███████║██║ ██╗██║███████╗███████╗███████║
╚═════╝ ╚═╝ ╚═╝╚══════╝ ╚══════╝╚═╝ ╚═╝╚═╝╚══════╝╚══════╝╚══════╝
Reusable AI agent skills for our engineering team — composable instructions that extend coding agents (Claude Code, Cursor, Codex CLI, etc.) with company-specific workflows and best practices.
Skills are a last resort. Anything that can be enforced deterministically — a lint rule, a formatter setting, a pre-commit hook, a CLI check — belongs in linters or tooling, not in a skill. Put it in bmsuisse/devtools (
bdt lint,bdt pr, …) so it is checked automatically instead of relying on an agent to remember it. Write a skill only for judgment, conventions and context that tooling cannot express, and link to the matching devtools check where one exists.
<!-- SKILLS_TABLE_START -->
| Skill | Description |
|---|---|
| aiochannel-python | Correct patterns for channel-based asyncio concurrency in Python using the aiochannel library. Use this skill wheneve… |
| autoresearch | Autonomous iterative optimization loop for Python, SQL, ML, and Spark/Databricks. Define a measurable goal; the skill… |
| azure-cost | Query, analyze, and reduce Azure spending via the Cost Management REST API and Azure CLI. Covers cost breakdowns by s… |
| bms | Master skill for the bmsuisse platform — routes to the relevant skills based on sub-command. Always enables caveman c… |
| bms-code-review | BMS code review that fans out one focused subagent per concern (architecture, duplication, security, correctness, age… |
| bms-frontend-design | The BMS visual identity for internal web apps, built on the shared @bmsuisse/ui (sidebar/nav, form, dialog, and oth… |
| bms-plan-review | Review an implementation plan before any code is written: checks it against BMS conventions and the existing skills (… |
| bmsapp-native | Use when a web app or FastAPI backend should talk to the BMS iOS app (@bmsuisse/app-native, bmsdna-app-native). T… |
| branching-strategy | Set up or audit a repo's dev -> test -> main branching, build policies, per-area test labels and nightly deploy. |
| clean-code | Language-agnostic, pragmatic clean-code principles for writing and refactoring code at BMS: naming, function size and… |
| clockify | Query and log time entries in Clockify via its REST API — check a timesheet, look up the workspace/user/project, crea… |
| code-comments | Write and review code comments so they earn their place instead of adding noise. Use this whenever writing new code (… |
| codebase-design | Shared vocabulary and principles for designing deep modules (module, interface, depth, seam, adapter, leverage, local… |
| codeunit-analyzer | Comprehensive C-AL performance analyzer for Classic Microsoft Dynamics NAV (Navision). Targets Classic NAV anti-patte… |
| coding-guidelines-python | Apply and enforce Python-specific coding standards. Use alongside coding-guidelines for any Python file — covers typi… |
| coding-guidelines-sql | SQL and data warehouse coding guidelines for the BME data platform. Use whenever writing, reviewing, or refactoring S… |
| coding-guidelines-typescript | Apply and enforce TypeScript-specific coding standards. Use alongside coding-guidelines for any TypeScript file — cov… |
| cross-repo-discovery | Find where a repo lives — locally or in the Azure DevOps org — before assuming a piece of functionality doesn't exist… |
| data-modeling-dimensional | Dimensional data modeling guide for the Fabricks platform — covers the full pipeline from staging through raw, transf… |
| databricks-cli | Databricks CLI operations: auth, profiles, data exploration, bundles, and notebook execution. Use this skill for ANY… |
| databricks-sql-autotuner | Databricks SQL query optimizer and error fixer: analyzes a slow or broken SQL query, rewrites it for speed using SQL-… |
| dead-code-audit | Find unused functions, classes, exports, files, stale or unused dependencies, outdated and vulnerable packages, and c… |
| design-review | Review a web app or page for visual design quality — layout, spacing, typography, colour/contrast, visual hierarchy,… |
| deslop | Remove AI slop from code and pull requests. Use this skill whenever the user wants to clean up AI-generated code, rev… |
| dev-cleanup | Free disk space on a developer workstation: scan podman/docker storage, uv/npm/bun/pnpm/pip/cargo/gradle caches, app… |
| dev-workflow | End-to-end workflow for non-trivial coding tasks: worktree, draft PR early, implement, review, test, publish. Trigger… |
| duckdb | Guide for working with DuckDB — CLI usage, SQL execution, reading files (CSV, Parquet, JSON, Excel), extensions (http… |
| ducklake | Guide for working with DuckLake — the open lakehouse format and DuckDB extension that pairs a SQL catalog (metadata,… |
| fabricks-devops-issues | Orchestrates Azure DevOps "Issue" work-item workflows in the Fabricks.Runtime repo — listing open issues so the user… |
| fabricks-devops-issues-resolver | End-to-end resolver for Fabricks.Runtime DevOps issues that have already been diagnosed and locally fixed by the fabr… |
| fabricks-glossary | Use this skill whenever company-specific jargon, acronyms, or domain terminology is needed to answer correctly. |
| fabricks-sql-analyzer | Analyzes all SQL files in the Fabricks.Runtime repository, builds a dependency DAG, runs performance heuristics, and… |
| fastapi-azure-auth | Azure Entra ID SSO for FastAPI using cookie-based sessions (MSAL, /login → /callback → session). Trigger on: Azure AD… |
| fastapi-guideline | Use this skill whenever working with FastAPI — building APIs, adding routes, structuring projects, streaming response… |
| history-lessons | Mine a mature repo's git history (reverts, commits that state a root cause, refactors, repeatedly-fixed files, option… |
| improve-codebase-architecture | Scan a codebase for architectural friction and propose "deepening" refactors that turn many shallow modules into fewe… |
| init-app-stack | Use this skill whenever the user wants to bootstrap, scaffold, or initialize a new full-stack app with a Vite + React… |
| inter-without-ai-slop | Use Inter as a UI typeface in data-dense B2B apps (dashboards, tables, cockpits) without triggering the "generic AI d… |
| kendo-ui-angular | Use this skill whenever the user is working with Kendo UI for Angular — including the Data Grid, TreeList, TreeView,… |
| kendo-ui-react | KendoReact component library patterns and best practices for React developers. Trigger whenever the user works with K… |
| kendo-ui-vue | Use this skill whenever the user is working with Kendo UI for Vue — including the Data Grid, DropDownList, ComboBox,… |
| kull-generic-backend | Kull.GenericBackend — an ASP.NET Core middleware (Kull-AG/kull-generic-backend, NuGet package Kull.GenericBackend) th… |
| maintenance | Periodic repo upkeep for BMS Python (uv) and JS/TS (bun) repos, as one skill with a mode argument: dead-code (find/… |
| nicegui | Build Python web UIs with NiceGUI — covering layout, widgets, data binding, routing, and the AgGrid data grid. Use th… |
| playwright-python | Browser automation and visual verification with Playwright in Python. Use this whenever the user wants to drive a bro… |
| prek | Set up code formatting and pre-commit hooks using prek (fast Rust-based alternative to pre-commit) with prek.toml con… |
| procrastinate | PostgreSQL-based async task queue for Python using Procrastinate. Use this skill whenever the user is working with Pr… |
| python-autotuner | Python code optimizer and error fixer: analyzes a Python file or function, rewrites it for speed and quality one chan… |
| remove-ai-writing | "Detect and surgically fix AI writing patterns in English, German, French, or Italian text. Use this skill whenever t… |
| rich-data-tables | Use whenever building a UI table, list view, or dashboard panel showing records with amounts, dates, or statuses (inv… |
| scientific-revision | Use this skill whenever the user wants to verify, revise, or improve a scientific essay, academic paper, or any writt… |
| spark-connect | Guide for running PySpark code locally against a remote Databricks cluster via Spark Connect (databricks-connect). Us… |
| sql-optimization | "Universal SQL performance optimization assistant for comprehensive query tuning, indexing strategies, and database p… |
| tanstack-best-practices | Comprehensive best practices for TanStack libraries in React applications — covering TanStack Query (React Query) dat… |
| testing-strategy | Decide what kind of test to write and in what order for a backend feature: HTTP-level first, then Playwright e2e for… |
<!-- SKILLS_TABLE_END -->
Add to ~/.claude/settings.json to install all plugins:
{
"extraKnownMarketplaces": {
"bmsuisse-skills": {
"source": {
"source": "github",
"repo": "bmsuisse/skills"
}
}
},
"enabledPlugins": {
"coding@bmsuisse-skills": true,
"onetrade@bmsuisse-skills": true,
"databricks@bmsuisse-skills": true,
"fabricks-data@bmsuisse-skills": true,
"writing@bmsuisse-skills": true,
"ui@bmsuisse-skills": true,
"caveman@bmsuisse-skills": true,
"azure-deploy@bmsuisse-skills": true,
"azure-diagnostics@bmsuisse-skills": true
}
}
| Plugin | Contents |
|---|---|
coding@bmsuisse-skills | Python, TypeScript, FastAPI, Postgres, TanStack, and general coding skills |
ui@bmsuisse-skills | Data tables, visual design/QA review, and writing style |
onetrade@bmsuisse-skills | C-AL / Classic NAV codeunit analysis |
databricks@bmsuisse-skills | Databricks CLI + Spark Connect local execution |
fabricks-data@bmsuisse-skills | Fabricks / Databricks data skills |
writing@bmsuisse-skills | Scientific and academic writing revision |
bms@bmsuisse-skills | BMsuisse master skill (/bms, /bms sql, /bms python, /bms data) |
caveman@bmsuisse-skills | Ultra-compressed caveman communication mode (~75% token reduction) |
azure-deploy@bmsuisse-skills | Azure deployments via azd/terraform/az with validation and RBAC checks |
azure-diagnostics@bmsuisse-skills | Azure production diagnostics via AppLens, Monitor, and resource health |
Then run these commands in Claude Code to apply the configuration:
# Add the marketplace (one-time setup — alternative to editing settings.json manually)
/plugin marketplace add bmsuisse/skills
# Install the plugins you want (or install all of them, as below)
/plugin install coding@bmsuisse-skills
/plugin install ui@bmsuisse-skills
/plugin install onetrade@bmsuisse-skills
/plugin install databricks@bmsuisse-skills
/plugin install fabricks-data@bmsuisse-skills
/plugin install writing@bmsuisse-skills
/plugin install bms@bmsuisse-skills
/plugin install caveman@bmsuisse-skills
/plugin install azure-deploy@bmsuisse-skills
/plugin install azure-diagnostics@bmsuisse-skills
# After any config change, reload without restarting
/reload-plugins
| Command | Description |
|---|---|
/plugin | Open the interactive plugin manager (browse, install, enable/disable) |
/plugin install <name>@bmsuisse-skills | Install a specific plugin |
/plugin uninstall <name>@bmsuisse-skills | Remove a plugin |
/plugin enable <name>@bmsuisse-skills | Re-enable a disabled plugin |
/plugin disable <name>@bmsuisse-skills | Disable without uninstalling |
/reload-plugins | Reload all active plugins without restarting Claude Code |
Once installed, skills are available as slash commands in Claude Code. Type / to see all available commands, or invoke them directly:
/coding-guidelines-python # activate Python coding standards
/fastapi-guideline # load FastAPI best practices
/init-app-stack # scaffold a Vite+React+TanStack+shadcn / FastAPI+asyncpg app
/databricks-cli # Databricks CLI operations
/autoresearch # start an autonomous research loop
/deslop # clean AI slop from code or PRs
Skills also auto-trigger based on context — if a skill's description matches what you're doing, Claude Code may load it automatically without a slash command.
The plugin ships with PreToolUse hooks that automatically rewrite shell commands to use preferred tooling:
| You type | Gets remapped to |
|---|---|
python script.py | uv run python script.py |
python -m pytest | uv run -m pytest |
pip install foo | uv add foo |
pytest, ruff, ty | uv run pytest, uv run ruff, ... |
npm install | bun install |
npm install foo | bun add foo |
npx foo | bunx foo |
yarn add foo | bun add foo |
pnpm run dev | bun run dev |
This happens transparently — no config needed. The hooks activate for any plugin that includes them (coding, bms, etc.).
Each plugin bundles a curated set of skills:
| Plugin | Skills included | Use case |
|---|---|---|
coding | autoresearch, coding-guidelines-python, coding-guidelines-typescript, deslop, fastapi-guideline, init-app-stack, postgres-best-practices, postgres-test-setup, sql-optimization, tanstack-best-practices | General dev work |
ui | rich-data-tables, inter-without-ai-slop, design-review | Data tables, writing style, visual QA |
onetrade | codeunit-analyzer | Classic NAV / C-AL analysis |
databricks | databricks-cli, spark-connect | Databricks & Spark |
fabricks-data | fabricks-glossary, fabricks-sql-analyzer | Fabricks data platform |
writing | remove-ai-writing, scientific-revision | Writing & docs |
bms | bms (master), coding-guidelines-sql, coding-guidelines-python, coding-guidelines-typescript, sql-optimization, data-modeling-dimensional, fabricks-glossary | All BMSuisse standards via /bms |
caveman | caveman, caveman-review, caveman-commit, caveman-help (from JuliusBrussee/caveman) | Token-efficient communication |
azure-deploy | azure-deploy (from microsoft/azure-skills) | Azure deployments |
azure-diagnostics | azure-diagnostics (from microsoft/azure-skills) | Azure production diagnostics |
Codex installs the same plugins from .agents/plugins/marketplace.json:
codex plugin marketplace add bmsuisse/skills
codex plugin add coding@bmsuisse-skills
Skills carry over, and so do the dev-workflow hooks (PR-publish gate, worktree-only edits): trust them once in /hooks inside codex. Not carried over: the command-remapping hooks, the review agents and the bdt-status mod. See docs/installation.md. .agents/plugins/marketplace.json is generated from .claude-plugin/marketplace.json: after changing the Claude marketplace run node scripts/sync-codex.mjs, CI fails when the two differ.
We highly recommend Caveman by Julius Brussee. It cuts token usage ~75% by having the agent respond in ultra-compressed style while keeping full technical accuracy. Less noise, faster, cheaper.
bun x skills add https://github.com/JuliusBrussee/caveman
Or via the marketplace:
"caveman@bmsuisse-skills": true
Full credit to Julius for creating and maintaining this — outstanding contribution to the community.
The skills CLI reads directly from GitHub — no registration needed.
# recommended
bun x skills add https://github.com/bmsuisse/skills --skill <skill-name>
# alternative
npx skills add https://github.com/bmsuisse/skills --skill <skill-name>
# recommended
bun x skills add https://github.com/bmsuisse/skills
# alternative
npx skills add https://github.com/bmsuisse/skills
The CLI auto-detects your agent platform and installs into the right directory:
| Platform | Directory |
|---|---|
| Claude Code | .claude/skills/ |
| Cursor | .cursor/rules/ |
| Codex CLI | ~/.codex/skills/ |
| Antigravity | .agents/skills/ or .agent/skills/ |
| Gemini CLI | auto-detected |
https://skills.sh/bmsuisse/skills/<skill-name>
Skills appear on the skills.sh leaderboard automatically based on install telemetry — no manual registration required.
Start a new session and ask your agent something that should trigger the skill.
/bms is a master skill that activates the full bmsuisse coding context in one command. It routes to the relevant sub-skills based on a sub-command and always enables caveman communication style.
| Command | Loads | Good for |
|---|---|---|
/bms | coding-guidelines-sql · coding-guidelines-python · coding-guidelines-typescript · fabricks-glossary | General session — all core standards active |
/bms sql | coding-guidelines-sql · sql-optimization · fabricks-glossary | SQL authoring, reviews, refactoring |
/bms python | coding-guidelines-python | Python development, PR reviews |
/bms data | data-modeling-dimensional · fabricks-glossary | Designing or reviewing fact/dim tables |
For deep optimization work, chain with the specialized skills:
/databricks-sql-autotuner/python-autotuner/bms sql
│
├─ reads bms/SKILL.md (master router, ~2.5k chars)
│
├─ runs load_skills.py sql (helper script)
│ └─ concatenates:
│ coding-guidelines-sql/SKILL.md
│ sql-optimization/SKILL.md
│ fabricks-glossary/SKILL.md
│
└─ applies all rules + caveman mode → "BMS SQL active."
The helper script at skills/bms/scripts/load_skills.py concatenates the relevant SKILL.md files and prints them as combined content. Each sub-skill remains the single source of truth — no duplication.
Plugin (recommended) — installs bms + all sub-skills as a self-contained plugin:
claude plugin marketplace add bmsuisse/skills
claude plugin install bms@bmsuisse-skills
skills CLI — insta
hooks/register.js 156 lines1// Shows one row per open PR of the branch, e.g. "PR #69 feat: mod ✓ passing · closes #68" (clickable links), in the
2// band above the prompt, from `bdt pr info --json --all`. An older `bdt` without `--all` gives its single PR.
3// Needs `bdt` on PATH; with no PR for the current branch (or no bdt) the band is left alone.
4
5const REFRESH_MS = 30_000;
6
7// Single-width symbols, not emoji, so the band lines up in every terminal
8const BUILD = {
9 passing: { symbol: "✓", color: "green" },
10 failing: { symbol: "✗", color: "red" },
11 pending: { symbol: "…", color: "yellow" },
12 waiting: { symbol: "⏸", color: "yellow" },
13};
14
15const MAX_TITLE = 50;
16
17// The last answer: the branch's PRs, `[]` when it has none
18let prs = [];
19// Cleared once `bdt` says it doesn't know `--all`, so an old bdt isn't asked twice per refresh
20let hasAll = true;
21let isRefreshing = false;
22let timer = null;
23
24const LINK = /^https:\/\/(github\.com|dev\.azure\.com)\/[^\s\x00-\x1f]*$/;
25
26// `bdt` output only if it has the shape `bdt pr info --json` produces, so a shadowing or outdated `bdt` on PATH
27// can't make the band render an arbitrary link
28function validated(i) {
29 const isLink = (x) =>
30 typeof x?.number === "number" &&
31 typeof x.url === "string" &&
32 LINK.test(x.url);
33 return isLink(i) && Array.isArray(i.issues) && i.issues.every(isLink)
34 ? i
35 : undefined;
36}
37
38// At most `MAX_TITLE` characters, ending in an ellipsis when cut; `bdt` already strips control characters
39function shortTitle(title) {
40 if (typeof title !== "string") return "";
41 const chars = [...title.trim()];
42 return chars.length > MAX_TITLE
43 ? chars
44 .slice(0, MAX_TITLE - 1)
45 .join("")
46 .trimEnd() + "…"
47 : chars.join("");
48}
49
50async function runInfo($, args) {
51 const r = await $.process.run(["bdt", "pr", "info", "--json", ...args]);
52 return { ...r, output: `${r.stdout}\n${r.stderr ?? ""}` };
53}
54
55// `undefined`: couldn't ask (bdt missing or timed out, unusable output) -- keep showing the last answer.
56// `[]`: bdt answered that there is no PR for this branch.
57async function readPrs($) {
58 try {
59 if (hasAll) {
60 const r = await runInfo($, ["--all"]);
61 if (r.exitCode === 0) {
62 const list = JSON.parse(r.stdout);
63 if (!Array.isArray(list)) return undefined;
64 const valid = list.map(validated);
65 return valid.every(Boolean) ? valid : undefined;
66 }
67 // Unlike without `--all`, a failure is not "no PR": that is `[]` with exit 0
68 if (!/no such option/i.test(r.output)) return undefined;
69 hasAll = false;
70 }
71 const r = await runInfo($, []);
72 if (r.exitCode !== 0) return [];
73 const one = validated(JSON.parse(r.stdout));
74 return one ? [one] : undefined;
75 } catch {
76 return undefined;
77 }
78}
79
80async function refresh($) {
81 // A slow `gh` call must not stack up behind the timer
82 if (isRefreshing) return;
83 isRefreshing = true;
84 try {
85 const next = await readPrs($);
86 if (next !== undefined && JSON.stringify(next) !== JSON.stringify(prs)) {
87 prs = next;
88 $.ui.invalidate("ui.render");
89 }
90 } catch {
91 // a failed redraw must not become an unhandled rejection in a timer callback
92 } finally {
93 isRefreshing = false;
94 }
95}
96
97export function register(on) {
98 on("session.start", async ($, e, next) => {
99 // once per module load, not per session.start
100 timer ??= $.clock.every(REFRESH_MS, () => refresh($));
101 // Not awaited: the session starts right away, and the band fills in when bdt answers
102 refresh($);
103 return next(e);
104 });
105
106 // A turn is when the branch is most likely to have been pushed or a PR opened
107 on("turn.complete", async ($, e, next) => {
108 refresh($);
109 return next(e);
110 });
111
112 on("ui.render", { component: "AbovePrompt" }, async ($, e, next) => {
113 // Keep whatever Claude Code or other mods draw in the band
114 const theirs = await next(e);
115 if (prs.length === 0) return theirs;
116
117 const { Box, Text, Link } = $.ui.resolve(e);
118 const rows = prs.map((info) => {
119 const build = BUILD[info.build];
120 const state = info.draft
121 ? "draft"
122 : info.state === "open"
123 ? ""
124 : info.state;
125 const title = shortTitle(info.title);
126
127 return Box({
128 flexDirection: "row",
129 columnGap: 1,
130 children: [
131 Link({ href: info.url, label: "PR #" + info.number }),
132 ...(title ? [Text({ children: [title] })] : []),
133 ...(build
134 ? [
135 Text({
136 color: build.color,
137 children: [build.symbol + " " + info.build],
138 }),
139 ]
140 : []),
141 ...(state ? [Text({ dimColor: true, children: [state] })] : []),
142 ...info.issues.flatMap((issue) => [
143 Text({ dimColor: true, children: ["· closes"] }),
144 Link({ href: issue.url, label: "#" + issue.number }),
145 ]),
146 ],
147 });
148 });
149
150 return Box({
151 flexDirection: "column",
152 children: theirs ? [...rows, theirs] : rows,
153 });
154 });
155}
156