Token导航 LogoToken导航

Agent Skill · 前端设计

structurizr-architecture-sync(structurizr 架构同步)

structurizr-architecture-sync 用于补充前端设计相关能力,适合在 Local Agent 中需要让 Agent 承接前端设计相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

structurizr-architecture-sync 是前端设计类 Agent Skill,可用宿主为 Local Agent,通过unknown获取,权限为操作浏览器;许可证信息还不明确,暂无第三方扫描结果,按安装量在前端设计类的 10,216 个 Skill 里排第 8,200。

总安装 306周安装 13下载 107核验 2026-05-01
前端设计操作浏览器unknown未标认证来源可访问许可证需确认审计未展示Local Agent

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:structurizr-architecture-sync(structurizr 架构同步)
来源仓库:https://smithery.ai
仓库路径:structurizr-architecture-sync
安装命令:
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。当前暂无明确安装命令,请以来源页面说明为准。

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

structurizr-architecture-sync 用于补充前端设计相关能力,适合在 Local Agent 中承接前端设计任务。它帮助生成或审查前端代码,使用时需结合项目现有设计系统和构建方式。安装方式未明确,建议通过官方渠道获取安装命令和文档。使用前应检查权限边界和维护状态,避免触发不必要的网络或文件操作。

适用宿主包括 Local Agent,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:structurizr-architecture-sync

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Local Agent;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    没有现成安装命令,按unknown的说明从来源页面获取,仓库路径是 structurizr-architecture-sync。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

structurizr-architecture-sync 怎么安装?

公开资料没有给出可以直接复制的命令,需要按来源页面说明手动安装,仓库内路径为 structurizr-architecture-sync。

structurizr-architecture-sync 支持哪些 AI 工具?

公开资料标注支持 Local Agent。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

structurizr-architecture-sync 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

structurizr-architecture-sync 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

structurizr-architecture-sync 用的人多吗?

公开数据是累计安装 306 次,近一周安装 13 次,下载 107 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

structurizr-architecture-sync 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 Local Agent 一种宿主,触发方式和使用习惯不用来回切换。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Local Agent,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
structurizr-architecture-sync

structurizr 架构同步 · 本页

306—操作浏览器未明确未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Structurizr Architecture Synchronization

Context (Input)

Use this skill when:

  • Adding new components (controllers, handlers, services, repositories)
  • Creating new entities or aggregates
  • Modifying component relationships or dependencies
  • Implementing new architectural patterns (CQRS, events, subscribers)
  • Adding infrastructure components (databases, caches, message brokers)
  • Refactoring that changes component structure
  • After fixing Deptrac violations (may indicate architecture drift)
  • Creating new bounded contexts or modules
  • Implementing new API endpoints with significant handlers

Task (Function)

Keep the Structurizr workspace (workspace.dsl) synchronized with codebase changes, ensuring C4 model diagrams accurately represent the current system architecture.

