Agent skill

Python Patterns

by kurealnum in kurealnum/dotfiles

Pythonic idioms, PEP 8 standards, type hints, and best practices for building robust, efficient, and maintainable Python applications.

No licenceAuto-check passedDevelopment

Install Python Patterns

skills CLI
$ npx skills add kurealnum/dotfiles --skill python-patterns -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install kurealnum/dotfiles python-patterns --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/kurealnum/dotfiles.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/python-patterns .claude/skills/python-patterns && rm -rf skills-src

Use ~/.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/

Facts

Skill name
python-patterns
GitHub stars
290
Used in
8 other repos
Token cost
~4.1k tokens
SKILL.md length
285 words
Files
1
Skills in repo
13
Repo updated
First seen
Licence
None found

At a glance

Pythonic idioms, PEP 8 standards, type hints, and best practices for building robust, efficient, and maintainable Python applications.

  • Works in 3 steps: Readability Counts → Explicit is Better Than Implicit → EAFP - Easier to Ask Forgiveness Than…
  • Tasks that involve Type safety
  • SKILL.md covers When to Activate, Core Principles, Type Hints and Error Handling Patterns, plus 4 more sections
  • Calls black, ruff and mypy

What it does

Python Patterns is an agent skill from kurealnum/dotfiles. Pythonic idioms, PEP 8 standards, type hints, and best practices for building robust, efficient, and maintainable Python applications.

Its SKILL.md is about 4.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Type safety and Error handling. It works with Python.

When your agent uses it

  • Tasks that involve Type safety
  • Tasks that involve Error handling

Example prompts

  • “/python-patterns”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Readability Counts
  2. Explicit is Better Than Implicit
  3. EAFP - Easier to Ask Forgiveness Than Permission

What it can do on your machine

Read from SKILL.md and the folder at commit bcd8741. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Shell commands in SKILL.md call:

    • black
    • ruff
    • mypy
    • pytest

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Python Patterns loads about 4.1k tokens when it runs. Until then it costs about 38 tokens; SKILL.md has 285 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~38
When it runs · the whole SKILL.md, loaded when a task matches
~4.1k

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.

Safety

Auto-check passed

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); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 285 words (~4,146 tokens).

“Idiomatic Python patterns and best practices for building robust, efficient, and maintainable applications.”

— opening of SKILL.md by kurealnum
name
python-patterns
origin
ECC

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/python-patterns of kurealnum/dotfiles.

Open the folder on GitHubat commit bcd8741

Used in 8 other repositories

We found 12 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 8 other GitHub owners. This page covers the copy in kurealnum/dotfiles, which our catalogue first saw on October 7, 2026.

Compare with similar skills

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.

Python Patterns compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Python Patterns this skillkurealnum/dotfiles2908 repos~4.1kAutomated safety check: PassNone
Strict Programming Practicescode-yeongyu/oh-my-openagent70k—~9.5kAutomated safety check: PassCustom licence
Python Best PracticesTaoidle/plan-cascade133—~463Automated safety check: PassMIT
Python Anti Patternswshobson/agents40k—~2kAutomated safety check: PassMIT
Pseudocode To Python CodeArabelaTso/Skills-4-SE253—~2.6kAutomated safety check: PassApache-2.0
Code PatternsAedelon/claude-code-blueprint120—~1.2kAutomated safety check: PassCustom licence

Similar skills

  • Strict Programming Practices

    code-yeongyu/oh-my-openagent

    Applies strict, type-first coding rules for Python, Rust, TypeScript and Go, loading the matching language reference before the agent writes or edits any code.

    70k GitHub stars~9.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Python Best Practices

    Taoidle/plan-cascade

    Python coding best practices. An agent skill from Taoidle/plan-cascade.

    133 GitHub stars~463 tokensUpdated 6 mo ago
    DevelopmentAuto-check passed
  • Python Anti Patterns

    wshobson/agents

    A skill your agent uses when reviewing Python code for common anti-patterns to avoid.

    40k GitHub stars~2k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Pseudocode To Python Code

    ArabelaTso/Skills-4-SE

    Convert pseudocode, algorithm descriptions, or specifications into complete, executable Python code.

    253 GitHub stars~2.6k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Code Patterns

    Aedelon/claude-code-blueprint

    Reference patterns for REST APIs, pytest/vitest testing, Docker multi-stage builds, GitHub Actions CI/CD, PostgreSQL, TypeScript generics, Python async, and React Server Components.

    120 GitHub stars~1.2k tokensUpdated 7 mo ago
    DevOps & CloudAuto-check passed
  • Mastra

    majiayu000/claude-skill-registry

    You are an expert in Mastra, the TypeScript framework for building AI agents, RAG pipelines, and workflows.

    666 GitHub starsUsed in 1 repo~1.5k tokens
    AI & LLM EngineeringAuto-check passed

