What problem does it solve? When adding new commands or changing output formats in the resoio CLI, developers need consistent rules for argparse structure, --format handling, stdout/stderr separation, and exit codes. This Skill consolidates those design conventions so new commands follow the established contract instead of diverging. ## Core Features & Use Cases - Command Structure Rules: Enforces the thin-module pattern (one file per command), flat command naming, lazy heavy imports, and common parent parser inheritance for nested subcommands. - Output Conventions: Standardizes --format human|json, single-document JSON on stdout, exit code semantics (0/1/2/130), and carve-outs for pid/path-only and interactive commands. - Serializer Guidance: Documents cli/output.py APIs (emit, to_jsonable, is_structured) including enum/bool dispatch ordering and bytes rejection pitfalls. - Use Case: When adding a new resoio command like resoio world list, follow this Skill to register the module, wire --format correctly, emit structured JSON, and write matching tests against a real grpclib server. ## Quick Start Read this Skill before adding a new resoio CLI command or changing any --format or output behavior, then follow its argparse, serialization, and testing conventions.