Success Criteria:

  • workspace.dsl contains all significant components
  • Component relationships match actual code dependencies
  • Layer groupings (Application/Domain/Infrastructure) are accurate
  • Component descriptions reflect current purpose
  • All infrastructure dependencies are documented
  • C4 diagrams render without errors (check at http://localhost:${STRUCTURIZR_PORT:-8080})

Quick Start: Update Architecture in 5 Steps

Complete Template: See reference/workspace-template.md for full workspace.dsl structure.

Step 1: Identify Architectural Changes

Determine if your code changes are architecturally significant:

✅ DO update workspace.dsl when adding:

  • Processors (HTTP/GraphQL handlers)
  • Command Handlers (CQRS pattern)
  • Event Subscribers (event-driven patterns)
  • Entities (core domain objects)
  • Domain Events (significant business events)
  • Repositories (data access)
  • Event Bus or infrastructure services
  • External dependencies (DB, Cache, Message Broker)

❌ DON'T update for:

  • Factory classes
  • Transformer classes (unless critical)
  • Value objects (unless architecturally significant)
  • Interface definitions (except hexagonal ports)
  • Base classes
  • DTOs and input/output objects
  • Utility classes and helpers

Target: 15-25 components per diagram for clarity.

Step 2: Add Component to Appropriate Group

Edit workspace.dsl and add component in the correct layer group:

group "Application" {
    newProcessor = component "NewProcessor" "Handles new requests" "RequestProcessor" {
        tags "Item"
    }
}

Layers:

  • group "Application" - Controllers, Processors, Handlers, Subscribers
  • group "Domain" - Entities, Domain Events
  • group "Infrastructure" - Repositories, Event Bus, Infrastructure services

External dependencies (database, cache, messageBroker) go OUTSIDE groups at container level.

See: reference/dsl-syntax.md for complete syntax.

Step 3: Define Relationships

Add relationships showing how your component interacts:

// After all component definitions
newProcessor -> commandHandler "dispatches NewCommand"
commandHandler -> repository "uses"
repository -> database "accesses data"

Common patterns: See reference/relationship-patterns.md

Step 4: Verify Diagram Renders

View the updated diagram:

# Refresh browser (Structurizr Lite auto-reloads)
# Port is configurable via STRUCTURIZR_PORT in .env (default: 8080)
open http://localhost:${STRUCTURIZR_PORT:-8080}
# Navigate to "Diagrams" → "Components_All"

Check for:

  • No syntax errors displayed
  • New component appears
  • Relationships are visible
  • Component is in correct layer group

Step 5: Position and Commit

  1. Drag components in the UI to improve layout
  2. Click "Save workspace" button (saves to workspace.json)
  3. Commit both files:
git add workspace.dsl workspace.json
git commit -m "feat: update architecture with new processor"

Diagram as Code Workflow

Setup (Already Configured)

Docker: Structurizr Lite runs in docker-compose.override.yml:

structurizr:
  image: structurizr/lite:2024.07.02
  ports:
    - '${STRUCTURIZR_PORT}:8080'
  volumes:
    - ./:/usr/local/structurizr

Access: http://localhost:${STRUCTURIZR_PORT:-8080} (port configurable via .env)

Standard Development Flow

  1. Implement code changes → Add handler, entity, repository
  2. Update workspace.dsl → Add component + relationships
  3. View locally → Refresh browser at configured port
  4. Position components → Drag in UI, click "Save workspace"
  5. Commit together → Code + workspace.dsl + workspace.json in same PR

Manual Positioning in UI

Automatic layout doesn't work well - use manual positioning:

  1. Open Structurizr UI in browser
  2. Navigate to "Diagrams" → "Components_All"
  3. Drag components to arrange (left-to-right flow recommended)
  4. Click "Save workspace" button in top-right
  5. Positions saved to workspace.json in project root
  6. Commit workspace.json with workspace.dsl

Layout best practices:

  • Processors/Controllers on the left (entry points)
  • Command Handlers in the middle (business logic)
  • Repositories to the right of handlers
  • Database/Cache/Message Broker on far right (external)

Common mistakes: See reference/common-mistakes.md for complete guide.


Reference Documentation

Detailed Guides

Examples


Critical Principles

What Makes a Good Architecture Diagram

Clarity over Completeness:

  • 15-25 components (optimal readability)
  • Focus on architectural significance
  • Clear left-to-right or top-to-bottom flow
  • External dependencies clearly visible

Layer Separation:

  • Application: Entry points and orchestration
  • Domain: Business logic and entities
  • Infrastructure: Technical implementation

Meaningful Relationships:

  • Show actual code dependencies
  • Use descriptive labels
  • Avoid circular dependencies

Alignment with Deptrac

Layer groupings in workspace.dsl MUST match Deptrac configuration:

group "Application"     ↔  Application layer in deptrac.yaml
group "Domain"          ↔  Domain layer in deptrac.yaml
group "Infrastructure"  ↔  Infrastructure layer in deptrac.yaml

This ensures architecture documentation matches enforced boundaries.


Integration with Other Skills

Use this skill after:

Use this skill before:


Troubleshooting

Common Issues

Issue: Structurizr UI shows "Element does not exist" error

Solution: Check component variable names in relationships match the component definitions exactly. See common-mistakes.md.


Issue: Diagram shows components in wrong positions after pull

Solution: Ensure workspace.json is committed along with workspace.dsl. The JSON file stores manual positions.


Issue: DSL syntax validation fails

Solution:

  1. Check balanced braces {}
  2. Verify all components are defined before relationships
  3. Ensure no duplicate variable names
  4. Compare with workspace-template.md

Issue: Too many components (30+), diagram is cluttered

Solution: Follow component-identification.md - aim for 15-25 components. Omit DTOs, utilities, and factories.


Issue: Can't determine if component should be documented

Solution: Use the decision matrix in component-identification.md or the TL;DR section.

External Resources

平台分布

Local Agent

72.1%
按下载量换算77

安全审计

暂无安全审计结果可展示。

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills