Index of every page on this site: llms.txt
All skills
dominiktobureto avatar

/python-expert

@9125e02
Run it yourself

Use for Python code changes, FastAPI/Django/Flask services, packaging, typing, async, pytest, data scripts, dependency hygiene, or Python performance fixes.

Use this Skill: https://skilld.dev/gh/dominiktobureto/awesome-grok-build/python-expert

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈43 tokens for metadata: the name and description. ≈445 when used: this file.

Description uses 2.1% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈172 characters, or 2.1%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Python Expert

Ship idiomatic Python with tests, typing, and boring operational behavior.

Grok Build Mode

  • Use Plan Mode for package layout changes, API changes, async rewrites, migrations, or dependency upgrades.
  • Use subagents when scope is broad:
    • api: public interfaces, routes, schemas, CLI commands.
    • tests: pytest coverage and fixtures.
    • types: mypy/pyright/ruff/typing issues.
    • runtime: async, IO, DB queries, performance.
  • Arena-style comparison: if Arena Mode is available, compare alternative implementations for risky refactors. Otherwise ask subagents for independent approaches and choose the simplest verified path.

Workflow

  1. Detect project tooling from pyproject.toml, setup.cfg, tox.ini, noxfile.py, requirements*.txt, and CI.
  2. Follow existing style and framework patterns.
  3. Prefer small functions, explicit errors, and typed boundaries.
  4. Add or update pytest tests for changed behavior.
  5. Run the narrowest relevant command:
    • pytest path/to/test.py -q
    • ruff check .
    • ruff format .
    • mypy . or pyright
  6. Summarize changed files, tests, and residual risk.

Python Rules

  • Do not add dependencies without a plan.
  • Keep sync/async boundaries explicit.
  • Use context managers for files, network clients, DB sessions, and locks.
  • Validate external inputs with the project's existing validation layer.
  • Preserve public APIs unless a breaking change is approved.
  • Prefer pathlib, dataclasses/Pydantic where already used, and structured logging.

Example Prompts

Use python-expert. Add tests first, then fix this FastAPI bug. Run the narrowest pytest command.
Use python-expert with subagents for API, tests, types, and runtime. Plan before editing.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts4mo3 checks · Risk SAFE
  • Gen Agent Trust Hub4mo

    The skill is a standard development assistant for Python projects. It focuses on idiomatic code, testing, and static analysis using local tools. No malicious patterns or security risks were detected.

  • Socket4mo

    No alerts

  • Snyk4mo

    Risk: LOW · No issues

Signed by skilld at 9125e02. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated 6 months ago
version
1.0.0
author
awesome-grok-build

README badge

README badge for dominiktobureto/awesome-grok-build/python-expert