Alfredo Perez

KAIJU · AI SKILLS LIBRARY

AIskillsthatstayhonest.

Kaiju, my library of AI skills for Claude Code, in 8 areas. A new rule is judged before it goes in, and an old one is tested to prove it still matters.

I kept retyping the same prompt, slightly worse each time.

01Why itexists.

The problem

Writing an article, filing a ticket, cutting a release, reviewing a spec, prepping a talk — each is a task I do repeatedly, with a shape I've refined over dozens of attempts. And every time, that refinement lived nowhere. It was in the last good prompt, in a chat window I'd closed, or in my head on a good day.

So the quality of my work with an AI depended on whether I happened to remember the version of the instructions that worked. That's not a workflow, that's a habit with extra steps.

The deeper problem: I had no way to improve. When a prompt produced a bad result there was nothing to fix — no artifact, no diff, no history. I'd just rephrase and try again. You can't iterate on something you don't keep.

Why I built it

Treat the workflow as code.

Every repeatable task becomes a skill: a named file of instructions, checked into a repo, with a version and a changelog. When a skill produces a bad result, I fix the skill — and that fix is now the default, on every machine, forever. The improvement compounds instead of evaporating.

Everything else follows from that reframing. A workflow you can roll back. A workflow you can review in a diff. A workflow that follows you to a new laptop because it's a git clone, not a folder of notes you meant to sync.

Kaiju is private, and not because the approach is secret — that's what I write and speak about. It's because the contentsare personal and, in places, my employer's: how my team files tickets, which internal systems things route to. A public version would have to be generic, and a generic version would be useless to me. The system is worth sharing; my particular configuration of it isn't.

02How itworks.

Skills are grouped by domain — engineering, content, product, knowledge, and a few more — and each is a plain markdown file: a name, a description of when to reach for it, and the instructions. An installer flattens the whole tree into place, so the folder structure is for humans and the AI never sees it.

86 skills in 8 areas

Two rules do most of the work.

  1. Skill by default; agent only when you must.

    A skill is reactive, triggered by matching a description, with a linear workflow and a clear endpoint. An agent is a separate instance with its own context. Agents are tempting and almost always wrong — you reach for one only when the work genuinely needs parallelism, heavy context isolation, or a constrained tool allowlist. Otherwise it's a skill. Having that rule written down has stopped me building half a dozen agents I didn't need.

  2. Keep the skill short; push the data out.

    Instructions in the skill file, everything else — palettes, templates, reference data, scripts — in a references/ folder beside it. A skill that inlines its own data grows until nobody reads it, including the model.

The skills are the nouns. The interesting part is the verbs — the chains I actually run back to back, where one skill's output is the next one's input. This is the real argument for keeping each one small and separate: small pieces compose, big ones don't.

Prior art is credited, not laundered. Several clusters are adapted from other people's public work, and the README says so by name.

03Learningfromcreators.

Every borrowed skill keeps a row in a ledger: who it came from, the commit it was pinned to, and what kind of borrowing it is.

SOURCE TREE · upstreams.ymlhover a branch to open its row

    • plan
    • codebase-design
    • domain-modeling
    • improve-codebase-architecture
    • architecture-diagram
    • create-diagram
    • explain-architecture
    • presentation-style
    • presentation-diagram
    • reading-level
    • create-decision
    • writing
copied code · watched for drift an idea · nothing to drift

ROW OPENED · mattpocock/skills

EVERY MOVE ENDS IN ONE OF THREE

files never ported
Move the pin
files that were ported
Read, then adopt or fork
nothing changed
The pin is honest

04Every newlinegetsjudged.

Before a line goes into a skill, a judge runs five checks and stops at the first that fails. Lines already in a skill get an ablation test.

judge-skill-change · test-rule

THE JUDGE · FIVE CHECKS, IN ORDERjudge-skill-change · IF IT FAILS
  1. Already said?

    Grep the skill, its repo and the memory folders.

    reject

  2. Would it trip the next run?

    Ask about the cause, not the count.

    reject: "Seen once. Watching."

  3. File over budget?

    Past 500 lines, a new line must name the one it replaces.

    needs-you

  4. Wrong place?

    Code, a check, a hook, a rule, a standard, a skill, a doc. Lowest wins.

    reject, names where

  5. Changes nothing?

    Picture the skill without the line. Same behavior, no line.

    reject

Passed all five: apply.

files stop growing by default
THE ABLATION TEST · ONE RULE OUTtest-rule

Take the rule out. Run the same real case. Compare.

output is worse
Load-bearing. Keep it.
no difference
Rerun on the case it was written for.
output is better
Delete it, and record why.

05Reviewseason.

The year's PRs and docs become achievements, a review, and resume bullets. Bullets only, grounded in what shipped.

  1. Work datasync-work-data
  2. Achievementslog achievement
  3. The reviewyearly-review
  4. Resume bulletsgenerate-resume

06Results.

Everything on this page — the articles, the talks, the projects — is produced through it.

That last point is the actual result. Kaiju isn't a side project; it's the thing that makes the side projects possible at the rate they happen. And it maintains itself: the skill that adds skills is a skill.

07What I'd dodifferently.

  1. I lost 140,000 words to the wrong file format.

    For months, my default for writing a report was a self-contained HTML page. It looked great. It was also, inside a knowledge vault, dark matter— no search, no backlinks, no graph. About 11% of everything I'd written was unfindable, including by me. The fix was to make markdown the default and demote HTML to an export path, then write a converter and migrate all 48 existing documents. The lesson isn't about HTML. It's that a format decision made for how something looks on the day can quietly destroy its value for years.

  2. My own installer silently ignored my edits.

    The install script skips an existing skill file if it differs, unless you force it. So for a while, editing a skill did notdeploy it — I'd change something, see no effect, and assume the model was being stubborn. It was me. The most expensive bugs in a personal tooling system are the ones where the system lies to you quietly and you blame something else.

  3. The README says 45 skills. There are 75.

    It's a small thing and it's the honest cost of moving fast on a repo with no reviewer. There's also an agents/directory documented in the README that is, to this day, completely empty. When you're the only reader, documentation rots faster, not slower — nobody is going to notice for you.

  4. A skill I shipped wasn't self-contained.

    It documented components whose CSS only existed in myvault, so in a fresh one it rendered as a grey box. I'd tested it in the only environment where it could possibly work. That's the classic library-author mistake, and it turns out you can make it in a repo with exactly one user.