boredape874/mcbejsonuimasterai/mcbe-json-ui-tools-runner
Claude Code and agent skill by boredape874/mcbejsonuimasterai
- community
- ext:[{"type":"plugin","description":"Custom plugin integration"}]
Checking that the SKILL.md file is still in the repository.
Use to execute the kit's deterministic Node CLI under tools/* (ir-validate, solve, compile, validate, run, build-vanilla-index, init-project, render, diff). Knows the call order, expected exit codes, output files, and how to react to failures by editing the IR rather than the compiled JSON UI.
Install
npx vskill@latest install boredape874/mcbejsonuimasterai/mcbe-json-ui-tools-runnerSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
MCBE JSON UI Tools Runner
Use this skill when the IR is ready (or being iterated) and you need to compile it and validate the result.
Evidence first, skill second
Research the real evidence before applying anything written in this skill, and say which step answered:
- The target pack itself: its
_ui_defs.json, manifests, the files the request names, and the current Content Log. - Pinned official vanilla evidence:
references/official/bedrock-samples-uiat the revision inreferences/official/bedrock-samples-ui.lock.json,node tools/vanilla-name-check.mjs <name>for any control,#binding,$variable, button id, renderer or screen file, the full local mirror underreferences/upstreams/bedrock-sampleswhen present, anddocs/83-vanilla-ui-1.26.50-diff.mdfor names that moved or disappeared. - Registered upstream sources and their cards:
node tools/design-library.mjs sources --source IDandnode tools/design-library.mjs patterns --source IDfor the official docs, Wiki snapshots, schemas and sample addons pinned inconfig/design-research-lock.json(commit-pinned raw URLs for every file), then the repositorydocs/. - Only when steps 1–3 do not answer: this skill's own references. Label such guidance "inferred from skill guidance", never "confirmed".
A name, offset, selector or rule found in steps 1–3 overrides this skill. Older third-party references and example packs stay valid pattern evidence; do not delete or rewrite them because a vanilla name moved. Without this repository checkout, follow the same order with the official samples and docs you can reach and report which steps were unavailable.
Contract
- Input: repository root and IR path, plus target image only when visual diff is requested.
- Output: solved geometry, compiled JSON UI, validation report, and available preview/diff artifacts.
- Success: the deterministic pipeline exits successfully, warnings are reviewed, and optional raster dependencies or unsupported stages are reported explicitly.
If data/skill-tool-profiles.json exists, read only the mcbe-json-ui-tools-runner entry and prefer its registered command IDs. Before execution, confirm the referenced script or package script exists; the checked-in commands below remain the fallback source of truth.
Pipeline (default)
This runs ir-validate → solve → compile → validate and writes:
workspace/<name>/solved.json— absolute pixel rects + solver logworkspace/<name>/ui.json— compiled Bedrock JSON UIworkspace/<name>/report.json— validator output
The validator uses both ui.json and solved.json. Warnings about parent overflow, static label clipping/width risk, or solver constraint errors must be reviewed before hand-finishing the JSON UI.
tools/solve.mjs uses MCBEKIT_SOLVER=auto by default: Go solver when go is available, Node fallback otherwise. Force a backend with MCBEKIT_SOLVER=go or MCBEKIT_SOLVER=node when debugging parity.
Step-by-step (for debugging)
Exit codes (fail fast)
| Code | Meaning | Reaction | |
|---|---|---|---|
| 0 | success | continue | |
| 5 | IR schema invalid | fix ir.yaml per error path | |
| 6 | IR cross-reference error (unknown id, etc.) | fix ir.yaml | |
| 7 | solver did not converge | inspect solved.json.log, relax conflicting constraint, do not delete user-declared ones silently | |
| 8 | bad solved input | rerun pipeline from solve | |
| 9 | validate failed | inspect report.json, fix root cause in ir.yaml | |
| 64 | wrong CLI usage | fix the command |
Optional render + diff (image input loop)
render.mjs writes coords.json and, when optional canvas dependencies are installed, preview.png next to ui.json. render.mjs and diff.mjs require the optional native dependencies (@napi-rs/canvas, pixelmatch, pngjs) for raster output/comparison. If missing, fall back to numeric review of solved.json and coords.json.
This renderer is an IR/standalone-control approximation. It resolves controls found in the one JSON file and texture files discoverable by walking upward from that file. It does not currently resolve a complete RP namespace graph, server_form.json routing, cross-file inheritance, collection data, bindings, or Bedrock focus/hover dispatch. Therefore its PNG cannot prove that the final installed RP screen or its button states render correctly.
For a screen integrated into an RP, hand off final rendering to mcbe-json-ui-final-rp-inspection, read references/final-rp-visual-evidence.md, and keep these evidence levels separate:
- IR geometry: solved rectangles and constraint report.
- Approximate preview: only the controls, textures, and states the preview report says it resolved.
- Final RP structure: validation of the installed screen, routes, referenced namespaces, and texture roots.
- Bedrock runtime: screenshots of the actual default and interacted states plus the content log.
Hard rules
- Never edit
ui.jsonto fix layout. Editir.yamland recompile. - Never bypass
tools/run.mjsto "save time" when the user expects a validated result. - Always report
report.jsonwarnings to the user, even ifok=true; geometry warnings are treated as layout defects unless intentionally documented. - Do not report a screen as visually validated from the IR preview when the implemented RP screen differs from the compiled
ui.json, or whenpreview-report.jsoncontains unresolved textures, unsupported controls/properties, or diagnostics. - Do not claim pixel accuracy or recommend final coordinates until an installed vanilla/font profile, pinned upstream compatibility result, target device profile, and screenshot calibration are all available.
- For server-form UI, a runtime screenshot is required before claiming correct hover, pressed, focus, collection, binding, inherited texture, or final placement behavior. Without it, say
static validation only. - For non-layout work (bindings, animations, Script API), hand off to the knowledge layer skills and only then patch
ui.jsonas a separate, surgical edit.
References
references/cli-reference.mdreferences/final-rp-visual-evidence.mddocs/42-tools-reference.md
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/mcbe-json-ui-tools-runner/SKILL.md
Popularity
- Repository stars
- 31
- Repository forks
- 4
- 7-day trend score
- 17
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
pluginCustom plugin integration
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/boredape874/mcbejsonuimasterai/mcbe-json-ui-tools-runner)