system-design
26
总安装量
22
周安装量
#14073
全站排名
安装命令
npx skills add https://github.com/luongnv89/skills --skill system-design
Agent 安装分布
opencode
21
codex
20
claude-code
19
gemini-cli
16
github-copilot
16
amp
16
Skill 文档
System Design
Generate comprehensive Technical Architecture Documents with modular design for startups.
Design Principles
- Modularity: Separated concerns for independent testing and development
- Simplicity: Minimal complexity appropriate for startup resources
- Scalability: Designed to grow with user base
- Cost-effectiveness: Optimized for startup budget
Input
Project folder path in $ARGUMENTS containing:
prd.md– Product requirements (required)idea.md,validate.md– Additional context (optional)
Workflow
Phase 1: Setup & Validation
- Verify
prd.mdexists - Read supporting docs if present
- Read references/tech-stack.md for technology recommendations
- Backup existing
tad.mdif present
Phase 2: Extract Context
From PRD extract:
- Product name and vision
- Core features and requirements
- User flows
- Non-functional requirements
- Third-party integrations
- Analytics requirements
Phase 3: Clarify Architecture
Ask user (if not clear):
| Decision | Options |
|---|---|
| Deployment | Vercel/Netlify (recommended), AWS, GCP, Self-hosted |
| Database | PostgreSQL, MongoDB, Supabase/Firebase, Multiple |
| Auth | Social (OAuth), Email/password, Magic links, Enterprise SSO |
| Budget | Free tier, <$50/mo, <$200/mo, Flexible |
Phase 4: Research & Validation
Conduct 5 research rounds:
- Technology Stack: Validate choices against industry standards
- Infrastructure: Compare hosting for cost and scalability
- Security: Review OWASP guidelines for chosen stack
- Risk Assessment: Identify bottlenecks, vendor lock-in
- Holistic Review: Ensure PRD alignment and startup feasibility
Phase 5: Generate TAD
Create tad.md with sections:
- System Overview – Purpose, scope, PRD alignment
- Architecture Diagram – Mermaid diagrams for system and flows
- Technology Stack – Frontend, backend, database, infrastructure, DevOps
- System Components – Modular design with interfaces and dependencies
- Data Architecture – Schema, models, flows, storage
- Infrastructure – Hosting, environments, scaling, CI/CD, monitoring
- Security – Auth, authorization, data protection, API security
- Performance – Targets, optimization strategies, caching
- Development – Environment setup, project structure, testing, deployment
- Risks – Risk matrix with mitigations
- Appendix – Research insights, alternatives, costs, glossary
See references/tad-template.md for full template structure.
Phase 6: README Maintenance (ideas repo)
After writing tad.md, if the project folder is inside an ideas repo, update the repo README ideas table:
- Preferred:
cdto repo root and runpython3 scripts/update_readme_ideas_index.py(if it exists) - Fallback: update
README.mdmanually (ensure TAD status becomes â for that idea)
Phase 7: Commit and push (mandatory)
- Commit immediately after updates.
- Push immediately to remote.
- If push is rejected:
git fetch origin && git rebase origin/main && git push.
Do not ask for additional push permission once this skill is invoked.
Phase 8: Output
- Write
tad.mdto project folder - Summarize architecture decisions
- Highlight modular design benefits
- List cost estimates by phase
- Suggest next steps (setup dev environment, create tasks)
Reporting with GitHub links (mandatory)
When reporting completion, include:
- GitHub link to
tad.md - GitHub link to
README.mdwhen it was updated - Commit hash
If this project is in the ideas repo, use:
https://github.com/luongnv89/ideas/blob/main/<relative-path>
Modification Mode
For existing TAD changes:
- Create timestamped backup
- Ask what to modify (stack, infrastructure, security, data, scaling)
- Apply changes preserving structure
- Update revision history
Guidelines
- Practical: Implementable solutions for startups
- Cost-conscious: Consider budget implications
- Modular: Emphasize separation of concerns
- Specific: Concrete technology choices
- Visual: Include mermaid diagrams