Community研究与数据分析github.com

sickn33/architecture

架构决策框架。用于需求分析、权衡评估和ADR文档编写。在进行架构决策或分析系统设计时使用。

architecture 是什么?

该技能提供了一个完整的架构决策框架,旨在帮助开发者或AI代理系统化地进行需求分析、权衡评估以及架构决策记录(ADR)。它适用于多种AI代理平台,如Claude Code、Cursor或Codex,通过结构化的流程引导用户完成从需求梳理到最终决策的每一步。其核心价值在于确保架构决策的透明性、可追溯性和一致性,减少主观判断带来的风险。技能文档详细定义了如何识别关键需求、列出备选方案、评估权衡因素,并生成规范的ADR文档,使团队能够清晰地理解每个决策背后的理由和影响。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/architecture

Installed? Explore more 研究与数据分析 skills: affaan-m/uspto-database, affaan-m/scholar-evaluation, affaan-m/literature-review · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

architecture 是做什么的?

架构决策框架。用于需求分析、权衡评估和ADR文档编写。在进行架构决策或分析系统设计时使用。

概述

本框架提供了一套系统化的方法论,帮助在软件项目中进行架构决策。它涵盖了从需求分析、方案评估到最终记录架构决策记录(ADR)的完整流程。

核心功能

  • 需求分析:识别关键功能和非功能需求,确定决策约束条件。
  • 权衡评估:列出备选方案,评估每个方案的优缺点,包括成本、复杂度、可扩展性、维护性等因素。
  • ADR文档编写:标准化的架构决策记录模板,确保每个决策的可追溯性。

使用场景

  • 当需要选择技术栈或框架时。
  • 在系统设计中评估不同的架构模式(如微服务、单体、事件驱动等)。
  • 记录团队做出的重要技术决策,供后续参考。

如何使用

  1. 启动技能:/architecture
  2. 按照引导回答一系列问题,例如:
    • 目标系统的核心需求是什么?
    • 有哪些备选方案?
    • 每个方案的关键权衡点是什么?
  3. 技能将生成结构化的ADR文档,包含上下文、决策、理由和影响。

输出格式

生成的ADR采用Markdown格式,包含以下部分:

  • 标题:决策的简明描述。
  • 状态:[提案中/已接受/已废弃]等。
  • 上下文:为什么需要这个决策?
  • 决策:最终选择的具体方案。
  • 理由:选择该方案的原因,以及权衡分析。
  • 影响:该决策对系统、团队或流程的正面和负面后果。
  • 附录:参考文档、讨论记录等。

平台支持

  • Claude Code
  • Cursor
  • Codex
  • 其他AI代理平台

示例

输入

我需要为一个电商平台决定使用关系型数据库还是NoSQL。

输出(ADR片段)

# ADR-001:选择PostgreSQL作为主力数据库

**状态**:已接受

**上下文**:
电商平台需要强一致性支持事务(订单、支付),同时有部分非结构化数据(产品评论)。

**决策**:
采用PostgreSQL作为主力数据库,对非结构化数据使用JSONB字段。

**理由**:
- 事务支持符合核心业务需求。
- JSONB字段提供足够的灵活性。
- 团队对SQL熟悉,学习成本低。

**影响**:
- 正面:简化技术栈,减少运维复杂度。
- 负面:未来若扩展到海量流量可能需要分片。

贡献

欢迎通过GitHub提交Issues或Pull Requests改进本技能。

许可

MIT License

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

sickn33/3d-web-experience

Expert in building 3D experiences for the web - Three.js, React Three Fiber, Spline, WebGL, and interactive 3D scenes. Covers product configurators, 3D portfolios, immersive websites, and bringing depth to web experiences.

sickn33/agent-memory-mcp

A hybrid memory system that provides persistent, searchable knowledge management for AI agents (Architecture, Patterns, Decisions).

sickn33/agent-memory-systems

Memory is the cornerstone of intelligent agents. Without it, every interaction starts from zero. This skill covers the architecture of agent memory: short-term (context window), long-term (vector stores), and the cognitive architectures that organize them.

sickn33/ai-agents-architect

Expert in designing and building autonomous AI agents. Masters tool use, memory systems, planning strategies, and multi-agent orchestration.

sickn33/api-documentation-generator

Generate comprehensive, developer-friendly API documentation from code, including endpoints, parameters, examples, and best practices

sickn33/api-patterns

API design principles and decision-making. REST vs GraphQL vs tRPC selection, response formats, versioning, pagination.

sickn33/api-security-best-practices

Implement secure API design patterns including authentication, authorization, input validation, rate limiting, and protection against common API vulnerabilities

sickn33/app-store-optimization

Complete App Store Optimization (ASO) toolkit for researching, optimizing, and tracking mobile app performance on Apple App Store and Google Play Store

sickn33/audio-transcriber

Transform audio recordings into professional Markdown documentation with intelligent summaries using LLM integration

sickn33/aws-serverless

Specialized skill for building production-ready serverless applications on AWS. Covers Lambda functions, API Gateway, DynamoDB, SQS/SNS event-driven patterns, SAM/CDK deployment, and cold start optimization.

sickn33/backend-architect

Expert backend architect specializing in scalable API design, microservices architecture, and distributed systems.

sickn33/backend-dev-guidelines

You are a senior backend engineer operating production-grade services under strict architectural and reliability constraints. Use when routes, controllers, services, repositories, express middleware, or prisma database access.

sickn33/bash-linux

Bash/Linux terminal patterns. Critical commands, piping, error handling, scripting. Use when working on macOS or Linux systems.

sickn33/bash-scripting

Bash scripting workflow for creating production-ready shell scripts with defensive patterns, error handling, and testing.

sickn33/brainstorming

Use before creative or constructive work (features, architecture, behavior). Transforms vague ideas into validated designs through disciplined reasoning and collaboration.

sickn33/browser-automation

Browser automation powers web testing, scraping, and AI agent interactions. The difference between a flaky script and a reliable system comes down to understanding selectors, waiting strategies, and anti-detection patterns.

sickn33/browser-extension-builder

Expert in building browser extensions that solve real problems - Chrome, Firefox, and cross-browser extensions. Covers extension architecture, manifest v3, content scripts, popup UIs, monetization strategies, and Chrome Web Store publishing.

sickn33/bullmq-specialist

BullMQ expert for Redis-backed job queues, background processing, and reliable async execution in Node.js/TypeScript applications.

sickn33/bun-development

Fast, modern JavaScript/TypeScript development with the Bun runtime, inspired by [oven-sh/bun](https://github.com/oven-sh/bun).

sickn33/cc-skill-security-review

This skill ensures all code follows security best practices and identifies potential vulnerabilities. Use when implementing authentication or authorization, handling user input or file uploads, or creating new API endpoints.

相关技能