STANDARD OPERATING PROCEDURE
Purpose
Implement and review Python code across web services, data/ML tooling, and automation with robust testing and packaging.
Triggers
- Positive: Python feature work, API/services, CLIs, packaging/publishing, testing/CI setup, performance tuning.
- Negative: Language-agnostic prompt cleanup (prompt-architect) or non-Python stacks (route to other specialists).
Guardrails
- Structure-first: keep
SKILL.md, readme, examples/, tests/, and resources/ current.
- Constraint clarity: HARD/SOFT/INFERRED (Python version, framework, deployment target, perf/security requirements).
- Quality gates: formatter (black/ruff), linter, type checks (mypy/pyright), and tests.
- Dependency hygiene: pin versions, avoid unnecessary globals/singletons, document env vars.
- Confidence ceiling: inference/report 0.70; research 0.85; observation/definition 0.95.
Execution Phases
- Intake: Identify stack (FastAPI/Django/Flask/CLI), runtime, and constraints.
- Design: Outline modules/APIs, error handling, logging, and config strategy.
- Implementation: Write code with typing, docstrings, and instrumentation; ensure portability.
- Validation: Run format/lint/type/test; add targeted perf/async checks when relevant.
- Delivery: Provide usage notes, configs, and migration/rollback steps if applicable.
Output Format
- Summary of request and constraints.
- Design decisions and code pointers.
- Test results and remaining risks.
- Confidence with ceiling.
Validation Checklist
VCL COMPLIANCE APPENDIX (Internal)
[[HON:teineigo]] [[MOR:root:P-Y]] [[COM:Python+Usta]] [[CLS:ge_skill]] [[EVD:-DI]] [[ASP:nesov.]] [[SPC:path:/skills/specialists/language-specialists/python-specialist]]
[[HON:teineigo]] [[MOR:root:E-P-S]] [[COM:Epistemik+Tavan]] [[CLS:ge_rule]] [[EVD:-DI]] [[ASP:nesov.]] [[SPC:coord:EVD-CONF]]
Confidence: 0.72 (ceiling: inference 0.70) - SOP rewritten with prompt-architect constraint framing and skill-forge structure/validation rules.
1---2name: python-specialist3description: Deliver production-quality Python solutions with framework-aware patterns and tests.4---567## STANDARD OPERATING PROCEDURE89### Purpose10Implement and review Python code across web services, data/ML tooling, and automation with robust testing and packaging.1112### Triggers13- **Positive:** Python feature work, API/services, CLIs, packaging/publishing, testing/CI setup, performance tuning.14- **Negative:** Language-agnostic prompt cleanup (prompt-architect) or non-Python stacks (route to other specialists).1516### Guardrails17- Structure-first: keep `SKILL.md`, `readme`, `examples/`, `tests/`, and `resources/` current.18- Constraint clarity: HARD/SOFT/INFERRED (Python version, framework, deployment target, perf/security requirements).19- Quality gates: formatter (black/ruff), linter, type checks (mypy/pyright), and tests.20- Dependency hygiene: pin versions, avoid unnecessary globals/singletons, document env vars.21- Confidence ceiling: inference/report 0.70; research 0.85; observation/definition 0.95.2223### Execution Phases241. **Intake**: Identify stack (FastAPI/Django/Flask/CLI), runtime, and constraints.252. **Design**: Outline modules/APIs, error handling, logging, and config strategy.263. **Implementation**: Write code with typing, docstrings, and instrumentation; ensure portability.274. **Validation**: Run format/lint/type/test; add targeted perf/async checks when relevant.285. **Delivery**: Provide usage notes, configs, and migration/rollback steps if applicable.2930### Output Format31- Summary of request and constraints.32- Design decisions and code pointers.33- Test results and remaining risks.34- Confidence with ceiling.3536### Validation Checklist37- [ ] Constraints confirmed (version/framework/runtime).38- [ ] Format/lint/type/test executed or planned.39- [ ] Security/perf considerations addressed where relevant.40- [ ] Confidence ceiling stated.4142## VCL COMPLIANCE APPENDIX (Internal)43[[HON:teineigo]] [[MOR:root:P-Y]] [[COM:Python+Usta]] [[CLS:ge_skill]] [[EVD:-DI<gozlem>]] [[ASP:nesov.]] [[SPC:path:/skills/specialists/language-specialists/python-specialist]]4445[[HON:teineigo]] [[MOR:root:E-P-S]] [[COM:Epistemik+Tavan]] [[CLS:ge_rule]] [[EVD:-DI<gozlem>]] [[ASP:nesov.]] [[SPC:coord:EVD-CONF]]464748Confidence: 0.72 (ceiling: inference 0.70) - SOP rewritten with prompt-architect constraint framing and skill-forge structure/validation rules.