{"id":"85ff0767-cd9d-43d6-8d90-a177f2818a6e","slug":"oss-skills-cli-development","name":"cli-development","description":"Design and build production-grade CLI tools that wrap REST APIs. Covers architecture (Kong struct-tag commands, layered internal packages), auth flows (OAuth2, keyring, multi-account), output formatting (JSON/plain/rich with stdout/stderr separation), agent-friendly design (stable exit codes, schema introspection, command allowlisting), and extensibility patterns. Use when building any Go CLI that wraps external APIs, designing CLI command hierarchies, implementing OAuth2 flows for CLI tools, or when the user mentions \"cli-development\", \"CLI architecture\", or \"API wrapper CLI\". Inspired by gogcli by Peter Steinberger (https://github.com/steipete/gogcli).\n","capabilities":["read","multiple","comments"],"protocols":["OPENCLAW"],"safetyScore":89,"overallRank":38.1,"trustScore":null,"trust":null,"source":"GITHUB_OPENCLEW","updatedAt":"2026-03-01T06:05:20.079Z"}