steward
Skill6k starsChanged 5 days agoApache-2.0View on GitHub
BTrace conventions for driving a pull request to green — CI triage, review follow-up, dependency-bot (Renovate) PRs, and what to verify before pushing. Use when watching, fixing, or shepherding a PR in this repository.
We split this skill into the rules it gives an agent
3 rules. 0 are common, 0 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
Run what the change can affect: spotlessCheck and the changed modules' tests, with output redirected to a log as AGENTS.md describes.
- Very specific: line 32
Do not push to renovate/* branches.
- Very specific: line 33
When a bot PR fails, find the root cause and fix it in a separate PR from develop:
“Common” is measured: kept by at least 6 in 10 of the 13 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Stewarding a BTrace pull request
Repository rules in AGENTS.md apply throughout; this file adds only what is specific to driving a PR.
Branches and merging
- PRs target
develop. They are squash-merged, so the PR title becomes the commit subject: use a Conventional Commits title (fix(agent): ...,build: ...,chore(deps): ...). - On a branch you created, bring
developin with a merge commit once the PR is open; do not force-push a branch a reviewer has already looked at.
Before every push
- Run what the change can affect:
spotlessCheckand the changed modules' tests, with output redirected to a log as AGENTS.md describes. - Configuring the root build needs a JDK 8 toolchain (
common.gradleresolves it eagerly), andbtrace-agentneeds a JDK 24 toolchain to compile itsjava24source set and a JDK 28 launcher forclassFileApiBackendTest, whichcheckdepends on. If a required JDK is unavailable locally, Gradle cannot verify the change: say so in the PR's Testing section instead of ticking the box, and treat the PR's CI as the check. - Golden instrumentation data in
btrace-agent/src/test/resources/instrumentorTestData/is regenerated only with./gradlew test -PupdateTestData, and only for an intentional instrumentation change. Never edit it by hand, and never regenerate it to make an unexplained diff go away.
CI triage
spotlessCheckfailing on files the PR did not touch means the formatter changed, not the code. An unpinnedgoogleJavaFormat()ingradle/spotless.gradlefollows the Spotless plugin's default, so a Spotless bump can move it; check whether the formatter pin or the Spotless plugin version moved before runningspotlessApplyacross the tree.Cannot find a Java installation ... matching: {languageVersion=N}means a workflow no longer installs a JDK the build needs. Thesetup-javasteps in.github/workflows/are toolchain requirements (JDK 24 feedsbtrace-agent'sjava24source set); restore the step rather than changing the build.- JUnit resolving a JDK 17+ artifact for a JVM 8 configuration means the JUnit 5.14.4 pin was bumped.
btrace-agentandintegration-testscompile tests with a JDK 8 javac, andbtrace-gradle-pluginkeeps Java 8-compatible test dependencies; the pin is intentional. - Maven Central can answer
429 Too Many Requestsduring dependency resolution. That is an infrastructure failure: one re-run is justified; a second identical failure needs reporting, not more re-runs.
Dependency-bot PRs
Renovate opens PRs on renovate/* branches; .github/workflows/dependency-auto-merge.yml approves them and merges them once BTrace CI/CD and CodeQL pass.
- Do not push to
renovate/*branches. Renovate force-rebases them, which discards your commits, and any commit you add would be auto-merged under the bot's approval. - When a bot PR fails, find the root cause and fix it in a separate PR from
develop:- an intentional pin or toolchain requirement was bumped → add or tighten a
packageRulesentry inrenovate.jsonand close the bot PR; - the upgrade is wanted but needs code changes → make them in the separate PR, then let Renovate rebase its PR onto the result.
- an intentional pin or toolchain requirement was bumped → add or tighten a
- Validate
renovate.jsonwithnpx --package renovate@latest renovate-config-validator --strict renovate.jsonbefore pushing a change to it.
Review follow-up
- Fix small, local asks directly. Anything touching the masked-JAR layout, class-loader boundaries, or the wire protocol is not small: propose the change on the thread and read the architecture docs linked from AGENTS.md first.
- A behavior change that crosses module or process boundaries needs integration-test coverage (see AGENTS.md); a review asking for it is not optional.
Trending
More talk lately.about the whole repository
Who's talking about btraceio/btrace
- Stack Overflow“In btrace, how can I print a byte array in a readable format?”Stack Overflow · Mar 20, 2018 · 2 votes
- Stack Overflow“trace java program execution”Stack Overflow · Aug 18, 2022 · 1 votes
- bytedance/btrace“撞名了,建议直接叫RheaTrace”GitHub · Dec 22, 2021 · 1 reactions
- Stack Overflow“Passing the class name dynamically to clazz parameter in BTrace script”Stack Overflow · Apr 2, 2018 · 1 votes
- Stack Overflow“How to match multiple packages in btrace”Stack Overflow · Nov 30, 2017 · 1 votes
The biggest 5 of 22 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 22
Talked about on GitHub and Stack Overflow (22 times).
On GitHub · 16
- Dec 22, 2021撞名了,建议直接叫RheaTrace — bytedance/btrace1 reaction · 2 comments
- Oct 12, 2026外链检查:有失效链接 — arganzheng/arganzheng.github.com0 reactions
- Oct 5, 2026外链检查:有失效链接 — arganzheng/arganzheng.github.com0 reactions
- Sep 28, 2026外链检查:有失效链接 — arganzheng/arganzheng.github.com0 reactions
- Sep 21, 2026外链检查:有失效链接 — arganzheng/arganzheng.github.com0 reactions
11 more on GitHub
- Sep 14, 2026外链检查:有失效链接 — arganzheng/arganzheng.github.com0 reactions
- Jul 27, 2026feat(observability): add the legacy libs migration skill — btraceio/agent-plugins0 reactions
- May 31, 2026Older version of btrace 2.2.0 is installed as default (and prescribed) instead of 2.2.6 — sdkman/sdkman-db-migrations0 reactions · 1 comment
- Apr 3, 2025fix(deps): update dependency io.btrace:btrace-boot to v2.2.6 — yewton/asobiba0 reactions
- May 30, 2024fix(deps): update dependency io.btrace:btrace-boot to v2.2.5 — yewton/asobiba0 reactions
- Dec 6, 2021Add btrace — aquaproj/aqua-registry0 reactions
- Nov 21, 2021BTrace初探 — Junior233/blog_articles0 reactions
- Sep 17, 2020Selected projects to review for QA2020 — yegor256/blog0 reactions · 2 comments
- Sep 17, 2020Selected projects to review for QA2020 — alilosoft/blog0 reactions
- May 1, 2019bTrace tool — AdrianHu99/NOTES0 reactions
- Dec 21, 2017Java跟踪利器 — www1350/javaweb0 reactions
On Stack Overflow · 6
- Mar 20, 2018In btrace, how can I print a byte array in a readable format?2 votes
- Aug 18, 2022trace java program execution1 vote
- Apr 2, 2018Passing the class name dynamically to clazz parameter in BTrace script1 vote
- Nov 30, 2017How to match multiple packages in btrace1 vote
- Jan 4, 2019btrace didn't print out anything when the specified method is invoked0 votes
1 more on Stack Overflow
- Apr 2, 2018how to print exception and params together using btrace?0 votes
Other versions14 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 14
- SenteLabsAI/OpenExecutive★ 5.7ksame name
- richlander/dotnet-inspect★ 161same name
- mendixlabs/mxcli★ 133same name
- yschimke/compose-ai-tools★ 123same name
- antiv/mate★ 95same name
- michelbr84/GarraRUST★ 18same name
- jmagly/carbonyl-agent★ 16same name
- itsOmidKarami/kraft★ 10same name
- alexnodeland/hoist★ 2same name
- privacyfence/privacyfence★ 2same name
4 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use release.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillrelease
Use ONLY when the user explicitly asks to cut/publish a Huabu desktop release or tag a version. Performs an outward action — bumps the version in apps/desktop/package.json, commits + annotated-tags vX.Y.Z, and pushes the branch + tag. That tag push auto-builds the macOS/Windows installers and publishes a GitHub Release. Provides `status`, `bump`, `tag-push`, and a one-command `run` (bump → tag-push).
Also in 3 projects that use this
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- qe-exploreSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

