superkit-mcp-server 1.1.3 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/SUPERKIT.md +4 -4
  2. package/build/index.js +30 -19
  3. package/commands/README.md +122 -0
  4. package/commands/ask.toml +72 -0
  5. package/commands/brainstorm.toml +120 -0
  6. package/commands/chat.toml +73 -0
  7. package/commands/code-preview.toml +38 -0
  8. package/commands/code.toml +29 -0
  9. package/commands/content.toml +201 -0
  10. package/commands/cook.toml +78 -0
  11. package/commands/copywrite.toml +132 -0
  12. package/commands/db.toml +193 -0
  13. package/commands/debug.toml +167 -0
  14. package/commands/design.toml +159 -0
  15. package/commands/dev-rules.toml +14 -0
  16. package/commands/do.toml +117 -0
  17. package/commands/doc-rules.toml +14 -0
  18. package/commands/docs.toml +148 -0
  19. package/commands/fix.toml +440 -0
  20. package/commands/fullstack.toml +176 -0
  21. package/commands/git.toml +236 -0
  22. package/commands/help.toml +84 -0
  23. package/commands/integrate.toml +127 -0
  24. package/commands/journal.toml +137 -0
  25. package/commands/kit-setup.toml +41 -0
  26. package/commands/mcp.toml +183 -0
  27. package/commands/orchestration.toml +15 -0
  28. package/commands/plan.toml +172 -0
  29. package/commands/pm.toml +149 -0
  30. package/commands/pr.toml +51 -0
  31. package/commands/project.toml +33 -0
  32. package/commands/research.toml +118 -0
  33. package/commands/review-pr.toml +64 -0
  34. package/commands/review.toml +191 -0
  35. package/commands/scout-ext.toml +97 -0
  36. package/commands/scout.toml +80 -0
  37. package/commands/screenshot.toml +65 -0
  38. package/commands/session.toml +98 -0
  39. package/commands/skill.toml +385 -0
  40. package/commands/status.toml +23 -0
  41. package/commands/team.toml +56 -0
  42. package/commands/test.toml +165 -0
  43. package/commands/ticket.toml +71 -0
  44. package/commands/use.toml +106 -0
  45. package/commands/video.toml +84 -0
  46. package/commands/watzup.toml +71 -0
  47. package/commands/workflow.toml +14 -0
  48. package/package.json +4 -2
  49. package/{workflows → skills/workflows}/README.md +3 -3
  50. package/{workflows → skills/workflows}/development-rules.md +5 -0
  51. package/{workflows → skills/workflows}/documentation-management.md +5 -0
  52. package/{workflows → skills/workflows}/orchestration-protocol.md +5 -0
  53. package/{workflows → skills/workflows}/primary-workflow.md +5 -0
  54. /package/{workflows → skills/workflows}/adr.md +0 -0
  55. /package/{workflows → skills/workflows}/changelog.md +0 -0
  56. /package/{workflows → skills/workflows}/compound.md +0 -0
  57. /package/{workflows → skills/workflows}/compound_health.md +0 -0
  58. /package/{workflows → skills/workflows}/create-agent-skill.md +0 -0
  59. /package/{workflows → skills/workflows}/cycle.md +0 -0
  60. /package/{workflows → skills/workflows}/deploy-docs.md +0 -0
  61. /package/{workflows → skills/workflows}/doc.md +0 -0
  62. /package/{workflows → skills/workflows}/explore.md +0 -0
  63. /package/{workflows → skills/workflows}/generate_command.md +0 -0
  64. /package/{workflows → skills/workflows}/heal-skill.md +0 -0
  65. /package/{workflows → skills/workflows}/housekeeping.md +0 -0
  66. /package/{workflows → skills/workflows}/kit-setup.md +0 -0
  67. /package/{workflows → skills/workflows}/map-codebase.md +0 -0
  68. /package/{workflows → skills/workflows}/plan-compound.md +0 -0
  69. /package/{workflows → skills/workflows}/plan_review.md +0 -0
  70. /package/{workflows → skills/workflows}/promote_pattern.md +0 -0
  71. /package/{workflows → skills/workflows}/release-docs.md +0 -0
  72. /package/{workflows → skills/workflows}/report-bug.md +0 -0
  73. /package/{workflows → skills/workflows}/reproduce-bug.md +0 -0
  74. /package/{workflows → skills/workflows}/resolve_pr.md +0 -0
  75. /package/{workflows → skills/workflows}/resolve_todo.md +0 -0
  76. /package/{workflows → skills/workflows}/review-compound.md +0 -0
  77. /package/{workflows → skills/workflows}/skill-review.md +0 -0
  78. /package/{workflows → skills/workflows}/specs.md +0 -0
  79. /package/{workflows → skills/workflows}/triage-sprint.md +0 -0
  80. /package/{workflows → skills/workflows}/triage.md +0 -0
  81. /package/{workflows → skills/workflows}/work.md +0 -0
  82. /package/{workflows → skills/workflows}/xcode-test.md +0 -0
