Skip to main content

AI skill for Python backend development - FastAPI, SQLAlchemy, Redis, security patterns

Project description

Open Python Skills

CLI tool to install AI coding skills to your projects. Currently includes:

  • python-backend - FastAPI, SQLAlchemy, Redis, security patterns
  • commit-message - Git commit message analysis and batch commit suggestions
  • excalidraw-ai - AI-powered Excalidraw diagram generator from text descriptions

Quick Start

# Install all skills to your project (no pip install needed)
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 IDEs

Available Skills

Skill Description
python-backend FastAPI, SQLAlchemy, Redis, security, performance patterns
commit-message Analyze git changes and generate conventional commit messages
excalidraw-ai Generate Excalidraw diagrams from natural language descriptions

What It Does

Running init copies skill files to your project:

your-project/
├── .shared/
│   ├── python-backend/
│   │   ├── SKILL.md
│   │   ├── data/*.json
│   │   └── scripts/knowledge_db.py
│   └── commit-message/
│       ├── SKILL.md
│       ├── data/*.json
│       └── scripts/analyze_changes.py
│   └── excalidraw-ai/
│       ├── SKILL.md
│       ├── data/*.json
│       └── scripts/excalidraw_generator.py
├── .cursor/commands/     # (if --cursor)
│   ├── kb-search.md
│   └── commit-batch.md
│   └── excalidraw.md
└── ...

Skills Overview

python-backend

Searchable knowledge base for Python backend development.

# Search knowledge database
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, deslop, template

commit-message

Analyze git changes and generate context-aware commit messages.

# 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"

Features:

  • Conventional commit format (feat, fix, refactor, docs, etc.)
  • Automatic grouping by directory/module
  • Batch commit suggestions for large changesets

excalidraw-ai

Generate Excalidraw diagrams from natural language descriptions.

# 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

# Generate backend architecture from a Python project (context-aware)
python3 .shared/excalidraw-ai/scripts/excalidraw_generator.py --project . --type architecture --output backend_arch.json

Types: flowchart, architecture, mindmap

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

open_python_skills-0.1.3.4.tar.gz (526.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

open_python_skills-0.1.3.4-py3-none-any.whl (562.8 kB view details)

Uploaded Python 3

File details

Details for the file open_python_skills-0.1.3.4.tar.gz.

File metadata

File hashes

Hashes for open_python_skills-0.1.3.4.tar.gz
Algorithm Hash digest
SHA256 e804fd4b1b0b8e363b9cf4daa2500f3a4d43f6c103ebd776ec4fa29aa1a6a608
MD5 a03124394f2f55bb6259533c57b02f87
BLAKE2b-256 085dcb4ad5e9826cf2f96f94e9d584be09d9e04ed6f4d8d125a198637d93643a

See more details on using hashes here.

File details

Details for the file open_python_skills-0.1.3.4-py3-none-any.whl.

File metadata

File hashes

Hashes for open_python_skills-0.1.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5964898c3b4c709804e9f9721bc4414d2d9adf4b5dfef8f95bcb2a035d691873
MD5 9b88414d1d449317a35a52bd43745e09
BLAKE2b-256 16bf0b5a0b043017836e3b615abdba24a09930a00e79ccd04fca2aed39885adc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page