Skills
A skill is a package of structured files that teaches an AI coding agent how to work with a specific tool or framework. The skill below was generated by Great Docs from this project’s documentation. Install it in your agent and it will be able to run commands, edit configuration, write content, and troubleshoot problems without step-by-step guidance from you.
Any agent — install with npx:
npx skills add https://mkennedy.codes/docs/python-switch/Codex / OpenCode
Tell the agent:
Fetch the skill file at https://mkennedy.codes/docs/python-switch/skill.md and follow the instructions.Manual — download the skill file:
curl -O https://mkennedy.codes/docs/python-switch/skill.mdOr browse the SKILL.md file.
SKILL.md
--- name: switchlang description: > Adds switch blocks to the Python language. Use when writing Python code that uses the switchlang package. license: MIT compatibility: Requires Python >=3.9. --- # switchlang Adds switch blocks to the Python language. ## Installation ```bash pip install switchlang ``` ## API overview ### The switch block The context manager that gives Python an explicit switch statement. Use it in a `with` block, register cases, then read `result`. - `switch`: An explicit switch statement for Python, implemented as a context manager ### Range helpers Helpers for mapping ranges of values to a single case. - `closed_range`: Create a closed range for a case: both `start` and `stop` are included ## Resources - [Full documentation](https://mkennedy.codes/docs/python-switch/) - [llms.txt](llms.txt) — Indexed API reference for LLMs - [llms-full.txt](llms-full.txt) — Comprehensive documentation for LLMs - [Source code](https://github.com/mikeckennedy/python-switch)