Skip to main content

feature-driven-architecture-python

星标12
分支2
更新时间2026年7月9日 11:31

Apply when structuring or restructuring a Python backend by business capability (vertical slices) — laying out a new project, reorganizing a layered codebase, or drawing feature boundaries. Governs top-level layout; for the internals of a complex slice see ddd-architecture-python. Covers directory layout, feature boundaries, inter-feature communication, database model ownership, migration strategies, boundary enforcement, testing across features, and migration from layered architectures. FastAPI-focused; the layout patterns port to Flask. Best suited for projects with 5+ distinct features.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly