Skip to content

Add a ucsd-decorator-kit install pointer to the TritonAI Skills Library - #11

Merged
chorta merged 1 commit into
mainfrom
claude/triton-decorator-kit-skill-1c9c31
Oct 3, 2026
Merged

chorta merged 1 commit into
mainfrom
claude/triton-decorator-kit-skill-1c9c31

Conversation

@chorta

@chorta chorta commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

What changed

  • New skill: library/tritonai/ucsd-decorator-kit/SKILL.md, a short entry point for the TritonAI harness. It gives:
    • the repository: https://github.com/UCSD/decorator-kit
    • npx ucsd-decorator-kit@latest init for a new, empty directory
    • npx ucsd-decorator-kit@latest add --with-decorator for an existing project
    • what to do after installing: read the generated rule file (CLAUDE.md, AGENTS.md, …) and follow it
    • how to tell the kit is already installed (decorator-kit.json at the project root), in which case the agent skips this skill
  • README: the Skills Library section lists the new entry and explains what it's for.
  • CHANGELOG: an Unreleased / Added entry.

Why

Developers using the TritonAI harness need one quick instruction to get started with the kit. The kit exists because a skill file on its own isn't enough to keep an agent from damaging the page shell. So this skill deliberately holds no rules: it says up front that it is only a pointer, gets the kit installed, and hands off to the rule files the kit writes.

Notes for reviewers

  • Why the existing-project line is included: init refuses any directory that already has files, so an agent that only knows init fails on an existing project. --with-decorator is included because plain add doesn't install ucsd-decorator-v5, which leaves no local Decorator source for the rules to point at.
  • Library only: the skill isn't in skills/ and isn't mirrored by sync-library.mjs, the same as the ucsd-branding pointer. A project that already has the kit installed doesn't need it.
  • Publishing: copy library/tritonai/ucsd-decorator-kit/ into the Skills Library repository.

Verification

  • npm run check:library: 3 skills satisfy the sync contract.
  • npm test: 152 pass, 0 fail.
  • Tried in a scratch directory that already had files: init refused and pointed to add, as expected. add --with-decorator installed ucsd-decorator-v5, wrote CLAUDE.md and DECORATOR.md, and created decorator-kit.json.

🤖 Generated with Claude Code

A short Skills Library entry for agents in projects with no kit yet: it
names the repository, `npx ucsd-decorator-kit@latest init` for an empty
directory, and `add --with-decorator` for an existing one (init refuses a
non-empty directory), then defers to the rule files the kit writes. It
holds no rules itself, and lives only in library/ because a project that
has the kit no longer needs it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chorta
chorta merged commit 53346ce into main Oct 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant