← Back to Kontasks
Generic Domains for 80% of Projects
Universal domain categories that apply across most software projects
Output
πΊοΈ Generic Domains (Universal)
Design Principle
Domains should be stable architectural layers that exist in virtually every software project. Like the layers of a building: foundation, walls, roof, plumbing, electrical β not "kitchen" or "bedroom".
π 8 Universal Domains
| Domain | Layer | What Lives Here |
|---|---|---|
| π₯οΈ UI | Presentation | Views, components, layouts, styling, user interactions |
| π API | Interface | HTTP routes, WebSocket, RPC, GraphQL, external contracts |
| βοΈ Core | Business Logic | Domain models, services, use cases, validation rules |
| πΎ Data | Persistence | Database, storage, queries, migrations, caching |
| π Auth | Security | Authentication, authorization, sessions, permissions |
| π Integration | External | Third-party APIs, webhooks, message queues, SDKs |
| ποΈ Infra | Foundation | Config, logging, deployment, CI/CD, monitoring |
| π Docs | Knowledge | README, guides, schemas, API docs, architecture notes |
π― Why These 8?
Classic layered architecture: βββββββββββββββββββββββββββββββββββββββββββ β UI Presentation layer β βββββββββββββββββββββββββββββββββββββββββββ€ β API Interface/boundary layer β βββββββββββββββββββββββββββββββββββββββββββ€ β Core Business logic layer β βββββββββββββββββββββββββββββββββββββββββββ€ β Data Persistence layer β βββββββββββββββββββββββββββββββββββββββββββ Cross-cutting concerns: Auth Security (spans all layers) Integration External systems Infra Platform/operations Docs Knowledge capture
π Topics Γ Domains Matrix
Work can be classified by both dimensions:
β UI β API β Coreβ Dataβ Authβ Intgβ Infraβ Docs
βββββββββββββββΌββββββΌββββββΌββββββΌββββββΌββββββΌββββββΌββββββΌβββββ
Architecture β Β· β β β β β β β Β· β Β· β Β· β β
UI/UX β β β Β· β Β· β Β· β Β· β Β· β Β· β Β·
Performance β β β β β β β β β Β· β β β Β· β Β·
DevOps β Β· β Β· β Β· β Β· β Β· β Β· β β β Β·
Testing β β β β β β β β β β β β β β β Β·
β = common combination Β· = less common
Example: "Add caching to API" = Performance topic + API domain
β Stability Check
| β | Every project has UI, API, Core, Data |
| β | Auth/Integration are common cross-cutting concerns |
| β | Infra/Docs are universal meta-concerns |
| β | No project-specific domains (no "Listings", "Kontasks") |
| β | Works for: web apps, CLIs, APIs, microservices, libraries |
Quick Actions
Original Request
No layout configured
Details
Type
General
Status
Completed
Scope
vibetools
Tags
schemadomainsarchitecture
Created
10 Jan 2026, 8:18 pm
Updated
10 Jan 2026, 8:18 pm
Timing
β±οΈ 45.4s
0 tools
β TTFE 0%
β Thinking 100%
β Tools 0%
Created By
claude
π Claude's Context
Session
ses_7c4eba4a...
Raw Data
{
"id": "d63ddf3e-009c-487c-872a-220032699519",
"type": "general",
"status": "completed",
"title": "Generic Domains for 80% of Projects",
"description": "Universal domain categories that apply across most software projects",
"context": {
"output": "<div style=\"background:#1e1e1e;color:#e0e0e0;padding:20px;border-radius:8px;font-family:'Consolas','Monaco',monospace;\">\n<h2 style=\"font-family:sans-serif;color:#fff;margin:0 0 16px 0;\">πΊοΈ Generic Domains (Universal)</h2>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<h3 style=\"color:#98c379;margin:0 0 12px 0;\">Design Principle</h3>\n<p style=\"margin:0;line-height:1.6;\">Domains should be <strong>stable architectural layers</strong> that exist in virtually every software project. Like the layers of a building: foundation, walls, roof, plumbing, electrical β not \"kitchen\" or \"bedroom\".</p>\n</div>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<h3 style=\"color:#61afef;margin:0 0 12px 0;\">π 8 Universal Domains</h3>\n<table style=\"width:100%;border-collapse:collapse;margin-top:8px;\">\n<tr style=\"border-bottom:1px solid #444;\">\n <th style=\"text-align:left;padding:10px;color:#98c379;\">Domain</th>\n <th style=\"text-align:left;padding:10px;color:#98c379;\">Layer</th>\n <th style=\"text-align:left;padding:10px;color:#98c379;\">What Lives Here</th>\n</tr>\n<tr style=\"border-bottom:1px solid #3a3a3a;\">\n <td style=\"padding:10px;\"><span style=\"background:#3b82f6;color:#fff;padding:3px 8px;border-radius:4px;font-weight:bold;\">π₯οΈ UI</span></td>\n <td style=\"padding:10px;color:#abb2bf;\">Presentation</td>\n <td style=\"padding:10px;color:#7f848e;\">Views, components, layouts, styling, user interactions</td>\n</tr>\n<tr style=\"border-bottom:1px solid #3a3a3a;\">\n <td style=\"padding:10px;\"><span style=\"background:#8b5cf6;color:#fff;padding:3px 8px;border-radius:4px;font-weight:bold;\">π API</span></td>\n <td style=\"padding:10px;color:#abb2bf;\">Interface</td>\n <td style=\"padding:10px;color:#7f848e;\">HTTP routes, WebSocket, RPC, GraphQL, external contracts</td>\n</tr>\n<tr style=\"border-bottom:1px solid #3a3a3a;\">\n <td style=\"padding:10px;\"><span style=\"background:#22c55e;color:#fff;padding:3px 8px;border-radius:4px;font-weight:bold;\">βοΈ Core</span></td>\n <td style=\"padding:10px;color:#abb2bf;\">Business Logic</td>\n <td style=\"padding:10px;color:#7f848e;\">Domain models, services, use cases, validation rules</td>\n</tr>\n<tr style=\"border-bottom:1px solid #3a3a3a;\">\n <td style=\"padding:10px;\"><span style=\"background:#f59e0b;color:#fff;padding:3px 8px;border-radius:4px;font-weight:bold;\">πΎ Data</span></td>\n <td style=\"padding:10px;color:#abb2bf;\">Persistence</td>\n <td style=\"padding:10px;color:#7f848e;\">Database, storage, queries, migrations, caching</td>\n</tr>\n<tr style=\"border-bottom:1px solid #3a3a3a;\">\n <td style=\"padding:10px;\"><span style=\"background:#ef4444;color:#fff;padding:3px 8px;border-radius:4px;font-weight:bold;\">π Auth</span></td>\n <td style=\"padding:10px;color:#abb2bf;\">Security</td>\n <td style=\"padding:10px;color:#7f848e;\">Authentication, authorization, sessions, permissions</td>\n</tr>\n<tr style=\"border-bottom:1px solid #3a3a3a;\">\n <td style=\"padding:10px;\"><span style=\"background:#06b6d4;color:#fff;padding:3px 8px;border-radius:4px;font-weight:bold;\">π Integration</span></td>\n <td style=\"padding:10px;color:#abb2bf;\">External</td>\n <td style=\"padding:10px;color:#7f848e;\">Third-party APIs, webhooks, message queues, SDKs</td>\n</tr>\n<tr style=\"border-bottom:1px solid #3a3a3a;\">\n <td style=\"padding:10px;\"><span style=\"background:#ec4899;color:#fff;padding:3px 8px;border-radius:4px;font-weight:bold;\">ποΈ Infra</span></td>\n <td style=\"padding:10px;color:#abb2bf;\">Foundation</td>\n <td style=\"padding:10px;color:#7f848e;\">Config, logging, deployment, CI/CD, monitoring</td>\n</tr>\n<tr style=\"border-bottom:1px solid #3a3a3a;\">\n <td style=\"padding:10px;\"><span style=\"background:#64748b;color:#fff;padding:3px 8px;border-radius:4px;font-weight:bold;\">π Docs</span></td>\n <td style=\"padding:10px;color:#abb2bf;\">Knowledge</td>\n <td style=\"padding:10px;color:#7f848e;\">README, guides, schemas, API docs, architecture notes</td>\n</tr>\n</table>\n</div>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<h3 style=\"color:#c678dd;margin:0 0 12px 0;\">π― Why These 8?</h3>\n<pre style=\"background:#252525;padding:12px;border-radius:4px;color:#e0e0e0;margin:0;overflow-x:auto;line-height:1.6;\">\n<span style=\"color:#98c379;\">Classic layered architecture:</span>\n\n βββββββββββββββββββββββββββββββββββββββββββ\n β <span style=\"color:#3b82f6;\">UI</span> Presentation layer β\n βββββββββββββββββββββββββββββββββββββββββββ€\n β <span style=\"color:#8b5cf6;\">API</span> Interface/boundary layer β\n βββββββββββββββββββββββββββββββββββββββββββ€\n β <span style=\"color:#22c55e;\">Core</span> Business logic layer β\n βββββββββββββββββββββββββββββββββββββββββββ€\n β <span style=\"color:#f59e0b;\">Data</span> Persistence layer β\n βββββββββββββββββββββββββββββββββββββββββββ\n \n<span style=\"color:#98c379;\">Cross-cutting concerns:</span>\n\n <span style=\"color:#ef4444;\">Auth</span> Security (spans all layers)\n <span style=\"color:#06b6d4;\">Integration</span> External systems\n <span style=\"color:#ec4899;\">Infra</span> Platform/operations\n <span style=\"color:#64748b;\">Docs</span> Knowledge capture\n</pre>\n</div>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<h3 style=\"color:#e5c07b;margin:0 0 12px 0;\">π Topics Γ Domains Matrix</h3>\n<p style=\"margin:0 0 12px 0;color:#abb2bf;\">Work can be classified by both dimensions:</p>\n<pre style=\"background:#252525;padding:12px;border-radius:4px;color:#e0e0e0;margin:0;overflow-x:auto;font-size:11px;\">\n β <span style=\"color:#3b82f6;\">UI</span> β <span style=\"color:#8b5cf6;\">API</span> β <span style=\"color:#22c55e;\">Core</span>β <span style=\"color:#f59e0b;\">Data</span>β <span style=\"color:#ef4444;\">Auth</span>β <span style=\"color:#06b6d4;\">Intg</span>β <span style=\"color:#ec4899;\">Infra</span>β <span style=\"color:#64748b;\">Docs</span>\nβββββββββββββββΌββββββΌββββββΌββββββΌββββββΌββββββΌββββββΌββββββΌβββββ\n<span style=\"color:#c678dd;\">Architecture</span> β Β· β β β β β β β Β· β Β· β Β· β β \n<span style=\"color:#61afef;\">UI/UX</span> β β β Β· β Β· β Β· β Β· β Β· β Β· β Β· \n<span style=\"color:#22c55e;\">Performance</span> β β β β β β β β β Β· β β β Β· β Β· \n<span style=\"color:#f97316;\">DevOps</span> β Β· β Β· β Β· β Β· β Β· β Β· β β β Β· \n<span style=\"color:#e5c07b;\">Testing</span> β β β β β β β β β β β β β β β Β· \n\nβ = common combination Β· = less common\n</pre>\n<p style=\"margin:12px 0 0 0;color:#7f848e;font-size:12px;\">Example: \"Add caching to API\" = <span style=\"color:#22c55e;\">Performance</span> topic + <span style=\"color:#8b5cf6;\">API</span> domain</p>\n</div>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;\">\n<h3 style=\"color:#56b6c2;margin:0 0 12px 0;\">β
Stability Check</h3>\n<table style=\"width:100%;border-collapse:collapse;\">\n<tr>\n <td style=\"padding:8px;color:#98c379;\">β</td>\n <td style=\"padding:8px;\">Every project has UI, API, Core, Data</td>\n</tr>\n<tr>\n <td style=\"padding:8px;color:#98c379;\">β</td>\n <td style=\"padding:8px;\">Auth/Integration are common cross-cutting concerns</td>\n</tr>\n<tr>\n <td style=\"padding:8px;color:#98c379;\">β</td>\n <td style=\"padding:8px;\">Infra/Docs are universal meta-concerns</td>\n</tr>\n<tr>\n <td style=\"padding:8px;color:#98c379;\">β</td>\n <td style=\"padding:8px;\">No project-specific domains (no \"Listings\", \"Kontasks\")</td>\n</tr>\n<tr>\n <td style=\"padding:8px;color:#98c379;\">β</td>\n <td style=\"padding:8px;\">Works for: web apps, CLIs, APIs, microservices, libraries</td>\n</tr>\n</table>\n</div>\n\n</div>",
"requestedAt": "2026-01-10T10:35:00.000Z",
"requestId": "b22eaac4-8f1e-49da-9c50-d4df8de209cf",
"choices": [
{
"label": "These 8 are good",
"value": "Proceed with these 8 universal domains: UI, API, Core, Data, Auth, Integration, Infra, Docs. Create the gvDomain schema.",
"primary": true
},
{
"label": "Fewer domains",
"value": "Consolidate to fewer domains. Suggest which to merge (e.g., API+Integration, Infra+Docs)."
},
{
"label": "Different domains",
"value": "Propose a different set of universal domains that better fit the 80% use case."
}
],
"turnTiming": {
"totalMs": 45365,
"ttfeMs": 58,
"thinkingMs": 45307,
"toolExecutionMs": 0,
"toolCallCount": 0,
"thinkingPct": 100,
"toolsPct": 0,
"ttfePct": 0
}
},
"createdBy": "claude",
"createdAt": "2026-01-10T10:18:43.423Z",
"updatedAt": "2026-01-10T10:18:47.480Z",
"requestId": "b22eaac4-8f1e-49da-9c50-d4df8de209cf",
"scope": "vibetools",
"tags": [
"schema",
"domains",
"architecture"
],
"sessionId": "ses_7c4eba4a-596",
"flowId": "flow_01KEHQ5A6Y7SHWCMHHZYGBC592",
"flowLinks": [
{
"flowId": "flow_01KEHQ5A6Y7SHWCMHHZYGBC592",
"edgeType": "evidence",
"createdAt": "2026-01-10T10:18:43.423Z"
}
]
}