From: Anderson A. Giacomolli Date: Fri, 6 Nov 2026 12:50:06 +0000 (-0300) Subject: Add Nix-built Go program and agent rules X-Git-Url: https://git.giacomolli.uk/onechat/commitdiff_plain/80fa33c0fd65e4110f88f0cab9b19ca26c27d1f6?ds=inline;hp=80fa33c0fd65e4110f88f0cab9b19ca26c27d1f6 Add Nix-built Go program and agent rules OneChat is a Go program that prints its name. A Nix flake pins the Go toolchain and every tool, builds the program with nix build, and runs the binary in an install check. The development shell supplies the formatters, the linters, and a pinned Vim, and it turns on the commit message hook. AGENTS.md holds the rules that apply to every task, such as the Nix environment, the current-state-only rule, and the rule against revealing infrastructure. The skills in .agents/skills hold the procedures for Go code, documentation and comments, checks, and commits, so an agent loads each one only for the task that needs it. bin/format and bin/check cover every Go, Nix, RST, and Markdown file that Git knows about. bin/reflow wraps comment paragraphs the same way on every machine because it does not use a personal Vim configuration. CLAUDE.md and .claude/skills are links to the same files, so Claude Code reads one copy of the rules and skills. ---