Agent skill

Python Development

by julianromli in julianromli/opencode-template

Modern Python development with Python 3.12+, Django, FastAPI, async patterns, and production best practices.

MITAuto-check passedBackend & APIs

Install Python Development

skills CLI
$ npx skills add julianromli/opencode-template --skill python-development -a claude-code

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

GitHub CLI
$ gh skill install julianromli/opencode-template python-development --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/julianromli/opencode-template.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skill/python-development .claude/skills/python-development && 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-development
GitHub stars
144
Token cost
~722 tokens
SKILL.md length
50 words
Files
1
Skills in repo
16
Repo updated
First seen
Licence
MIT

At a glance

Modern Python development with Python 3.12+, Django, FastAPI, async patterns, and production best practices.

  • Python projects
  • SKILL.md covers Project Setup, Type Hints, Async Patterns and FastAPI Patterns, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Data processing

What it does

Python Development is an agent skill from julianromli/opencode-template. Modern Python development with Python 3.12+, Django, FastAPI, async patterns, and production best practices. Use for Python projects, APIs, data processing, or automation scripts.

Its SKILL.md is about 720 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 Backend & APIs, covering Backend development. It works with Python, FastAPI and Django. The repository describes itself as: OpenCode CLI Template by @faizntfd. The licence is MIT.

When your agent uses it

  • Python projects
  • Data processing
  • Automation scripts

Example prompts

  • “/python-development”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 37ceab2. 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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are python and toml).

    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 Development loads about 722 tokens when it runs. Until then it costs about 50 tokens; SKILL.md has 50 words of instructions outside code blocks.

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

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

The full file from julianromli/opencode-template at commit 37ceab2, republished under its MIT licence (© julianromli). 50 words, ~722 tokens.

