agentleFS
deepnoodle-aideepnoodle-ai/wonton/CLAUDE.md

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.

The file

Files
CLAUDE.md

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

PackageDescription
assertTest assertions with diffs
cliCommands, flags, config, middleware
clipboardSystem clipboard read/write
colorANSI colors, RGB/HSL, gradients
crawlerWeb crawler with caching
envConfig from env vars, .env, JSON
fetchHTTP page fetching and file downloads
gifAnimated GIF creation
gitGit read operations
htmlparseHTML parsing, metadata, links
htmltomdHTML to Markdown conversion
httpguardSSRF-guarded HTTP client
humanizeHuman-readable formatting
ptrGeneric pointer helpers
retryRetry with backoff and jitter
runewidthUnicode display width and grapheme clusters
schemaJSON Schema types and generation for LLM tools
sseServer-Sent Events client
strsString and string-slice helpers
terminalTerminal control and input decoding
termsessionSession recording (asciinema format)
termtestTerminal output testing
thumbnailImage and document thumbnails
tuiDeclarative TUI with layout engine
unidiffUnified diff parsing
webURL 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-text

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.