AI SummaryGenerate getopts-based argument parsing for shell scripts. Invoke this skill when you need to:
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to install the "getopts-parser-generator" skill in my project. Please run this command in my terminal: # Install skill into your project (2 files) mkdir -p .claude/skills/getopts-parser-generator && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/getopts-parser-generator/SKILL.md "https://raw.githubusercontent.com/a5c-ai/babysitter/main/library/specializations/cli-mcp-development/skills/getopts-parser-generator/SKILL.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/getopts-parser-generator/README.md "https://raw.githubusercontent.com/a5c-ai/babysitter/main/library/specializations/cli-mcp-development/skills/getopts-parser-generator/README.md" Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.
Description
Generate getopts-based argument parsing for shell scripts with short/long options and validation.
Capabilities
• Generate getopts parsing code • Support short and long options • Implement option validation • Create help text generation • Handle required arguments • Generate usage documentation
Usage
Invoke this skill when you need to: • Add argument parsing to shell scripts • Support short and long options • Validate argument values • Generate help text
Usage function
usage() { cat <<EOF Usage: $(basename "$0") [OPTIONS] <input> Options: -h, --help Show this help -v, --verbose Enable verbose output -o, --output FILE Output file (default: stdout) -f, --format FORMAT Output format: text, json, csv (default: text) -F, --force Force overwrite existing files Arguments: input Input file to process EOF }
Getopts Parser Generator
Generate getopts-based argument parsing for shell scripts.
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster