Minimizing Ty Ecosystem Changes
astral-sh/ruff
A skill your agent uses when a user says "minimize this ty ecosystem change", "reproduce this ecosystem result", "investigate a primer difference", "investigate a mypyprimer difference"…
Python Patterns workflow skill. An agent skill from diegosouzapw/awesome-omni-skills.
$ npx skills add diegosouzapw/awesome-omni-skills --skill python-patterns -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install diegosouzapw/awesome-omni-skills python-patterns --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/diegosouzapw/awesome-omni-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills_omni/python-patterns .claude/skills/python-patterns && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "python-patterns" agent skill from https://github.com/diegosouzapw/awesome-omni-skills/tree/main/skills_omni/python-patterns into .claude/skills/python-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "python-patterns", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/diegosouzapw/awesome-omni-skills/tree/main/skills_omni/python-patternsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add diegosouzapw/awesome-omni-skills --skill python-patterns -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install diegosouzapw/awesome-omni-skills python-patterns --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/diegosouzapw/awesome-omni-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills_omni/python-patterns .agents/skills/python-patterns && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "python-patterns" agent skill from https://github.com/diegosouzapw/awesome-omni-skills/tree/main/skills_omni/python-patterns into .agents/skills/python-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "python-patterns", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add diegosouzapw/awesome-omni-skills --skill python-patterns -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install diegosouzapw/awesome-omni-skills python-patterns --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/diegosouzapw/awesome-omni-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills_omni/python-patterns .cursor/skills/python-patterns && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "python-patterns" agent skill from https://github.com/diegosouzapw/awesome-omni-skills/tree/main/skills_omni/python-patterns into .cursor/skills/python-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "python-patterns", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/diegosouzapw/awesome-omni-skills.git --path skills_omni/python-patterns--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add diegosouzapw/awesome-omni-skills --skill python-patterns -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install diegosouzapw/awesome-omni-skills python-patterns --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/diegosouzapw/awesome-omni-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills_omni/python-patterns .gemini/skills/python-patterns && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "python-patterns" agent skill from https://github.com/diegosouzapw/awesome-omni-skills/tree/main/skills_omni/python-patterns into .gemini/skills/python-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "python-patterns", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install diegosouzapw/awesome-omni-skills python-patternsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add diegosouzapw/awesome-omni-skills --skill python-patterns -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/diegosouzapw/awesome-omni-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills_omni/python-patterns .github/skills/python-patterns && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "python-patterns" agent skill from https://github.com/diegosouzapw/awesome-omni-skills/tree/main/skills_omni/python-patterns into .github/skills/python-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "python-patterns", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add diegosouzapw/awesome-omni-skills --skill python-patterns -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install diegosouzapw/awesome-omni-skills python-patterns --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/diegosouzapw/awesome-omni-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills_omni/python-patterns .opencode/skills/python-patterns && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "python-patterns" agent skill from https://github.com/diegosouzapw/awesome-omni-skills/tree/main/skills_omni/python-patterns into .opencode/skills/python-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "python-patterns", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
python-patternsPython Patterns workflow skill. An agent skill from diegosouzapw/awesome-omni-skills.
Python Patterns is an agent skill from diegosouzapw/awesome-omni-skills. Python Patterns workflow skill. Use this skill when the user needs Python development principles and decision-making. Framework selection, async patterns, type hints, project structure. Teaches thinking, not copying and the operator should rely on the packaged workflow, runtime references, implementation examples, and validation script before merging or handing off.
Its SKILL.md is about 3.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 22 other files, including scripts, reference files and assets (for example `ATTRIBUTION.md`, `OMNI_ENHANCED.json` and `ORIGIN.md`).
It sits in Development, covering Type safety. It works with Python. The repository describes itself as: Public repository of AI coding skills, curated improved best-practice skills, and runtime surfaces for CLI, API, MCP, and A2A. The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit c3af004. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Python, from the files we listed), which the agent can run.
Shell commands in SKILL.md call:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Python Patterns loads about 3.2k tokens when it runs, and up to ~5.2k if it reads all its reference files. Until then it costs about 96 tokens; SKILL.md has 1,463 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from diegosouzapw/awesome-omni-skills at commit c3af004, republished under its MIT licence (© diegosouzapw). 1,463 words, ~3,175 tokens.
.claude/skills/python-patterns/SKILL.md (or your agent's skills folder). This skill also uses 17 other files; get the full folder from GitHub.This skill curates the upstream python-patterns workflow from sickn33/antigravity-awesome-skills into a practical decision aid for real Python work.
Use it when the task is not “write some Python,” but “choose the right Python approach.” The core idea from upstream remains intact: teach decision-making, not pattern memorization.
This skill is strongest when the operator must decide among:
pyproject.toml, tests, and importsOpen the support files when needed:
references/runtime-practices.md for decision matrices and failure modesexamples/implementation-example.md for worked before/after scenariosscripts/validate-runtime.py to inspect a repository for layout, tooling, async, and subprocess risksUse this skill when:
Do not use this skill as the primary router when:
| Situation | Start here | Why it matters |
|---|---|---|
| Need to decide sync vs async | references/runtime-practices.md | Gives a concrete decision matrix instead of treating async as a default |
| Need to choose how work runs in the background | references/runtime-practices.md | Separates in-request work, thread/process offloading, and external job systems |
| Need to improve project structure | examples/implementation-example.md | Shows realistic pyproject.toml and src/ tradeoffs with expected outcomes |
| Need typing guidance | references/runtime-practices.md | Focuses typing on API boundaries and static-analysis value |
| Need to inspect an existing repo | scripts/validate-runtime.py | Reports concrete findings on metadata, layout, test/import risks, async smells, and subprocess safety |
| Need to explain a recommendation | SKILL.md + linked support files | Keeps the answer tied to explicit tradeoffs and verification steps |
Clarify the decision.
Classify the workload.
Inventory the dependency stack.
Choose the smallest sound pattern.
src/ layout or heavy typing if the repo is a small script-only tool.Define verification gates before implementation.
Implement or recommend with explicit tradeoffs. Include:
Validate the repository when relevant. Run:
python scripts/validate-runtime.py .Then use the findings to refine the recommendation.
Do not rank frameworks generically. Choose based on constraints.
Prefer questions like:
A good answer names selection criteria and tradeoffs. A weak answer says “always use X.”
Default to synchronous code unless there is a real need for structured I/O concurrency.
Use async when:
Stay sync when:
Do not claim async is inherently faster. It is often better for coordinating many I/O-bound operations, not as a blanket performance upgrade.
Separate these cases clearly:
If subprocesses are involved, prefer argument lists over shell command strings, validate inputs, and make timeouts explicit.
Treat typing as a way to improve API clarity and static analysis.
Prioritize:
Important boundary:
Use pyproject.toml as the default metadata and tool-configuration anchor.
Use src/ layout when:
A flat layout can still be reasonable when:
The goal is not aesthetic purity. The goal is predictable imports, packaging behavior, and test execution.
See examples/implementation-example.md for complete worked scenarios.
Typical use cases covered there:
src/ layout for a reusable package while avoiding unnecessary structure for simple script reposRuntimeError: event loop is already runningUsually means async code is being started from an environment that already owns the loop, or async entry points are being nested incorrectly.
Check:
Common causes:
Check dependencies, profile the hot path, and confirm the workload was actually I/O-bound.
Common causes:
PYTHONPATHInspect layout choices and run the validator script for import-risk hints.
Common causes:
Adopt types module by module. Raise strictness where signal is high.
Common causes:
Move work to the right execution model and make timeout, retry, and cancellation behavior explicit.
shell=True or shell-string command construction appears in helpersThis is a security review point.
Prefer:
subprocess.run(["python", "-m", "pytest"], check=True)Over:
subprocess.run("python -m pytest", shell=True, check=True)Especially when any input is dynamic.
references/runtime-practices.md — decision matrices, checklists, and common failure modesexamples/implementation-example.md — concrete scenarios with chosen and rejected patternsscripts/validate-runtime.py — repository scanner for Python runtime-pattern mismatchesSuggested validation commands when appropriate:
python scripts/validate-runtime.py .
python -m pytestIf the repo already uses Ruff or mypy, include them in the verification gate rather than adding tools unconditionally.
Use a different or additional skill when the center of gravity shifts to:
A strong answer from this skill:
A weak answer:
src/ layout everywhere© diegosouzapw, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 17 other files (scripts, references, assets) in skills_omni/python-patterns of diegosouzapw/awesome-omni-skills.
Open the folder on GitHubat commit c3af004
Python Patterns next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Python Patterns this skilldiegosouzapw/awesome-omni-skills | 159 | — | ~3.2k | Automated safety check: Pass | MIT | |
| Minimizing Ty Ecosystem Changesastral-sh/ruff | 50k | — | ~4.6k | Automated safety check: Pass | MIT | |
| Kedro Babysitkedro-org/kedro | 11k | — | ~4k | Automated safety check: Pass | Custom licence | |
| Dignified Python Standardsdocling-project/docling | 69k | — | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| Rust Ffiariebovenberg/whenever | 2.4k | — | ~2.5k | Automated safety check: Pass | MIT | |
| Diataxis Docs Writercalf-ai/calfkit-sdk | 149 | 1 repos | ~3k | Automated safety check: Pass | Apache-2.0 |
astral-sh/ruff
A skill your agent uses when a user says "minimize this ty ecosystem change", "reproduce this ecosystem result", "investigate a primer difference", "investigate a mypyprimer difference"…
kedro-org/kedro
Run Kedro's local lint / format / type-check / tests on changed files (uses the project's pre-commit hooks, ruff, mypy, pytest, lint-imports, detect-secrets, Make targets — in the right venv), or…
docling-project/docling
Applies opinionated production Python conventions chosen by the project's Python version: modern type syntax, pathlib, explicit checks and interface guidance.
ariebovenberg/whenever
Instructions for using whenever's internal Rust FFI abstractions
calf-ai/calfkit-sdk
Write or improve software documentation using the Diátaxis framework — four documentation types (tutorials, how-to guides, reference, explanation), each serving a different user need.
alorence/django-modern-rpc
Routine update of all project dependencies — uv itself, uv.lock (all groups), tool versions pinned in GitHub workflows and .pre-commit-config.yaml (uv, ruff, mypy...), and SHA-pinned GitHub Actions.
diegosouzapw/awesome-omni-skills
Content Creator workflow skill. An agent skill from diegosouzapw/awesome-omni-skills.
diegosouzapw/awesome-omni-skills
Helm Chart Scaffolding workflow skill. An agent skill from diegosouzapw/awesome-omni-skills.
diegosouzapw/awesome-omni-skills
Prompt Engineering Patterns workflow skill. An agent skill from diegosouzapw/awesome-omni-skills.
diegosouzapw/awesome-omni-skills
Prompt Engineering Patterns workflow skill. An agent skill from diegosouzapw/awesome-omni-skills.
diegosouzapw/awesome-omni-skills
📝 Prompt Library workflow skill. An agent skill from diegosouzapw/awesome-omni-skills.
diegosouzapw/awesome-omni-skills
Protocol Reverse Engineering workflow skill. An agent skill from diegosouzapw/awesome-omni-skills.
Works with
Categories
Python Patterns workflow skill. An agent skill from diegosouzapw/awesome-omni-skills. Python Patterns is an agent skill from diegosouzapw/awesome-omni-skills. Python Patterns workflow skill.
Python Patterns fits situations like: the user needs Python development principles and decision-making; tasks that involve Type safety.
Run `npx skills add diegosouzapw/awesome-omni-skills --skill python-patterns -a claude-code`. Or copy the skill folder (skills_omni/python-patterns in diegosouzapw/awesome-omni-skills) into .claude/skills/python-patterns in your project. Claude Code loads it when a task matches its description.
Run `npx skills add diegosouzapw/awesome-omni-skills --skill python-patterns -a codex`. Or copy the skill folder (skills_omni/python-patterns in diegosouzapw/awesome-omni-skills) into .agents/skills/python-patterns in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add diegosouzapw/awesome-omni-skills --skill python-patterns -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/python-patterns, .gemini/skills/python-patterns, .github/skills/python-patterns and .opencode/skills/python-patterns in your project.
Going by SKILL.md and its folder, Python Patterns needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Python Patterns is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.2k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Python Patterns: Minimizing Ty Ecosystem Changes (astral-sh/ruff, 50k stars), Kedro Babysit (kedro-org/kedro, 11k stars), Dignified Python Standards (docling-project/docling, 69k stars) and Rust Ffi (ariebovenberg/whenever, 2.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
diegosouzapw (a GitHub user) maintains it in diegosouzapw/awesome-omni-skills, which has 159 GitHub stars. The repository holds 39 skills in this directory. The repository was last updated on July 8, 2026.
Source: diegosouzapw/awesome-omni-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.