All authors

Claude Skills by jclauzel
github.com/jclauzel17 skills0 installs25 views
- ISSUE TEMPLATE<!-- The task it helps with, and when Claude should load it. -->Votes: 0GitHub stars: 2
- DocsA skill is a folder with a `SKILL.md`: YAML frontmatter, then the instructions Claude follows when the skill loads. In a plugin, skills live in `skills/<name>/SKILL.md` and run as `/<plugin>:<name>`. The official reference is <https://code.claude.com/docs/en/skills>; this page is the short version, with what we learned on Spectrum work.Votes: 0GitHub stars: 2
- Example SkillOne sentence saying what the skill does, then when to use it - "Use this skill whenever the user builds, runs or asks about X, even if they only say Y." Put the most important use first; keep it under about 1 000 characters.Votes: 0GitHub stars: 2
- Z88dk Map RoomFind where the bytes of a z88dk program go before optimising your own code - rank the linker .map by symbol size in the main bank and in each banked page, spot library code the source never names (the ZX terminal driver, stdio, the heap, 32-bit math helpers), drop the console with -startup=31 and the heap pragmas, and read room figures without being fooled (room that only moved between the stack and statics, big structs as locals under zsdcc). Use this skill whenever a z88dk build is short of...Votes: 0GitHub stars: 2
- Zxnext Banked CodeKeep C code that runs from banked pages safe on a ZX Spectrum Next (z88dk --codesegPAGE_nn, several pages taking turns in one MMU slot) - why a direct call between two pages links without a word and runs the wrong code, why an esxDOS call made from a page in the bottom 16 KB does not come back, wrappers in the main bank, trampolines that put back the page they found, where string constants really go, what an interrupt handler may touch, and how to check it all with a call-graph walk instead o...Votes: 0GitHub stars: 2
- Z80 Code LayoutLay out Z80 and Z80N code so the common path falls through - conditional jump costs taken and not taken, moving rare cases out of line, choosing jr or jp, loop shapes, and measuring the result. Use this skill whenever you write or optimise a hot Z80 routine (a per-frame loop, a sprite or tile walk, an interrupt handler), reorder branches, or ask why a routine is slow even though its instructions look optimal.Votes: 0GitHub stars: 2
- Z80 MeasureMeasure the bytes and T-states of Z80 or Z80N code instead of guessing - a two-label snippet run through z88dk-z80asm and z88dk-ticks, before and after figures for every change, a C-against-asm harness, and the z88dk-ticks push nn byte-order quirk. Use this skill whenever you write, change, optimise or compare Z80 or Z80N assembly, claim that one form is faster or smaller, rewrite a C routine in asm, or need a cycle count, even if the user only asks "is this faster?" or "how many T-states?".Votes: 0GitHub stars: 2
- Zx Memory MapThe classic ZX Spectrum (16K, 48K, 128K, +2) memory map and the facts that shape Z80 code on it - ROM, screen bitmap and attribute addresses, the screen's interleaved line order, system variables and RAMTOP, 128K paging through port $7FFD, contended memory and its timings, the ULA port $FE, and IM 2 vector tables. Use this skill whenever you write, place or optimise Z80 code or data for a classic Spectrum, compute a screen or attribute address, choose where code, stack or tables live, page 12...Votes: 0GitHub stars: 2
- Z80n OptimizeWrite and review ZX Spectrum Next assembly Z80N first, memory first, speed always - which Z80N instructions replace plain Z80 sequences (add hl,a, mul d,e, the barrel shifts, ldix/ldirx/ldws, nextreg, pixelad/pixeldn), which ones can lose (push nn, test n), the hardware that beats any instruction (Copper, sprites, DMA, scroll registers), and how to flag Z80N opportunities in existing code with bytes and T-states. Use this skill whenever you write, change, review or optimise Z80 or Z80N assemb...Votes: 0GitHub stars: 2
- Zxnext BuildBuild ZX Spectrum Next programs with z88dk (+zxn, zsdcc, z80asm) into a .nex, measure the room left in every page and the main bank, land each feature behind a build switch whose 0 build reproduces the previous build byte for byte, refuse bad switch combinations before writing any file, and run a build table (side by side in detached git worktrees) checked by MD5 anchors. Use this skill whenever you build, rebuild, compare or check the size of a Next program or .nex, add or change a build swi...Votes: 0GitHub stars: 2
- Zxnext C To AsmHow to win back memory and frame time on a ZX Spectrum Next game written in C (z88dk zsdcc) by rewriting its hottest routines in Z80N assembly safely - profile first, keep each routine's C whole above its asm in a "; C:" comment block, keep zsdcc's calling convention, put the rewrite behind a build switch whose 0 build is the old C byte for byte, prove the asm against its C on thousands of random inputs, apply a stop rule, replace many per-page bank-switching doors with one shared trampoline,...Votes: 0GitHub stars: 2
- Zxnext MameRun, time and prove a ZX Spectrum Next program on MAME (specnext_ks3) - start runs safely (a fresh copy of the SD image, an untouched ROM zip, a cap on concurrent MAME processes), skip the ROM warning, drive keys and take per-frame shots and logs through a Lua autoboot script, read a frame report (worst raster line out of the frame's lines) against a budget, apply the phase rule, and compare runs frame for frame and pixel for pixel. Use this skill whenever a Next .nex has to be run, played, t...Votes: 0GitHub stars: 2
- Ql C BuildBuild QL jobs in C with qdos-gcc 2.95.3 and the C68 library (Sinclair QL, the ZX Spectrum Next's QL core, QPC2, SMSQ/E) - the toolchain's silent failures (ld and the assembler exit 0 on errors), the -O2 bug that reads locals through a6 with no frame pointer, stack and dataspace sizing, and the header a job needs on each kind of QL (XTcc trailer, Q-emuLator prefix, SEXEC). Use this skill whenever you build, link, package or install a QL or QDOS program, see "Undefined Symbol", a crash or garba...Votes: 0GitHub stars: 2
- Ql EmulatorsRun and test QL programs on sQLux and QPC2 - a scripted sQLux run (boot, one SuperBASIC line, results file, quit) that an agent can use in tests, what the Windows sQLux build gets wrong (mkdir, rename, directory types, listening ports, fake free space), how the TCP_ / SCK_ / UDP_ device really behaves on sQLux and QPC2, and what no emulator can prove about the ZX Spectrum Next's QL core. Use this skill whenever a QL job or SuperBASIC program has to be run, tested, screenshotted or debugged on...Votes: 0GitHub stars: 2
- Ql Next CoreProgram the ZX Spectrum Next's QL core - telling it apart from any other QL before touching its registers, what the 2024 and 2026 cores each have (win1_ or SDA1_, the ESP1 / SER3 driver or the bare UART), the Wi-Fi module through the core's UART (baud divisor, 1 KB FIFO, no flow control), the 1 MHz counter, 256 colours through the SCN driver and twin screens, the PS/2 mouse (QIMI) and the hardware sprite, and getting files onto it. Use this skill whenever code or SuperBASIC runs on the Next's...Votes: 0GitHub stars: 2
- Ql Qdos CCall QDOS and SMSQ/E from C with the C68 library - channels and their return conventions, file names and the 36-character limit, directories that are only name prefixes, 64-byte entries, headers, rename and delete, console windows and modes 4 and 8, key codes, the Pointer Environment and 24-bit colour on SMSQ/E. Use this skill whenever C code for a Sinclair QL, QPC2, SMSQ/E, sQLux or the ZX Spectrum Next's QL core opens, lists, copies, renames or deletes files, reads keys, draws in a window o...Votes: 0GitHub stars: 2
- Ql SuperbasicWrite and check SuperBASIC and SBASIC programs for the Sinclair QL, the ZX Spectrum Next's QL core, QPC2 and SMSQ/E - boot and installer programs, hardware probes, launchers - with the traps that bite (PEEK_W reads two bytes on Minerva, && binds looser than =, 16-bit MOD and DIV, no $hex on Minerva, 7-digit numbers in SAVE, EW stopping the caller, LRUN dropping the rest of the line) and a linter to run on the PC before loading. Use this skill whenever you write, edit, generate or debug a _bas...Votes: 0GitHub stars: 2