agentsec-cli-change
Use this skill when adding or modifying agentsec CLI commands.
Inputs
- •Target command/subcommand.
- •Desired behavior and output contract.
- •Backward-compatibility constraints.
Workflow
- •Locate command handler in
cmd/agentsec/*.go. - •Update flags/argument validation and error text.
- •Ensure usage text in
cmd/agentsec/main.gois updated. - •Add/adjust supporting logic in
internal/*only when needed. - •Run:
- •
make build - •
go test ./...
- •
- •Update docs:
- •
README.md - •
GETTING_STARTED.md(if flow changed)
- •
Guardrails
- •Keep outputs stable and machine-readable.
- •Keep errors explicit and actionable.
- •Do not remove existing flags/behavior without migration notes.