python-development-python-scaffold
What it does
This agent creates the basic structure for a Python project. It organizes the necessary files and folders to start developing, whether for building a website, a command-line tool, or a library.
When to use it
- βWhen starting a new Python project.
- βWhen you need an organized structure for your code.
- βTo ensure your project follows development best practices.
Skill link
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/python-development-python-scaffold/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βCreate a FastAPI project for a web API.β
5 new skills a week. 1 minute to read.
How it works
The agent analyzes the project type you want (API, website, library, etc.) and generates the corresponding folder and file structure. It also configures essential development tools.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Python Project Scaffolding
You are a Python project architecture expert specializing in scaffolding production-ready Python applications. Generate complete project structures with modern tooling (uv, FastAPI, Django), type hints, testing setup, and configuration following current best practices.
Use this skill when
- Working on python project scaffolding tasks or workflows
- Needing guidance, best practices, or checklists for python project scaffolding
Do not use this skill when
- The task is unrelated to python project scaffolding
- You need a different domain or tool outside this scope
Context
The user needs automated Python project scaffolding that creates consistent, type-safe applications with proper structure, dependency management, testing, and tooling. Focus on modern Python patterns and scalable architecture.
Requirements
$ARGUMENTS
Instructions
1. Analyze Project Type
Determine the project type from user requirements:
- FastAPI: REST APIs, microservices, async applications
- Django: Full-stack web applications, admin panels, ORM-heavy projects
- Library: Reusable packages, utilities, tools
- CLI: Command-line tools, automation scripts
- Generic: Standard Python applications
2. Initialize Project with uv
# Create new project with uv
uv init <project-name>
cd <project-name>
# Initialize git repository
git init
echo ".venv/" >> .gitignore
echo "*.pyc" >> .gitignore
echo "__pycache__/" >> .gitignore
echo ".pytest_cache/" >> .gitignore
echo ".ruff_cache/" >> .gitignore
# Create virtual environment
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
3. Generate FastAPI Project Structure
fastapi-project/
βββ pyproject.toml
βββ README.md
βββ .gitignore
βββ .env.example
βββ src/
β βββ project_name/
β βββ __init__.py
β βββ main.py
β βββ config.py
β βββ api/
β β βββ __init__.py
β β βββ deps.py
β β βββ v1/
β β β βββ __init__.py
β β β βββ endpoints/
β β β β βββ __init__.py
β β β β βββ users.py
β β β β βββ health.py
β β β βββ router.py
β βββ core/
β β βββ __init__.py
β β βββ security.py
β β βββ database.py
β βββ models/
β β βββ __init__.py
β β βββ user.py
β βββ schemas/
β β βββ __init__.py
β β βββ user.py
β βββ services/
β βββ __init__.py
β βββ user_service.py
βββ tests/
βββ __init__.py
βββ conftest.py
βββ api/
βββ __init__.py
βββ test_users.py
pyproject.toml:
[project]
name = "project-name"
version = "0.1.0"
description = "FastAPI project description"
requires-python = ">=3.11"
dependencies = [
"fastapi>=0.110.0",
"uvicorn[standard]>=0.27.0",
"pydantic>=2.6.0",
"pydantic-settings>=2.1.0",
"sqlalchemy>=2.0.0",
"alembic>=1.13.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"httpx>=0.26.0",
"ruff>=0.2.0",
]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
src/project_name/main.py:
from fastapi import FastAPI
from fastapi.middleware.cors import CORSMiddleware
from .api.v1.router import api_router
from .config import settings
app = FastAPI(
title=settings.PROJECT_NAME,
version=settings.VERSION,
openapi_url=f"{settings.API_V1_PREFIX}/openapi.json",
)
app.add_middleware(
CORSMiddleware,
allow_origins=settings.ALLOWED_ORIGINS,
allow_credentials=True,
allow_methods=["*"],
allow_headers=["*"],
)
app.include_router(api_router, prefix=settings.API_V1_PREFIX)
@app.get("/health")
async def health_check() -> dict[str, str]:
return {"status": "healthy"}
4. Generate Django Project Structure
# Install Django with uv
uv add django django-environ django-debug-toolbar
# Create Django project
django-admin startproject config .
python manage.py startapp core
pyproject.toml for Django:
[project]
name = "django-project"
version = "0.1.0"
requires-python = ">=3.11"
dependencies = [
"django>=5.0.0",
"django-environ>=0.11.0",
"psycopg[binary]>=3.1.0",
"gunicorn>=21.2.0",
]
[project.optional-dependencies]
dev = [
"django-debug-toolbar>=4.3.0",
β¦
FAQ
What types of projects can it create?
It can create projects for web APIs with FastAPI, full-stack web applications with Django, reusable libraries, command-line tools (CLI), and generic Python projects.
What are 'type hints'?
They are annotations in the code that indicate the expected data type (like text or numbers), helping to prevent errors and making the code easier to understand.
What is 'scaffolding'?
It's the process of automatically generating the basic structure of a project, saving time and ensuring conventions are followed.
Details
Original description by the author
You are a Python project architecture expert specializing in scaffolding production-ready Python applications. Generate complete project structures with modern tooling (uv, FastAPI, Django), type hint
Popularity
- GitHub stars
- 48k
- Ranking position
- #5545
- License
- MIT
- Updated
- 10/15/2026
Comments
- β¦
More skills from this repository
00-andruia-consultant
48kHelps your agent start or improve AI projects. It analyzes code, suggests tools, and creates action plans in Spanish.
007
48kLets your agent perform security audits and threat modeling. It's useful for protecting projects against attacks and vulnerabilities.
10-andruia-skill-smith
48kHelps your agent create or improve AI tools. It defines how tools work, writes documentation, and validates the structure.
20-andruia-niche-intelligence
48kLets your agent create a summary about a specific industry. It's useful for understanding the context, rules, usage patterns, and risks of a project, using reliable sources.
Similar skills
api-connector-builder
280kHas your agent build new API connections following the existing pattern. Use when you need to add one more integration without creating a new way of doing things.
api-design
280kHelps your agent design REST APIs following best practices. It's useful for defining how APIs communicate, how errors are shown, and how to organize data.
backend-patterns
280kHelps your agent with server-side architecture patterns and database optimization. It's useful for building or reviewing code that runs on the server.