Skill Issue ›
Browse Skills ›
Setup toolchain
Setup toolchain
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
Claude Code: save it as .claude/skills/setup-toolchain/SKILL.md
Cursor: save it as .cursor/rules/setup-toolchain.md
Codex: save it as .agents/skills/setup-toolchain/SKILL.md
ChatGPT, Gemini and other assistants: paste it into custom or project instructions
Skill file
Setup Toolchain Enforcement
What This Sets Up
PreToolUse hooks block banned CLI commands, give actionable suggestions
Destructive command guards prevent rm -rf (except safe targets like node_modules/.next/dist/build), git push --force, git reset --hard, git checkout . / git restore .
SessionStart hook set env vars for LLM-friendly defaults
Hooks in .claude/settings.json (project-level, committed to git)
Steps
1. Create hook scripts
Copy