用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/G1Joshi/Agent-Skills --skill monolith命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | monolith |
| description | Monolithic architecture single deployment. Use for simple systems. |
A Monolithic architecture is built as a single unit. All functional components (UI, Business Logic, Data Access) are tightly integrated using a shared database and running in the same process.
# Django/Rails/Laravel Style
# Everything in one place:
# - models/
# - views/
# - controllers/
# - utils/
def create_order(request):
user = User.objects.get(id=request.user_id) # Direct DB access
product = Product.objects.get(id=request.product_id) # Direct DB access
order = Order.create(user=user, product=product)
# Direct sync call within same transaction
EmailService.send_confirmation(user)
return Response("Order Created")
The entire app runs in one memory space. Scaling means "Vertical Scaling" (bigger server) or "Horizontal Scaling" (cloning the entire monolith behind a load balancer).
All components read/write to the same massive database. JOINs across any domains are easy and performant.
One repo, one build pipeline, one deploy script. Infinite ease of debugging (step through everything).
Even in a monolith, organize by technical layers (Presentation, Business, Data) to prevent spaghetti code.
The chaotic state a monolith reaches without discipline, where everything depends on everything else.
Do:
Don't: