Not loaded · from xeno-skills
Done-gate for any code change by a small model. Run it before saying a change is finished: the brief table for code (the test that goes red then green, the error path, the doc line, no new dependency), then six commands with pass conditions — scope of the diff, placeholders, secrets, the repo's tests with the last line pasted, lint/typecheck if configured, and the RED line before the GREEN one. Slice 1 of xeno-skills #355.
Claude Code won't load this skill
It ships in xeno-skills at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
qwen38-code-gate)Run this before you say a code change is finished. Fill the table, run every command, paste each output. A check you did not run is a check that failed. Report CODE GATE: n/6 with the outputs under it.
| the brief names or implies | file(s) that deliver it |
|---|---|
| each change the brief asks for | the file and function |
| a test that fails before the change and passes after | the test file — always a row, even when the brief does not say "test" |
| the error paths — one row each: wrong type · negative or out of range · empty · missing file or key | where each raises or returns, and the test for each. (2026-09-05 16:49: with one combined row the model tested garbage input and skipped the negative amount the hidden test caught; enumerated rows are the fix) |
| the doc line, if the repo has a README or docstrings for this area | the line |
| new dependency | none unless the brief allows one; write "none" |
Edit only the files in the right-hand column. Anything else you think needs changing goes in the report as a note, not in the diff.
D is the diff of your change: git diff if the repo is a git checkout (make a commit or git add -N . first so new files show), otherwise the list of files you wrote.
1. Scope. Pass: every path printed is in the brief table.
git diff --name-only HEAD
2. No placeholders. Pass: nothing prints. (The bare-stub half is its own alternative: ^\+ cannot appear in the middle of an alternation, and while it did, + pass never matched and the gate printed a passing placeholders 0 over a stub-filled diff. Found in review 2026-09-06.)
git diff HEAD | grep -nE "^\+\s*(pass|\.\.\.)\s*$|^\+.*(TODO|FIXME|XXX|NotImplemented|raise NotImplementedError|console\.log\(\"debug|print\(\"debug)"
3. No secrets or machine paths. Pass: nothing prints.
git diff HEAD | grep -nE "^\+.*((api[_-]?key|secret|token|password)\s*[:=]\s*['\"][^'\"]{8,}|C:\\\\Users\\\\|/home/[a-z]+/)"
4. The repo's tests, last line pasted. Use the repo's own command (python -m pytest -q, npm test, bun test, go test ./..., cargo test); do not invent one. Pass: the last line reports 0 failed and the count is not lower than before your change.
python -m pytest -q 2>&1 | tail -3
5. Lint / typecheck when the repo has a config. Pass: exits 0, or write "no config" when none of these files exists: pyproject.toml [tool.ruff], .eslintrc*, eslint.config.*, tsconfig.json, .flake8, mypy.ini.
ls pyproject.toml .eslintrc* eslint.config.* tsconfig.json .flake8 mypy.ini 2>/dev/null
Then the matching command: ruff check . · npx eslint . · npx tsc --noEmit · flake8 · mypy .
6. RED before GREEN. Paste the test command's last line from before you changed the source (the new test failing) and from after (passing). If you wrote the test after the code, write "test written after code" — that is a fail of this check, not a reason to hide it.
THINK: assumptions <k> · flaws checked 3 · found <n> · pushback: <yes: the line | no> <- first, from qwen38-think, when it was loaded
CODE GATE: n/6 (scope ok · placeholders 0 · secrets 0 · tests: <last line> · lint: <ok|no config> · red-then-green: yes)
brief table: k rows, all filled
A brief the three-flaw check found impossible does not get a CODE GATE: 6/6; it gets the Pushback: line, the possible part, and an honest gate for that part.
Paste the six outputs under it. CODE GATE: 6/6 with no outputs is not a pass.
using-qwen38)Never install a package or a tool to satisfy a check; if the command is missing, write one line saying so and continue. Never spawn an agent. Stop at the report.
How to design the change, name things, or structure a module — karpathy-guidelines and the repo's own conventions own that. This file only says whether a change may be called finished.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub xenodeve/xeno-skills --plugin xeno-skills74 skills in this plugin
/aframe-webxrDeclarative web framework for building browser-based 3D, VR, and AR experiences using HTML and entity-component architecture. Use this skill when creating WebXR applications, VR experiences, AR experiences, 360-degree media viewers, or immersive web content with minimal JavaScript. Triggers on tasks involving A-Frame, WebXR, VR development, AR development, entity-component-system, declarative 3D, or HTML-based 3D scenes. Built on Three.js with accessible HTML-first approach./animated-component-librariesPre-built animated React component collections combining Magic UI (150+ TypeScript/Tailwind/Motion components) and React Bits (90+ minimal-dependency animated components). Use this skill when building landing pages, marketing sites, dashboards, or interactive UIs requiring pre-made animated components instead of hand-crafting animations. Triggers on tasks involving animated UI components, Magic UI, React Bits, shadcn/ui integration, Tailwind CSS components, or component library selection. Alternative to manually implementing animations with Framer Motion or GSAP./animejsVersatile JavaScript animation engine for DOM, CSS, SVG, and JavaScript objects. Use when creating timeline-based animations, stagger effects, SVG morphing, keyframe sequences, or complex choreographed animations. Triggers on tasks involving Anime.js, timeline animations, staggered sequences, SVG path animations, morphing, or multi-step animation choreography. Alternative to GSAP for SVG-heavy animations and React-independent projects.