AI skill for Python backend development - FastAPI, SQLAlchemy, Redis, security patterns
Project description
Open Python Skills
๐ง Supercharge your AI code editor with Python development skills
One command to make Cursor / Claude Code / Windsurf / Kiro / Copilot understand FastAPI best practices, commit conventions, architecture diagrams, and type checking.
Why Use This?
| Scenario | Before ๐ | After โจ |
|---|---|---|
| Writing commits | fix stuff |
feat(auth): add JWT refresh token rotation |
| Drawing architecture | Spend 2 hours in draw.io | Describe it, AI generates Excalidraw |
| Asking FastAPI questions | AI gives outdated answers | AI searches local knowledge base |
| Type checking | # type: ignore everywhere |
ty handles it, zero errors |
Quick Start
# No pip install needed, just run with uvx
uvx open-python-skills init --cursor # Cursor
uvx open-python-skills init --claude # Claude Code
uvx open-python-skills init --windsurf # Windsurf
uvx open-python-skills init --kiro # Kiro
uvx open-python-skills init --copilot # GitHub Copilot
uvx open-python-skills init --all # All of them!
Available Skills
| Skill | What It Does |
|---|---|
python-backend |
FastAPI + SQLAlchemy + Redis + Security patterns |
commit-message |
Analyze git changes, generate conventional commits |
excalidraw-ai |
Generate diagrams from natural language |
ty-skills |
Complete guide for Astral's ty type checker |
Skill Details
๐ง python-backend โ Python Backend Knowledge Base
Includes
- ๐ FastAPI best practices
- ๐ Security patterns (JWT, CORS, Rate Limiting)
- ๐๏ธ SQLAlchemy database patterns
- โก Redis / Upstash caching strategies
- ๐ Performance optimization tips
Usage
# Search knowledge base
python3 .shared/python-backend/scripts/knowledge_db.py "jwt authentication"
# Filter by category
python3 .shared/python-backend/scripts/knowledge_db.py "caching" --category upstash
Categories: fastapi security database upstash performance api template
๐ commit-message โ Smart Git Commit Generator
Features
- โ
Conventional Commits format (
feat,fix,refactor, etc.) - โ Auto-grouping by directory/module
- โ Batch commit suggestions for large changesets
Usage
# Analyze all changes
python3 .shared/commit-message/scripts/analyze_changes.py --analyze
# Get batch commit suggestions
python3 .shared/commit-message/scripts/analyze_changes.py --batch
# Generate message for specific files
python3 .shared/commit-message/scripts/analyze_changes.py --generate "src/*.py"
๐จ excalidraw-ai โ AI Diagram Generator
Features
- โ Natural language โ Excalidraw JSON
- โ Supports flowcharts, architecture diagrams, mindmaps
- โ Can analyze project code to auto-generate architecture
Usage
# Generate flowchart
python3 .shared/excalidraw-ai/scripts/excalidraw_generator.py "User Login -> Auth -> Access Data" --type flowchart
# Generate architecture diagram
python3 .shared/excalidraw-ai/scripts/excalidraw_generator.py "API Gateway -> Microservice -> Database" --type architecture
# Analyze project and generate architecture
python3 .shared/excalidraw-ai/scripts/excalidraw_generator.py --project . --type architecture --output arch.json
Types: flowchart architecture mindmap
๐ ty-skills โ Python Type Checking Guide
Includes
- ๐
typing_cheatsheet.mdโ Quick reference for Python typing - ๐
ty_rules_reference.mdโ All ty error codes and fixes - ๐
migration_guide.mdโ Migrating from mypy/pyright - ๐
advanced_patterns.mdโ Advanced typing patterns - ๐
common_errors.mdโ Common errors and solutions - ๐
editor_setup/โ VSCode / Cursor / Neovim setup guides
Project Structure After Install
your-project/
โโโ .shared/ # Skills (shared across all IDEs)
โ โโโ python-backend/
โ โโโ commit-message/
โ โโโ excalidraw-ai/
โ โโโ ty-skills/
โโโ .cursor/commands/ # Cursor commands
โโโ .claude/ # Claude Code config
โโโ .windsurf/rules.md # Windsurf rules
โโโ .kiro/rules.md # Kiro rules
โโโ .github/copilot/instructions.md # Copilot instructions
CLI Commands
open-python-skills init [--cursor|--claude|--windsurf|--all] # Install skills
open-python-skills search "query" # Search knowledge
open-python-skills get <entry-id> # Get full entry
open-python-skills categories # List categories
open-python-skills stats # Show statistics
Requirements
- Python 3.8+
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file open_python_skills-0.1.5.tar.gz.
File metadata
- Download URL: open_python_skills-0.1.5.tar.gz
- Upload date:
- Size: 527.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b3dfc7de6d02a87160ce3a8ec5604c107027e1cc8591d385efbcde90d29ed7c
|
|
| MD5 |
7002fdb19c8da3a2496ba6c9ea0d868b
|
|
| BLAKE2b-256 |
bb7db054d246bd66bbb54a731aca789e92eb1e6ebc3c23f754cc0eac9443a6e4
|
File details
Details for the file open_python_skills-0.1.5-py3-none-any.whl.
File metadata
- Download URL: open_python_skills-0.1.5-py3-none-any.whl
- Upload date:
- Size: 564.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96f0ac59dae92a3ceba0b5d1b3f1bf5bf200587e319caf55d113f434ceb92ef4
|
|
| MD5 |
7d1f4810cbbfdde8fcf5e3aa82f01312
|
|
| BLAKE2b-256 |
0d52bd2addf0fabded0328458aec046465779aaf1cae6b4c5710eaae58f7d987
|