Skip to content

Claude Code skill for building production-grade Go CLI tools that wrap REST APIs

License

Notifications You must be signed in to change notification settings

oss-skills/cli-development

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cli-development

A Claude Code skill for building Go CLI tools that wrap REST APIs.

Why

Most enterprise software has a REST API but no CLI. That means no scripting, no piping, no automation, no agents. This skill teaches Claude Code how to build the CLI so you don't have to explain the architecture every time.

Covers project layout, Kong commands, OAuth2 with keyring, output formatting (rich/plain/JSON), agent-friendly flags, and how to add new API services without touching existing code.

Based on patterns from gogcli by Peter Steinberger.

Install

npx skills add oss-skills/cli-development

Or copy manually:

cp -r . ~/.claude/skills/cli-development/

What's in here

The skill activates when you ask Claude Code to build a CLI, design commands, or implement OAuth2 for a CLI tool.

SKILL.md                          # Main instructions
references/
  kong-patterns.md                # Command struct patterns
  auth-patterns.md                # OAuth2 + keyring
  agent-design.md                 # Stable exit codes, --json, schema introspection
  extensibility.md                # Adding new API services

License

MIT

About

Claude Code skill for building production-grade Go CLI tools that wrap REST APIs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published