Token导航 LogoToken导航

Agent Skill · 开发

architect-first(建筑师第一)

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

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

总安装 282周安装 12GitHub Stars 2,763下载 99核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/synkraai/aiox-core --skill architect-first

这个 Skill 是做什么的

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

architect-first 强调架构优先的开发理念,要求先完成高质量设计和测试再进入实现阶段。适用于 Codex、Claude、Cursor、Gemini CLI 中进行系统重构、新特性开发和质量管控。通过 GitHub 安装,使用 npx skills add 命令添加技能,强制前置文档和测试用例编写。

安装前建议确认权限范围,注意是否会触发文件创建、测试运行或构建流程。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/architect-first

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

architect-first 怎么安装?

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

architect-first 支持哪些 AI 工具?

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

architect-first 需要什么权限?

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

architect-first 是免费的吗?

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

architect-first 用的人多吗?

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

architect-first 安全吗?

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

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 来源仓库有 2,763 星,维护活跃度相对可查。

先想清楚的地方

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

适不适合你

更适合

  • 已经在用 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有提醒
architect-first

建筑师第一 · 本页

2822,763需要联网未明确通过

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

SKILL.md 原文

Architect First

Overview

This skill embodies the "Architect-First" development philosophy: Perfect architecture, pragmatic execution, quality guaranteed by tests. Apply this skill when making architectural decisions, starting new features, refactoring existing systems, or when quality gates need to be enforced.

The core principle: Architecture and documentation are non-negotiable and must precede implementation. Code quality is negotiable IF backed by tests as a safety net (escape hatch).

Core Philosophy

Mantra

"Arquitetura perfeita, execução pragmática, qualidade garantida por testes"

Quality Gates

Non-Negotiable (STOP if violated):

  • Architecture: Complete design and documentation BEFORE any code
  • Documentation: Must precede and accompany implementation
  • Capability Preservation: Never lose capability/granularity vs previous versions
  • Zero Coupling: Expansion packs must be independent
  • Multi-Agent Validation: Structural decisions validated by PO/Architect/User

Negotiable (with escape hatch):

  • Code Style: Acceptable if backed by tests as safety net
  • Feature Completeness: 80% acceptable IF core use case works
  • Quick & Dirty Code: Allowed ONLY with test plan and minimal logging

Decision Modes

Architect-First Mode (default):

  • Design and document completely before coding
  • Map structure and pointers before proposing implementation
  • Validate architecture with multiple agents/perspectives
  • Externalize all mutable configurations to YAML

Fast Mode (post-validation only):

  • Binary decisions and rapid delegation
  • Activated ONLY after architectural validation is complete
  • Speed through automation, not shortcuts

Workflow Decision Tree

New Task/Feature Request
    ↓
┌──────────────────────────────────────┐
│ Is this a structural/architectural   │
│ decision?                            │
└──────────────────────────────────────┘
    ↓ YES                    ↓ NO
    ↓                        ↓
[Architecture Flow]    [Execution Flow]

Architecture Flow (Structural Decisions)

STOP and follow this sequence:

  1. Map Before Modify

- Document current state completely - Identify all dependencies and touch points - Create architectural diagrams/flows - Load references/architecture-checklist.md for validation

  1. Multi-Agent Validation

- Present A/B/C options with explicit trade-offs - Get validation from: - Product Owner (business alignment) - Architect (technical soundness) - User (final decision) - Document decision rationale

  1. Design Documentation

- Complete design document BEFORE code - Include: - System architecture diagrams - Component interactions - Data flows - Configuration schema (YAML) - Integration points - Use templates from assets/architecture-template.md

  1. Gold Standard Baseline

- Ensure new design meets/exceeds capability baseline - Validate: Does this maintain ALL previous capabilities? - STOP if capability loss detected → restore or redesign

  1. Zero Coupling Validation

- Run validation script: scripts/check_coupling.py - Ensure expansion pack independence - No hardcoded cross-module dependencies

  1. Proceed to Implementation

- Now and only now: write code - Follow execution flow for implementation

Execution Flow (Implementation)

  1. Pre-Implementation Checklist

- Architecture documented and validated? - Core use case clearly defined? - Configuration externalized to YAML? - Test strategy defined? - Use references/pre-implementation-checklist.md

  1. Test-Driven Safety Net

- Define test plan FIRST - Identify logging/observation points - Tests permit temporary imperfection (escape hatch) - Quality validation via: tests + logs + manual inspection

  1. Implementation Style ACCEPTABLE: ✓ "Ugly" code WITH comprehensive tests ✓ 80% feature completeness IF core case works ✓ Quick implementation WITH test plan + logging REJECTED: ✗ "Ugly" code WITHOUT tests ✗ Capability loss without explicit justification ✗ Hardcoded mutable values (must be YAML) ✗ Deployment without core case working
  2. Debugging Philosophy

