| name | python-architecture |
| description | Internal Python architecture rules loaded only when an explicitly invoked repository prompt directs the agent to this file. |
| user-invocable | false |
| disable-model-invocation | true |
Python Architecture
This is the internal Python architecture rules layer for an explicitly invoked SDD workflow. It helps choose the simplest adequate architecture, write Python-aware SPEC.md sections, implement against those specs, and audit code/spec synchronization.
Invocation Gate
Load this skill only when an explicitly invoked repository prompt directs the agent to this file. Ordinary discussion, explanation, review, planning, natural-language edit requests, skill-name mentions, and prose approvals must not trigger it.
Core Principle
Start simple and escalate only with evidence. Architecture exists to clarify ownership, isolate change, and protect business rules; it is not a template to apply everywhere.
When To Use
Use for Python work involving:
- New packages, modules, services, CLIs, workers, libraries, or data pipelines.
- Public API design.
- Module boundary changes.
- Domain logic, business rules, persistence, external integrations, or framework boundaries.
- Refactoring Python code with unclear ownership or tangled imports.
- Python domain checks within consolidated project implementation audits.
Do not use for tiny one-off scripts unless the script is becoming a maintained module.