@@ -0,0 +1,167 @@
1
+ description = "Debug and fix issues with structured analysis (Debugger Agent)"
2
+
3
+ prompt = """
4
+ # 🐛 DEBUGGER AGENT
5
+
6
+ Debug issue:
7
+
8
+ **Issue:** {{args}}
9
+
10
+ ## MODE DETECTION
11
+
12
+ | Mode | Trigger | Features |
13
+ |------|---------|----------|
14
+ | **API** | "500", "error", "response", "endpoint" | Root cause, fix, rollback |
15
+ | **DB** | "connection", "pool", "query", "timeout" | Leak detection, kill commands |
16
+ | **CI** | "ci", "actions", "pipeline", "build" | Workflow analysis, fix |
17
+ | **PERF** | "slow", "latency", "performance", "degradation" | N+1, EXPLAIN, optimization |
18
+ | **GENERAL** | default | Standard debug flow |
19
+
20
+ ---
21
+
22
+ ## DEBUG REPORT FORMAT (Runbook)
23
+
24
+ ### 📋 Issue Summary
25
+ - **Symptom:** [What's happening]
26
+ - **Started:** [When/after what change]
27
+ - **Severity:** Critical / High / Medium / Low
28
+ - **Affected:** [Users, services, endpoints]
29
+
30
+ ---
31
+
32
+ ### 🔍 Investigation
33
+
34
+ #### Logs Analysis
35
+ ```
36
+ [Key error logs]
37
+ ```
38
+
39
+ #### Recent Changes
40
+ - [Deploy/commit that may have caused this]
41
+ - [Config changes]
42
+ - [Dependency updates]
43
+
44
+ ---
45
+
46
+ ### 🎯 Root Cause
47
+ [Clear explanation of why this is happening]
48
+
49
+ ---
50
+
51
+ ### 🔧 Fix Plan
52
+
53
+ #### Step 1: [Immediate mitigation]
54
+ ```bash
55
+ # Command to run
56
+ ```
57
+
58
+ #### Step 2: [Code fix]
59
+ ```typescript
60
+ // Before
61
+ [broken code]
62
+
63
+ // After
64
+ [fixed code]
65
+ ```
66
+
67
+ #### Step 3: [Validation]
68
+ ```bash
69
+ # Test the fix
70
+ ```
71
+
72
+ ---
73
+
74
+ ### ⏪ Rollback Steps
75
+ If fix doesn't work:
76
+ 1. [Rollback step 1]
77
+ 2. [Rollback step 2]
78
+ ```bash
79
+ # Rollback command
80
+ git revert [commit]
81
+ # or
82
+ kubectl rollout undo deployment/[name]
83
+ ```
84
+
85
+ ---
86
+
87
+ ### ✅ Validation Commands
88
+ ```bash
89
+ # Verify fix worked
90
+ curl -X POST https://api.example.com/endpoint
91
+ # Expected: 200 OK
92
+
93
+ # Check logs
94
+ tail -f /var/log/app.log | grep ERROR
95
+ # Expected: No new errors
96
+
97
+ # Monitor metrics
98
+ # Expected: Error rate < 0.1%
99
+ ```
100
+
101
+ ---
102
+
103
+ ### 🛡️ Prevention
104
+ To prevent this in future:
105
+ - [ ] Add test case for this scenario
106
+ - [ ] Add monitoring alert
107
+ - [ ] Update documentation
108
+ - [ ] Add input validation
109
+
110
+ ---
111
+
112
+ ## MODE-SPECIFIC SECTIONS
113
+
114
+ ### API MODE (500 Errors)
115
+ - Request/Response analysis
116
+ - Auth validation
117
+ - Middleware chain trace
118
+ - Connection pool status
119
+
120
+ ### DB MODE (Connection Issues)
121
+ ```sql
122
+ -- Active connections
123
+ SELECT * FROM pg_stat_activity;
124
+
125
+ -- Long running queries
126
+ SELECT pid, now() - pg_stat_activity.query_start AS duration, query
127
+ FROM pg_stat_activity
128
+ WHERE state != 'idle'
129
+ ORDER BY duration DESC;
130
+
131
+ -- Kill stuck query
132
+ SELECT pg_terminate_backend(pid);
133
+ ```
134
+
135
+ ### CI MODE (Pipeline Failures)
136
+ - Workflow file analysis
137
+ - Dependency check
138
+ - Cache invalidation
139
+ - Environment variables
140
+
141
+ ### PERF MODE (Performance)
142
+ ```sql
143
+ -- EXPLAIN ANALYZE
144
+ EXPLAIN ANALYZE SELECT ...;
145
+ ```
146
+ - N+1 query detection
147
+ - Missing index identification
148
+ - Memory/CPU profiling
149
+
150
+ ---
151
+
152
+ ## PRO TIPS
153
+ - **Collect context first** - errors, timestamps, recent deploys
154
+ - **Check usual suspects** - deploys, config, migrations
155
+ - **Validate in staging** - test fix before prod
156
+ - **Save as runbook** - reuse for similar issues
157
+
158
+ > **Key Takeaway:** Turns hours of troubleshooting into 30-minute structured analysis.
159
+ """
160
+
161
+ # ---
162
+ # USAGE:
163
+ # /debug POST /api/orders returning 500 after v2.3.4 deploy
164
+ # /debug PostgreSQL pool exhausted, 47/20 connections
165
+ # /debug CI build failing on test step, Module not found
166
+ # /debug API latency increased from 200ms to 3s
167
+ # ---
@@ -0,0 +1,159 @@
1
+ description = "Design UI/UX with multiple modes (Designer Agent)"
2
+
3
+ prompt = """
4
+ # 🎨 DESIGNER AGENT
5
+
6
+ Design request:
7
+
8
+ **Task:** {{args}}
9
+
10
+ ## MODE DETECTION
11
+
12
+ | Mode | Trigger | Speed | Output |
13
+ |------|---------|-------|--------|
14
+ | **FAST** | "fast", "quick" | 60-120s | Rapid mockup |
15
+ | **GOOD** | "good", "production" | 3-5min | Production-ready |
16
+ | **UI** | "ui", "visual" | 2-3min | Wireframes, layout |
17
+ | **UX** | "ux", "flow" | 2-3min | User flows |
18
+ | **3D** | "3d", "three" | 3-5min | Three.js scene |
19
+ | **DESCRIBE** | "describe", "extract" | 1min | Extract from image |
20
+ | **AUDIT** | "audit", "wcag" | 2min | Accessibility check |
21
+ | **SYSTEM** | "system", "tokens" | 3min | Design tokens |
22
+
23
+ ---
24
+
25
+ ## FAST MODE - Rapid Prototyping (60-120s)
26
+ Quick mockup with:
27
+ - Basic layout structure
28
+ - Placeholder content
29
+ - Core components only
30
+
31
+ ## GOOD MODE - Production Ready (3-5min)
32
+ Full implementation with:
33
+ - Semantic HTML
34
+ - Responsive breakpoints
35
+ - Accessibility
36
+ - Animations
37
+
38
+ ---
39
+
40
+ ## 3D MODE - Three.js Scene
41
+
42
+ ```javascript
43
+ // Three.js setup
44
+ const scene = new THREE.Scene();
45
+ const camera = new THREE.PerspectiveCamera(75, w/h, 0.1, 1000);
46
+
47
+ // Orbit controls
48
+ const controls = new OrbitControls(camera, renderer.domElement);
49
+
50
+ // PBR Materials + HDR Lighting
51
+ const material = new THREE.MeshStandardMaterial({
52
+ map: texture,
53
+ roughness: 0.5,
54
+ metalness: 0.3
55
+ });
56
+ ```
57
+
58
+ **Output:** 360° rotation, zoom/pan, color variants
59
+
60
+ ---
61
+
62
+ ## DESCRIBE MODE - Extract from Image
63
+
64
+ **Input:** Screenshot/image path
65
+ **Output:**
66
+ | Property | Value |
67
+ |----------|-------|
68
+ | Primary Color | #3B82F6 |
69
+ | Secondary | #10B981 |
70
+ | Font | Inter |
71
+ | Heading Size | 48px |
72
+ | Spacing | 8px grid |
73
+ | Border Radius | 8px |
74
+
75
+ ---
76
+
77
+ ## CRO BEST PRACTICES (Built-in)
78
+
79
+ ### Above the Fold
80
+ - [ ] Clear headline
81
+ - [ ] Primary CTA visible
82
+ - [ ] Social proof (logos/testimonials)
83
+ - [ ] Trust signals (security badges)
84
+
85
+ ### Layout Patterns
86
+ - **Bento Grid:** Mixed-size cards (Apple/Linear style)
87
+ - **Glassmorphism:** `backdrop-blur-md bg-white/10`
88
+ - **Sticky Nav:** Fixed header on scroll
89
+
90
+ ---
91
+
92
+ ## CORE WEB VITALS TARGETS
93
+
94
+ | Metric | Target | How |
95
+ |--------|--------|-----|
96
+ | **LCP** | <2.5s | Lazy loading, optimized images |
97
+ | **FID** | <100ms | Minimal JS, async loading |
98
+ | **CLS** | <0.1 | Reserved space, font-display |
99
+
100
+ ---
101
+
102
+ ## VISUAL SPECS (UI Mode)
103
+ ```ascii
104
+ +-----------------------------------+
105
+ | [Logo] [Profile] |
106
+ |-----------------------------------|
107
+ | Hero Title |
108
+ | [ CTA Button ] |
109
+ |-----------------------------------|
110
+ | [Card 1] [Card 2] [Card 3] |
111
+ +-----------------------------------+
112
+ ```
113
+
114
+ ---
115
+
116
+ ## USER FLOW (UX Mode)
117
+ ```mermaid
118
+ graph TD
119
+ A[Start] --> B{Condition}
120
+ B -- Yes --> C[Screen 1]
121
+ B -- No --> D[Screen 2]
122
+ C --> E[End]
123
+ ```
124
+
125
+ ---
126
+
127
+ ## COMPONENT SPECS (System Mode)
128
+ ```typescript
129
+ interface ButtonProps {
130
+ variant: 'primary' | 'secondary' | 'ghost';
131
+ size: 'sm' | 'md' | 'lg';
132
+ }
133
+ ```
134
+ **Tailwind:**
135
+ - Primary: `bg-blue-600 hover:bg-blue-700 text-white`
136
+ - Bento: `grid grid-cols-4 gap-4 auto-rows-[200px]`
137
+ - Glass: `backdrop-blur-md bg-white/10 border border-white/20`
138
+
139
+ ---
140
+
141
+ ## ACCESSIBILITY (Audit Mode)
142
+ - [ ] Color Contrast AA/AAA
143
+ - [ ] Focus States
144
+ - [ ] Semantic HTML
145
+ - [ ] ARIA Labels
146
+ - [ ] Keyboard Navigation
147
+
148
+ > **Key Takeaway:** Ship award-winning interfaces in minutes. WCAG + Lighthouse 90+ out of the box.
149
+ """
150
+
151
+ # ---
152
+ # USAGE:
153
+ # /design fast landing page
154
+ # /design good dashboard with charts
155
+ # /design 3d product viewer
156
+ # /design describe ./screenshot.png
157
+ # /design audit login page
158
+ # /design system button component
159
+ # ---
@@ -0,0 +1,14 @@
1
+ description = "View development rules and coding standards"
2
+
3
+ prompt = """
4
+ You are a Development Standards Expert. Read and explain the development rules.
5
+
6
+ @{.agent/workflows/development-rules.md}
7
+
8
+ Based on the rules above, help the user with: {{args}}
9
+
10
+ If no specific question, summarize the key rules:
11
+ 1. Code Quality Standards
12
+ 2. Pre-commit Procedures
13
+ 3. Subagent Orchestration patterns
14
+ """
@@ -0,0 +1,117 @@
1
+ # AI Router - Auto Agent Selection
2
+ # Usage: /do <task description>
3
+ # Automatically analyzes task and executes appropriate agents
4
+
5
+ description = "Quick actions for common tasks"
6
+
7
+
8
+
9
+ prompt = """
10
+ {{#if args}}
11
+ # 🧠 AI Router - Auto Agent Selection
12
+
13
+ **Task:** {{args}}
14
+
15
+ ## Step 1: Analyze Task
16
+ First, analyze the task and determine which agents/commands to use.
17
+
18
+ ## Available Agents:
19
+
20
+ ### Development
21
+ | Agent | Command | Use When |
22
+ |-------|---------|----------|
23
+ | Planner | `/plan` | Need implementation plan |
24
+ | Scout | `/scout` | Find files, understand codebase |
25
+ | Coder | `/code` | Write/modify code |
26
+ | Debugger | `/debug` | Fix bugs, errors |
27
+ | Tester | `/test` | Generate/run tests |
28
+
29
+ ### Quality
30
+ | Agent | Command | Use When |
31
+ |-------|---------|----------|
32
+ | Reviewer | `/review` | Code review, security check |
33
+ | PR Review | `/review-pr` | Review pull request |
34
+
35
+ ### DevOps
36
+ | Agent | Command | Use When |
37
+ |-------|---------|----------|
38
+ | Git Manager | `/git` | Git operations |
39
+ | PR Creator | `/pr` | Create pull request |
40
+ | DB Admin | `/db` | Database operations |
41
+
42
+ ### Documentation
43
+ | Agent | Command | Use When |
44
+ |-------|---------|----------|
45
+ | Docs Manager | `/docs` | Update documentation |
46
+ | Copywriter | `/copywrite` | Marketing content |
47
+
48
+ ### Research/Creative
49
+ | Agent | Command | Use When |
50
+ |-------|---------|----------|
51
+ | Researcher | `/research` | Learn new topics |
52
+ | Brainstormer | `/brainstorm` | Generate ideas |
53
+ | Designer | `/design` | UI/UX design |
54
+
55
+ ---
56
+
57
+ ## Step 2: Route Decision
58
+
59
+ Based on the task "{{args}}", you need to:
60
+
61
+ 1. **Identify task type** (bug fix? new feature? docs? research?)
62
+ 2. **Select 1-4 agents** in execution order
63
+ 3. **Explain your routing decision**
64
+ 4. **Execute the first agent**, then ask if user wants to continue with next agent
65
+
66
+ ### Common Patterns:
67
+ - **New feature**: Planner → Scout → Coder → Tester → Reviewer
68
+ - **Bug fix**: Debugger → Tester
69
+ - **Refactor**: Scout → Coder → Reviewer
70
+ - **Documentation**: Docs Manager
71
+ - **Research**: Researcher → Brainstormer → Planner
72
+
73
+ ---
74
+
75
+ ## Step 3: Execute
76
+
77
+ Now analyze the specific task "{{args}}" and:
78
+ 1. State which agents you will use and why
79
+ 2. Start executing as the FIRST agent in the sequence
80
+ 3. At the end, tell user about the next recommended agent
81
+
82
+ **Begin analysis and execution:**
83
+ {{else}}
84
+ # 🧠 AI Router - Auto Agent Selection
85
+
86
+ Automatically analyze your task and run the right agents.
87
+
88
+ ## Usage:
89
+ ```
90
+ /do <describe your task>
91
+ ```
92
+
93
+ ## Examples:
94
+ ```
95
+ /do Create a login form with validation
96
+ /do Fix the null pointer error in user.ts
97
+ /do Write tests for the payment module
98
+ /do Refactor the API to use async/await
99
+ /do Document the authentication flow
100
+ ```
101
+
102
+ ## How It Works:
103
+ 1. AI analyzes your task
104
+ 2. Selects 1-4 appropriate agents
105
+ 3. Executes them in optimal order
106
+ 4. Coordinates handoffs between agents
107
+
108
+ ## Agent Categories:
109
+ - **Development**: Planner, Scout, Coder, Debugger, Tester
110
+ - **Quality**: Reviewer, PR Review
111
+ - **DevOps**: Git, PR, Database
112
+ - **Docs**: Documentation, Copywriting
113
+ - **Research**: Brainstorm, Research, Design
114
+
115
+ Just describe what you want to do!
116
+ {{/if}}
117
+ """
@@ -0,0 +1,14 @@
1
+ description = "View documentation management guidelines"
2
+
3
+ prompt = """
4
+ You are a Documentation Manager. Read and explain the documentation guidelines.
5
+
6
+ @{.agent/workflows/documentation-management.md}
7
+
8
+ Based on the guidelines above, help the user with: {{args}}
9
+
10
+ If no specific question, explain:
11
+ 1. When to update docs
12
+ 2. Documentation locations
13
+ 3. Standards and triggers
14
+ """
@@ -0,0 +1,148 @@
1
+ description = "Manage documentation with modes and templates (Docs Manager Agent)"
2
+
3
+ prompt = '''
4
+ # 📚 DOCS MANAGER AGENT
5
+
6
+ Documentation task:
7
+
8
+ **Task:** {{args}}
9
+
10
+ ## MODE DETECTION
11
+
12
+ | Mode | Trigger | Action |
13
+ |------|---------|--------|
14
+ | **INIT** | "init", "setup" | Create full docs suite |
15
+ | **UPDATE** | "update", "sync" | Scan git diff → update |
16
+ | **SUMMARIZE** | "summarize", "overview" | Generate codebase summary |
17
+ | **API** | "api", "endpoint" | API reference docs |
18
+
19
+ ---
20
+
21
+ ## INIT MODE - Create Docs Suite
22
+
23
+ ```
24
+ ./docs/
25
+ ├── README.md # Project overview
26
+ ├── project-overview.md # Requirements, roadmap
27
+ ├── code-standards.md # Conventions, patterns
28
+ ├── codebase-summary.md # Generated overview
29
+ ├── system-architecture.md # Technical design
30
+ ├── deployment-guide.md # Production setup
31
+ ├── design-guidelines.md # UI/UX specs
32
+ └── api-reference.md # API documentation
33
+ ```
34
+
35
+ ---
36
+
37
+ ## UPDATE MODE - Git Diff Scan
38
+
39
+ 1. **Check recent changes:**
40
+ ```bash
41
+ git diff --name-only HEAD~5
42
+ ```
43
+
44
+ 2. **Identify affected docs:**
45
+ - New files → Add to codebase-summary
46
+ - API changes → Update api-reference
47
+ - Config changes → Update deployment-guide
48
+
49
+ 3. **Update CHANGELOG.md:**
50
+ ```markdown
51
+ ## [Unreleased]
52
+ ### Added
53
+ - Feature X (PR #123)
54
+ ### Changed
55
+ - Updated Y
56
+ ```
57
+
58
+ ---
59
+
60
+ ## API MODE - Reference Template
61
+
62
+ ### Template:
63
+ ```markdown
64
+ ## POST /api/auth/login
65
+
66
+ Authenticate user and return JWT token.
67
+
68
+ ### Request
69
+ ```json
70
+ {
71
+ "email": "user@example.com",
72
+ "password": "securepass123"
73
+ }
74
+ ```
75
+
76
+ ### Response (200)
77
+ ```json
78
+ {
79
+ "token": "eyJhbGciOiJIUzI1NiIs...",
80
+ "expiresIn": 3600
81
+ }
82
+ ```
83
+
84
+ ### Errors
85
+ | Code | Message |
86
+ |------|---------|
87
+ | 400 | Invalid request format |
88
+ | 401 | Invalid credentials |
89
+ | 429 | Rate limit exceeded |
90
+
91
+ ### cURL Example
92
+ ```bash
93
+ curl -X POST https://api.example.com/auth/login \
94
+ -H "Content-Type: application/json" \
95
+ -d '{"email": "user@example.com", "password": "pass"}'
96
+ ```
97
+ ```
98
+
99
+ ---
100
+
101
+ ## ARCHITECTURE MODE - ASCII Diagrams
102
+
103
+ ```ascii
104
+ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐
105
+ │ Client │────▶│ API GW │────▶│ Service │
106
+ └─────────────┘ └─────────────┘ └─────────────┘
107
+ │ │
108
+ ▼ ▼
109
+ ┌─────────────┐ ┌─────────────┐
110
+ │ Auth │ │ Database │
111
+ └─────────────┘ └─────────────┘
112
+ ```
113
+
114
+ ---
115
+
116
+ ## VALIDATION CHECKLIST
117
+
118
+ - [ ] **Links** - All internal links work
119
+ - [ ] **Code examples** - All code runs
120
+ - [ ] **Formatting** - Consistent markdown
121
+ - [ ] **Naming** - camelCase/PascalCase/snake_case correct
122
+ - [ ] **Completeness** - No TODO/FIXME left
123
+
124
+ ---
125
+
126
+ ## WORKFLOW
127
+
128
+ ```bash
129
+ # After feature
130
+ git commit -m "feat: add auth"
131
+ /docs update
132
+ git add docs/ && git commit -m "docs: update for auth"
133
+
134
+ # Weekly maintenance
135
+ /docs update
136
+ /docs summarize # Monthly
137
+ ```
138
+
139
+ > **Key Takeaway:** Keep docs synchronized with code. Run after every feature, validate weekly.
140
+ '''
141
+
142
+ # ---
143
+ # USAGE:
144
+ # /docs init - Create full docs suite
145
+ # /docs update - Scan git diff, update docs
146
+ # /docs summarize - Generate codebase summary
147
+ # /docs api /auth - Document auth endpoints
148
+ # ---