feat: bootstrap design kit and vaporwave demo baseline
This commit is contained in:
14
exports/bundles/ai-rules.yaml
Normal file
14
exports/bundles/ai-rules.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"id": "ai-rules",
|
||||
"version": 1,
|
||||
"description": "Canonical AI instruction templates and shared architecture doc policy notes.",
|
||||
"conflict_policy": "merge-manual",
|
||||
"variables": [
|
||||
{ "name": "project_name", "required": false, "default": "Project" }
|
||||
],
|
||||
"entries": [
|
||||
{ "from": "ai/claude/CLAUDE.template.md", "to": "CLAUDE.md", "template": true, "mode": "file" },
|
||||
{ "from": "ai/codex/AGENTS.template.md", "to": "AGENTS.md", "template": true, "mode": "file" },
|
||||
{ "from": "ai/shared/ARCH_DOC_POLICY.md", "to": "docs/ARCH_DOC_POLICY.md", "template": false, "mode": "file" }
|
||||
]
|
||||
}
|
||||
9
exports/bundles/bible-core.yaml
Normal file
9
exports/bundles/bible-core.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"id": "bible-core",
|
||||
"version": 1,
|
||||
"description": "Canonical Bible skeleton for Go web projects using AI coding agents.",
|
||||
"conflict_policy": "merge-manual",
|
||||
"entries": [
|
||||
{ "from": "docs/bible-skeleton", "to": "bible", "mode": "dir" }
|
||||
]
|
||||
}
|
||||
18
exports/bundles/go-web-skeleton.yaml
Normal file
18
exports/bundles/go-web-skeleton.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"id": "go-web-skeleton",
|
||||
"version": 1,
|
||||
"description": "Minimal net/http + html/template web skeleton for Go projects.",
|
||||
"conflict_policy": "merge-manual",
|
||||
"variables": [
|
||||
{ "name": "module_path", "required": true },
|
||||
{ "name": "binary_name", "required": false, "default": "app" },
|
||||
{ "name": "project_name", "required": false, "default": "Demo" }
|
||||
],
|
||||
"entries": [
|
||||
{ "from": "scaffolds/go-nethttp-web/cmd/demo-server/main.go.tmpl", "to": "cmd/{{ .binary_name }}/main.go", "template": true, "mode": "file" },
|
||||
{ "from": "scaffolds/go-nethttp-web/internal/web", "to": "internal/web", "mode": "dir" },
|
||||
{ "from": "scaffolds/go-nethttp-web/web", "to": "web", "mode": "dir" },
|
||||
{ "from": "scaffolds/go-nethttp-web/Makefile", "to": "Makefile", "mode": "file" },
|
||||
{ "from": "scaffolds/go-nethttp-web/README.md", "to": "docs/ui-design-skeleton.md", "mode": "file" }
|
||||
]
|
||||
}
|
||||
10
exports/bundles/ui-pattern-controls.yaml
Normal file
10
exports/bundles/ui-pattern-controls.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"id": "ui-pattern-controls",
|
||||
"version": 1,
|
||||
"description": "Buttons, checkboxes, segmented filters, and bulk-selection control patterns.",
|
||||
"conflict_policy": "merge-manual",
|
||||
"entries": [
|
||||
{ "from": "patterns/controls-selection", "to": "docs/ui-patterns/controls-selection", "mode": "dir" }
|
||||
]
|
||||
}
|
||||
|
||||
10
exports/bundles/ui-pattern-forms.yaml
Normal file
10
exports/bundles/ui-pattern-forms.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"id": "ui-pattern-forms",
|
||||
"version": 1,
|
||||
"description": "Form validation, datalist suggestions, and review/confirm workflow patterns.",
|
||||
"conflict_policy": "merge-manual",
|
||||
"entries": [
|
||||
{ "from": "patterns/forms-validation", "to": "docs/ui-patterns/forms-validation", "mode": "dir" }
|
||||
]
|
||||
}
|
||||
|
||||
10
exports/bundles/ui-pattern-io.yaml
Normal file
10
exports/bundles/ui-pattern-io.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"id": "ui-pattern-io",
|
||||
"version": 1,
|
||||
"description": "Import/export workflow patterns for file upload preview and downloads.",
|
||||
"conflict_policy": "merge-manual",
|
||||
"entries": [
|
||||
{ "from": "patterns/import-export", "to": "docs/ui-patterns/import-export", "mode": "dir" }
|
||||
]
|
||||
}
|
||||
|
||||
9
exports/bundles/ui-pattern-modal.yaml
Normal file
9
exports/bundles/ui-pattern-modal.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"id": "ui-pattern-modal",
|
||||
"version": 1,
|
||||
"description": "Modal workflow pattern docs and starter templates.",
|
||||
"conflict_policy": "merge-manual",
|
||||
"entries": [
|
||||
{ "from": "patterns/modal-workflows", "to": "docs/ui-patterns/modal-workflows", "mode": "dir" }
|
||||
]
|
||||
}
|
||||
9
exports/bundles/ui-pattern-operator-tools.yaml
Normal file
9
exports/bundles/ui-pattern-operator-tools.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"id": "ui-pattern-operator-tools",
|
||||
"version": 1,
|
||||
"description": "Universal operator/admin dashboard pattern: queue tables, batch actions, and safety guardrails.",
|
||||
"conflict_policy": "merge-manual",
|
||||
"entries": [
|
||||
{ "from": "patterns/operator-tools", "to": "docs/ui-patterns/operator-tools", "mode": "dir" }
|
||||
]
|
||||
}
|
||||
9
exports/bundles/ui-pattern-table.yaml
Normal file
9
exports/bundles/ui-pattern-table.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"id": "ui-pattern-table",
|
||||
"version": 1,
|
||||
"description": "Table + server-side filter + pagination pattern docs and starter templates.",
|
||||
"conflict_policy": "merge-manual",
|
||||
"entries": [
|
||||
{ "from": "patterns/table-pagination", "to": "docs/ui-patterns/table-pagination", "mode": "dir" }
|
||||
]
|
||||
}
|
||||
10
exports/bundles/ui-pattern-timeline.yaml
Normal file
10
exports/bundles/ui-pattern-timeline.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"id": "ui-pattern-timeline",
|
||||
"version": 1,
|
||||
"description": "Timeline cards with grouped summaries and drilldown modal patterns.",
|
||||
"conflict_policy": "merge-manual",
|
||||
"entries": [
|
||||
{ "from": "patterns/timeline-cards", "to": "docs/ui-patterns/timeline-cards", "mode": "dir" }
|
||||
]
|
||||
}
|
||||
|
||||
9
exports/bundles/ui-theme-aqua-legacy.yaml
Normal file
9
exports/bundles/ui-theme-aqua-legacy.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"id": "ui-theme-aqua-legacy",
|
||||
"version": 1,
|
||||
"description": "Legacy snapshot bundle of the Aqua-style visual exploration (reference only, not active baseline).",
|
||||
"conflict_policy": "merge-manual",
|
||||
"entries": [
|
||||
{ "from": "patterns/theme-aqua-legacy", "to": "docs/ui-themes/aqua-legacy", "mode": "dir" }
|
||||
]
|
||||
}
|
||||
15
exports/index.yaml
Normal file
15
exports/index.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"bundles": [
|
||||
{ "id": "ai-rules", "manifest": "exports/bundles/ai-rules.yaml" },
|
||||
{ "id": "bible-core", "manifest": "exports/bundles/bible-core.yaml" },
|
||||
{ "id": "go-web-skeleton", "manifest": "exports/bundles/go-web-skeleton.yaml" },
|
||||
{ "id": "ui-pattern-controls", "manifest": "exports/bundles/ui-pattern-controls.yaml" },
|
||||
{ "id": "ui-pattern-forms", "manifest": "exports/bundles/ui-pattern-forms.yaml" },
|
||||
{ "id": "ui-pattern-io", "manifest": "exports/bundles/ui-pattern-io.yaml" },
|
||||
{ "id": "ui-pattern-operator-tools", "manifest": "exports/bundles/ui-pattern-operator-tools.yaml" },
|
||||
{ "id": "ui-pattern-table", "manifest": "exports/bundles/ui-pattern-table.yaml" },
|
||||
{ "id": "ui-pattern-modal", "manifest": "exports/bundles/ui-pattern-modal.yaml" },
|
||||
{ "id": "ui-pattern-timeline", "manifest": "exports/bundles/ui-pattern-timeline.yaml" },
|
||||
{ "id": "ui-theme-aqua-legacy", "manifest": "exports/bundles/ui-theme-aqua-legacy.yaml" }
|
||||
]
|
||||
}
|
||||
39
exports/schema/bundle-manifest.schema.yaml
Normal file
39
exports/schema/bundle-manifest.schema.yaml
Normal file
@@ -0,0 +1,39 @@
|
||||
$schema: "informational"
|
||||
title: UI Design Code Bundle Manifest (informal schema)
|
||||
type: object
|
||||
required:
|
||||
- id
|
||||
- version
|
||||
- description
|
||||
- entries
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
version:
|
||||
type: integer
|
||||
description:
|
||||
type: string
|
||||
conflict_policy:
|
||||
type: string
|
||||
enum: [overwrite, skip, merge-manual]
|
||||
variables:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
required: [name]
|
||||
properties:
|
||||
name: { type: string }
|
||||
required: { type: boolean }
|
||||
default: {}
|
||||
entries:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
required: [from, to]
|
||||
properties:
|
||||
from: { type: string, description: "path under kit/" }
|
||||
to: { type: string, description: "path under host repo root" }
|
||||
template: { type: boolean }
|
||||
mode: { type: string, enum: [file, dir] }
|
||||
conflict_policy: { type: string, enum: [overwrite, skip, merge-manual] }
|
||||
|
||||
Reference in New Issue
Block a user