Token导航 LogoToken导航

Agent Skill · 前端设计

architecture(架构)

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。它适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。

architecture 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 9,124。

总安装 235周安装 10GitHub Stars 1下载 82核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/olamedia/analytics-skills --skill architecture

这个 Skill 是做什么的

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

architecture 用于辅助数据整理、表格处理、CSV/Excel 分析和指标计算。适合清洗字段、汇总数据、发现异常或生成统计口径说明。通过 npx skills add 命令从 GitHub 仓库安装,需确认权限与维护状态。使用时需确认数据来源和时间范围,避免将样本当全量事实。

涉及敏感数据导出时应先确认脱敏方式和操作边界。

来源仓库内路径:skills/architecture

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

architecture 怎么安装?

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

architecture 支持哪些 AI 工具?

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

architecture 需要什么权限?

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

architecture 是免费的吗?

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

architecture 用的人多吗?

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

architecture 安全吗?

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

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

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

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 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只读未明确通过
architecture

架构 · 本页

2351需要联网未明确通过

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

SKILL.md 原文

Architecture

Design the technical architecture for a set of requirements: components, data flow, dependency graph, tech stack decisions, integration points, and risks.

When to Use

  • A PRD exists and the technical approach needs to be designed
  • Before task breakdown — architecture defines WHAT components exist; breakdown defines the ORDER to build them
  • When architectural decisions need to be documented (data model, API design, component structure)
  • When integration with existing systems requires explicit mapping

When NOT to use: The technical approach is already documented in an architecture.md, or the change is trivial (single file, no architectural decisions).

Input

  • prd.md from the artifact folder (required)
  • context-map.md from the artifact folder (required — for tech stack and existing patterns)
  • brainstorming.md from the artifact folder (recommended — for chosen direction rationale)

Output

  • architecture.md saved to the artifact folder (see references/formats.md for template)

The Process

Step 1: Load Upstream Artifacts

Read prd.md, context-map.md, and optionally brainstorming.md from the artifact folder. If prd.md or context-map.md is missing, tell the user which skill to run first.

Also check for project documentation listed in references/context-sources.md (docs/TechStack.md, docs/ProjectStructure.md). If available, use them for tech stack details and project structure when designing components and mapping integration points.

Extract:

  • User stories and functional requirements (from PRD)
  • Tech stack, patterns, and conventions (from context map)
  • Chosen direction and trade-offs accepted (from brainstorming)

Step 2: Identify Components

From the PRD requirements, identify the distinct components needed:

  • Data layer: schemas, models, migrations
  • Backend logic: services, business rules, validation
  • API layer: endpoints, routes, middleware
  • Frontend components: views, forms, widgets
  • Shared utilities: helpers, types, constants

For each component, define:

  • Responsibility — what it does (single responsibility)
  • Location — where it lives in the project (follow existing conventions from context map)
  • Interface — key functions, endpoints, or props it exposes
  • Dependencies — what other components it needs

Follow existing codebase patterns. If the project uses a service layer pattern, use it. If components are colocated with tests, follow that. Do not invent new patterns when existing ones work.

Step 3: Map Data Flow

Describe how data moves through the system for the key user stories:

[User Action]
  → [Frontend Component] (handles UI state)
    → [API Call] (request to backend)
      → [Route Handler] (validation, auth)
        → [Service] (business logic)
          → [Database] (persistence)
        ← [Response]
      ← [API Response]
    ← [UI Update] (re-render with new data)

Cover the primary happy path and the most important error path.

Step 4: Build Dependency Graph

Map what must be built before what. This directly feeds the task breakdown:

[Database Schema / Migrations]
    ├── [Types / Interfaces]
    │       ├── [Service Layer]
    │       │       ├── [API Endpoints]
    │       │       │       └── [Frontend API Client]
    │       │       │               └── [UI Components]
    │       │       └── [Validation Logic]
    │       └── [Test Utilities]
    └── [Seed Data]

Implementation order follows the graph bottom-up: foundations first.

Step 5: Document Tech Decisions

For every non-trivial technical choice, record:

DecisionChoiceRationale
State management[e.g. URL params + React state][Why — aligns with existing pattern, simpler than Redux for this scope]
Data fetching[e.g. SWR with optimistic updates][Why — already in the stack, handles caching]
Validation[e.g. Zod schemas shared client/server][Why — single source of truth, TypeScript inference]

Do not introduce new dependencies without justification. Check the existing stack first (context map).

Step 6: Map Integration Points

How does this feature connect to what already exists?

  • Which existing files will be modified?
  • Which existing APIs will be consumed?
  • Which existing components will be extended or composed?
  • Are there database schema changes that affect other features?

Step 7: Define Boundaries

State what is and isn't allowed during implementation:

  • Always: [e.g. follow existing naming conventions, write tests for new logic, use existing error handling patterns]
  • Ask first: [e.g. adding new dependencies, changing shared types, modifying database schema]
  • Never: [e.g. bypass validation, commit secrets, modify unrelated code]

Step 8: Identify Risks

RiskImpactMitigation
[e.g. Schema migration breaks existing queries]High[Run migration in staging first, write rollback]
[e.g. New endpoint conflicts with existing route]Medium[Check route registry before adding]

Flag high-risk items — these should be tackled early in the task breakdown (fail fast).

Step 9: Write and Save Architecture Document

Write architecture.md to the artifact folder using the template from references/formats.md.

Present the architecture to the user for review. Walk through:

  1. Component overview
  2. Data flow for the primary user story
  3. Key tech decisions and their rationale
  4. Any risks or open questions

Apply requested changes, then save.

Announce the saved path:

"Architecture saved to [path]/architecture.md."

Common Rationalizations

RationalizationReality
"I'll figure out the architecture while coding"Architecture decisions made under implementation pressure are worse. 15 minutes of design saves hours of refactoring.
"This is too small for an architecture document"If it touches 3+ files or makes a tech decision, write it down. A short document is fine.
"The PRD already describes the technical approach"PRD describes WHAT. Architecture describes HOW — components, data flow, dependencies. Different concerns.
"I know the codebase, I don't need to document integration points"The task breakdown skill and any agent doing implementation will need this documented. Write it for them.
"We can refactor later if the architecture is wrong"Wrong architecture is the most expensive kind of rework. Get it right in a document before committing to code.

Red Flags

  • No dependency graph — implementation order will be wrong
  • Components that don't follow existing codebase patterns
  • New dependencies added without checking what's already in the stack
  • No integration points mapped — feature will break existing functionality
  • Empty risks section — every architecture has risks
  • Writing code during the architecture phase

Verification

Before handing off, confirm:

  • All upstream artifacts loaded (PRD, context map)
  • Components identified with responsibilities, locations, and interfaces
  • Data flow documented for primary user story
  • Dependency graph shows implementation order
  • Tech decisions documented with rationale
  • Integration points with existing system mapped
  • Boundaries defined (Always / Ask first / Never)
  • Risks identified with mitigations
  • User has reviewed and approved the architecture
  • architecture.md saved to artifact folder

Next

"Architecture complete. Next recommended skill: breakdown — slice this into ordered, interlinked development tasks."

平台分布

Codex

33.54%
按下载量换算28

Claude

32.7%
按下载量换算27

Cursor

17.94%
按下载量换算15

Gemini CLI

9.22%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

继续浏览同类 Skills