跳到正文
cccskills
免费在 GitHub 公开

senior-architect

System architecture design and review. Use when designing architecture, evaluating microservices vs monolith, writing ADRs, choosing a database, planning for scalability, reviewing system design, or generating architecture diagrams.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(9)

  • SKILL.md6.9 KB
  • references/architecture_patterns.md14.1 KB
  • references/decision_workflows.md3.5 KB
  • references/system_design_workflows.md11.8 KB
  • references/tech_decision_guide.md12.1 KB
  • references/tools-and-usage.md13.2 KB
  • scripts/architecture_diagram_generator.py22.0 KB
  • scripts/dependency_analyzer.py21.2 KB
  • scripts/project_architect.py28.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Senior Architect

Architecture design and analysis tools for making informed technical decisions: visualize system structure, analyze dependencies and coupling, detect architectural patterns, and run decision workflows for databases, patterns, and monolith-vs-microservices trade-offs.

Core Capabilities

  • Diagram generation — produce component, layer, and deployment diagrams in Mermaid, PlantUML, or ASCII from a project directory.
  • Dependency analysis — map the dependency tree, score coupling (0-100), and detect circular dependencies across npm, pip, Poetry, Go modules, and Cargo.
  • Pattern detection — assess an existing codebase for layered/MVC/hexagonal/clean/microservices patterns, layer violations, god classes, and mixed concerns.
  • Database selection — match data characteristics, scale, and consistency needs to SQL/NoSQL options with an ADR template.
  • Pattern & topology selection — choose an architecture pattern by team size, deployment, and data-boundary requirements.
  • Monolith vs microservices — apply decision checklists and a modular-monolith-first hybrid strategy.

When to Use

  • Designing a new system or refactoring existing architecture.
  • Evaluating microservices vs monolith, or choosing a database.
  • Writing an ADR, planning for scalability, or reviewing a system design.
  • Generating architecture diagrams for documentation or team review.

Clarify First

Before generating diagrams or an assessment, confirm these inputs. If any is unknown or vague, ASK — do not assume:

  • Project root — the codebase directory to analyze (drives pattern detection, dependency scoring, and diagram contents)
  • Diagram type & format — component / layer / deployment in Mermaid / PlantUML / ASCII (sets what the generator emits)
  • Architecture decision in question — e.g. database choice or monolith vs microservices (selects the decision workflow and ADR)

Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact.

Tools

ToolPurposeCommand
architecture_diagram_generator.pyGenerate component/layer/deployment diagrams from project structurepython scripts/architecture_diagram_generator.py ./project --format mermaid --type component
dependency_analyzer.pyScore coupling and find circular dependencies across package managerspython scripts/dependency_analyzer.py ./project --output json --check circular
project_architect.pyDetect architecture pattern, layer violations, and code smellspython scripts/project_architect.py ./project --check layers --verbose

Run any script with --help for full flags.

References

Load the reference that matches the task — keep this file lean and pull detail on demand:

  • references/architecture_patterns.md — 9 architecture patterns (monolith, modular monolith, microservices, event-driven, CQRS, event sourcing, hexagonal, clean, API gateway) with trade-offs and code examples. Read when asked "which pattern?", "microservices vs monolith", "event-driven", or "CQRS".
  • references/system_design_workflows.md — 6 step-by-step workflows: design interview, capacity planning, API design, database schema design, scalability assessment, migration planning. Read when asked "how to design?", "capacity planning", "API design", or "migration".
  • references/tech_decision_guide.md — decision frameworks and comparison matrices for database, caching, message queue, auth, frontend framework, cloud provider, and API style. Read when asked "which database/framework/cloud/cache?".
  • references/decision_workflows.md — the database-selection, architecture-pattern-selection, and monolith-vs-microservices decision workflows with matrices, checklists, and the ADR template. Read when making a documented architecture decision.
  • references/tools-and-usage.md — detailed per-tool usage, example outputs, full flag tables, common-command catalog, tech-stack coverage, troubleshooting table, and success criteria. Read when running the scripts or interpreting their output.

Scope & Limitations

Covers: system-level architecture analysis (pattern detection, layer validation, component diagramming) for existing codebases; technology-agnostic dependency analysis across npm, pip, Poetry, Go modules, and Cargo; architecture decision workflows (database, pattern, monolith-vs-microservices); diagram generation in Mermaid, PlantUML, and ASCII.

Does NOT cover:

  • Runtime performance profiling or load testing — use senior-devops (capacity planning) and senior-qa (performance test harnesses).
  • Security vulnerability scanning of dependencies — use senior-security or senior-secops for CVE/SAST/DAST.
  • Frontend component architecture and design-system auditing — use senior-frontend and design-auditor.
  • CI/CD pipeline design and deployment orchestration — use senior-devops and release-orchestrator.

Integration Points

SkillIntegrationData Flow
senior-backendArchitecture patterns inform backend service boundaries and API contract designArchitect assessment output (detected pattern, layer assignments) feeds into backend module scaffolding
senior-devopsDeployment diagrams and technology detection drive infrastructure-as-code decisionsDeployment diagram type output + detected technologies list consumed by DevOps for Terraform/K8s config
senior-securityDependency analysis surfaces packages that need security reviewDependency list JSON (--output json) passed to security scanning for CVE correlation
senior-fullstackArchitecture pattern selection determines which fullstack scaffold template to usePattern selection workflow result (e.g., modular monolith) maps to project_scaffolder.py --type flag
code-reviewerLayer violation and god-class findings become review checklist itemsproject_architect.py --output json issues array integrated into code review checklists
tech-stack-evaluatorTechnology detection results feed tech stack evaluation for upgrade/migration decisionsDetected technologies list and dependency versions inform stack evaluation decision matrices

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

This skill should be used when the user asks to "check accessibility", "audit WCAG compliance", "scan HTML for a11y issues", "check color contrast", or "find accessibility violations in web pages".

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9672026年10月7日 更新

Design and run statistically rigorous A/B tests and experiments. Use when planning experiments, calculating sample sizes, designing test variants, selecting metrics, analyzing results, or when someone says "let's test that."

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9672026年10月7日 更新

Design and analyze A/B tests: sample size, test duration, and statistical significance for conversion experiments. Use when setting up an A/B test, calculating sample size, designing an experiment, or analyzing results.

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9672026年10月7日 更新

Sales execution across pipeline, discovery, demos, negotiation, and closing. Use when qualifying opportunities, running MEDDIC discovery, building account plans, handling objections, structuring proposals, or forecasting pipeline.

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9672026年10月7日 更新

Design ad creative across Google, Meta, LinkedIn, Twitter/X, and TikTok with platform format specs, headline formulas, and A/B testing. Use when writing ad copy, generating headline variations, creating ad sets, or validating creative.

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9672026年10月7日 更新

aeo

免费

Answer Engine Optimization (AEO): optimize content to be cited by LLMs (ChatGPT, Claude, Perplexity, Gemini) in their answers. Use when designing content for LLM citation, auditing citability, or structuring Q&A schema.

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9672026年10月7日 更新

查看 borghei 的全部技能

报告此技能的问题