developer-kit-python — плагин для Claude Code
Плагин developer-kit-python для Claude Code добавляет четыре субагента, два скилла и правила для Python-проектов: для ревью и рефакторинга кода, аудита безопасности, архитектуры и деплоя в AWS Lambda.
MIT ★ 372 обновлён 2026-09-10
/plugin marketplace add giuseppe-trisciuoglio/developer-kit
/plugin install developer-kit-python@developer-kitЧто делает developer-kit-python
Плагин добавляет в Claude четыре субагента под Python. python-code-review-expert проверяет код на соответствие PEP, python-refactor-expert переписывает его по принципам чистого кода, python-security-expert ищет дыры по OWASP и уязвимые зависимости, python-software-architect-expert разбирает архитектуру и оценивает запас по нагрузке.
Два скилла закрывают решения покрупнее: clean-architecture отвечает за слоистую, гексагональную архитектуру и DDD, aws-lambda-python-integration — за деплой в Lambda через Chalice или на голом обработчике. Четыре правила (error-handling, language-best-practices, naming-conventions, project-structure) включаются сами на файлах **/*.py, поэтому за обработку исключений и типизацию следит не только агент.
Без developer-kit-core плагин не развернётся, его ставят первым. Подсказки в редакторе требуют бинарников LSP: pip install pyright или pip install python-lsp-server, отдельной командой. Ориентир по версии языка — Python 3.11+, минимум 3.8.
Какие задачи решает
- прогнать модуль через ревью по PEP 8 и PEP 484
- разложить запутанный код по слоям Clean Architecture
- найти в зависимостях уязвимости из CVE
- упаковать обработчик в AWS Lambda через Chalice
- переименовать модули и классы под PEP 8
Примеры запросов агенту
- Отревьюи
payments/service.pyчерезpython-code-review-expertи покажи, где типы указаны неверно. - Примени скилл
/clean-architectureк пакетуapp/и предложи, как разделить слои. - Проверь код авторизации на дыры из OWASP с
python-security-expert.
Как установить developer-kit-python
Через маркетплейс плагинов
/plugin marketplace add giuseppe-trisciuoglio/developer-kit/plugin install developer-kit-python@developer-kitПо шагам, с командами для каждой платформы: Плагины Claude Code: маркетплейсы, установка и как собрать свой
Вопросы о developer-kit-python
Как установить developer-kit-python в Claude Code?
Через маркетплейс: сначала /plugin marketplace add giuseppe-trisciuoglio/developer-kit, затем /plugin install developer-kit-python@developer-kit.
Что делает developer-kit-python?
Даёт Claude субагентов, скиллы и правила под Python: ревью, рефакторинг, аудит безопасности, проектирование архитектуры и деплой в AWS Lambda.
Что нужно, чтобы плагин заработал?
Обязателен developer-kit-core. Для LSP-подсказок отдельно ставятся pyright или python-lsp-server.
Исходный текст
developer-kit-python · MIT
# Developer Kit Python Plugin Comprehensive Python development capabilities for Claude Code. ## Overview The `developer-kit-python` plugin provides specialized Python development tools including code review, refactoring, security assessment, architectural guidance, and production-ready patterns. It supports modern Python (3.11+) with focus on clean architecture, AWS Lambda integration, and best practices. ## Components ### Agents (4) | Agent | Purpose | |-------|---------| | `python-code-review-expert` | Code quality review and PEP standards compliance | | `python-refactor-expert` | Clean code refactoring and design patterns | | `python-security-expert` | Security vulnerability assessment (OWASP, CVEs) | | `python-software-architect-expert` | Architecture design and scalability evaluation | ### Skills (2) | Skill | Purpose | |-------|---------| | `clean-architecture` | Clean Architecture, Hexagonal Architecture, and DDD patterns | | `aws-lambda-python-integration` | AWS Lambda deployment with Chalice and raw Python approaches | ### Rules (4) Rules activate automatically for all `**/*.py` files: | Rule | Purpose | |------|---------| | `error-handling` | Exception hierarchies, logging, and recovery patterns | | `language-best-practices` | Modern Python (3.11+) patterns, type hints, async | | `naming-conventions` | PEP 8 naming standards for modules, classes, functions | | `project-structure` | Modular project organization and layer separation | ### LSP Servers The plugin includes LSP configuration for Python IDE support: - **pyright-langserver**: Fast, Microsoft TypeScript-based language server - **pylsp**: Python Language Server Protocol implementation > **Note:** LSP binaries must be installed separately. Install with: `pip install pyright` or `pip install python-lsp-server` ## Installation This plugin requires `developer-kit-core`: ```bash claude plugin install ./plugins/developer-kit-python --scope project ``` ## Quick Start 1. **Review Python code**: Claude automatically invokes `python-code-review-expert` for code reviews 2. **Refactor Python code**: Use `python-refactor-expert` for clean code improvements 3. **Security audit**: Invoke `python-security-expert` for vulnerability assessment 4. **Design architecture**: Use `python-software-architect-expert` for architectural decisions 5. **Apply patterns**: Use `/clean-architecture` skill for layered architecture guidance 6. **Deploy to AWS**: Use `/aws-lambda-python-integration` for Lambda deployment patterns ## Documentation | Guide | Content | |-------|---------| | [Agent Guide](./docs/guide-agents.md) | Detailed documentation for all 4 agents | | [Skills Guide](./docs/guide-skills-architecture.md) | Architecture patterns for both skills | | [Rules Reference](./docs/guide-rules.md) | Python coding rules and best practices | ## Key Features ### Code Quality - PEP 8 and PEP 484 compliance - Python 3.8+ idioms and patterns - Code complexity assessment - Type hints validation ### Refactoring - Clean code principles - Design pattern implementation - Legacy code migration - Complexity reduction ### Security - OWASP Top 10 vulnerability detection - CVE scanning for dependencies - Authentication/authorization review - Secure coding practices ### Architecture - Clean Architecture implementation - Hexagonal Architecture (Ports & Adapters) - Domain-Driven Design patterns - Dependency injection patterns ### AWS Lambda - AWS Chalice framework integration - Raw Python minimal handlers - Cold start optimization (< 100ms) - SAM and Serverless Framework deployment ## Technology Stack - **Python**: 3.11+ (recommended), 3.8+ (minimum) - **Web Frameworks**: FastAPI, Flask, Django - **AWS**: Lambda, API Gateway, Chalice, boto3 - **ORM**: SQLAlchemy (async), Django ORM - **Validation**: Pydantic - **Testing**: pytest, pytest-asyncio, moto ## See Also - [Core Plugin Documentation](../developer-kit-core/docs/) - Core guides and shared patterns - [TypeScript Plugin Documentation](../developer-kit-typescript/docs/) - NestJS, React, and Next.js - [Java Plugin Documentation](../developer-kit-java/docs/) - Spring Boot and JVM patterns - [AI Plugin Documentation](../developer-kit-ai/docs/) - RAG and prompt engineering
© Giuseppe Trisciuoglio · MIT · giuseppe-trisciuoglio/developer-kit