Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

architecture架构

Agent Skill

architecture 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

285

周安装

12

GitHub Stars

65

下载量

389
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/mcouthon/agents --skill architecture

简介

architecture 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词快速定位候选结果。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需确认权限与维护状态。
  • 使用前建议核验具体用法,避免触发不必要的联网或文件操作。
  • 涉及敏感数据时应先确认脱敏边界与最小权限原则。

SKILL.md

Architecture Mode

High-level design and system understanding.

Core Constraint

"Interfaces in; interfaces out. Data in; data out. Major flows, contracts, behaviors, and failure modes only."

If you find yourself describing implementation details, STOP. Zoom out.

What to Focus On

Include:

  • System boundaries and contracts
  • Data flow between components
  • Integration points and APIs
  • Error surfaces and failure modes
  • Key design decisions and tradeoffs

Never Include:

  • Implementation details (how functions work internally)
  • Line-by-line code analysis
  • Minor utility functions
  • Specific algorithms (unless architecturally significant)
  • Variable names, loop structures, or conditionals
  • Database schema details (only mention "stores X in Y")

Anti-Patterns

❌ Don't Do This✅ Do This Instead
"The function iterates over items...""Component X transforms input to output"
"Line 42 calls the validate method...""Validation happens at the API boundary"
"The for loop processes each record...""Records flow from A → B → C"
"This uses a HashMap with...""State is cached in memory"

Analysis Framework

1. Component Identification

  • What are the major components/modules?
  • What is each component's single responsibility?
  • How are they organized (layers, services, etc.)?

2. Interface Analysis

  • What are the public APIs?
  • What data structures cross boundaries?
  • What are the contracts between components?

3. Data Flow

  • How does data enter the system?
  • How does it transform as it moves?
  • Where is state stored?

4. Integration Points

  • What external systems are connected?
  • What protocols/formats are used?
  • What are the failure modes?

5. Quality Attributes

  • How is reliability achieved?
  • How does it scale?
  • What security measures exist?

Architecture Overview Format

## Architecture Overview

### Purpose

[What this system does in 1-2 sentences]

### Components

| Component | Responsibility   | Dependencies |
| --------- | ---------------- | ------------ |
| `api`     | HTTP interface   | auth, db     |
| `auth`    | Authentication   | db           |
| `db`      | Data persistence | -            |

### Data Flow

[Mermaid diagram - see below]

### Key Decisions

| Decision | Rationale | Tradeoffs   |
| -------- | --------- | ----------- |
| [choice] | [why]     | [pros/cons] |

Mermaid Diagrams

Component Diagram

graph LR
    Client --> API
    API --> Auth
    API --> Service
    Service --> DB
    Service --> Cache

Sequence Diagram

sequenceDiagram
    participant C as Client
    participant A as API
    participant S as Service
    participant D as Database

    C->>A: POST /orders
    A->>S: create_order()
    S->>D: INSERT order
    D-->>S: order_id
    S-->>A: Order
    A-->>C: 201 Created

API Contract Format

## API: /orders

### POST /orders

Create a new order.

**Request**:

{ "items": [{ "sku": "ABC", "qty": 2 }], "customer_id": "cust_123" }

Response (201):

{
  "order_id": "ord_456",
  "status": "pending",
  "total": 49.99
}

Errors:

  • 400 Bad Request - Invalid input
  • 401 Unauthorized - Missing auth
  • 422 Unprocessable Entity - Business rule violation
## Guidelines

- Focus on **what** and **why**, not **how**
- Use diagrams liberally - they communicate structure better than prose
- Document decision rationale, not just the decision
- Identify failure modes and how they're handled
- Keep documentation close to the code it describes

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.41%
按下载量换算134

Claude

32.63%
按下载量换算127

Cursor

18.97%
按下载量换算74

Gemini CLI

8.95%
按下载量换算35

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills