TDD Workflow
hellangleZ/burn-in-cceverywhere-ralph
A skill your agent uses when writing new features, fixing bugs, or refactoring code.
“Creating/updating corpus tests”
$ npx skills add ballerina-nutcracker/ballerina --skill manage-corpus-tests -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ballerina-nutcracker/ballerina manage-corpus-tests --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/ballerina-nutcracker/ballerina.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/manage-corpus-tests .claude/skills/manage-corpus-tests && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "manage-corpus-tests" agent skill from https://github.com/ballerina-nutcracker/ballerina/tree/main/.agents/skills/manage-corpus-tests into .claude/skills/manage-corpus-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "manage-corpus-tests", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/ballerina-nutcracker/ballerina/tree/main/.agents/skills/manage-corpus-testsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add ballerina-nutcracker/ballerina --skill manage-corpus-tests -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ballerina-nutcracker/ballerina manage-corpus-tests --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ballerina-nutcracker/ballerina.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/manage-corpus-tests .agents/skills/manage-corpus-tests && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "manage-corpus-tests" agent skill from https://github.com/ballerina-nutcracker/ballerina/tree/main/.agents/skills/manage-corpus-tests into .agents/skills/manage-corpus-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "manage-corpus-tests", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ballerina-nutcracker/ballerina --skill manage-corpus-tests -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ballerina-nutcracker/ballerina manage-corpus-tests --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ballerina-nutcracker/ballerina.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/manage-corpus-tests .cursor/skills/manage-corpus-tests && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "manage-corpus-tests" agent skill from https://github.com/ballerina-nutcracker/ballerina/tree/main/.agents/skills/manage-corpus-tests into .cursor/skills/manage-corpus-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "manage-corpus-tests", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/ballerina-nutcracker/ballerina.git --path .agents/skills/manage-corpus-tests--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add ballerina-nutcracker/ballerina --skill manage-corpus-tests -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ballerina-nutcracker/ballerina manage-corpus-tests --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ballerina-nutcracker/ballerina.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/manage-corpus-tests .gemini/skills/manage-corpus-tests && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "manage-corpus-tests" agent skill from https://github.com/ballerina-nutcracker/ballerina/tree/main/.agents/skills/manage-corpus-tests into .gemini/skills/manage-corpus-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "manage-corpus-tests", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install ballerina-nutcracker/ballerina manage-corpus-testsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add ballerina-nutcracker/ballerina --skill manage-corpus-tests -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ballerina-nutcracker/ballerina.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/manage-corpus-tests .github/skills/manage-corpus-tests && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "manage-corpus-tests" agent skill from https://github.com/ballerina-nutcracker/ballerina/tree/main/.agents/skills/manage-corpus-tests into .github/skills/manage-corpus-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "manage-corpus-tests", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ballerina-nutcracker/ballerina --skill manage-corpus-tests -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ballerina-nutcracker/ballerina manage-corpus-tests --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ballerina-nutcracker/ballerina.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/manage-corpus-tests .opencode/skills/manage-corpus-tests && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "manage-corpus-tests" agent skill from https://github.com/ballerina-nutcracker/ballerina/tree/main/.agents/skills/manage-corpus-tests into .opencode/skills/manage-corpus-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "manage-corpus-tests", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
manage-corpus-testsManage Corpus Tests is a skill in ballerina-nutcracker/ballerina (120 stars). Its SKILL.md is about 1.1k tokens. Licence: Apache-2.0.
Read from SKILL.md and the folder at commit 4b649aa. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitgoFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Manage Corpus Tests loads about 1.1k tokens when it runs. Until then it costs about 13 tokens; SKILL.md has 637 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from ballerina-nutcracker/ballerina at commit 4b649aa, republished under its Apache-2.0 licence (© ballerina-nutcracker). 637 words, ~1,110 tokens.
.claude/skills/manage-corpus-tests/SKILL.md (or your agent's skills folder).Prefer a corpus .bal test over a Go unit test for everything reachable from Ballerina source. A corpus test runs the full compiler → BIR → interpreter pipeline, so it catches compiler, BIR, and runtime issues — a Go unit test that calls a native helper directly only exercises the runtime. If you cannot write a corpus test for a scenario, that scenario generally cannot happen in the real world.
Corpus tests also count toward native Go coverage: the coverage harness runs ./corpus/... under -coverpkg=./lib/stdlibs/..., so the interpreter executing native code during a corpus run is measured. You do not need Go unit tests to hit a coverage target — drive the native code from .bal instead.
Write a Go unit test only for code that genuinely cannot execute through Ballerina, and keep it minimal:
.bal (passing the wrong type is a compile error — see any *-e.bal @error argument type mismatch). Codebase convention is to not write these guards at all: extern args use x, _ := args[i].(T), not if !ok { return error }.*decimal.Decimal argument).transform.Transformer ErrShortDst branch when x/text sizes its own buffers).When a unit test is justified, say why it is unreachable from Ballerina in a comment so the exception is auditable.
Remove dead code rather than test it. Any Go code that can never execute through Ballerina (an unused helper, a wrong-type error branch the compiler already rejects) is redundant even when a unit test covers it — delete the code and the test. The exemption is only for genuine edge-case / error-handling branches that can be reached with a malformed but well-typed value (bad charset name, malformed date string, out-of-range offset) — cover those from .bal.
@output <expected output>@error@panic--update flag.go test ./corpus --update.bal are produced by several packages — regenerate across ./ast/... ./semantics/... ./desugar/... ./bir/... ./corpus/ to cover ast/cfg/desugared/bir/integration goldens.corpus/lib/ (a sibling of corpus/bal/, discovered separately) and have no per-stage goldens at all — only corpus/integration/lib/**.txtar, via the TestLibIntegration driver in corpus/integration_test.go. The per-stage drivers never see them -- corpus/lib/ sits outside corpus/bal/, so stage discovery does not reach it and those test files are untouched. TestLibIntegration runs the full pipeline per test and validates its @output/@error/@panic markers.--update may rewrite goldens for files you never touched (some stages have non-deterministic ordering, e.g. const/record-field iteration). After updating, git status and revert any change outside the files you added/edited (git checkout <path>) so the changeset stays scoped to your work.bal run $file© ballerina-nutcracker, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/manage-corpus-tests of ballerina-nutcracker/ballerina.
Open the folder on GitHubat commit 4b649aa
Manage Corpus Tests next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Manage Corpus Tests this skillballerina-nutcracker/ballerina | 120 | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| TDD WorkflowhellangleZ/burn-in-cceverywhere-ralph | 112 | 11 repos | ~2.4k | Automated safety check: Pass | None | |
| Testing OpenLogi UIAprilNEA/OpenLogi | 23k | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Go Testingcxuu/golang-skills | 172 | 1 repos | ~1.3k | Automated safety check: Pass | Apache-2.0 | |
| Contractssamchon/nestia | 2.2k | — | ~1.3k | Automated safety check: Pass | MIT | |
| Cohesion Over TestabilityEpicenterHQ/epicenter | 4.8k | — | ~2k | Automated safety check: Pass | Custom licence |
hellangleZ/burn-in-cceverywhere-ralph
A skill your agent uses when writing new features, fixing bugs, or refactoring code.
AprilNEA/OpenLogi
Verifies OpenLogi's native GPUI interface with focused tests, the component gallery and a mock agent, choosing the evidence that fits each change.
cxuu/golang-skills
A skill your agent uses when writing, reviewing, or improving Go test code — including table-driven tests, subtests, parallel tests, test helpers, test doubles, and assertions with cmp.Diff.
samchon/nestia
Defines self-acknowledgments for production declarations and tests.
EpicenterHQ/epicenter
Collapse test-shaped production boundaries while preserving behavior and coverage.
liaohch3/claude-tap
Tests JavaScript embedded in an HTML file in two layers: pytest checks of the logic ported to Python, and Playwright runs in a real browser for the DOM.
ballerina-nutcracker/ballerina
Authoritative format contract for lib/stdlibs/ballerina/<name/0.0.1/go1.27/README.md files.
ballerina-nutcracker/ballerina
Port a new ballerina/<name stdlib package from jBallerina to this Go-native interpreter.
ballerina-nutcracker/ballerina
Fill a gap in an existing ballerina/<name stdlib — implement a function marked Not Yet Supported, promote a Partially Supported row, or fix a behavioural divergence.
ballerina-nutcracker/ballerina
Validate that a ballerina/<name stdlib's Go public contract does not break the jBallerina public interface.
ballerina-nutcracker/ballerina
Run a given Ballerina source file with jBallerina to compare behaviour against this interpreter
ballerina-nutcracker/ballerina
A skill your agent uses when you are asked to fill in a subset doc (./doc/lang/subset.md)
Categories
Run `npx skills add ballerina-nutcracker/ballerina --skill manage-corpus-tests -a claude-code`. Or copy the skill folder (.agents/skills/manage-corpus-tests in ballerina-nutcracker/ballerina) into .claude/skills/manage-corpus-tests in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ballerina-nutcracker/ballerina --skill manage-corpus-tests -a codex`. Or copy the skill folder (.agents/skills/manage-corpus-tests in ballerina-nutcracker/ballerina) into .agents/skills/manage-corpus-tests in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ballerina-nutcracker/ballerina --skill manage-corpus-tests -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/manage-corpus-tests, .gemini/skills/manage-corpus-tests, .github/skills/manage-corpus-tests and .opencode/skills/manage-corpus-tests in your project.
Going by SKILL.md and its folder, Manage Corpus Tests needs the command-line tools its instructions call (git and go).
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Manage Corpus Tests is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.1k tokens (SKILL.md is roughly 4.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Manage Corpus Tests: TDD Workflow (hellangleZ/burn-in-cceverywhere-ralph, 112 stars), Testing OpenLogi UI (AprilNEA/OpenLogi, 23k stars), Go Testing (cxuu/golang-skills, 172 stars) and Contracts (samchon/nestia, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ballerina-nutcracker (a GitHub organization) maintains it in ballerina-nutcracker/ballerina, which has 120 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 9, 2026.
Source: ballerina-nutcracker/ballerina on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.