MC

manikosto/claude-code-python-stack

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

53 stars 品質 40 トレンド 13

Complete Python toolkit for Claude Code — 20 skills, 11 agents, 11 commands for FastAPI, Django, SQLAlchemy, pytest, Allure, PostgreSQL, Redis, ClickHouse, Docker and more

概要

A that supercharges Claude Code for Python development and QA automation. Once you drop it into your project, Claude Code instantly becomes a senior Python engineer who follows your team's exact standards. — Claude Code is a smart generalist. — Claude Code writes Pythonic code, designs architectures, generates OOP test suites with Allure, reviews for OWASP vulnerabilities, and follows your exact conventions. When you run Claude Code in a project, it reads special files from a .claude/ directory: This toolkit provides all of these components, pre-configured for Python. The . Sits in your project root. Claude reads it at the start of every conversation and follows it as law. Our CLAUDE.

README

以下は原文 README の抜粋です。原文を見る。

Python Stack for Claude Code

English | Русский


What Is This?

A ready-to-use toolkit that supercharges Claude Code for Python development and QA automation. Once you drop it into your project, Claude Code instantly becomes a senior Python engineer who follows your team’s exact standards.

Without this toolkit — Claude Code is a smart generalist. With this toolkit — Claude Code writes Pythonic code, designs architectures, generates OOP test suites with Allure, reviews for OWASP vulnerabilities, and follows your exact conventions.

How Claude Code Configuration Works

When you run Claude Code in a project, it reads special files from a .claude/ directory:

your-project/
├── CLAUDE.md              # Main instructions — "the brain"
├── .claude/
│   ├── rules/             # Always-on guidelines (activate by file type)
│   ├── skills/            # Deep knowledge (activated when context matches)
│   ├── agents/            # Specialized sub-agents (reviewers, planners, etc.)
│   ├── commands/          # Slash commands you type (/plan, /tdd, /verify)
│   └── hooks.json         # Automatic actions (format on save, type check)
└── src/

This toolkit provides all of these components, pre-configured for Python.


Components Explained

CLAUDE.md — The Brain

The single most important file. Sits in your project root. Claude reads it at the start of every conversation and follows it as law.

Our CLAUDE.md includes:

  • Python conventions (PEP 8, type hints, black/ruff/mypy)
  • Strict OOP test rules (classes, service layers, Allure — mandatory)
  • Framework rules (FastAPI, Django, SQLAlchemy, Celery)
  • Database rules (PostgreSQL types, indexes, N+1 prevention)
  • Security rules (no eval, no hardcoded secrets, bandit)
  • All available commands and agents listed

Think of it as: an onboarding doc for a new team member. Everything they must always follow.


Rules — Always-On Guidelines

Location: rules/ → copy to .claude/rules/

Markdown files that auto-activate by file pattern. Edit a .py file — Python rules kick in automatically.

---
paths:
  - "**/*.py"
---
# Python Coding Style
- Follow PEP 8
- Type annotations on all public functions
- black for formatting, ruff for linting
File What It Enforces
coding-style.md PEP 8, type hints, immutability, formatting tools
patterns.md Protocol classes, dataclasses, context managers
security.md Secrets via env vars, bandit scanning
testing.md pytest, 80%+ coverage, test markers
hooks.md Auto-format after edit, mypy, print() warnings

Rules vs CLAUDE.md: CLAUDE.md = always on for everything. Rules = activate conditionally by file type.


Skills — Deep Knowledge On Demand

Location: skills/ → copy to .claude/skills/

GitHub で README 全文を見る

推奨ツール

別のキーワードを試すか、フィルタを外してください。

インストール

npx skillfish add manikosto/claude-code-python-stack
MCP 初心者?mcpskill.org のガイドから始めましょう →