architect
Use when deciding whether a proposed system, API, service, or data flow fits MDE architecture; reviews boundaries, ownership, reuse, and unnecessary duplication.
- License 许可
- MIT
- 所属仓库
- amoai-tech/mdeai
- 最近更新
- 2026-11-13
- Stars
- ★ 2
- Forks
- 1
01 前言 Front Matter
- name
- architect
- description
- Use when deciding whether a proposed system, API, service, or data flow fits MDE architecture; reviews boundaries, ownership, reuse, and unnecessary duplication.
02 资源文件 1
- 参考文档references/full-prompt.md2.2 KB
03 SKILL.md 正文
ARCHITECT — Architecture Fit Review
Goal Decide whether a proposed change fits the existing system or creates unnecessary duplication, coupling, or drift.
1. Define the change State:
- required user/system outcome
- proposed components/data flow
- constraints
2. Trace current architecture Inspect the load-bearing path only:
entry/UI → backend/service → data → auth/RLS → external provider → tests/runtime Identify current sources of truth and ownership.
3. Check duplication Ask:
- Does this capability already exist?
- Can the existing contract/module be extended?
- Would this create a second source of truth?
- Does it duplicate state, validation, search, auth, persistence, or workflow logic?
- Would two systems need synchronization?
4. Check fit Evaluate:
- boundaries and responsibilities
- data ownership/writers/readers
- contracts/API compatibility
- auth/RLS
- transaction/idempotency behavior
- failure/recovery
- deployment/runtime
- maintenance burden
5. Prefer the smallest design Order:
reuse module → extend contract → configure platform/vendor → minimal new component For writes prefer:
validate → authorize → execute → persist → confirm
6. Define exact impact Name only verified touch points:
- files/modules
- schema/functions
- APIs/providers
- tests Do not invent paths.
Output
Verdict ✅ Fits / 🟡 Fits with changes / 🔴 Harmful duplication
Current architecture Relevant owners/sources of truth.
For remaining steps, checks, and examples, see full prompt.
04 同仓库更多 Skills
mde-pr-review-supabase
Use when reviewing MDE Supabase SQL, Auth and RLS changes in a pull request.
mde-pr-review-stripe
Use when reviewing MDE Stripe payments and webhooks changes in a pull request.
mde-pr-review-nextjs
Use when reviewing MDE Next.js App Router changes in a pull request.
mde-pr-review-mastra
Use when reviewing MDE Mastra agent, tool and workflow changes in a pull request.
mde-pr-review-maps
Use when reviewing MDE Google Maps and Places changes in a pull request.
mde-pr-review-copilotkit
Use when reviewing MDE CopilotKit and AG-UI changes in a pull request.