docs go 1.26 kong

[scut]

A CLI for LLM agents — invoked through hooks, rules, and instructions. scut gives agent authors one consistent surface for talking to tools, the environment, and each other. This is the implementation documentation: every page below is the single source of truth for the behaviour it describes.

8documents
5command guides
1design system
0markdown counterparts

// 01Start Here

New to the codebase? Read Kong Base Setup first — it explains how the command tree is modelled as nested Go structs and how dependency injection wires everything together. Every other command page assumes that mental model.

noteThese pages are the single source of truth — there are no Markdown counterparts. When behaviour changes, the HTML is edited in the same commit. If a page disagrees with the code, the page is a bug.

// 02Catalogue

Every implementation document, grouped by area. The rail on the left is the same list as a quick jump.

DocumentCovers
kong-base-setup Kong CLI framework setup, BindTo dependency injection, command tree structure, how to add commands and groups.
claude-hook-commands Claude Code hook subcommands, event types, input/output types, decision control per event, shared types package design.
post-tool-use PostToolUse hook deep-dive — input/output fields, decision control, MCP output replacement, code locations.
status-line Status line command — colour palette, formatting, go-git integration, available input fields.
config-command claude config install/uninstall/status — settings.json model, merge semantics, ownership rules, registry, scope resolution, error sentinels.
logging Structured JSONL logging — flags, file layout, rotation, standardized fields, clean command.
design-system The docs design system itself — page anatomy, primitives (rail, hero, code frames, callouts, steps), colour tokens, theming, voice, and how other projects can adopt the pattern.
design-system-standalone Single-file shareable edition of design-system.html with CSS and JS inlined. Generated — run mage docsStandalone after changing the source.