coding/python-patterns/SKILL.md
Pythonic patterns and best practices for writing readable, robust Python: typing, error handling, data modeling, iteration, resource management, project layout, and tooling. Use when writing or reviewing Python code and APIs.
npx skillsauth add aeondave/malskill python-patternsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill is for day-to-day Python code quality: readability, correctness, maintainability.
If you are doing asyncio-heavy work, prefer python-async-patterns for structured concurrency, cancellation, and backpressure.
raise ... from e).__del__).except, type hiding).None sentinel usedis None / is not None (not == None)except clauses; no bare except:pathlib.Path where appropriateLoad on demand:
references/typing.md — modern typing (3.11), aliases, Protocol, genericsreferences/errors.md — exception hygiene, custom errors, chaining, boundariesreferences/data-models.md — dataclasses, NamedTuple, immutability, validationreferences/iteration.md — comprehensions vs loops, generators, itertoolsreferences/resources.md — context managers, cleanup, temp filesreferences/performance.md — simple perf rules (avoid premature optimization)references/layout-tooling.md — project layout, ruff/mypy/pytest notesdevelopment
White-box auditing methodology for AI-generated ('vibe-coded') applications. Focuses on modern stack misconfigurations (Supabase, Next.js, Vercel).
development
Hybrid AI/Deterministic SAST methodology for discovering zero-day vulnerabilities in source code. Orchestrates structural search with AI-driven data flow and sink validation.
development
Auth assessment: hardware/embedded methodology; UART/JTAG/SWD/SPI/I2C, firmware extraction, boot/debug paths, embedded OS evidence.
devops
Container methodology: Identifying containerization limits, Docker/K8s misconfigurations, and executing escapes to the host node.