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.1.tar.gz (554.9 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.1-py3-none-any.whl (589.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for open_python_skills-0.1.3.1.tar.gz
Algorithm Hash digest
SHA256 16deccd6b1bda128c63db465c8a06be8083b8204b120558eed3777b0a21e68ce
MD5 54fd7c83a6be9c3594e34b4344419414
BLAKE2b-256 3b875c6cdc621112a804f3ded14b29da268c156543fcfe96eaecf694b7d4e63b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for open_python_skills-0.1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8282f010c0d84a35797cb8e84a29e8b14458735cd4747d034d6c4f0436852d35
MD5 9503b47ccc3ee85772cd34d38c027eaa
BLAKE2b-256 dd97911efa2a1cd3b5d88f5800a4c3e4e1a4705c784155826363b6e461bce4eb

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