Setup toolchain

From redpanda-data/ui-harness · View interactive version

Setup toolchain is an AI agent skill from the GitHub repository redpanda-data/ui-harness. Enforce bun + tsgo as toolchain via PreToolUse hooks. Blocks npm, npx, tsc, global installs. Use when setting up toolchain enforcement or banning npm.

How to use this skill

Skill file

Setup Toolchain Enforcement

What This Sets Up

Steps

1. Create hook scripts

Copy CODE0 and CODE1 to .claude/hooks/. Make executable: chmod +x .claude/hooks/*.sh

2. Configure hooks in `.claude/settings.json`

Add to hooks config (merge existing):

3. Verify

4. Commit

Stage .claude/hooks/ and .claude/settings.json. Commit: Add toolchain enforcement hooks (bun + tsgo)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.