wonton
CLAUDE.md4 starsChanged 3 months agoApache-2.0View on GitHub
This file provides guidance to Claude Code when working with this codebase. Wonton is a curated collection of Go packages designed for rapid application development. It provides a solid foundation of utilities, terminal UI components, and CLI building blocks that work well together. - Rapid development: Integrates functionality common to modern CLI applications and AI agent development, so you can focus on application logic. - Optimized for AI-assisted development: Designed to be easily consumed by AI coding agents like Claude…
- Reads credentials
In this repositoryOne other file it gives its agents.
- llms.txtllms.txt
The file
Files
CLAUDE.md
This file provides guidance to Claude Code when working with this codebase.
Project Overview
Wonton is a curated collection of Go packages designed for rapid application development. It provides a solid foundation of utilities, terminal UI components, and CLI building blocks that work well together.
Why Wonton?
- Rapid development: Integrates functionality common to modern CLI applications and AI agent development, so you can focus on application logic.
- Optimized for AI-assisted development: Designed to be easily consumed by AI coding agents like Claude Code. Extensive examples, thorough documentation, and consistent APIs make it easy for agents to write correct code.
- Build agentic CLIs: Ideal for building agentic command-line tools like Claude Code—combining rich terminal UIs with utilities AI agents need.
- Minimal dependencies: Where practical, functionality is implemented directly rather than importing external packages. Consolidating common functionality into a single, well-maintained module reduces supply chain complexity and audit surface.
Packages
| Package | Description |
| assert | Test assertions with diffs |
| cli | Commands, flags, config, middleware |
| clipboard | System clipboard read/write |
| color | ANSI colors, RGB/HSL, gradients |
| crawler | Web crawler with caching |
| env | Config from env vars, .env, JSON |
| fetch | HTTP page fetching and file downloads |
| gif | Animated GIF creation |
| git | Git read operations |
| htmlparse | HTML parsing, metadata, links |
| htmltomd | HTML to Markdown conversion |
| httpguard | SSRF-guarded HTTP client |
| humanize | Human-readable formatting |
| ptr | Generic pointer helpers |
| retry | Retry with backoff and jitter |
| runewidth | Unicode display width and grapheme clusters |
| schema | JSON Schema types and generation for LLM tools |
| sse | Server-Sent Events client |
| strs | String and string-slice helpers |
| terminal | Terminal control and input decoding |
| termsession | Session recording (asciinema format) |
| termtest | Terminal output testing |
| thumbnail | Image and document thumbnails |
| tmux | Live tmux-backed terminals |
| tui | Declarative TUI with layout engine |
| unidiff | Unified diff parsing |
| web | URL canonicalization, search abstractions |
Development Commands
# Run all tests
go test ./...
# Run tests for a specific package
go test ./tui/...
# Run example
go run ./examples/cli/basic
# Coverage
make cover-textChangelog
Feature and fix PRs do not edit CHANGELOG.md, so parallel PRs do not
conflict in [Unreleased]. Describe user-visible and incompatible changes in
the PR body under "What changes for the user" and "Risk and rollout". The
release PR (chore(release): prepare vX.Y.Z) writes the changelog entries
from the bodies of the PRs merged since the previous release.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

