Token导航 LogoToken导航

Agent Skill · 研究检索

architecture-design-critique(建筑设计评论)

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

architecture-design-critique 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证为 MIT,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 68,654。

总安装 225周安装 9GitHub Stars 公开资料未说明下载 73核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:architecture-design-critique(建筑设计评论)
来源仓库:https://github.com/baggiponte/skills
仓库路径:skills/architecture-design-critique
安装命令:
npx skills add https://github.com/baggiponte/skills --skill architecture-design-critique
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/baggiponte/skills --skill architecture-design-critique

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于评估代码库是否有效分离核心业务逻辑与基础设施。提供三层分析框架:理解现状、识别问题和建议改进。适用于架构健康度检查和可维护性提升场景。architecture-design-critique 属于研究检索类 Skill,可作为该场景下的辅助能力补充。安装需指定 GitHub 仓库,使用时结合具体代码结构。

涉及生产系统时应先进行只读分析和脱敏处理。

来源仓库内路径:skills/architecture-design-critique

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/baggiponte/skills --skill architecture-design-…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

architecture-design-critique 怎么安装?

在终端执行 npx skills add https://github.com/baggiponte/skills --skill architecture-design-critique。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

architecture-design-critique 支持哪些 AI 工具?

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

architecture-design-critique 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

architecture-design-critique 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

architecture-design-critique 用的人多吗?

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

architecture-design-critique 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

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

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
architecture-design-critique

建筑设计评论 · 本页

225—调用外部服务MIT通过

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

SKILL.md 原文

Architecture Design Critique

Assess how well a codebase separates core domain logic from infrastructure concerns. Three phases with distinct mindsets to prevent jumping to recommendations without understanding what exists.

Key questions answered: Can you swap your database without rewriting business logic? Can you test domain rules without spinning up external services? Will the architecture support 10x growth?

Ports & Adapters in 30 Seconds

The core idea: your domain logic (business rules, core algorithms) should never directly depend on infrastructure (databases, HTTP, file systems, external APIs). Instead:

  • Ports: Interfaces that define what the domain needs (e.g., UserRepository, PaymentGateway)
  • Adapters: Implementations that connect ports to real infrastructure (e.g., PostgresUserRepository, StripePaymentGateway)

Dependencies point inward: adapters depend on ports, never the reverse. This makes the core testable, portable, and resistant to infrastructure churn.

Output Structure

Before starting, ask the user for an output directory (e.g., ./docs/architecture/ or ./reviews/).

Create a subfolder with a meaningful name based on the project or focus area:

{output-directory}/
└── {project-name}-architecture-review/
    ├── 01-inventory.md      # Phase 1: Architectural Inventory
    ├── 02-assessment.md     # Phase 2: Architectural Assessment
    └── 03-roadmap.md        # Phase 3: Improvement Roadmap

Naming the subfolder: Use the project name or a descriptive label, e.g.:

  • acme-api-architecture-review/
  • payments-service-review/
  • monolith-decomposition-analysis/

Write each document as you complete its phase. This creates a persistent record the team can reference, share, and update over time.


Phase 1: Research

Use the /codebase-librarian skill to create a comprehensive inventory of the codebase.

The librarian skill will systematically catalog:

  • Project foundation (language, tooling, dependencies)
  • Entry points (HTTP, CLI, workers, consumers)
  • Services and module boundaries
  • Infrastructure (databases, caches, queues, external APIs)
  • Domain model (entities, relationships)
  • Data flows (end-to-end request traces)
  • Existing patterns and conventions

Output: Save the inventory to 01-inventory.md in the review folder.

The goal is to know exactly what exists before any critique begins. No opinions—just facts.


Phase 2: Critique

Persona: Senior Platform Engineer with Strong Design Taste

*Mindset: Big-picture thinker who cares deeply about sustainable architecture. You've seen codebases thrive and rot. You focus on structural integrity, not cosmetic issues. Style guide violations and naming conventions are beneath your concern—you're looking at whether this architecture will support the next 5 years of growth.*

Focus Areas

AreaWhat to Look For
Boundary violationsDomain logic importing infrastructure (e.g., Order.save() calling SQL directly)
CouplingCan components be tested/replaced independently?
Dependency directionDo dependencies point inward toward the domain, or outward toward infrastructure?
Infrastructure portabilityCould you swap databases/frameworks without touching core logic?
Pattern coherenceIs the architecture consistent, or a patchwork of different approaches?
Scaling bottlenecksWhat breaks when load, team size, or feature count grows?

What to Ignore

Don't waste time on:

  • Code style and formatting
  • Naming conventions
  • Minor duplication
  • Individual function implementations
  • Test coverage numbers

These matter, but they're not architectural. Stay at the structural level.

Critique Process

1. For each domain concept, check: does it know about its persistence mechanism?
2. For each external dependency, check: is it accessed through an abstraction?
3. Trace a feature addition: how many layers need to change?
4. Imagine swapping the database: what files would you touch?
5. Check test files: can domain logic be tested without mocking infrastructure?

Output Format

Write findings to 02-assessment.md using this structure:

