Token导航 LogoToken导航

Agent Skill · 开发

architecture-exploration(建筑探索)

architecture-exploration 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

architecture-exploration 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 20,705。

总安装 214周安装 9GitHub Stars 35下载 75核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/petekp/claude-code-setup --skill architecture-exploration

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

用于深度探索系统架构,生成可行的架构选项并协助选择最优方向。适合在迁移前进行架构预研,避免过早承诺单一设计方案。使用时可请求生成架构备选方案、评估技术债务或分析子系统依赖关系。需明确区分架构探索与实施执行,不直接处理代码迁移工作。

architecture-exploration 属于开发类 Skill,可作为该场景下的辅助能力补充。

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

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

architecture-exploration 怎么安装?

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

architecture-exploration 支持哪些 AI 工具?

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

architecture-exploration 需要什么权限?

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

architecture-exploration 是免费的吗?

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

architecture-exploration 用的人多吗?

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

architecture-exploration 安全吗?

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

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

值得选的地方

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

先想清楚的地方

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

适不适合你

更适合

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

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

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

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
architecture-exploration

建筑探索 · 本页

21435需要联网未明确通过

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

SKILL.md 原文

Architecture Exploration

Reason deeply about a system, generate real architectural options, and help the user choose the best direction before any migration begins.

This skill is intentionally pre-commit. Its job is to help pick the right architecture, not to execute the migration. Once a direction is chosen, hand the work off to audit-and-migrate.

Why This Exists

Large engineering efforts fail long before code is written:

  1. Premature commitment — a promising idea becomes the default architecture before alternatives are seriously examined.
  2. Local reasoning — the agent optimizes one subsystem without understanding system-wide constraints, ownership, and failure modes.
  3. Strawman comparison — one favored option is compared against weak alternatives, creating false confidence.
  4. Migration contamination — the discussion quietly shifts from "what should we build?" to "how should we implement it?" before the target architecture is actually chosen.

This skill exists to force disciplined exploration before implementation.

Hard Boundary

This skill does not:

  • create migration slices
  • create ratchet budgets for execution
  • start refactoring
  • write scaffolding or implementation code
  • turn the leading option into the assumed winner before comparison is complete

This skill does:

  • map the current system
  • define the decision frame
  • generate multiple serious options
  • compare them against the same constraints
  • stress-test them
  • recommend a direction
  • produce a handoff package for audit-and-migrate

Perform all of this work directly. Do not rely on other skills to do the shaping, stress-testing, or architecture comparison for you.

If the user has already chosen a direction and wants to land it safely, stop using this skill and use audit-and-migrate.

Core Principle

First excavate reality, then compare options, then recommend.

Do not start with architecture taste. Start with the actual system, the actual constraints, and the actual problem.

Evidence Discipline

Before you recommend an architecture, you must earn the recommendation.

For the relevant system, actively inspect:

  • current code paths
  • ownership boundaries
  • state and data flow
  • external contracts and integrations
  • docs and operational surfaces
  • obvious history signals when needed (recent churn, known incidents, partial prior refactors)

Do not recommend major boundary changes based only on the user's summary if the local codebase can answer the question.

When a claim is uncertain, mark it as uncertain. A high-integrity architectural recommendation is one that is well-calibrated, not one that sounds maximally confident.

Workflow

Phase 1: Define the Decision Frame

Before exploring options, pin down the decision you are actually making.

Capture:

  • Goal — what outcome the user wants
  • Problem — what pain or failure mode motivates the change
  • Invariants — what must remain true
  • Non-goals — what should stay out of scope
  • Constraints — team, tooling, performance, compliance, time, compatibility, ops, or organizational limits
  • External surfaces — APIs, env vars, queues, dashboards, CLI entrypoints, jobs, data contracts, webhooks, partner integrations
  • Decision horizon — are we optimizing for the next 3 months, 1 year, or 3 years?

If the user already has a candidate solution in mind, treat it as Option A, not as the conclusion.

