core-design-principles
8
总安装量
4
周安装量
#35286
全站排名
安装命令
npx skills add https://github.com/7spade/black-tortoise --skill core-design-principles
Agent 安装分布
opencode
4
gemini-cli
4
replit
4
claude-code
4
codex
4
mcpjam
3
Skill 文档
Core Design Principles (Operational Checklist)
Use when
- A task feels âeasy to overbuildâ (new helpers, new layers, new abstractions).
- Youâre not sure where code should live.
- You need to choose between âquick fixâ vs âcorrect boundaryâ.
Inputs (ask/confirm)
- What capability/bounded context owns this change?
- What is the smallest stable interface needed by the next layer?
- Where are the side effects (if any)?
Workflow (tool-first â assembly)
- Identify the tool: the smallest reusable unit (pure function, port, adapter, store method).
- Place it in the owner (capability / workspace / eventing / integration) without cross-context imports.
- Add the assembly: facade/effect/component that wires it, preserving unidirectional flow.
- Verify deletion path: removing the feature should be mostly deleting code, not untangling.
Hard checks (fail fast)
- No new cross-layer imports that violate Presentation â Application â Domain.
- No domain-side framework imports or side effects.
- No âgodâ utilities; prefer small, intention-revealing APIs.
- State stays centralized; UI binds to signals.
References
.github/instructions/05-design-principles-copilot-instructions.mdAGENTS.mdandsrc/app/**/AGENTS.md