# Architectural Assessment: [Project Name]

## Executive Summary
[2-3 paragraph narrative covering:]
- Overall health assessment (strong / mixed / needs attention)
- Key strengths worth preserving
- Primary concerns and their business/technical impact
- Thesis statement: "This codebase does X well, but struggles with Y"

## What's Working Well
[Brief bullets highlighting solid patterns and boundaries]

## Detailed Findings

### Finding 1: [Descriptive Title]

**Category**: Boundary Violation | Coupling | Dependency Direction | Scaling Risk

**The Problem**
[2-3 sentences: what's happening, where it occurs, surrounding context]

**Why It Matters**
[Consequences: testability, maintainability, team velocity, scaling implications]

**Evidence**
- `file.py:123` - [code reference with explanation]
- `other_file.py:45` - [additional evidence]

**Suggested Direction**
[High-level fix approach—detailed implementation goes in roadmap]

---

[Repeat for each significant finding]

Reference specific files and line numbers. Be direct about problems—sugarcoating doesn't help. The executive summary should give readers the big picture before they dive into specifics.


Phase 3: Priority Ranking

Persona: Seasoned Engineering Manager (Technical Leader)

*Mindset: You're a hands-on technical leader who never lost touch with the code. You balance three forces: delivering product value, enabling team effectiveness, and maintaining engineering excellence. You know that perfect architecture means nothing if you can't ship, but you also know technical debt compounds mercilessly.*

Evaluation Criteria

For each issue identified in Phase 2, assess:

CriterionQuestions to Ask
ImpactHow much does this hurt day-to-day development?
EffortHow much work to fix? Days, weeks, or months?
RiskWhat could go wrong? What's the blast radius if it fails?
DependenciesDoes this block other improvements?
Business alignmentDoes fixing this enable upcoming product needs?

Priority Tiers

Quick Wins (days, not weeks)

  • High impact, low risk
  • Can be done opportunistically alongside feature work
  • Examples: extract interface, move misplaced file, add missing abstraction boundary

Medium-term (weeks)

  • Meaningful effort but clear path forward
  • Requires dedicated time but pays dividends
  • Examples: introduce repository pattern, consolidate duplicate infrastructure, establish module boundaries

Long-term Projects (quarters)

  • Architectural changes requiring sustained investment
  • Must be balanced against feature delivery
  • Examples: decompose monolith, introduce domain events, migrate data layer

Output Format

Write findings to 03-roadmap.md using this structure:

# Improvement Roadmap: [Project Name]

## Executive Summary
[1-2 paragraphs covering:]
- Item count: X quick wins, Y medium-term, Z long-term
- Recommended starting point and rationale
- Key dependencies between items
- Expected outcomes if roadmap is followed

## Quick Wins

### 1. [Descriptive Title]

**Problem**: [One sentence summary]
**Impact**: [What improves—testability, maintainability, etc.]

**Implementation Approach**

Step-by-step guidance with code examples:

1. Create the port interface:

class CachePort(Protocol): def get(self, key: str) -> Optional[str]: ... def set(self, key: str, value: str, ttl: int) -> None: ...


1. Implement the adapter: `class RedisCacheAdapter(CachePort): def __init__(self, client: Redis): self._client = client #... implementation`
2. Wire it up:
  - Modify constructor to accept port
  - Update composition root / dependency injection

**Files to Modify**

- `domain/ports/cache.py` (new)
- `infrastructure/redis_cache.py` (new)
- `services/planner.py:117-121` (inject dependency)

**Verification**

- Existing tests should pass unchanged
- Add unit test with mock cache implementation

---

## Medium-term

### 2. [Title]

[Same structure as above with appropriate depth]

---

## Long-term

### 3. [Title]

[Same structure—can be higher-level for larger efforts]

Provide concrete code examples showing the "before implied, after explicit" pattern. Developers should be able to follow the roadmap without extensive further research.


Architectural Red Flags

Quick reference for common violations to look for:

Boundary Violations

  • Domain entities with save(), load(), or delete() methods that call infrastructure
  • Business logic inside HTTP handlers or database repositories
  • Domain models importing ORM decorators or framework code
  • Validation rules living in controllers instead of domain

Coupling Smells

  • Everything imports a "god" utility module
  • Circular dependencies between packages
  • Feature A directly instantiates Feature B's internal classes
  • Configuration scattered across multiple layers

Dependency Direction Issues

  • Core domain package imports from infrastructure package
  • Business rules reference specific database types (e.g., postgres.Connection)
  • Domain entities have JSON/XML serialization annotations

Missing Abstractions

  • Direct fetch() or HTTP client calls in business logic
  • Raw SQL queries in service classes
  • File system operations mixed with domain calculations

Example output: See references/example-output.md for a complete e-commerce codebase critique example.

平台分布

Claude Code

27.58%
按下载量换算20

Gemini CLI

24.75%
按下载量换算18

Antigravity

19.76%
按下载量换算14

Codex

13.33%
按下载量换算10

OpenCode

7.69%
按下载量换算6

Cursor

4.06%
按下载量换算3

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills