j.test
Skill0 starsChanged 22 days agoApache-2.0View on GitHub
Discover the project's test suites, show them as a numbered list, run the ones you pick (blank means all) in order, and print a pass/fail summary whose exit code is 0 when every suite passed and 1 otherwise.
In this repository151 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- j.brainstormSkill
- j.breakSkill
- j.btwSkill
- j.check-inSkill
- j.clearifySkill
- j.close-storySkill
- j.cloud-connectSkill
- j.commitSkill
- j.connectSkill
- j.continueSkill
- j.conventionsSkill
- j.dashboard-shareSkill
- j.dashboardSkill
- j.deep-diveSkill
- j.distributeSkill
- j.docSkill
- j.doc-syncSkill
- j.doooSkill
- j.doSkill
- j.jenga-configSkill
- j.jenga-permission-levelSkill
- j.jengaSkill
- j.errorSkill
- j.evaluateSkill
- j.examplifySkill
- j.gitignoreSkill
- j.helpSkill
- j.ideaSkill
- j.improveSkill
- j.initSkill
- j.jbpSkill
- j.lgtmSkill
- j.pi-planSkill
- j.playbook-newSkill
- j.playbookSkill
- j.proceedSkill
- j.publishSkill
- j.reconcile-originSkill
- j.reconcileSkill
- j.redoSkill
- j.skillifySkill
- j.smoke-testSkill
- j.spinoffSkill
- j.statusSkill
- j.todoSkill
- j.toolsSkill
- j.unchartedSkill
- j.wtfSkill
- skill-nameSkill
- j.brainstormSkill
- j.breakSkill
- j.btwSkill
- j.check-inSkill
- j.clearifySkill
- j.close-storySkill
- j.cloud-connectSkill
- j.commitSkill
- j.connectSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 53
If jq '.runnable | length' "$CATALOG" is 0, say so plainly, show bash "$TEST_DIR/build-catalog.sh" --render "$CATALOG" (it lists any …
- Very specific: line 92
When the user is done (including after a re-run), remove $CATALOG.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Test — Pick Suites and Run Them
skills/j-test/ is the canonical, hand-edited directory for this skill; the frontmatter name is j.test, never j.j-test. This skill is a user-invoked convenience runner. This file holds only the conversation and the interpretation of results: discovery, de-duplication, rendering, parsing the answer and execution are scripts in skills/j-test/scripts/, whose headers are the contracts. Do not restate or re-implement their logic here.
Boundaries
- It never writes board status (no task, story or epic status) and never replaces the tester agent. A
j.testresult is information for the user, not a verdict on any board item. - The developer agent never invokes it on its own: the developer never runs tests (see
CLAUDE.md). - Per-scope test-run policy (which run must pass before a task, story or epic closes) is a separate mechanism owned by the tester agent: see
scope-policy.shandscope-test-gate.shinskills/j-test/scripts/and the "Scope test policy" section ofproject/documentation/test-runner.md. - Blank input means all suites: running the full suite is the default.
Instructions
Resolve the scripts directory once, and create one scratch file for the catalog:
TEST_DIR="$([ -d skills/j-test/scripts ] && echo skills/j-test/scripts || echo node_modules/@jenga-ai/agent/skills/j-test/scripts)"
CATALOG="$(mktemp)"Shell variables do not survive between separate commands: define TEST_DIR again in each later command, and use the literal catalog path that mktemp printed.
1. Build the catalog, once
Tell the user discovery can take up to a minute on a large repository, then run:
bash "$TEST_DIR/build-catalog.sh" > "$CATALOG"Reuse $CATALOG for every later step. Never run discovery again in this session. If the script exits non-zero, show its stderr and stop.
2. Nothing runnable
If jq '.runnable | length' "$CATALOG" is 0, say so plainly, show bash "$TEST_DIR/build-catalog.sh" --render "$CATALOG" (it lists any not_runnable entries and warnings) and stop. Do not invent a command.
3. Show the list
Print bash "$TEST_DIR/build-catalog.sh" --render "$CATALOG" verbatim, including its final prompt line, and take the user's answer exactly as typed (blank included).
4. Parse the answer
bash "$TEST_DIR/parse-selection.sh" <N> "<answer>"<N> is jq '.runnable | length' "$CATALOG". Exit 0: its stdout is the suite numbers, in order. Exit 1: show its stderr messages and ask again, repeating until the answer is valid or the user cancels; nothing runs on an invalid answer. Never interpret the answer in this file.
5. Run
bash "$TEST_DIR/run-suites.sh" --catalog "$CATALOG" <numbers...>Stream its output as it runs and relay its Test Results summary unchanged.
6. Interpret and finish
By run-suites.sh's exit code, which is also this skill's own result:
0: every selected suite passed; say so.1: name the failed suites, then offer next steps:What would you like to do? 1. Re-run only the failed suites (step 5 again, with their catalog numbers) 2. Stop here 3. Other (describe below)2: validation or usage error, nothing ran; show its stderr.130: interrupted; say which suites did not finish.
When the user is done (including after a re-run), remove $CATALOG.
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.

