@mohammadhprp/system-prompt 0.10.1
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.
- package/LICENSE +21 -0
- package/README.md +35 -0
- package/bin/system-prompt.js +8 -0
- package/framework/README.md +163 -0
- package/framework/agents/README.md +49 -0
- package/framework/agents/backend-architect.md +146 -0
- package/framework/agents/researcher.md +79 -0
- package/framework/agents/reviewer.md +183 -0
- package/framework/agents/security-auditor.md +131 -0
- package/framework/commands/README.md +43 -0
- package/framework/commands/changelog.md +44 -0
- package/framework/commands/commit.md +31 -0
- package/framework/commands/learn.md +24 -0
- package/framework/commands/mr.md +46 -0
- package/framework/commands/pr.md +39 -0
- package/framework/commands/release.md +34 -0
- package/framework/commands/review.md +24 -0
- package/framework/commands/summarize-changes.md +49 -0
- package/framework/mcps/README.md +78 -0
- package/framework/mcps/excalidraw/README.md +37 -0
- package/framework/mcps/excalidraw/capabilities.md +54 -0
- package/framework/mcps/excalidraw/configs/opencode.json +8 -0
- package/framework/mcps/excalidraw/install.md +92 -0
- package/framework/mcps/excalidraw/troubleshooting.md +67 -0
- package/framework/mcps/figma-mcp-go/README.md +51 -0
- package/framework/mcps/figma-mcp-go/capabilities.md +190 -0
- package/framework/mcps/figma-mcp-go/configs/opencode.json +9 -0
- package/framework/mcps/figma-mcp-go/install.md +74 -0
- package/framework/mcps/figma-mcp-go/troubleshooting.md +99 -0
- package/framework/mcps/github-mcp/README.md +51 -0
- package/framework/mcps/github-mcp/capabilities.md +83 -0
- package/framework/mcps/github-mcp/configs/.env.example +1 -0
- package/framework/mcps/github-mcp/configs/opencode.json +13 -0
- package/framework/mcps/github-mcp/install.md +60 -0
- package/framework/mcps/github-mcp/troubleshooting.md +79 -0
- package/framework/mcps/gitlab-mcp/README.md +54 -0
- package/framework/mcps/gitlab-mcp/capabilities.md +216 -0
- package/framework/mcps/gitlab-mcp/configs/.env.example +2 -0
- package/framework/mcps/gitlab-mcp/configs/opencode.json +13 -0
- package/framework/mcps/gitlab-mcp/install.md +99 -0
- package/framework/mcps/gitlab-mcp/troubleshooting.md +116 -0
- package/framework/mcps/jira-mcp/README.md +53 -0
- package/framework/mcps/jira-mcp/capabilities.md +79 -0
- package/framework/mcps/jira-mcp/configs/.env.example +2 -0
- package/framework/mcps/jira-mcp/configs/opencode.json +13 -0
- package/framework/mcps/jira-mcp/install.md +94 -0
- package/framework/mcps/jira-mcp/troubleshooting.md +113 -0
- package/framework/mcps/laravel-boost/README.md +53 -0
- package/framework/mcps/laravel-boost/capabilities.md +92 -0
- package/framework/mcps/laravel-boost/configs/opencode.json +9 -0
- package/framework/mcps/laravel-boost/install.md +106 -0
- package/framework/mcps/laravel-boost/troubleshooting.md +119 -0
- package/framework/mcps/notion-mcp/README.md +58 -0
- package/framework/mcps/notion-mcp/capabilities.md +118 -0
- package/framework/mcps/notion-mcp/configs/opencode.json +9 -0
- package/framework/mcps/notion-mcp/install.md +70 -0
- package/framework/mcps/notion-mcp/troubleshooting.md +95 -0
- package/framework/mcps/playwright-mcp/README.md +50 -0
- package/framework/mcps/playwright-mcp/capabilities.md +149 -0
- package/framework/mcps/playwright-mcp/configs/opencode.json +9 -0
- package/framework/mcps/playwright-mcp/install.md +136 -0
- package/framework/mcps/playwright-mcp/troubleshooting.md +154 -0
- package/framework/mcps/supabase-mcp/README.md +66 -0
- package/framework/mcps/supabase-mcp/capabilities.md +127 -0
- package/framework/mcps/supabase-mcp/configs/opencode.json +9 -0
- package/framework/mcps/supabase-mcp/install.md +85 -0
- package/framework/mcps/supabase-mcp/troubleshooting.md +113 -0
- package/framework/memory/README.md +17 -0
- package/framework/memory/codebase-insights.md +6 -0
- package/framework/memory/user-preferences.md +5 -0
- package/framework/modes/README.md +52 -0
- package/framework/modes/audit.md +88 -0
- package/framework/plugins/README.md +65 -0
- package/framework/plugins/opencode-goal-plugin/README.md +45 -0
- package/framework/plugins/opencode-goal-plugin/capabilities.md +127 -0
- package/framework/plugins/opencode-goal-plugin/install.md +71 -0
- package/framework/plugins/opencode-goal-plugin/troubleshooting.md +112 -0
- package/framework/plugins/ponytail/README.md +44 -0
- package/framework/plugins/ponytail/capabilities.md +112 -0
- package/framework/plugins/ponytail/install.md +77 -0
- package/framework/plugins/ponytail/troubleshooting.md +116 -0
- package/framework/references/standards/api.md +44 -0
- package/framework/references/standards/architecture.md +43 -0
- package/framework/references/standards/database.md +43 -0
- package/framework/references/standards/debugging.md +44 -0
- package/framework/references/standards/documentation.md +43 -0
- package/framework/references/standards/logging.md +43 -0
- package/framework/references/standards/naming.md +43 -0
- package/framework/references/standards/observability.md +43 -0
- package/framework/references/standards/performance.md +43 -0
- package/framework/references/standards/pull-requests.md +43 -0
- package/framework/references/standards/security.md +43 -0
- package/framework/references/standards/testing.md +43 -0
- package/framework/references/templates/adr.md +28 -0
- package/framework/references/templates/api-spec.md +56 -0
- package/framework/references/templates/design-document.md +39 -0
- package/framework/references/templates/incident-report.md +38 -0
- package/framework/references/templates/postmortem.md +41 -0
- package/framework/references/templates/pull-request.md +34 -0
- package/framework/references/templates/runbook.md +48 -0
- package/framework/references/templates/task.md +27 -0
- package/framework/skills/README.md +68 -0
- package/framework/skills/agent-browser/SKILL.md +51 -0
- package/framework/skills/backend-best-practices/SKILL.md +136 -0
- package/framework/skills/backend-best-practices/examples.md +31 -0
- package/framework/skills/backend-best-practices/references/api-design.md +79 -0
- package/framework/skills/backend-best-practices/references/architecture-review.md +77 -0
- package/framework/skills/backend-best-practices/references/database-design.md +78 -0
- package/framework/skills/backend-best-practices/references/debugging.md +76 -0
- package/framework/skills/backend-best-practices/references/observability.md +78 -0
- package/framework/skills/backend-best-practices/references/performance.md +78 -0
- package/framework/skills/backend-best-practices/references/refactoring.md +77 -0
- package/framework/skills/backend-best-practices/references/security.md +80 -0
- package/framework/skills/backend-best-practices/references/testing.md +77 -0
- package/framework/skills/backend-engineer/SKILL.md +76 -0
- package/framework/skills/backend-engineer/examples.md +31 -0
- package/framework/skills/brainstorming/SKILL.md +159 -0
- package/framework/skills/brainstorming/examples.md +49 -0
- package/framework/skills/brainstorming/scripts/frame-template.html +213 -0
- package/framework/skills/brainstorming/scripts/helper.js +167 -0
- package/framework/skills/brainstorming/scripts/server.cjs +723 -0
- package/framework/skills/brainstorming/scripts/start-server.sh +209 -0
- package/framework/skills/brainstorming/scripts/stop-server.sh +120 -0
- package/framework/skills/brainstorming/visual-companion.md +291 -0
- package/framework/skills/brand-guidelines/LICENSE.txt +202 -0
- package/framework/skills/brand-guidelines/SKILL.md +73 -0
- package/framework/skills/code-review/SKILL.md +72 -0
- package/framework/skills/code-review/examples.md +31 -0
- package/framework/skills/design/SKILL.md +399 -0
- package/framework/skills/design/examples.md +34 -0
- package/framework/skills/diagram-design/SKILL.md +485 -0
- package/framework/skills/diagram-design/assets/example-architecture-dark.html +180 -0
- package/framework/skills/diagram-design/assets/example-architecture-full.html +192 -0
- package/framework/skills/diagram-design/assets/example-architecture.html +181 -0
- package/framework/skills/diagram-design/assets/example-bar-dark.html +127 -0
- package/framework/skills/diagram-design/assets/example-bar-full.html +103 -0
- package/framework/skills/diagram-design/assets/example-bar.html +127 -0
- package/framework/skills/diagram-design/assets/example-data-flow-dark.html +143 -0
- package/framework/skills/diagram-design/assets/example-data-flow-full.html +185 -0
- package/framework/skills/diagram-design/assets/example-data-flow.html +143 -0
- package/framework/skills/diagram-design/assets/example-datalake-dark.html +241 -0
- package/framework/skills/diagram-design/assets/example-datalake-full.html +246 -0
- package/framework/skills/diagram-design/assets/example-datalake.html +267 -0
- package/framework/skills/diagram-design/assets/example-dp-integration-dark.html +78 -0
- package/framework/skills/diagram-design/assets/example-dp-integration-full.html +88 -0
- package/framework/skills/diagram-design/assets/example-dp-integration.html +78 -0
- package/framework/skills/diagram-design/assets/example-dp-security-matrix-dark.html +31 -0
- package/framework/skills/diagram-design/assets/example-dp-security-matrix-full.html +32 -0
- package/framework/skills/diagram-design/assets/example-dp-security-matrix.html +88 -0
- package/framework/skills/diagram-design/assets/example-er-dark.html +200 -0
- package/framework/skills/diagram-design/assets/example-er-full.html +203 -0
- package/framework/skills/diagram-design/assets/example-er.html +200 -0
- package/framework/skills/diagram-design/assets/example-flowchart-dark.html +154 -0
- package/framework/skills/diagram-design/assets/example-flowchart-full.html +157 -0
- package/framework/skills/diagram-design/assets/example-flowchart.html +154 -0
- package/framework/skills/diagram-design/assets/example-gantt-dark.html +135 -0
- package/framework/skills/diagram-design/assets/example-gantt-full.html +125 -0
- package/framework/skills/diagram-design/assets/example-gantt.html +135 -0
- package/framework/skills/diagram-design/assets/example-high-level-dark.html +249 -0
- package/framework/skills/diagram-design/assets/example-high-level-full.html +245 -0
- package/framework/skills/diagram-design/assets/example-high-level-vertical-dark.html +272 -0
- package/framework/skills/diagram-design/assets/example-high-level-vertical-full.html +250 -0
- package/framework/skills/diagram-design/assets/example-high-level-vertical.html +323 -0
- package/framework/skills/diagram-design/assets/example-high-level.html +299 -0
- package/framework/skills/diagram-design/assets/example-it-state-dark.html +90 -0
- package/framework/skills/diagram-design/assets/example-it-state-full.html +69 -0
- package/framework/skills/diagram-design/assets/example-it-state.html +128 -0
- package/framework/skills/diagram-design/assets/example-layers-dark.html +121 -0
- package/framework/skills/diagram-design/assets/example-layers-full.html +124 -0
- package/framework/skills/diagram-design/assets/example-layers.html +121 -0
- package/framework/skills/diagram-design/assets/example-line-dark.html +109 -0
- package/framework/skills/diagram-design/assets/example-line-full.html +103 -0
- package/framework/skills/diagram-design/assets/example-line.html +109 -0
- package/framework/skills/diagram-design/assets/example-loop-dark.html +100 -0
- package/framework/skills/diagram-design/assets/example-loop-full.html +137 -0
- package/framework/skills/diagram-design/assets/example-loop-terminal.html +347 -0
- package/framework/skills/diagram-design/assets/example-loop.html +100 -0
- package/framework/skills/diagram-design/assets/example-medallion-dark.html +159 -0
- package/framework/skills/diagram-design/assets/example-medallion-full.html +201 -0
- package/framework/skills/diagram-design/assets/example-medallion.html +159 -0
- package/framework/skills/diagram-design/assets/example-nested-dark.html +130 -0
- package/framework/skills/diagram-design/assets/example-nested-full.html +133 -0
- package/framework/skills/diagram-design/assets/example-nested.html +134 -0
- package/framework/skills/diagram-design/assets/example-org-chart-dark.html +45 -0
- package/framework/skills/diagram-design/assets/example-org-chart-full.html +45 -0
- package/framework/skills/diagram-design/assets/example-org-chart.html +45 -0
- package/framework/skills/diagram-design/assets/example-process-dark.html +62 -0
- package/framework/skills/diagram-design/assets/example-process-full.html +72 -0
- package/framework/skills/diagram-design/assets/example-process.html +62 -0
- package/framework/skills/diagram-design/assets/example-pyramid-dark.html +117 -0
- package/framework/skills/diagram-design/assets/example-pyramid-full.html +120 -0
- package/framework/skills/diagram-design/assets/example-pyramid.html +117 -0
- package/framework/skills/diagram-design/assets/example-quadrant-consultant.html +164 -0
- package/framework/skills/diagram-design/assets/example-quadrant-dark.html +133 -0
- package/framework/skills/diagram-design/assets/example-quadrant-full.html +136 -0
- package/framework/skills/diagram-design/assets/example-quadrant.html +133 -0
- package/framework/skills/diagram-design/assets/example-radar-dark.html +137 -0
- package/framework/skills/diagram-design/assets/example-radar-full.html +133 -0
- package/framework/skills/diagram-design/assets/example-radar.html +137 -0
- package/framework/skills/diagram-design/assets/example-scatter-dark.html +139 -0
- package/framework/skills/diagram-design/assets/example-scatter-full.html +114 -0
- package/framework/skills/diagram-design/assets/example-scatter.html +139 -0
- package/framework/skills/diagram-design/assets/example-sequence-dark.html +220 -0
- package/framework/skills/diagram-design/assets/example-sequence-full.html +386 -0
- package/framework/skills/diagram-design/assets/example-sequence.html +220 -0
- package/framework/skills/diagram-design/assets/example-state-dark.html +145 -0
- package/framework/skills/diagram-design/assets/example-state-full.html +148 -0
- package/framework/skills/diagram-design/assets/example-state.html +145 -0
- package/framework/skills/diagram-design/assets/example-swimlane-dark.html +170 -0
- package/framework/skills/diagram-design/assets/example-swimlane-full.html +173 -0
- package/framework/skills/diagram-design/assets/example-swimlane.html +170 -0
- package/framework/skills/diagram-design/assets/example-timeline-dark.html +133 -0
- package/framework/skills/diagram-design/assets/example-timeline-full.html +136 -0
- package/framework/skills/diagram-design/assets/example-timeline.html +133 -0
- package/framework/skills/diagram-design/assets/example-tree-dark.html +171 -0
- package/framework/skills/diagram-design/assets/example-tree-full.html +174 -0
- package/framework/skills/diagram-design/assets/example-tree.html +171 -0
- package/framework/skills/diagram-design/assets/example-venn-dark.html +130 -0
- package/framework/skills/diagram-design/assets/example-venn-full.html +133 -0
- package/framework/skills/diagram-design/assets/example-venn.html +108 -0
- package/framework/skills/diagram-design/assets/icons.html +230 -0
- package/framework/skills/diagram-design/assets/index.html +333 -0
- package/framework/skills/diagram-design/assets/template-dark.html +82 -0
- package/framework/skills/diagram-design/assets/template-full.html +410 -0
- package/framework/skills/diagram-design/assets/template-terminal.html +170 -0
- package/framework/skills/diagram-design/assets/template.html +83 -0
- package/framework/skills/diagram-design/references/export.md +107 -0
- package/framework/skills/diagram-design/references/onboarding.md +268 -0
- package/framework/skills/diagram-design/references/primitive-annotation.md +36 -0
- package/framework/skills/diagram-design/references/primitive-icons.md +821 -0
- package/framework/skills/diagram-design/references/primitive-sketchy.md +43 -0
- package/framework/skills/diagram-design/references/primitive-terminal.md +76 -0
- package/framework/skills/diagram-design/references/style-guide.md +139 -0
- package/framework/skills/diagram-design/references/type-architecture.md +78 -0
- package/framework/skills/diagram-design/references/type-bar.md +48 -0
- package/framework/skills/diagram-design/references/type-data-flow.md +374 -0
- package/framework/skills/diagram-design/references/type-dp-integration.md +410 -0
- package/framework/skills/diagram-design/references/type-dp-security-matrix.md +379 -0
- package/framework/skills/diagram-design/references/type-er.md +23 -0
- package/framework/skills/diagram-design/references/type-flowchart.md +23 -0
- package/framework/skills/diagram-design/references/type-gantt.md +45 -0
- package/framework/skills/diagram-design/references/type-high-level.md +458 -0
- package/framework/skills/diagram-design/references/type-it-state.md +470 -0
- package/framework/skills/diagram-design/references/type-layers.md +26 -0
- package/framework/skills/diagram-design/references/type-line.md +44 -0
- package/framework/skills/diagram-design/references/type-loop.md +223 -0
- package/framework/skills/diagram-design/references/type-medallion.md +356 -0
- package/framework/skills/diagram-design/references/type-nested.md +22 -0
- package/framework/skills/diagram-design/references/type-org-chart.md +44 -0
- package/framework/skills/diagram-design/references/type-process.md +495 -0
- package/framework/skills/diagram-design/references/type-pyramid.md +33 -0
- package/framework/skills/diagram-design/references/type-quadrant.md +81 -0
- package/framework/skills/diagram-design/references/type-radar.md +80 -0
- package/framework/skills/diagram-design/references/type-scatter.md +39 -0
- package/framework/skills/diagram-design/references/type-sequence.md +35 -0
- package/framework/skills/diagram-design/references/type-state.md +21 -0
- package/framework/skills/diagram-design/references/type-swimlane.md +20 -0
- package/framework/skills/diagram-design/references/type-timeline.md +20 -0
- package/framework/skills/diagram-design/references/type-tree.md +24 -0
- package/framework/skills/diagram-design/references/type-venn.md +26 -0
- package/framework/skills/documentation/SKILL.md +74 -0
- package/framework/skills/documentation/examples.md +31 -0
- package/framework/skills/find-skills/SKILL.md +141 -0
- package/framework/skills/find-skills/examples.md +35 -0
- package/framework/skills/gitlab-mcp/SKILL.md +83 -0
- package/framework/skills/gitlab-mcp/examples.md +31 -0
- package/framework/skills/gitlab-mcp/references/code-review.md +110 -0
- package/framework/skills/gitlab-mcp/references/issues.md +141 -0
- package/framework/skills/gitlab-mcp/references/merge-requests.md +120 -0
- package/framework/skills/gitlab-mcp/references/pipelines.md +67 -0
- package/framework/skills/gitlab-mcp/references/search.md +17 -0
- package/framework/skills/gitlab-mcp/references/webhooks.md +32 -0
- package/framework/skills/gitlab-mcp/references/work-items.md +50 -0
- package/framework/skills/jira-mcp/SKILL.md +57 -0
- package/framework/skills/jira-mcp/examples.md +31 -0
- package/framework/skills/jira-mcp/references/comments.md +27 -0
- package/framework/skills/jira-mcp/references/issues.md +97 -0
- package/framework/skills/jira-mcp/references/projects.md +39 -0
- package/framework/skills/laravel-best-practices/SKILL.md +229 -0
- package/framework/skills/laravel-best-practices/examples.md +31 -0
- package/framework/skills/laravel-best-practices/references/advanced-queries.md +106 -0
- package/framework/skills/laravel-best-practices/references/architecture.md +202 -0
- package/framework/skills/laravel-best-practices/references/blade-views.md +36 -0
- package/framework/skills/laravel-best-practices/references/caching.md +70 -0
- package/framework/skills/laravel-best-practices/references/collections.md +44 -0
- package/framework/skills/laravel-best-practices/references/config.md +73 -0
- package/framework/skills/laravel-best-practices/references/db-performance.md +192 -0
- package/framework/skills/laravel-best-practices/references/eloquent.md +148 -0
- package/framework/skills/laravel-best-practices/references/error-handling.md +72 -0
- package/framework/skills/laravel-best-practices/references/events-notifications.md +52 -0
- package/framework/skills/laravel-best-practices/references/http-client.md +160 -0
- package/framework/skills/laravel-best-practices/references/mail.md +27 -0
- package/framework/skills/laravel-best-practices/references/migrations.md +121 -0
- package/framework/skills/laravel-best-practices/references/passport.md +197 -0
- package/framework/skills/laravel-best-practices/references/pennant.md +61 -0
- package/framework/skills/laravel-best-practices/references/pest-testing.md +166 -0
- package/framework/skills/laravel-best-practices/references/pulse.md +196 -0
- package/framework/skills/laravel-best-practices/references/queue-jobs.md +144 -0
- package/framework/skills/laravel-best-practices/references/routing.md +99 -0
- package/framework/skills/laravel-best-practices/references/scheduling.md +39 -0
- package/framework/skills/laravel-best-practices/references/scout.md +176 -0
- package/framework/skills/laravel-best-practices/references/security.md +198 -0
- package/framework/skills/laravel-best-practices/references/spatie-laravel-backup.md +222 -0
- package/framework/skills/laravel-best-practices/references/spatie-laravel-permission.md +272 -0
- package/framework/skills/laravel-best-practices/references/spatie-medialibrary.md +672 -0
- package/framework/skills/laravel-best-practices/references/style.md +125 -0
- package/framework/skills/laravel-best-practices/references/tailwindcss.md +112 -0
- package/framework/skills/laravel-best-practices/references/testing.md +43 -0
- package/framework/skills/laravel-best-practices/references/validation.md +75 -0
- package/framework/skills/lavish/SKILL.md +67 -0
- package/framework/skills/lavish/examples.md +31 -0
- package/framework/skills/notion-mcp/SKILL.md +57 -0
- package/framework/skills/notion-mcp/examples.md +31 -0
- package/framework/skills/notion-mcp/references/comments.md +112 -0
- package/framework/skills/notion-mcp/references/databases.md +193 -0
- package/framework/skills/notion-mcp/references/pages.md +235 -0
- package/framework/skills/skill-creator/LICENSE.txt +202 -0
- package/framework/skills/skill-creator/SKILL.md +485 -0
- package/framework/skills/skill-creator/agents/analyzer.md +274 -0
- package/framework/skills/skill-creator/agents/comparator.md +202 -0
- package/framework/skills/skill-creator/agents/grader.md +223 -0
- package/framework/skills/skill-creator/assets/eval_review.html +146 -0
- package/framework/skills/skill-creator/eval-viewer/generate_review.py +471 -0
- package/framework/skills/skill-creator/eval-viewer/viewer.html +1325 -0
- package/framework/skills/skill-creator/examples.md +31 -0
- package/framework/skills/skill-creator/references/schemas.md +430 -0
- package/framework/skills/skill-creator/scripts/__init__.py +0 -0
- package/framework/skills/skill-creator/scripts/aggregate_benchmark.py +401 -0
- package/framework/skills/skill-creator/scripts/generate_report.py +326 -0
- package/framework/skills/skill-creator/scripts/improve_description.py +247 -0
- package/framework/skills/skill-creator/scripts/package_skill.py +136 -0
- package/framework/skills/skill-creator/scripts/quick_validate.py +103 -0
- package/framework/skills/skill-creator/scripts/run_eval.py +310 -0
- package/framework/skills/skill-creator/scripts/run_loop.py +328 -0
- package/framework/skills/skill-creator/scripts/utils.py +47 -0
- package/framework/styles/README.md +35 -0
- package/framework/styles/linear/DESIGN.md +478 -0
- package/framework/styles/linear/README.md +36 -0
- package/framework/styles/linear/assets/preview.jpg +0 -0
- package/framework/styles/raycast/DESIGN.md +495 -0
- package/framework/styles/raycast/README.md +35 -0
- package/framework/styles/raycast/assets/preview.jpg +0 -0
- package/package.json +33 -0
- package/src/agent-configs.js +96 -0
- package/src/catalog.js +145 -0
- package/src/cli.js +254 -0
- package/src/installer.js +303 -0
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
+
<title>Diagram Design · Gallery</title>
|
|
7
|
+
<link
|
|
8
|
+
href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Geist:wght@400;500;600&family=Geist+Mono:wght@400;500;600&display=swap"
|
|
9
|
+
rel="stylesheet"
|
|
10
|
+
/>
|
|
11
|
+
<style>
|
|
12
|
+
*,
|
|
13
|
+
*::before,
|
|
14
|
+
*::after {
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
margin: 0;
|
|
17
|
+
padding: 0;
|
|
18
|
+
}
|
|
19
|
+
:root {
|
|
20
|
+
--paper: #f5f4ed;
|
|
21
|
+
--paper-2: #efeee5;
|
|
22
|
+
--ink: #0b0d0b;
|
|
23
|
+
--muted: #52534e;
|
|
24
|
+
--soft: #65655c;
|
|
25
|
+
--rule: rgba(11, 13, 11, 0.12);
|
|
26
|
+
--rule-strong: rgba(11, 13, 11, 0.25);
|
|
27
|
+
--accent: #f7591f;
|
|
28
|
+
--sans: "Geist", system-ui, sans-serif;
|
|
29
|
+
--serif: "Instrument Serif", serif;
|
|
30
|
+
--mono: "Geist Mono", ui-monospace, monospace;
|
|
31
|
+
}
|
|
32
|
+
html,
|
|
33
|
+
body {
|
|
34
|
+
height: 100%;
|
|
35
|
+
}
|
|
36
|
+
body {
|
|
37
|
+
font-family: var(--sans);
|
|
38
|
+
background: var(--paper);
|
|
39
|
+
color: var(--ink);
|
|
40
|
+
display: flex;
|
|
41
|
+
flex-direction: column;
|
|
42
|
+
overflow: hidden;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.topbar {
|
|
46
|
+
padding: 1rem 1.25rem 0.625rem;
|
|
47
|
+
border-bottom: 1px solid var(--rule);
|
|
48
|
+
flex: 0 0 auto;
|
|
49
|
+
}
|
|
50
|
+
.title-row {
|
|
51
|
+
display: flex;
|
|
52
|
+
align-items: baseline;
|
|
53
|
+
justify-content: space-between;
|
|
54
|
+
margin-bottom: 0.75rem;
|
|
55
|
+
gap: 1rem;
|
|
56
|
+
}
|
|
57
|
+
.title-row h1 {
|
|
58
|
+
font-family: var(--serif);
|
|
59
|
+
font-size: 1.5rem;
|
|
60
|
+
font-weight: 400;
|
|
61
|
+
letter-spacing: -0.01em;
|
|
62
|
+
line-height: 1;
|
|
63
|
+
}
|
|
64
|
+
.title-row .meta {
|
|
65
|
+
font-family: var(--mono);
|
|
66
|
+
font-size: 0.66rem;
|
|
67
|
+
letter-spacing: 0.18em;
|
|
68
|
+
text-transform: uppercase;
|
|
69
|
+
color: var(--muted);
|
|
70
|
+
}
|
|
71
|
+
.title-row .open-raw {
|
|
72
|
+
font-family: var(--mono);
|
|
73
|
+
font-size: 0.66rem;
|
|
74
|
+
letter-spacing: 0.06em;
|
|
75
|
+
color: var(--muted);
|
|
76
|
+
text-decoration: none;
|
|
77
|
+
padding: 0.3rem 0.625rem;
|
|
78
|
+
border: 1px solid var(--rule);
|
|
79
|
+
border-radius: 4px;
|
|
80
|
+
transition:
|
|
81
|
+
color 0.15s,
|
|
82
|
+
border-color 0.15s;
|
|
83
|
+
}
|
|
84
|
+
.open-raw:hover {
|
|
85
|
+
color: var(--accent);
|
|
86
|
+
border-color: var(--accent);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.tabs {
|
|
90
|
+
display: flex;
|
|
91
|
+
flex-wrap: wrap;
|
|
92
|
+
gap: 0.375rem;
|
|
93
|
+
margin-bottom: 0.5rem;
|
|
94
|
+
}
|
|
95
|
+
.tabs.variants {
|
|
96
|
+
margin-bottom: 0;
|
|
97
|
+
padding-top: 0.5rem;
|
|
98
|
+
border-top: 1px solid var(--rule);
|
|
99
|
+
}
|
|
100
|
+
.tab {
|
|
101
|
+
font-family: var(--sans);
|
|
102
|
+
font-size: 0.8125rem;
|
|
103
|
+
font-weight: 500;
|
|
104
|
+
padding: 0.375rem 0.75rem;
|
|
105
|
+
background: transparent;
|
|
106
|
+
color: var(--muted);
|
|
107
|
+
border: 1px solid var(--rule);
|
|
108
|
+
border-radius: 4px;
|
|
109
|
+
cursor: pointer;
|
|
110
|
+
transition: all 0.12s;
|
|
111
|
+
letter-spacing: -0.005em;
|
|
112
|
+
}
|
|
113
|
+
.tab:hover {
|
|
114
|
+
color: var(--ink);
|
|
115
|
+
border-color: var(--rule-strong);
|
|
116
|
+
}
|
|
117
|
+
.tab.active {
|
|
118
|
+
background: var(--ink);
|
|
119
|
+
color: var(--paper);
|
|
120
|
+
border-color: var(--ink);
|
|
121
|
+
}
|
|
122
|
+
.tab .eyebrow {
|
|
123
|
+
display: inline-block;
|
|
124
|
+
margin-right: 0.25rem;
|
|
125
|
+
font-family: var(--mono);
|
|
126
|
+
font-size: 0.56rem;
|
|
127
|
+
letter-spacing: 0.12em;
|
|
128
|
+
text-transform: uppercase;
|
|
129
|
+
color: inherit;
|
|
130
|
+
opacity: 0.5;
|
|
131
|
+
}
|
|
132
|
+
.tab.new::after {
|
|
133
|
+
content: "NEW";
|
|
134
|
+
display: inline-block;
|
|
135
|
+
margin-left: 0.35rem;
|
|
136
|
+
font-family: var(--mono);
|
|
137
|
+
font-size: 0.54rem;
|
|
138
|
+
letter-spacing: 0.12em;
|
|
139
|
+
color: var(--accent);
|
|
140
|
+
vertical-align: 1px;
|
|
141
|
+
}
|
|
142
|
+
.tab.active.new::after {
|
|
143
|
+
color: var(--paper);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
main {
|
|
147
|
+
flex: 1 1 auto;
|
|
148
|
+
position: relative;
|
|
149
|
+
background: var(--paper-2);
|
|
150
|
+
overflow: hidden;
|
|
151
|
+
}
|
|
152
|
+
iframe {
|
|
153
|
+
position: absolute;
|
|
154
|
+
inset: 0;
|
|
155
|
+
width: 100%;
|
|
156
|
+
height: 100%;
|
|
157
|
+
border: 0;
|
|
158
|
+
background: var(--paper);
|
|
159
|
+
display: block;
|
|
160
|
+
}
|
|
161
|
+
</style>
|
|
162
|
+
</head>
|
|
163
|
+
<body>
|
|
164
|
+
<header class="topbar">
|
|
165
|
+
<div class="title-row">
|
|
166
|
+
<h1>
|
|
167
|
+
Diagram Design
|
|
168
|
+
<span
|
|
169
|
+
class="meta"
|
|
170
|
+
style="
|
|
171
|
+
font-family: var(--mono);
|
|
172
|
+
font-size: 0.66rem;
|
|
173
|
+
margin-left: 0.5rem;
|
|
174
|
+
"
|
|
175
|
+
>· gallery</span
|
|
176
|
+
>
|
|
177
|
+
</h1>
|
|
178
|
+
<div style="display: flex; gap: 0.5rem">
|
|
179
|
+
<a class="open-raw" href="icons.html" target="_blank" rel="noopener"
|
|
180
|
+
>icon library ↗</a
|
|
181
|
+
>
|
|
182
|
+
<a
|
|
183
|
+
class="open-raw"
|
|
184
|
+
id="open-raw"
|
|
185
|
+
href="#"
|
|
186
|
+
target="_blank"
|
|
187
|
+
rel="noopener"
|
|
188
|
+
>open in new tab ↗</a
|
|
189
|
+
>
|
|
190
|
+
</div>
|
|
191
|
+
</div>
|
|
192
|
+
|
|
193
|
+
<div class="tabs" id="type-tabs" role="tablist" aria-label="Diagram type">
|
|
194
|
+
<button class="tab active" data-type="architecture">
|
|
195
|
+
<span class="eyebrow">01</span>Architecture
|
|
196
|
+
</button>
|
|
197
|
+
<button class="tab" data-type="flowchart">
|
|
198
|
+
<span class="eyebrow">02</span>Flowchart
|
|
199
|
+
</button>
|
|
200
|
+
<button class="tab" data-type="sequence">
|
|
201
|
+
<span class="eyebrow">03</span>Sequence
|
|
202
|
+
</button>
|
|
203
|
+
<button class="tab" data-type="state">
|
|
204
|
+
<span class="eyebrow">04</span>State
|
|
205
|
+
</button>
|
|
206
|
+
<button class="tab" data-type="er">
|
|
207
|
+
<span class="eyebrow">05</span>ER
|
|
208
|
+
</button>
|
|
209
|
+
<button class="tab" data-type="timeline">
|
|
210
|
+
<span class="eyebrow">06</span>Timeline
|
|
211
|
+
</button>
|
|
212
|
+
<button class="tab" data-type="swimlane">
|
|
213
|
+
<span class="eyebrow">07</span>Swimlane
|
|
214
|
+
</button>
|
|
215
|
+
<button class="tab" data-type="quadrant">
|
|
216
|
+
<span class="eyebrow">08</span>Quadrant
|
|
217
|
+
</button>
|
|
218
|
+
<button class="tab new" data-type="nested">
|
|
219
|
+
<span class="eyebrow">09</span>Nested
|
|
220
|
+
</button>
|
|
221
|
+
<button class="tab new" data-type="tree">
|
|
222
|
+
<span class="eyebrow">10</span>Tree
|
|
223
|
+
</button>
|
|
224
|
+
<button class="tab new" data-type="org-chart">
|
|
225
|
+
<span class="eyebrow">11</span>Org chart
|
|
226
|
+
</button>
|
|
227
|
+
<button class="tab new" data-type="layers">
|
|
228
|
+
<span class="eyebrow">12</span>Layers
|
|
229
|
+
</button>
|
|
230
|
+
<button class="tab new" data-type="venn">
|
|
231
|
+
<span class="eyebrow">13</span>Venn
|
|
232
|
+
</button>
|
|
233
|
+
<button class="tab new" data-type="pyramid">
|
|
234
|
+
<span class="eyebrow">14</span>Pyramid
|
|
235
|
+
</button>
|
|
236
|
+
<button class="tab new" data-type="radar">
|
|
237
|
+
<span class="eyebrow">15</span>Radar
|
|
238
|
+
</button>
|
|
239
|
+
<button class="tab new" data-type="loop">
|
|
240
|
+
<span class="eyebrow">16</span>Loop
|
|
241
|
+
</button>
|
|
242
|
+
<button class="tab new" data-type="datalake">
|
|
243
|
+
<span class="eyebrow">17</span>Data lake
|
|
244
|
+
</button>
|
|
245
|
+
<button class="tab new" data-type="bar">
|
|
246
|
+
<span class="eyebrow">18</span>Bar
|
|
247
|
+
</button>
|
|
248
|
+
<button class="tab new" data-type="line">
|
|
249
|
+
<span class="eyebrow">19</span>Line
|
|
250
|
+
</button>
|
|
251
|
+
<button class="tab new" data-type="gantt">
|
|
252
|
+
<span class="eyebrow">20</span>Gantt
|
|
253
|
+
</button>
|
|
254
|
+
<button class="tab new" data-type="scatter">
|
|
255
|
+
<span class="eyebrow">21</span>Scatter
|
|
256
|
+
</button>
|
|
257
|
+
<button class="tab new" data-type="medallion">
|
|
258
|
+
<span class="eyebrow">22</span>Medallion
|
|
259
|
+
</button>
|
|
260
|
+
<button class="tab new" data-type="high-level">
|
|
261
|
+
<span class="eyebrow">23</span>High-Level
|
|
262
|
+
</button>
|
|
263
|
+
<button class="tab new" data-type="process">
|
|
264
|
+
<span class="eyebrow">24</span>Process
|
|
265
|
+
</button>
|
|
266
|
+
<button class="tab new" data-type="data-flow">
|
|
267
|
+
<span class="eyebrow">26</span>Data flow
|
|
268
|
+
</button>
|
|
269
|
+
<button class="tab new" data-type="dp-integration">
|
|
270
|
+
<span class="eyebrow">27</span>DP integration
|
|
271
|
+
</button>
|
|
272
|
+
<button class="tab new" data-type="high-level-vertical">
|
|
273
|
+
<span class="eyebrow">28</span>High-Level / Parametric
|
|
274
|
+
</button>
|
|
275
|
+
<button class="tab new" data-type="dp-security-matrix">
|
|
276
|
+
<span class="eyebrow">32</span>DP security matrix
|
|
277
|
+
</button>
|
|
278
|
+
<button class="tab new" data-type="it-state">
|
|
279
|
+
<span class="eyebrow">33</span>IT current-state
|
|
280
|
+
</button>
|
|
281
|
+
</div>
|
|
282
|
+
|
|
283
|
+
<div
|
|
284
|
+
class="tabs variants"
|
|
285
|
+
id="variant-tabs"
|
|
286
|
+
role="tablist"
|
|
287
|
+
aria-label="Variant"
|
|
288
|
+
>
|
|
289
|
+
<button class="tab active" data-variant="">Minimal light</button>
|
|
290
|
+
<button class="tab" data-variant="-dark">Minimal dark</button>
|
|
291
|
+
<button class="tab" data-variant="-full">Full editorial</button>
|
|
292
|
+
</div>
|
|
293
|
+
</header>
|
|
294
|
+
|
|
295
|
+
<main>
|
|
296
|
+
<iframe
|
|
297
|
+
id="preview"
|
|
298
|
+
src="example-architecture.html"
|
|
299
|
+
title="Preview"
|
|
300
|
+
></iframe>
|
|
301
|
+
</main>
|
|
302
|
+
|
|
303
|
+
<script>
|
|
304
|
+
const state = { type: "architecture", variant: "" };
|
|
305
|
+
const iframe = document.getElementById("preview");
|
|
306
|
+
const openRaw = document.getElementById("open-raw");
|
|
307
|
+
|
|
308
|
+
function update() {
|
|
309
|
+
const src = `example-${state.type}${state.variant}.html`;
|
|
310
|
+
iframe.src = src;
|
|
311
|
+
openRaw.href = src;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
function bindTabs(containerId, key) {
|
|
315
|
+
const container = document.getElementById(containerId);
|
|
316
|
+
container.addEventListener("click", (e) => {
|
|
317
|
+
const btn = e.target.closest(".tab");
|
|
318
|
+
if (!btn) return;
|
|
319
|
+
container
|
|
320
|
+
.querySelectorAll(".tab")
|
|
321
|
+
.forEach((t) => t.classList.remove("active"));
|
|
322
|
+
btn.classList.add("active");
|
|
323
|
+
state[key] = btn.dataset[key];
|
|
324
|
+
update();
|
|
325
|
+
});
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
bindTabs("type-tabs", "type");
|
|
329
|
+
bindTabs("variant-tabs", "variant");
|
|
330
|
+
update();
|
|
331
|
+
</script>
|
|
332
|
+
</body>
|
|
333
|
+
</html>
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>Diagram</title>
|
|
7
|
+
<link href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Geist:wght@400;500;600&family=Geist+Mono:wght@400;500;600&display=swap" rel="stylesheet">
|
|
8
|
+
<style>
|
|
9
|
+
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
10
|
+
:root {
|
|
11
|
+
--color-paper: #2d3142; /* deep warm charcoal */
|
|
12
|
+
--color-ink: #f5f5f5; /* warm off-white */
|
|
13
|
+
--color-muted: #bfc0c0;
|
|
14
|
+
--color-accent: #f08a59;
|
|
15
|
+
--font-sans: 'Geist', system-ui, sans-serif;
|
|
16
|
+
--font-serif: 'Instrument Serif', serif;
|
|
17
|
+
--font-mono: 'Geist Mono', ui-monospace, monospace;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
body {
|
|
21
|
+
font-family: var(--font-sans);
|
|
22
|
+
background: var(--color-paper);
|
|
23
|
+
color: var(--color-ink);
|
|
24
|
+
min-height: 100vh;
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
padding: 3rem 2rem;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.frame { max-width: 1200px; width: 100%; }
|
|
32
|
+
|
|
33
|
+
.eyebrow {
|
|
34
|
+
font-family: var(--font-mono);
|
|
35
|
+
font-size: 0.66rem;
|
|
36
|
+
font-weight: 500;
|
|
37
|
+
letter-spacing: 0.18em;
|
|
38
|
+
text-transform: uppercase;
|
|
39
|
+
color: var(--color-muted);
|
|
40
|
+
margin-bottom: 0.5rem;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
h1 {
|
|
44
|
+
font-family: var(--font-serif);
|
|
45
|
+
font-size: clamp(1.5rem, 2.4vw + 0.75rem, 2rem);
|
|
46
|
+
font-weight: 400;
|
|
47
|
+
letter-spacing: -0.02em;
|
|
48
|
+
line-height: 1.15;
|
|
49
|
+
color: var(--color-ink);
|
|
50
|
+
margin-bottom: 1.5rem;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
svg { width: 100%; min-width: 900px; display: block; }
|
|
54
|
+
</style>
|
|
55
|
+
</head>
|
|
56
|
+
<body>
|
|
57
|
+
<div class="frame">
|
|
58
|
+
<p class="eyebrow">[Type] · Diagram Design</p>
|
|
59
|
+
<h1>[Diagram title]</h1>
|
|
60
|
+
|
|
61
|
+
<svg viewBox="0 0 1000 600" xmlns="http://www.w3.org/2000/svg">
|
|
62
|
+
<defs>
|
|
63
|
+
<marker id="arrow" markerWidth="8" markerHeight="6" refX="7" refY="3" orient="auto"><polygon points="0 0, 8 3, 0 6" fill="#bfc0c0"/></marker>
|
|
64
|
+
<marker id="arrow-accent" markerWidth="8" markerHeight="6" refX="7" refY="3" orient="auto"><polygon points="0 0, 8 3, 0 6" fill="#f08a59"/></marker>
|
|
65
|
+
<marker id="arrow-link" markerWidth="8" markerHeight="6" refX="7" refY="3" orient="auto"><polygon points="0 0, 8 3, 0 6" fill="#6a95d8"/></marker>
|
|
66
|
+
|
|
67
|
+
<!-- OPTIONAL: dot-pattern background. Uncomment and add <rect fill="url(#dots)"/> after the paper rect to enable. -->
|
|
68
|
+
<!--
|
|
69
|
+
<pattern id="dots" width="22" height="22" patternUnits="userSpaceOnUse">
|
|
70
|
+
<circle cx="1" cy="1" r="0.9" fill="rgba(245,245,245,0.08)"/>
|
|
71
|
+
</pattern>
|
|
72
|
+
-->
|
|
73
|
+
</defs>
|
|
74
|
+
|
|
75
|
+
<rect width="100%" height="100%" fill="#2d3142"/>
|
|
76
|
+
|
|
77
|
+
<!-- Draw arrows first, then nodes. Replace with your content. -->
|
|
78
|
+
|
|
79
|
+
</svg>
|
|
80
|
+
</div>
|
|
81
|
+
</body>
|
|
82
|
+
</html>
|