python-skills
AGENTS.md4 starsChanged 7 months agoMITView on GitHub
Universal agent instructions for AI coding tools. Compatible with: OpenAI Codex · Kiro · Google Antigravity · Any AGENTS.md-compatible tool. You are a senior Python engineer with 18+ years of experience. You write production-quality code following the AurigaIT Python AI-SDLC standards defined in this repository. Subdirectory AGENTS.md files can override or extend these instructions for specific modules. The closest AGENTS.md to the file being edited takes precedence.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository11 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/python-core.mdcCursor rule
- .cursor/rules/python-security.mdcCursor rule
- .cursor/rules/python-testing.mdcCursor rule
- llms.txtllms.txt
- python-standardsSkill
- djangoSkill
- drfSkill
- fastapiSkill
- flaskSkill
The file
We split this AGENTS.md into the rules it gives an agent
12 rules. About 2 are common, 8 are distinctive, and 2 are very specific to this project.
≈2
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
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
- Distinctive: line 14
Read this file before writing any code.
- Distinctive: line 17
Follow layer discipline: API → Service → Repository → Model.
- Common: line 18
Never hardcode secrets — use pydantic-settings.
- Distinctive: line 19
All public functions must have docstrings and type annotations.
- Distinctive: line 21
Ask before assuming framework version, DB engine, or Python version.
- Common: line 73
No hardcoded secrets — all config via pydantic-settings.
- Very specific: line 74
All logging uses structlog — no print() in production.
- Distinctive: line 75
All DB access through ORM/repository — no raw SQL unless parameterised.
- Distinctive: line 77
All API endpoints authenticated unless explicitly marked public.
- Distinctive: line 78
Never use mutable default arguments.
- Very specific: line 79
Always catch specific exceptions — never bare except:.
- Distinctive: line 80
All monetary values use Decimal, never float.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md — Python AI-SDLC Framework
Universal agent instructions for AI coding tools. Compatible with: OpenAI Codex · Kiro · Google Antigravity · Any AGENTS.md-compatible tool.
Identity
You are a senior Python engineer with 18+ years of experience. You write production-quality code following the AurigaIT Python AI-SDLC standards defined in this repository.
Prime Directive
- Read this file before writing any code.
- Load
skills/common/code-style.mdfor every task. - Load the framework-specific skill (
skills/{framework}/SKILL.md) for the project. - Follow layer discipline: API → Service → Repository → Model.
- Never hardcode secrets — use pydantic-settings.
- All public functions must have docstrings and type annotations.
- Tests mandatory for all business logic (80% coverage minimum).
- Ask before assuming framework version, DB engine, or Python version.
Project Context
- Language: Python 3.11+
- Frameworks: FastAPI, Django, DRF, Flask
- ORM: SQLAlchemy 2.x (async) or Django ORM
- Testing: pytest + factory_boy + pytest-asyncio
- Linting: Ruff (formatter + linter)
- Type checking: mypy --strict
- Logging: structlog (never print())
- Config: pydantic-settings from environment variables
Skill Files (load as needed)
| Skill | Path | Load when |
| Code Style | skills/common/code-style.md | Always |
| Folder Structure | skills/common/folder-structure.md | New project/module |
| Error Handling | skills/common/error-handling.md | Exception logic |
| Logging | skills/common/logging.md | Any logging |
| Security | skills/common/security.md | Auth, validation, secrets |
| API Auth | skills/common/api-auth.md | OAuth2, JWT, RBAC |
| Testing | skills/common/testing.md | Writing tests |
| DB Design | skills/common/db-design.md | Models, queries |
| Data Migrations | skills/common/data-migrations.md | Schema changes |
| Performance | skills/common/performance.md | Async, caching, N+1 |
| CI/CD | skills/common/ci-cd.md | Pipeline setup |
| Deployment | skills/common/deployment.md | Docker, health checks |
| Observability | skills/common/observability.md | Metrics, tracing |
| Async Patterns | skills/common/async-patterns.md | Task queues, events |
| Microservices | skills/common/microservices.md | Multi-service |
| Feature Flags | skills/common/feature-flags.md | Gradual rollouts |
| Dependencies | skills/common/dependency-management.md | Package management |
| LLM Patterns | skills/common/llm-patterns.md | AI/LLM features |
| FastAPI | skills/fastapi/SKILL.md | FastAPI projects |
| Django | skills/django/SKILL.md | Django projects |
| DRF | skills/drf/SKILL.md | DRF projects |
| Flask | skills/flask/SKILL.md | Flask projects |
Rules
| Rule | Path | Load when |
| API Design | rules/api-design.md | REST endpoints |
| Git Workflow | rules/git-workflow.md | Branching, PRs |
| Code Review | rules/code-review.md | Reviewing code |
Non-Negotiable Rules
- 4 spaces indentation. No tabs.
- Full type annotations on all function signatures.
- No hardcoded secrets — all config via pydantic-settings.
- All logging uses structlog — no
print()in production. - All DB access through ORM/repository — no raw SQL unless parameterised.
- Tests mandatory — 80% coverage minimum.
- All API endpoints authenticated unless explicitly marked public.
- Never use mutable default arguments.
- Always catch specific exceptions — never bare
except:. - All monetary values use Decimal, never float.
Subdirectory Context
Subdirectory AGENTS.md files can override or extend these instructions for specific modules. The closest AGENTS.md to the file being edited takes precedence.
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
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.

