micromonolith
Framework-agnostic micromonolith architecture — domain isolation, composition root, service layer, anti-corruption layer, and authorization model. Use when the user asks about micromonolith architecture, domain module boundaries, service layer patterns, anti-corruption layer, or says "how should we organize the codebase".
- License 许可
- MIT
- 最近更新
- 2026-10-24
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- micromonolith
- description
- Framework-agnostic micromonolith architecture — domain isolation, composition root, service layer, anti-corruption layer, and authorization model. Use when the user asks about micromonolith architecture, domain module boundaries, service layer patterns, anti-corruption layer, or says "how should we organize the codebase".
02 资源文件 3
- 参考文档.managed-skill.md235 B
- 参考文档templates/micromonolith-rule.md5.7 KB
- 其他tools.sdn557 B
03 SKILL.md 正文
MANAGED SKILL — Do not edit this file here. It is managed from an external source repository. To make changes, update the source and run "update my skills" to sync.
Micromonolith
Conventions-only skill that installs the micromonolith architecture as a glob-scoped rule (active on **/*.py). Describes the architectural pattern independently of any framework — domain isolation, composition root, service interfaces, anti-corruption layer, and authorization model.
For framework-specific implementation, see the Pyramid skill family which depends on this one: pyramid-developer (shared conventions), pyramid-app (composition root, tests, pshell), and pyramid-plugin (module anatomy, includeme, service layer, REST endpoints).
Install Actions
1. Generate the glob-scoped rule
Read templates/micromonolith-rule.md and write it to .cursor/rules/micromonolith.mdc in the target project. No placeholder substitution needed — the conventions are the same across all projects following this architecture.
04 同仓库更多 Skills
write-pytest
Write pytest tests for any Python codebase. Use when the user asks to write tests, create tests, add tests, or test a module/service/endpoint/function. Framework-agnostic; routes to framework-specific helpers when signals are detected. Follows a research-then-discuss-then-write flow.
quality-assurance
Run quality assurance checks on the current chat session — pre-task validation, post-task checklist, and code review. Use when finishing a task, before committing, or when the user asks for a QA review.
python-developer
Python developer umbrella — installs Python coding conventions and bundles companion skills (best practices, testing, dependency management) in a single setup. Use when the user asks to set up Python development conventions, install Python skills, or says "set up Python development".
python-best-practices
Comprehensive Python coding conventions and best practices. Use when the user asks about Python conventions, coding patterns, best practices, code style, anti-patterns, or "how should I write this" in Python.
pyramid-library
Library Developer persona: developing standalone Pyramid extensions (own repo, own package) that expose includeme for external consumers. Use when the user builds a reusable Pyramid library, designs includeme for consumers, registers custom directives/tweens/request methods, or tests a library with a proper app.
pyramid-developer
Pyramid framework conventions — configuration/registry, module system with includeme, pyramid_services, models, Cornice REST, ACL authorization, and transactions. Use when setting up Pyramid development conventions for a project.