setup-toolchain

Community

Enforce Bun+tsgo toolchain with hooks.

Authormalinskibeniamin
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Automates enforcement of a consistent toolchain by blocking unsafe commands and drift across development environments, focusing on Bun + tsgo usage.

Core Features & Use Cases

  • PreToolUse hooks block npm, npx, tsc, and global installs to prevent toolchain drift.
  • SessionStart hooks set environment defaults and guard resources to keep sessions predictable.
  • Project-level configuration via .claude/settings.json to apply rules across repositories.
  • Verification steps ensure hook scripts exist, are executable, and properly wired.

Quick Start

Create hook scripts by copying scripts/enforce-toolchain.sh and scripts/session-env.sh into .claude/hooks, make them executable, and configure .claude/settings.json to enable PreToolUse and SessionStart.

Dependency Matrix

Required Modules

jq

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: setup-toolchain
Download link: https://github.com/malinskibeniamin/skills/archive/main.zip#setup-toolchain

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.