Phase 2: Map the Current System

Understand the current system before proposing alternatives.

For the affected system or systems, map:

  • Primary workflows
  • Current module boundaries
  • Data flow
  • Ownership of logic and state
  • External dependencies
  • Operational surfaces
  • Known pain points
  • Hotspots — fragile areas, high-churn files, flaky tests, unclear ownership, duplicated logic, stale docs

Produce a concise current-state map:

## Current System
| Area | Current Owner | Inputs | Outputs | Dependencies | Pain |
|------|---------------|--------|---------|--------------|------|
| ...  | ...           | ...    | ...     | ...          | ...  |

Do not skip this because the user "already knows the system." A rigorous option comparison depends on a shared map of reality.

Phase 3: Generate the Option Set

Generate 2-4 serious architectural options.

Do not generate fake alternatives. Every option must be plausible enough that a strong team could reasonably choose it.

When feasible, include:

  • Option 1: Evolutionary path — improves the current system with lower disruption
  • Option 2: Simplifying path — removes concepts and indirection aggressively
  • Option 3: Structural path — introduces stronger boundaries or a new architecture shape
  • Option 4: Do less — if the problem may be solvable with narrower change than expected

Each option must describe:

  • architecture shape
  • boundary changes
  • ownership model
  • data flow
  • operational model
  • what stays
  • what changes
  • what gets simpler
  • what gets harder

Phase 4: Analyze Each Option

For every option, run the same analysis.

A. Fit

How well does the option satisfy:

  • the goal
  • invariants
  • constraints
  • external surface obligations
B. Assumptions

List the must-be-true assumptions:

## Must-Be-True Assumptions
| Assumption | Why It Matters | How to Verify | Fastest Disproof |
|------------|----------------|---------------|------------------|
| ...        | ...            | ...           | ...              |
C. Failure Modes

Imagine the option failed one year later. Work backward.

## Pre-Mortem
| Failure Mode | Warning Signal | Prevention |
|--------------|----------------|------------|
| ...          | ...            | ...        |
D. Tradeoffs

Evaluate each option on:

  • Concept count — how many new ideas someone must carry
  • Boundary clarity — is ownership sharper or blurrier?
  • Migration difficulty — how hard this will be to land later
  • Cleanup burden — how likely it is to leave vestigial code, docs, configs, or adapters
  • Rollback story — how hard it is to back out
  • Operability — monitoring, debugging, failure handling, support burden
  • Testability — can the system be verified deterministically?
  • Extensibility — what future changes become easier?
  • Lock-in — what new constraints does this create?

Use relative ratings with justification. Avoid fake precision.

## Tradeoff Matrix
| Dimension | Option A | Option B | Option C |
|-----------|----------|----------|----------|
| Simplicity | Medium — ... | High — ... | Low — ... |
| Migration Difficulty | ... | ... | ... |
| Cleanup Burden | ... | ... | ... |
| Operability | ... | ... | ... |
| Testability | ... | ... | ... |
| Long-Term Flexibility | ... | ... | ... |
E. Disqualifiers

For each option, state what would make it the wrong choice.

Examples:

  • requires compatibility the project does not need
  • increases operational burden beyond the team's capacity
  • creates too much cleanup debt during migration
  • depends on an external contract the team does not control
  • adds concepts without enough payoff
F. Unknowns

What remains uncertain? Distinguish:

  • architectural unknowns — boundary or ownership uncertainty
  • runtime unknowns — load, latency, concurrency, failure behavior
  • organizational unknowns — team readiness, external consumers, ops constraints

Phase 5: Recommend

Do not stop at listing options. Make a recommendation.

The recommendation must include:

  • Recommended option
  • Why it wins
  • Why the runner-up loses
  • Why the other options were rejected
  • What could change the recommendation
  • What must be validated before committing

If the recommendation is genuinely unclear, say so and explain exactly which uncertainty blocks a good decision.