Download SKILL.mdSave it as .claude/skills/python-development/SKILL.md (or your agent's skills folder).
name
python-development
description
Modern Python development with Python 3.12+, Django, FastAPI, async patterns, and production best practices. Use for Python projects, APIs, data processing, or automation scripts.
source
wshobson/agents
license
MIT

Python Development

Project Setup

Modern Python Project Structure
my-project/
├── src/
│   └── my_project/
│       ├── __init__.py
│       ├── main.py
│       └── utils.py
├── tests/
│   ├── __init__.py
│   └── test_main.py
├── pyproject.toml
├── README.md
└── .gitignore
pyproject.toml
toml
[project]
name = "my-project"
version = "0.1.0"
requires-python = ">=3.12"
dependencies = [
    "fastapi>=0.100.0",
    "pydantic>=2.0",
]

[project.optional-dependencies]
dev = [
    "pytest>=7.0",
    "ruff>=0.1.0",
    "mypy>=1.0",
]

[tool.ruff]
line-length = 88
select = ["E", "F", "I", "N", "W"]

[tool.mypy]
strict = true

Type Hints

python
from typing import TypeVar, Generic
from collections.abc import Sequence

T = TypeVar('T')

def process_items(items: Sequence[str]) -> list[str]:
    return [item.upper() for item in items]

class Repository(Generic[T]):
    def get(self, id: int) -> T | None: ...
    def save(self, item: T) -> T: ...

Async Patterns

python
import asyncio
from collections.abc import AsyncIterator

async def fetch_all(urls: list[str]) -> list[dict]:
    async with aiohttp.ClientSession() as session:
        tasks = [fetch_one(session, url) for url in urls]
        return await asyncio.gather(*tasks)

async def stream_data() -> AsyncIterator[bytes]:
    async with aiofiles.open('large_file.txt', 'rb') as f:
        async for chunk in f:
            yield chunk

FastAPI Patterns

python
from fastapi import FastAPI, Depends, HTTPException
from pydantic import BaseModel

app = FastAPI()

class UserCreate(BaseModel):
    email: str
    name: str

class UserResponse(BaseModel):
    id: int
    email: str
    name: str

@app.post("/users", response_model=UserResponse)
async def create_user(
    user: UserCreate,
    db: Database = Depends(get_db)
) -> UserResponse:
    result = await db.users.create(user.model_dump())
    return UserResponse(**result)

Testing

python
import pytest
from unittest.mock import AsyncMock, patch

@pytest.fixture
def mock_db():
    db = AsyncMock()
    db.users.get.return_value = {"id": 1, "name": "Test"}
    return db

@pytest.mark.asyncio
async def test_get_user(mock_db):
    result = await get_user(1, db=mock_db)
    assert result["name"] == "Test"
    mock_db.users.get.assert_called_once_with(1)

Best Practices

  • Use ruff for linting and formatting
  • Use mypy with strict mode
  • Prefer pathlib.Path over os.path
  • Use dataclasses or Pydantic for data structures
  • Use asyncio for I/O-bound operations
  • Use contextlib.asynccontextmanager for async resources

© julianromli, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skill/python-development of julianromli/opencode-template.

Open the folder on GitHubat commit 37ceab2

Compare with similar skills

Python Development 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 Development compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Python Development this skilljulianromli/opencode-template144—~722Automated safety check: PassMIT
Fix Slow Endpointvpcarlos/profyle123—~2.1kAutomated safety check: PassMIT
Framework Migration AssistantArabelaTso/Skills-4-SE253—~1.9kAutomated safety check: PassApache-2.0
Sentry Python SDKgetsentry/sentry-for-ai268—~4.1kAutomated safety check: PassApache-2.0
Python PatternsxenitV1/Antigravity-Workflows1307 repos~2.2kAutomated safety check: PassMIT
Python Appservice Deploymicrosoft/GitHub-Copilot-for-Azure2551 repos~688Automated safety check: PassMIT

Similar skills

  • Fix Slow Endpoint

    vpcarlos/profyle

    Diagnose and fix a slow endpoint or request in a Python web app (FastAPI, Flask, Django, Tornado, any ASGI/WSGI framework) using real Profyle/VizTracer traces, then prove the fix by replaying the…

    123 GitHub stars~2.1k tokensUpdated 2 days ago
    Backend & APIsAuto-check passed
  • Framework Migration Assistant

    ArabelaTso/Skills-4-SE

    Automatically migrate Python web applications between frameworks (Flask → FastAPI, Django → FastAPI).

    253 GitHub stars~1.9k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed
  • Sentry Python SDK

    getsentry/sentry-for-ai

    Official

    Full Sentry SDK setup for Python. An agent skill from getsentry/sentry-for-ai.

    268 GitHub stars~4.1k tokensUpdated today
    Backend & APIsAuto-check passed
  • Python Patterns

    xenitV1/Antigravity-Workflows

    Python development principles and decision-making. An agent skill from xenitV1/Antigravity-Workflows.

    130 GitHub starsUsed in 7 repos~2.2k tokens
    Backend & APIsAuto-check passed
  • Python Appservice Deploy

    microsoft/GitHub-Copilot-for-Azure

    Official

    Deploy Python (Flask/Django/FastAPI) code to Azure App Service Linux.

    255 GitHub starsUsed in 1 repo~688 tokens
    Backend & APIsAuto-check passed
  • Python Development

    sickn33/agentic-awesome-skills

    You are a Python project architecture expert specializing in scaffolding production-ready Python applications.

    47k GitHub starsUsed in 1 repo~477 tokens
    Backend & APIsAuto-check passed

More from julianromli/opencode-template

All 16 skills in this repo
  • Using Git Worktrees

    julianromli/opencode-template

    A skill your agent uses when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory…

    144 GitHub starsUsed in 27 repos~1.4k tokens
    Auto-check passed
  • Ralph

    julianromli/opencode-template

    Autonomous agent loop for completing features. An agent skill from julianromli/opencode-template.

    144 GitHub starsUsed in 1 repo~1.1k tokens
    Auto-check passed
  • Rsc Data Optimizer

    julianromli/opencode-template

    Optimize Next.js App Router data fetching by converting slow client-side fetching to fast server-side fetching using React Server Components (RSC).

    144 GitHub starsUsed in 1 repo~805 tokens
    Auto-check passed
  • Shadcn Management

    julianromli/opencode-template

    Manage shadcn/ui components using MCP tools. An agent skill from julianromli/opencode-template.

    144 GitHub starsUsed in 1 repo~733 tokens
    Auto-check passed
  • Frontend UI Animator

    julianromli/opencode-template

    Analyze and implement purposeful UI animations for Next.js + Tailwind + React projects.

    144 GitHub stars~1.2k tokensUpdated 8 mo ago
    Auto-check passed
  • Agents Md Generator

    julianromli/opencode-template

    Generate hierarchical AGENTS.md structures for codebases. An agent skill from julianromli/opencode-template.

    144 GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check: notes

Categories

Questions about Python Development

What does Python Development do?

Modern Python development with Python 3.12+, Django, FastAPI, async patterns, and production best practices. Python Development is an agent skill from julianromli/opencode-template.12+, Django, FastAPI, async patterns, and production best practices.

When should I use Python Development?

Python Development fits situations like: Python projects; data processing; automation scripts.

How do I install Python Development in Claude Code?

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

How do I install Python Development in Codex?

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

Can I use Python Development 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 julianromli/opencode-template --skill python-development -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-development, .gemini/skills/python-development, .github/skills/python-development and .opencode/skills/python-development in your project.

What does Python Development need to run?

SKILL.md names no scripts, command-line tools or credentials: Python Development is instructions for the agent only. Our summary lists: Python 3.

Does Python Development 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 Development 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 Development use?

Python Development is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Python Development use?

About 722 tokens (SKILL.md is roughly 2.9k 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 Development?

Skills that share tags, products or a category with Python Development: Fix Slow Endpoint (vpcarlos/profyle, 123 stars), Framework Migration Assistant (ArabelaTso/Skills-4-SE, 253 stars), Sentry Python SDK (getsentry/sentry-for-ai, 268 stars) and Python Patterns (xenitV1/Antigravity-Workflows, 130 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Python Development?

julianromli (a GitHub user) maintains it in julianromli/opencode-template, which has 144 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on February 3, 2026.

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