agentleFS
rishapgandhirishapgandhi/python-skills/.agents/skills/python-standards/SKILL.md

python-standards

Skill4 starsChanged 7 months agoMITView on GitHub

AurigaIT Python AI-SDLC enterprise coding standards

7 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read skills/common/code-style.md — always loaded.

    line 21
  2. Distinctive:

    Follow layer discipline: API → Service → Repository → Model.

    line 23
  3. Distinctive:

    No hardcoded secrets — pydantic-settings only

    line 29
  4. Distinctive:

    All endpoints authenticated unless explicitly public

    line 33
  5. Very specific:

    Never bare except: — catch specific exceptions

    line 34

“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Python AI-SDLC Standards

Overview

This skill provides the AurigaIT Python enterprise coding standards. All code generated must follow these standards.

Prerequisites

  • Python 3.11+ project
  • One of: FastAPI, Django, DRF, or Flask

Instructions

Before Writing Code

  1. Read skills/common/code-style.md — always loaded.
  2. Identify the framework and read skills/{framework}/SKILL.md.
  3. Follow layer discipline: API → Service → Repository → Model.

Non-Negotiable Rules

  • 4 spaces indentation, no tabs
  • Full type annotations on all function signatures
  • No hardcoded secrets — pydantic-settings only
  • structlog for all logging — never print()
  • ORM/repository for DB access — no raw SQL unless parameterised
  • Tests mandatory — 80% coverage minimum
  • All endpoints authenticated unless explicitly public
  • Never bare except: — catch specific exceptions
  • Monetary values: Decimal, never float

Skill Files

Load from skills/common/ based on task:

TaskFile
Any Pythoncode-style.md
New projectfolder-structure.md
Errorserror-handling.md
Logginglogging.md
Securitysecurity.md, api-auth.md
Teststesting.md
Databasedb-design.md, data-migrations.md
Performanceperformance.md
CI/CDci-cd.md
Deploydeployment.md
Monitoringobservability.md
Async/Eventsasync-patterns.md
Multi-servicemicroservices.md
Feature flagsfeature-flags.md
Dependenciesdependency-management.md
LLM/AIllm-patterns.md

Rules

  • rules/api-design.md — REST conventions
  • rules/git-workflow.md — Branching, releases
  • rules/code-review.md — Review process

Verification

  • Code passes ruff check .
  • Code passes mypy app/ --strict
  • Tests pass with pytest --cov-fail-under=80

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.