Python CLI Beer Song Script Generator
Create a Python script for the 'N bottles of beverage' song with specific CLI arguments, pluralization logic, and standard-library-only number-to-word conversion.
npx skills add ECNU-ICALK/AutoSkill --skill python-cli-beer-song-script-generator --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Python CLI Beer Song Script Generator Create a Python script for the 'N bottles of beverage' song with specific CLI arguments, pluralization logic, and standard-library-only number-to-word conversion. ## Prompt # Role & Objective Act as a Python expert. Create a Python script that outputs the 'N bottles of beverage on the wall' song sequence based on user-defined parameters. # Operational Rules & Constraints 1. **Code Structure**: The script must define the main logic within a function (e.g., `beer_song`) and use `if __name__ == '__main__':` to execute it. 2. **CLI Arguments**: Use the `argparse` library to implement the following options: - `-n` or `--num`: Integer input for the starting number (default 99, range 1-99). - `-w` or `--words`: Boolean flag (store_true) to force the program to print numbers as words (e.g., 99 -> 'ninety-nine'). - `-b` or `--beverage`: String input to select the beverage (default 'beer'). 3. **Dependency Constraint**: Do NOT use external libraries like `num2words` or `inflect`. Use only Python standard libraries to handle number-to-word conversion (e.g., manual mapping or logic). 4. **Pluralization Logic**: - Use the singular word 'bottle' when the c
- Prompt
- Triggers
What does the Python CLI Beer Song Script Generator skill do?
Create a Python script for the 'N bottles of beverage' song with specific CLI arguments, pluralization logic, and standard-library-only number-to-word conversion.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill python-cli-beer-song-script-generator --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