Phase 6: Define Validation Spikes

Before committing, propose the cheapest high-value spikes to kill uncertainty.

Good spikes are:

  • narrow
  • fast
  • evidence-producing
  • architecture-relevant

Examples:

  • compile-time module skeleton
  • thin path through one critical workflow
  • event/queue boundary proof
  • fake adapter proving data contract shape
  • load experiment for one suspected bottleneck

For each spike:

## Validation Spikes
| Spike | Question Answered | Cost | Success Signal | Failure Signal |
|-------|-------------------|------|----------------|----------------|
| ...   | ...               | ...  | ...            | ...            |

Phase 7: Prepare the Handoff to audit-and-migrate

Once the user chooses a direction, hand off the decision package cleanly.

The handoff section must include:

  • Chosen architecture
  • Decision rationale
  • Invariants
  • Non-goals
  • Critical workflows
  • External surfaces
  • Known hotspots
  • Leading migration risks
  • Expected deletion zones — code, docs, scripts, config, env, adapters likely to become vestigial
  • Validation spikes already run
  • What still needs proof

This section should make it easy to start audit-and-migrate without reopening the architecture debate.

Output Contract

For non-trivial explorations, produce a decision-grade artifact at .claude/architecture/ARCHITECTURE_OPTIONS.md or the project’s equivalent docs location.

Use this structure:

# Architecture Exploration: [System Name]

## Goal

## Problem

## Invariants

## Non-Goals

## Constraints

## External Surfaces

## Current System
| Area | Current Owner | Inputs | Outputs | Dependencies | Pain |

## Option 1: [Name]
### Architecture Shape
### Why It Might Work
### Tradeoffs
### Failure Modes
### Disqualifiers
### Cleanup / Migration Implications
### Unknowns

## Option 2: [Name]
...

## Tradeoff Matrix
| Dimension | Option 1 | Option 2 | Option 3 |

## Assumptions
| Assumption | Why It Matters | How to Verify | Fastest Disproof |

## Risk Register
| Risk | Option(s) Affected | Likelihood | Impact | Mitigation |

## Validation Spikes
| Spike | Question Answered | Cost | Success Signal | Failure Signal |

## Recommendation

## Runner-Up

## Why The Other Options Lose

## Decision Needed

## Handoff to audit-and-migrate

For smaller requests, present the same structure inline in the conversation.

Reasoning Standards

Avoid False Precision

Do not invent numerical scoring that implies rigor you do not actually have. Relative ratings with explanations are better than fake weighted totals.

Prefer Evidence to Taste

Architecture preferences are not evidence. Ground recommendations in:

  • codebase structure
  • observed constraints
  • operational surfaces
  • migration burden
  • cleanup burden
  • failure modes

Always Include a Simpler Option

If every option increases conceptual complexity, you probably missed a better path.

Do Not Default to Rewrite

A full rewrite or major structural reset must earn its place. It is rarely the default winner.

Make the Tradeoffs Symmetrical

Every option gets the same scrutiny. Do not stress-test the user's preferred option less just because it sounds elegant.

When to Stop

Exploration is complete when:

  • the current system is mapped clearly enough to compare alternatives
  • the option set includes at least two serious choices
  • each option has explicit tradeoffs and failure modes
  • the recommendation is grounded in evidence
  • the next step is clear: either run a validation spike or start audit-and-migrate

If you reach that point, stop exploring and recommend the decision.

Relationship to audit-and-migrate

Use this skill to answer:

  • "What architecture should we choose?"
  • "What are our options?"
  • "What is the best design tradeoff here?"

Use audit-and-migrate after the answer becomes:

  • "We are committing to Option B"
  • "Now plan the migration"
  • "Now land this safely"

平台分布

Codex

36.17%
按下载量换算27

Claude

27.44%
按下载量换算21

Cursor

19.25%
按下载量换算14

Gemini CLI

9.38%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

继续浏览同类 Skills