LogoClawIndex
CasesSkillsAbout
LogoClawIndex

cmdguard - Build and review typed Go CLIs with cmdguard

Build, extend, or review Go CLIs using cmdguard v5, including typed flags, dependency injection, middleware, configuration, output, prompts, and telemetry.

Tags

Updated: 2026-11-24
GoCLICobratyped flagsdependency injectionmiddlewareconfigurationlinting

Capabilities

Build cmdguard CLIsAdd typed flagsScope command flagsConfigure flag precedence

Typical Inputs

Go CLI source codecmdguard v5 importsCommand definitions

Typical Outputs

Go source changesCommand and flag registrationsConfiguration behavior

What this skill does

  • Build cmdguard CLIs
  • Add typed flags
  • Scope command flags
  • Configure flag precedence
  • Register subcommands
  • Wire dependency injection
  • Configure middleware
  • Load config files
  • Handle CLI errors
  • Review lint rules

Inputs

  • Go CLI source code
  • cmdguard v5 imports
  • Command definitions
  • Flag struct tags
  • Configuration files
  • Environment variables
  • CLI requirements

Outputs

  • Go source changes
  • Command and flag registrations
  • Configuration behavior
  • CLI error messages
  • Lint findings
  • Exit codes

Requirements

  • Go environment
  • cmdguard v5 dependency
  • Cobra-based CLI project

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.