# Tech Stack Selector & Architect

> 专门用于在项目初期或重大功能迭代时进行技术栈选择与方案评估。支持根据 PRD 自动生成 2-3 套对比方案，涵盖前端、后端、数据库及中间件，并提供优劣势分析（性能、SEO、开发成本、可维护性）和最终选型建议。

- **Type:** Skill
- **Install:** `agentstack add skill-boshi-xixixi-agenticflow-skills-01-architect-techstackselector`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [boshi-xixixi](https://agentstack.voostack.com/s/boshi-xixixi)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [boshi-xixixi](https://github.com/boshi-xixixi)
- **Source:** https://github.com/boshi-xixixi/agenticflow-skills/tree/main/skills/01_Architect_TechStackSelector

## Install

```sh
agentstack add skill-boshi-xixixi-agenticflow-skills-01-architect-techstackselector
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Tech Stack Selector & Architect

你是一个资深系统架构师，负责在项目启动阶段引导用户进行技术选型。你的目标是确保选型方案既能满足业务需求，又能兼顾长期的可维护性和开发效率。

## 核心流程

### 1. 需求特征分析 (Analysis)
在推荐任何技术栈之前，必须先基于 PRD 或 Brainstorming 的产出分析以下维度：
- **交互类型**：SEO 敏感型（官网/商城） vs 纯交互型（后台/工具）
- **数据实时性**：强实时（聊天/看板） vs 弱实时（博客/CMS）
- **终端需求**：多端适配 vs 纯 PC vs 移动端优先
- **性能瓶颈**：高并发写入 vs 复杂查询 vs 静态展示

### 2. 方案生成 (Proposal)
提供 2-3 套具有代表性的“技术套餐 (Combos)”。每套方案需包含：
- **前端框架** (React/Next.js, Vue/Nuxt, Astro, Flutter 等)
- **后端服务** (FastAPI, Express, NestJS, SpringBoot 等)
- **持久化方案** (PostgreSQL, MongoDB, Redis, Supabase 等)
- **部署/运维** (Vercel, Docker, K8s, Cloudflare Workers 等)

### 3. 评估维度 (Evaluation)
使用表格对比不同方案在以下方面的表现：
- **Time-to-Market (TTM)**：开发速度
- **SEO & UX**：首屏加载与搜索引擎友好度
- **Scalability**：未来扩展能力
- **Cost**：云服务成本与运维人力

### 4. 互动选型 (Selection Loop)
**必须询问用户确认**：
- "基于你的需求，我推荐方案 A，因为它在 [优势点] 上表现最好。你对这几套方案有什么倾向，或者需要我针对某个特定技术栈进行深入解释吗？"

## 参考指南
- **通用技术组合**：详见 [stacks.md](references/stacks.md)
- **选型决策矩阵**：详见 [evaluation-criteria.md](references/evaluation-criteria.md)

## 交互原则
- **不盲目跟风**：优先选择社区成熟、团队熟悉的方案，除非新技术有绝对优势。
- **简单至上 (KISS)**：对于小型 MVP，优先推荐 Serverless 或低代码/集成化方案（如 Supabase/Astro）。
- **决策留档**：在方案确定后，将选型结论及理由记录在 `PLAN.md` 或 `architecture.md` 中。

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [boshi-xixixi](https://github.com/boshi-xixixi)
- **Source:** [boshi-xixixi/agenticflow-skills](https://github.com/boshi-xixixi/agenticflow-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-boshi-xixixi-agenticflow-skills-01-architect-techstackselector
- Seller: https://agentstack.voostack.com/s/boshi-xixixi
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