More from kurealnum/dotfiles

All 13 skills in this repo
  • Continuous Learning V2

    kurealnum/dotfiles

    Instinct-based learning system that observes sessions via hooks, creates atomic instincts with confidence scoring, and evolves them into skills/commands/agents.

    290 GitHub starsUsed in 4 repos~3.1k tokens
    Auto-check passed
  • Frontend Patterns

    kurealnum/dotfiles

    Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.

    290 GitHub starsUsed in 19 repos~3.7k tokens
    Auto-check passed
  • Coding Standards

    kurealnum/dotfiles

    Universal coding standards, best practices, and patterns for TypeScript, JavaScript, React, and Node.js development.

    290 GitHub starsUsed in 17 repos~2.9k tokens
    Auto-check passed
  • Twitter Algorithm Optimizer

    kurealnum/dotfiles

    Analyze and optimize tweets for maximum reach using Twitter's open-source algorithm insights.

    290 GitHub starsUsed in 8 repos~3.2k tokens
    Auto-check passed
  • DB Migrations

    kurealnum/dotfiles

    A skill your agent uses when generating or regenerating Drizzle migration files, changing database schema tables or columns, resolving migration sequence conflicts after rebase, reviewing migration…

    290 GitHub stars~820 tokensUpdated 5 mo ago
    Auto-check passed
  • Drizzle

    kurealnum/dotfiles

    Drizzle ORM schema and database guide. An agent skill from kurealnum/dotfiles.

    290 GitHub stars~1.3k tokensUpdated 5 mo ago
    Auto-check passed

Works with

Categories

Questions about Python Patterns

What does Python Patterns do?

Pythonic idioms, PEP 8 standards, type hints, and best practices for building robust, efficient, and maintainable Python applications. Python Patterns is an agent skill from kurealnum/dotfiles. Pythonic idioms, PEP 8 standards, type hints, and best practices for building robust, efficient, and maintainable Python applications.

When should I use Python Patterns?

Python Patterns fits situations like: tasks that involve Type safety; tasks that involve Error handling.

How do I install Python Patterns in Claude Code?

Run `npx skills add kurealnum/dotfiles --skill python-patterns -a claude-code`. Or copy the skill folder (.agents/skills/python-patterns in kurealnum/dotfiles) into .claude/skills/python-patterns in your project. Claude Code loads it when a task matches its description.

How do I install Python Patterns in Codex?

Run `npx skills add kurealnum/dotfiles --skill python-patterns -a codex`. Or copy the skill folder (.agents/skills/python-patterns in kurealnum/dotfiles) into .agents/skills/python-patterns in your project. Codex loads it when a task matches its description.

Can I use Python Patterns in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kurealnum/dotfiles --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.

What does Python Patterns need to run?

Going by SKILL.md and its folder, Python Patterns needs the command-line tools its instructions call (black, ruff, mypy and pytest). Our summary lists: Python 3.

Does Python Patterns access the network?

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.

Is Python Patterns safe to install?

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. Review the folder before installing.

What licence does Python Patterns use?

No licence was found for Python Patterns or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Python Patterns use?

About 4.1k tokens (SKILL.md is roughly 17k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Python Patterns?

Skills that share tags, products or a category with Python Patterns: Strict Programming Practices (code-yeongyu/oh-my-openagent, 70k stars), Python Best Practices (Taoidle/plan-cascade, 133 stars), Python Anti Patterns (wshobson/agents, 40k stars) and Pseudocode To Python Code (ArabelaTso/Skills-4-SE, 253 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Python Patterns?

kurealnum (a GitHub user) maintains it in kurealnum/dotfiles, which has 290 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on April 13, 2026.

Source: kurealnum/dotfiles on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.