Add archify-vscode-ext skill: Archify diagrams and models for the Archify Diagram Viewer extension

Model tasks (validate, list, scaffold, resolve), diagram tasks (validate,
render), the bundled Archify 3.0.1 runtime and yaml parser under
scripts/vendor, references for authoring, formats and folders, and the
online-shop example model.
This commit is contained in:
root-at-skic committed 2026-10-19 11:42:06 +03:00
commit b6b5e57922
226 files changed
+67520

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
# https://taskfile.dev
version: "3"
tasks:
validate:
desc: 'Validate one diagram -- --file="<diagram.archify>" [--quality=standard|showcase]'
cmds:
- |
./.scripts/diagram/api/diagram--validate.sh {{ .CLI_ARGS }}
silent: true
render:
desc: 'Render one diagram to HTML -- --file="<diagram.archify>" --out="<file.html>" [--quality=standard|showcase]'
cmds:
- |
./.scripts/diagram/api/diagram--render.sh {{ .CLI_ARGS }}
silent: true
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
# -------------------------------------------------------------------------------------
# archify-vscode-ext Agent Skill (MIT)
# -------------------------------------------------------------------------------------
. ./.scripts/diagram/lib/--index.sh
_diagram__diagram__render "$@"
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
# -------------------------------------------------------------------------------------
# archify-vscode-ext Agent Skill (MIT)
# -------------------------------------------------------------------------------------
. ./.scripts/diagram/lib/--index.sh
_diagram__diagram__validate "$@"
+6
View File
@@ -0,0 +1,6 @@
#!/bin/bash
# -------------------------------------------------------------------------------------
# archify-vscode-ext Agent Skill (MIT)
# -------------------------------------------------------------------------------------
# CLI-only module: all input comes from flags. No environment variables are read.
+6
View File
@@ -0,0 +1,6 @@
#!/bin/bash
# -------------------------------------------------------------------------------------
# archify-vscode-ext Agent Skill (MIT)
# -------------------------------------------------------------------------------------
# CLI-only module: nothing to validate.
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
# -------------------------------------------------------------------------------------
# archify-vscode-ext Agent Skill (MIT)
# -------------------------------------------------------------------------------------
. ./.scripts/diagram/lib/-node--run.sh
. ./.scripts/diagram/lib/-diagram--validate.sh
. ./.scripts/diagram/lib/-diagram--render.sh
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
# -------------------------------------------------------------------------------------
# archify-vscode-ext Agent Skill (MIT)
# -------------------------------------------------------------------------------------
. ./.scripts/loggers/lib/--index.sh
#
# --> passed parameters are read & exported environment variables
#
. ./.scripts/diagram/lib/--env-vars-reader.sh
#
# --> required environment variables are validated for existence
#
. ./.scripts/diagram/lib/--env-vars-validator.sh
#
# --> available functions are imported/exported
#
. ./.scripts/diagram/lib/--index-api.sh
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
# -------------------------------------------------------------------------------------
# archify-vscode-ext Agent Skill (MIT)
# -------------------------------------------------------------------------------------
# Runs the "diagram-render" action of the Node CLI. Flags are forwarded unchanged.
_diagram__diagram__render() {
_diagram__node__run --action diagram-render "$@"
}
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
# -------------------------------------------------------------------------------------
# archify-vscode-ext Agent Skill (MIT)
# -------------------------------------------------------------------------------------
# Runs the "diagram-validate" action of the Node CLI. Flags are forwarded unchanged.
_diagram__diagram__validate() {
_diagram__node__run --action diagram-validate "$@"
}
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
# -------------------------------------------------------------------------------------
# archify-vscode-ext Agent Skill (MIT)
# -------------------------------------------------------------------------------------
# Runs the Node action dispatcher (YAML to stdout, exit code = success).
_diagram__node__run() {
node ./src/cli/commands.mjs "$@"
}