python-development

python-development is a skill for Claude Code from ProjAnvil/MindForge. It costs 74 tokens per session (2,474 once invoked), scanned A, a copy of python-development, MIT.

A guide for developing Python 3.10 and later applications, including web services, databases, asynchronous code, data processing, and tests.

In plain words
What is it for?
Use it to build FastAPI, Django, or Flask applications; connect databases; process data; write asynchronous code; validate inputs; and add automated tests.
Why use it?
It helps keep Python projects structured, type-checked, validated, testable, and consistent across common frameworks.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the mindforge-en plugin — 19 skills, 9 agents shipped together

Good fit Use it to build FastAPI, Django, or Flask applications; connect databases; process data; write asynchronous code; validate inputs; and add automated tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/projanvil/mindforge/python-development
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ProjAnvil/MindForge --skill python-development
Clone the repo
git clone --depth 1 https://github.com/ProjAnvil/MindForge

Made for: Claude Code.

Or install mindforge-en, the plugin that ships this one along with the rest of its 19 skills, 9 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for python-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/projanvil/mindforge/python-development/github.svg)](https://agentmods.dev/skills/projanvil/mindforge/python-development)
Your own site
<a href="https://agentmods.dev/skills/projanvil/mindforge/python-development"><img src="https://agentmods.dev/badge/skills/projanvil/mindforge/python-development/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for python-development

Your own site · 80×15
<a href="https://agentmods.dev/skills/projanvil/mindforge/python-development"><img src="https://agentmods.dev/badge/skills/projanvil/mindforge/python-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,474 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00074 $0.02474
Opus 5.5 $0.00030 $0.00990
Sonnet 5.5 $0.00015 $0.00495
Haiku 4.5 $0.00007 $0.00247

Measured 16d ago against content hash 032fde4c3f2a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

python-development scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 16d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to python-development — 380 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/mindforge-en/skills/python-development/SKILL.md · 183 lines

How it starts

The opening of the file, as written. The whole thing — 183 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Python Development — Language Core

This skill is about the Python language itself: its syntax, type system, concurrency and async model, the GIL, generators, context managers, and the idioms and gotchas that follow from the data model. It is deliberately framework-neutral. App-level and framework recipes live in references/; see the Framework Selection section below.

Gotchas

Each trap is written as symptom → why → fix, because the why is the part worth remembering.

1. Mutable default arguments

  • Symptom: a function "remembers" data across calls; def add(x, bucket=[]) keeps growing.
  • Why: default values are evaluated once, when the def executes, and that one object is reused.
  • Fix: default to None and build the object inside the body.
def add(x, bucket=None):
    if bucket is None:            # a fresh object on every call
        bucket = []
    bucket.append(x)
    return bucket

2. Late-binding closures in loops

  • Symptom: a list of lambdas all return the last loop value.
  • Why: closures capture the variable, not its value, and resolve it when called — after the loop ends.
  • Fix: freeze the value now with a default argument.
funcs = [lambda i=i: i for i in range(3)]  # bind i at definition time

3. GIL and CPU-bound work

  • Symptom: adding threads does not speed up a CPU-heavy loop; it can even be slower.
  • Why: the GIL lets one thread execute bytecode at a time, so CPU-bound threads serialize.
  • Fix: use processes (concurrent.futures.ProcessPoolExecutor) for CPU work; reserve threads and asyncio for I/O-bound waits.

4. Blocking calls inside async def

  • Symptom: one coroutine freezes the whole event loop; unrelated tasks stall.
  • Why: time.sleep, blocking I/O and CPU loops never await, so control never returns to the loop.
  • Fix: await asyncio.sleep(...) for delays and await asyncio.to_thread(...) for blocking calls.
result = await asyncio.to_thread(blocking_read, path)  # run off the loop

Read the full file on GitHub · 183 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 16d ago Changed · -134 lines · +11 tokens per session 032fde4c3f2a
  2. 1mo ago Changed · +8 lines 8385b3765c57
  3. 3mo ago First seen · 309 lines · 63 tokens per session scan A f5c500b6a4d0

Subscribe to this mod's changes

python-development is a skill published in the GitHub repository ProjAnvil/MindForge (3 stars, last pushed 9d ago), licensed MIT. It adds 74 tokens to every session and 2,474 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to python-development, differing in 380 lines, and is treated as a copy.

Related

python-development compared with skills from other repositories

python-development next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
python-developmentProjAnvil/MindForgeSkill39d agoMITA74Claude Code
django-patternsaffaan-m/ECCSkill314kyesterdayMITA32Claude Code, Kiro
fastapi-patternsaffaan-m/ECCSkill314kyesterdayMITA35Claude Code, Kiro
fastapi-templateswshobson/agentsSkill43kyesterdayMITA37Claude Code
djangoclaude-dev-suite/claude-dev-suiteSkill51todayMITA121Claude Code
fastapiclaude-dev-suite/claude-dev-suiteSkill51todayMITA122Claude Code
flaskclaude-dev-suite/claude-dev-suiteSkill51todayMITA122Claude Code