
Use when building or extending a CLI tool that reads process.argv. Triggers for: defining --flags or -f aliases, parsing boolean/string/number/repeated flags, supporting subcommands with independent flag sets, adding defaults or required validation to CLI inputs, or any mention of 'parse argv', 'command-line flags', or argument parsing in a Node.js/TypeScript context.
Create and run tests for the @jondotsoy/flags project. Use when asked to write tests, add test cases, run the test suite, debug failing tests, or verify behavior of flags/argument/command builders.