Skip to content

About

Python quick reference skill for Claude Code (sourced from quickref.me/python)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Python Quick Reference Skill for Claude Code

A comprehensive Python cheat sheet packaged as a Claude Code skill. Sourced from quickref.me/python.

What's Included

File Purpose
SKILL.md Skill entry point with routing and triggers
PythonCheatSheet.md Full Python reference (~500 lines, 13 sections)
Workflows/Lookup.md Syntax lookup workflow
Workflows/DrillGen.md Practice drill generator

Topics Covered

  • Getting Started — variables, data types, arithmetic, f-strings
  • Built-in Types — str, int, float, list, tuple, set, dict, casting
  • Advanced Types — heaps (heapq), stacks/queues (deque)
  • Strings — slicing, stride, methods, formatting, f-string fill/align/type/precision
  • Lists — comprehensions, filter, operations, slicing
  • Flow Control — if/elif/else, ternary
  • Loops — for, while, enumerate, zip, range, break/continue, for/else
  • Functions — args, kwargs, defaults, lambda, multiple return values
  • Modules — import, from, alias, dir
  • File Handling — read, write, JSON, delete
  • Classes & Inheritance — init, methods, super, repr, polymorphism
  • Miscellaneous — comments, generators, exception handling

Installation

Copy the skill into your Claude Code skills directory:

cp -r . ~/.claude/skills/Python/

Or clone directly:

git clone https://github.com/angry-analyst/python-cheatsheet-skill.git ~/.claude/skills/Python

Usage

Once installed, the skill triggers automatically when you mention Python syntax topics:

> "How do I format numbers in Python f-strings?"
> "Python list comprehension examples"
> "Give me python drills on classes"

Workflows

Lookup — Quick syntax reference. Loads the relevant cheat sheet section for your question.

DrillGen — Generates progressive practice exercises (basic → intermediate → applied) with hints and solutions.

License

Cheat sheet content sourced from quickref.me/python. Skill scaffolding built with PAI.

About

Python quick reference skill for Claude Code (sourced from quickref.me/python)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors