- Added a new Archify skill, enabling users to create polished architecture, workflow, sequence, data-flow, and lifecycle diagrams. - Implemented comprehensive functionality including rendering, validation, and delivery of diagrams in various formats. - Integrated a user-friendly command-line interface for generating and previewing diagrams. - Developed supporting files including package.json, LICENSE, and SKILL.md for documentation and licensing. - Added unit tests to ensure reliability and functionality of the new skill. These changes enhance the application by providing a structured approach to visualizing system architecture and workflows, improving user experience and data representation.
45 lines
2.3 KiB
JSON
45 lines
2.3 KiB
JSON
{
|
|
"schema_version": 2,
|
|
"diagram_type": "workflow",
|
|
"meta": {
|
|
"title": "Create Division, Branch, Privilege, and User",
|
|
"locale": "en",
|
|
"quality_profile": "showcase"
|
|
},
|
|
"lanes": [
|
|
{ "id": "org", "label": "Settings → Data" },
|
|
{ "id": "access", "label": "Settings → User" }
|
|
],
|
|
"phases": [
|
|
{ "id": "org_create", "label": "Organization", "fromCol": 0, "toCol": 1 },
|
|
{ "id": "role_create", "label": "Access", "fromCol": 2, "toCol": 3, "variant": "emphasis" },
|
|
{ "id": "account", "label": "Account", "fromCol": 4, "toCol": 5, "variant": "dashed" }
|
|
],
|
|
"mainPath": ["division", "branch", "privilege", "activate_privilege", "user", "activate_user"],
|
|
"nodes": [
|
|
{ "id": "division", "lane": "org", "col": 0, "type": "frontend", "label": "New Division", "sublabel": "code + name" },
|
|
{ "id": "branch", "lane": "org", "col": 1, "type": "frontend", "label": "New Branch", "sublabel": "optional division" },
|
|
{ "id": "privilege", "lane": "access", "col": 2, "type": "security", "label": "New Privilege", "sublabel": "permission matrix" },
|
|
{ "id": "activate_privilege", "lane": "access", "col": 3, "type": "backend", "label": "Activate", "sublabel": "privilege" },
|
|
{ "id": "user", "lane": "access", "col": 4, "type": "frontend", "label": "New User", "sublabel": "optional privilege" },
|
|
{ "id": "activate_user", "lane": "access", "col": 5, "type": "backend", "label": "Activate", "sublabel": "user" }
|
|
],
|
|
"edges": [
|
|
{ "id": "div-branch", "from": "division", "to": "branch", "label": "optional link", "variant": "dashed" },
|
|
{ "id": "branch-priv", "from": "branch", "to": "privilege" },
|
|
{ "id": "priv-activate", "from": "privilege", "to": "activate_privilege", "label": "row Activate", "variant": "emphasis" },
|
|
{ "id": "active-user", "from": "activate_privilege", "to": "user", "label": "active picker", "variant": "security" },
|
|
{ "id": "user-activate", "from": "user", "to": "activate_user", "label": "row Activate", "variant": "emphasis" }
|
|
],
|
|
"cards": [
|
|
{
|
|
"dot": "cyan",
|
|
"title": "How to create these records",
|
|
"items": [
|
|
"Settings → Data: Divisions / Branches. Settings → User: Privileges / Users. Index Create saves via POST",
|
|
"Create omits status. Activate sends PATCH /:id/status { status: active }. User privilege picker lists active only"
|
|
]
|
|
}
|
|
]
|
|
}
|