- Observational via logs (console/logging) > static analysis - Add strategic log points before debugging - Inspect actual runtime behavior - Validate through execution, not just reading code

  1. Documentation

- Update docs as code evolves - Keep short and actionable: "How to customize" - Include code examples - Document configuration options

Heuristics (Decision Rules)

Apply these heuristics when making decisions:

  1. Gold Standard Baseline: 22 artifacts minimum (adjust to your context)
  2. Never Lose Capability: Accumulate, never reduce
  3. Architect Before Build: Design/docs before code, always
  4. Zero Coupling, Max Modularity: Independent expansion packs
  5. Config > Hardcoding: Externalize to YAML for all mutable values
  6. Map Before Modify: Document structure before changing it
  7. Binary Decision Post-Validation: Fast execution after architectural validation
  8. Speed via Automation: Not via shortcuts or cutting corners
  9. Quality Escape Hatch: Tests permit temporary imperfection

Stop Rules (Hard Boundaries)

STOP immediately if detecting:

  • ⛔ Capability loss vs baseline
  • ⛔ Structural decision without multi-agent validation
  • ⛔ Coupling between modules
  • ⛔ Missing architectural documentation
  • ⛔ Quick & dirty code WITHOUT test plan and logs
  • ⛔ Hardcoded mutable configuration values

When stopped, consult references/stop-rules-guide.md for remediation.

Risk Mitigation

Common risks and their mitigations:

RiskMitigation Strategy
Excessive planningTime-box + mandatory POC before full formalization
Perfectionism cascadeRule of 3: simple pilot → 2 iterations → formalize
Premature configurationGeneralize only after ≥2 real scenarios
Context switchingChecklist of pending items at each pivot

Use scripts/validate_risk_mitigation.py to check risk mitigation coverage.

Collaboration Contract

When working with this skill, follow these collaboration patterns:

✓ Do:

  • Present A/B/C options with explicit trade-offs
  • Map structure and pointers before proposing code
  • Externalize configs in YAML; nothing mutable hardcoded
  • Deliver short, actionable docs ("how to customize")
  • For quick code: include test plan and log points
  • Document pending items when pivoting

✗ Don't:

  • Propose code without architectural context
  • Hardcode values that might change
  • Skip multi-agent validation on structural changes
  • Write "quick & dirty" without tests
  • Make architectural decisions unilaterally

Acceptance Criteria

Will Accept

  • ✓ "Ugly" code WITH comprehensive tests
  • ✓ 80% features IF core case covered
  • ✓ Large refactors that increase flexibility
  • ✓ Extensive documentation if it teaches customization

Will Reject

  • ✗ "Ugly" code WITHOUT tests
  • ✗ Capability loss without explicit justification
  • ✗ Hardcoded mutable values
  • ✗ Deployment without core case working

Unknown Areas (For Future Refinement)

Areas not yet fully defined in the philosophy:

  • Hotfix philosophy (production emergencies)
  • Performance thresholds (latency/throughput minimums)
  • Code duplication tolerance (when to refactor)
  • Observability targets (log levels, correlation, tracing)

When encountering these areas, apply the core heuristics and document decisions for future refinement.

Resources

scripts/

Validation and automation scripts:

  • check_coupling.py - Validates zero-coupling principle
  • validate_risk_mitigation.py - Checks risk coverage
  • architecture_validator.py - Validates architectural completeness

references/

Detailed checklists and guides:

  • architecture-checklist.md - Complete architecture validation checklist
  • pre-implementation-checklist.md - Pre-coding validation
  • stop-rules-guide.md - Remediation guide when stop rules trigger
  • testing-strategy-guide.md - Test-driven development patterns

assets/

Templates for consistent outputs:

  • architecture-template.md - Standard architecture document template
  • config-template.yaml - Configuration externalization template
  • adr-template.md - Architecture Decision Record template

Quick Reference

Starting a new feature:

  1. Map current architecture (references/architecture-checklist.md)
  2. Design with A/B/C options
  3. Multi-agent validation
  4. Document architecture (assets/architecture-template.md)
  5. Define tests
  6. Implement with logging
  7. Validate and iterate

Making architectural changes:

  1. STOP - Do not code yet
  2. Document current state completely
  3. Present options with trade-offs
  4. Get PO/Architect/User validation
  5. Check coupling (scripts/check_coupling.py)
  6. Document decision (assets/adr-template.md)
  7. Now implement

Quick implementation (with safety net):

  1. Pre-implementation checklist
  2. Define test plan
  3. Add log points
  4. Implement (can be "ugly")
  5. Verify tests pass
  6. Inspect logs
  7. Refactor if needed

平台分布

Codex

34.07%
按下载量换算34

Claude

29.64%
按下载量换算29

Cursor

21.22%
按下载量换算21

Gemini CLI

9.52%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

继续浏览同类 Skills