stack-python

Enforce Python coding style, patterns, testing, and security rules before edits.

2|Updated Apr 10, 2026
One-click install
npx skills add https://github.com/t0lab/harness-kit --skill stack-python-t0lab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stack-python
Source: https://github.com/t0lab/harness-kit/tree/main/packages/harness-kit/skills/stack-python
Command: npx skills add https://github.com/t0lab/harness-kit --skill stack-python-t0lab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Python code changes risk breaking style, patterns, tests, and security guarantees unless a shared baseline is applied. This Skill loads and enforces a comprehensive set of rules before edits to ensure consistency and safety.

Core Features & Use Cases

  • Load coding style, patterns, testing, and security rules from .claude/rules/stack-python/ before edits.
  • Enforce consistency across Python projects and frameworks.
  • Use in code reviews or pre-commit workflows to validate changes.
  • Use Case: When editing a Django or FastAPI module, run stack-python rules to ensure proper naming, structure, tests exist, and security checks are satisfied prior to commit.

Quick Start

Ask the system to apply stack-python rules to the Python file you are about to edit.

Frequently Asked Questions about stack-python

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce Python coding standards before editing files?

To enforce Python coding standards before edits, load rules for naming conventions, coding patterns, and security checks from a shared configuration directory. This ensures consistent style and safety across Python files prior to any modifications.

What is the best way to check Python code security and patterns during reviews?

Checking Python code security and patterns during reviews involves applying a baseline of testing structures and security rules. This validates changes against shared project standards before committing modifications.

Does this Python coding style enforcement work with Django and FastAPI?

Yes, Python coding style enforcement works with Django and FastAPI by applying framework-agnostic rules. It ensures proper naming, structure, and security checks are satisfied across multiple Python frameworks before commits.

Can I run linting and testing rules automatically in a pre-commit workflow?

Yes, you can run linting and testing rules in a pre-commit workflow to validate changes. The system loads defined rules to ensure coding style, patterns, and security checks pass prior to modifying Python code.

Do I need to configure rules manually to enforce Python coding style?

You need to place configuration files in the designated rules directory to enforce Python coding style. The system then loads these defined rules automatically to apply standards before any code editing session begins.