ironweave 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +16 -0
- package/.clinerules +7 -0
- package/.codex/INSTALL.md +45 -0
- package/.cursor-plugin/plugin.json +19 -0
- package/.cursorrules +7 -0
- package/.github/copilot-instructions.md +7 -0
- package/.opencode/INSTALL.md +42 -0
- package/.windsurfrules +7 -0
- package/AGENTS.md +1 -0
- package/CLAUDE.md +22 -0
- package/CONTRIBUTING.md +81 -0
- package/GEMINI.md +1 -0
- package/LICENSE +21 -0
- package/README.md +250 -0
- package/README_CN.md +248 -0
- package/package.json +48 -0
- package/skills/api-contract-design/SKILL.md +227 -0
- package/skills/api-contract-design/references/api-design-rules.md +106 -0
- package/skills/brainstorm/SKILL.md +271 -0
- package/skills/brainstorm/agents/architect.md +34 -0
- package/skills/brainstorm/agents/challenger.md +34 -0
- package/skills/brainstorm/agents/domain-expert.md +34 -0
- package/skills/brainstorm/agents/pragmatist.md +34 -0
- package/skills/brainstorm/agents/product-manager.md +34 -0
- package/skills/brainstorm/agents/ux-designer.md +34 -0
- package/skills/brainstorm/references/synthesis-rules.md +51 -0
- package/skills/code-scaffold/SKILL.md +313 -0
- package/skills/code-scaffold/references/scaffold-rules.md +131 -0
- package/skills/docs-output/SKILL.md +149 -0
- package/skills/docs-output/references/naming-rules.md +52 -0
- package/skills/docs-output/scripts/docs_manager.py +353 -0
- package/skills/engineering-principles/SKILL.md +133 -0
- package/skills/engineering-principles/references/anti-patterns.md +144 -0
- package/skills/engineering-principles/references/ddd-patterns.md +66 -0
- package/skills/engineering-principles/references/design-patterns.md +34 -0
- package/skills/engineering-principles/references/patterns-architecture.md +301 -0
- package/skills/engineering-principles/references/patterns-backend.md +77 -0
- package/skills/engineering-principles/references/patterns-classic.md +200 -0
- package/skills/engineering-principles/references/patterns-crosscut.md +67 -0
- package/skills/engineering-principles/references/patterns-frontend.md +27 -0
- package/skills/engineering-principles/references/patterns-module.md +95 -0
- package/skills/engineering-principles/references/patterns-small-scale.md +79 -0
- package/skills/engineering-principles/references/quality-checklist.md +76 -0
- package/skills/engineering-principles/references/solid-principles.md +46 -0
- package/skills/engineering-principles/references/tdd-workflow.md +60 -0
- package/skills/engineering-principles/scripts/principles_matcher.py +433 -0
- package/skills/error-handling-strategy/SKILL.md +347 -0
- package/skills/error-handling-strategy/references/error-handling-rules.md +91 -0
- package/skills/implementation-complexity-analysis/SKILL.md +193 -0
- package/skills/implementation-complexity-analysis/references/complexity-rules.md +126 -0
- package/skills/integration-test-design/SKILL.md +296 -0
- package/skills/integration-test-design/references/test-strategy-rules.md +90 -0
- package/skills/observability-design/SKILL.md +327 -0
- package/skills/observability-design/references/observability-rules.md +129 -0
- package/skills/orchestrator/SKILL.md +260 -0
- package/skills/orchestrator/references/deliver.md +112 -0
- package/skills/orchestrator/references/execute.md +313 -0
- package/skills/orchestrator/references/gates.md +252 -0
- package/skills/orchestrator/references/parallel.md +70 -0
- package/skills/orchestrator/references/route-a.md +135 -0
- package/skills/orchestrator/references/route-b.md +91 -0
- package/skills/orchestrator/references/route-c.md +65 -0
- package/skills/orchestrator/references/route-d.md +75 -0
- package/skills/orchestrator/references/scope-sizer.md +219 -0
- package/skills/performance-arch-design/SKILL.md +208 -0
- package/skills/performance-arch-design/references/performance-rules.md +95 -0
- package/skills/project-context/SKILL.md +104 -0
- package/skills/project-context/references/schema.md +97 -0
- package/skills/project-context/scripts/context_db.py +358 -0
- package/skills/requirement-qa/SKILL.md +287 -0
- package/skills/requirement-qa/references/completion-signals.md +42 -0
- package/skills/requirement-qa/references/option-rules.md +57 -0
- package/skills/requirement-qa/scripts/qa_session.py +223 -0
- package/skills/skill-creator/LICENSE.txt +202 -0
- package/skills/skill-creator/SKILL.md +485 -0
- package/skills/skill-creator/agents/analyzer.md +274 -0
- package/skills/skill-creator/agents/comparator.md +202 -0
- package/skills/skill-creator/agents/grader.md +223 -0
- package/skills/skill-creator/assets/eval_review.html +146 -0
- package/skills/skill-creator/eval-viewer/generate_review.py +471 -0
- package/skills/skill-creator/eval-viewer/viewer.html +1325 -0
- package/skills/skill-creator/references/schemas.md +430 -0
- package/skills/skill-creator/scripts/__init__.py +0 -0
- package/skills/skill-creator/scripts/aggregate_benchmark.py +401 -0
- package/skills/skill-creator/scripts/generate_report.py +326 -0
- package/skills/skill-creator/scripts/improve_description.py +247 -0
- package/skills/skill-creator/scripts/package_skill.py +136 -0
- package/skills/skill-creator/scripts/quick_validate.py +103 -0
- package/skills/skill-creator/scripts/run_eval.py +310 -0
- package/skills/skill-creator/scripts/run_loop.py +328 -0
- package/skills/skill-creator/scripts/utils.py +47 -0
- package/skills/spec-writing/SKILL.md +96 -0
- package/skills/spec-writing/references/mermaid-guide.md +66 -0
- package/skills/spec-writing/references/test-matrix.md +73 -0
- package/skills/task-difficulty/SKILL.md +162 -0
- package/skills/task-difficulty/references/scoring-guide.md +123 -0
- package/skills/task-difficulty/scripts/difficulty_scorer.py +328 -0
- package/skills/tech-stack/SKILL.md +67 -0
- package/skills/tech-stack/references/tech-reference-tables.md +130 -0
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
# 参考技术表
|
|
2
|
+
|
|
3
|
+
以下表格**仅作选型参考**,写入最终文档时需对每项标注「采用 / 不采用 / 待定」并说明理由。
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 运行时与包管理
|
|
8
|
+
|
|
9
|
+
| 分类 | 技术 | 说明 |
|
|
10
|
+
|------|------|------|
|
|
11
|
+
| 运行时 | Node.js | 建议采用当前**稳定的 LTS**(非最新版);写明版本或 semver 范围,确保 ≥ 工具链最低要求 |
|
|
12
|
+
| 包管理 | pnpm | 写明精确版本,通过 `packageManager` 字段锁定(如 `"packageManager": "pnpm@10.12.0"`);使用 Corepack 同步;Monorepo 配合 `pnpm-workspace.yaml` |
|
|
13
|
+
|
|
14
|
+
> **版本一致性检查**:确认 `package.json` 的 `engines`/`packageManager`、`.nvmrc`、CI 配置、Docker 基础镜像中的 Node 版本都指向同一版本。
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## 前端 · 跨框架通用
|
|
19
|
+
|
|
20
|
+
| 分类 | 技术 | 说明 |
|
|
21
|
+
|------|------|------|
|
|
22
|
+
| 构建 | Vite | 极速冷启动,原生 ESM;Vue / React 模板均成熟 |
|
|
23
|
+
| 包管理 | pnpm + Monorepo | 节省磁盘,统一多包管理;**pnpm 具体版本见「运行时与包管理」** |
|
|
24
|
+
| 样式 | Sass + BEM | 可维护的样式架构 |
|
|
25
|
+
| 样式校验 | Stylelint | Sass/CSS 风格一致性 |
|
|
26
|
+
| HTTP 请求 | axios | 接口请求封装 |
|
|
27
|
+
| 图标库 | Font Awesome | 丰富的矢量图标,支持按需引入 |
|
|
28
|
+
| 工具库(通用) | lodash-es | 与框架无关的常用工具函数 |
|
|
29
|
+
| 单元测试 | Vitest | 与 Vite 生态一体化 |
|
|
30
|
+
| 端到端测试 | Playwright | 全链路 E2E 测试 |
|
|
31
|
+
| 库打包(`packages/` 内 TS) | tsdown | 可发布/内部 TS 库的构建与类型声明;**用 tsdown 替代 tsup**,与 tsup 主要选项兼容、便于迁移 |
|
|
32
|
+
| 客户端存储 | IndexedDB (via Dexie.js / idb) | 浏览器端大容量结构化存储;Dexie.js 提供简洁的 Promise API,idb 是轻量级封装;适用于离线缓存、草稿暂存、本地数据同步等场景 |
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## 前端 · Vue 路线(选用时写入)
|
|
37
|
+
|
|
38
|
+
| 分类 | 技术 | 说明 |
|
|
39
|
+
|------|------|------|
|
|
40
|
+
| 框架 | Vue 3 + TypeScript | 渐进式框架,类型安全 |
|
|
41
|
+
| 路由 | Vue Router | 官方路由方案 |
|
|
42
|
+
| 状态管理 | Pinia | 轻量,完整 TypeScript 支持 |
|
|
43
|
+
| 组合式工具 | VueUse | 常用组合式函数封装 |
|
|
44
|
+
| 国际化 | vue-i18n | 多语言支持(按需引入) |
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## 前端 · React 路线(选用时写入)
|
|
49
|
+
|
|
50
|
+
| 分类 | 技术 | 说明 |
|
|
51
|
+
|------|------|------|
|
|
52
|
+
| 框架 | React 18+ + TypeScript | 组件模型与生态成熟 |
|
|
53
|
+
| 路由 | React Router / TanStack Router | 按项目规模与数据加载需求选用 |
|
|
54
|
+
| 状态管理 | Zustand、Jotai、Redux Toolkit 等 | 按数据流复杂度选用 |
|
|
55
|
+
| 国际化 | react-i18next 等 | 多语言支持(按需引入) |
|
|
56
|
+
| 全栈 / SSR(可选) | Next.js、Remix 等 | 需要 SSR 或全栈能力时纳入选型 |
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## 前端 · UI 与组件库
|
|
61
|
+
|
|
62
|
+
| 分类 | 技术 | 说明 |
|
|
63
|
+
|------|------|------|
|
|
64
|
+
| 第三方组件库(Vue) | Element Plus、Ant Design Vue、Naive UI、Vuetify 等 | 按设计规范、无障碍与授权协议选用 |
|
|
65
|
+
| 第三方组件库(React) | Ant Design、MUI、Chakra UI、Mantine、Radix 系 + 样式方案 等 | 同上 |
|
|
66
|
+
| 自研组件库 | Monorepo 内独立包(如 `packages/ui`) | 与 Design Tokens、文档站、无障碍规范对齐;可与第三方并存或渐进替换 |
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
## 后端(Node.js 系,推荐 NestJS)
|
|
71
|
+
|
|
72
|
+
| 分类 | 技术 | 说明 |
|
|
73
|
+
|------|------|------|
|
|
74
|
+
| 框架(推荐) | **NestJS** | 模块化、装饰器驱动的 Node.js 框架,适合中大型项目 |
|
|
75
|
+
| 框架(备选) | Express | 最成熟的 Node.js Web 框架,生态丰富,适合轻量级项目 |
|
|
76
|
+
| 框架(备选) | Koa | Express 团队打造,更精简的中间件模型,适合对中间件流程有较高控制需求的场景 |
|
|
77
|
+
| API 风格 | RESTful | 标准 HTTP 语义接口 |
|
|
78
|
+
| 接口文档 | Swagger / OpenAPI | 自动生成,NestJS 官方集成 |
|
|
79
|
+
| 参数校验 | class-validator + class-transformer | DTO 层数据校验,NestJS 标配 |
|
|
80
|
+
| 认证 | 双 Token + Passport.js | 访问令牌 + 刷新令牌 |
|
|
81
|
+
| 权限 | RBAC | 基于角色的访问控制 |
|
|
82
|
+
| ORM(推荐) | **TypeORM** | 支持装饰器,与 NestJS 深度集成 |
|
|
83
|
+
| ORM(备选) | Prisma | 类型安全的 Schema-first ORM,迁移体验佳 |
|
|
84
|
+
| ORM(备选) | Drizzle | 轻量级 TypeScript-first ORM,SQL-like API |
|
|
85
|
+
| 数据库(推荐) | **PostgreSQL** | 关系型,生产级稳定性,功能丰富(JSON、全文检索、窗口函数等) |
|
|
86
|
+
| 数据库(备选) | MySQL | 广泛使用的关系型数据库,社区成熟 |
|
|
87
|
+
| 数据库(备选) | MongoDB | 文档型数据库,适合半结构化数据型场景 |
|
|
88
|
+
| 缓存 | Redis | 令牌存储、热点数据缓存 |
|
|
89
|
+
| 日志 | Winston / pino | 结构化日志输出 |
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
## 后端(Java 系,备选路线)
|
|
94
|
+
|
|
95
|
+
| 分类 | 技术 | 说明 |
|
|
96
|
+
|------|------|------|
|
|
97
|
+
| 框架 | Spring Boot | Java 生态事实标准,企业级项目首选 |
|
|
98
|
+
| API 风格 | RESTful / Spring MVC | 控制器 + 服务层标准分层 |
|
|
99
|
+
| 接口文档 | SpringDoc (OpenAPI 3) | 注解驱动自动生成,替代旧版 Springfox |
|
|
100
|
+
| 参数校验 | Jakarta Validation (Bean Validation) | 注解式校验,Spring Boot 内置支持 |
|
|
101
|
+
| 认证 | Spring Security + JWT | 成熟的安全框架,支持多种认证方式 |
|
|
102
|
+
| 权限 | RBAC / Spring Security | 基于角色或权限表达式的访问控制 |
|
|
103
|
+
| ORM | MyBatis-Plus / JPA (Hibernate) | MyBatis-Plus 灵活控制 SQL;JPA 适合领域驱动设计 |
|
|
104
|
+
| 数据库 | 同 Node.js 系 | PostgreSQL(推荐)/ MySQL / MongoDB |
|
|
105
|
+
| 缓存 | Redis + Spring Cache | 抽象缓存层,无缝集成 Redis |
|
|
106
|
+
| 日志 | SLF4J + Logback | Spring Boot 默认日志框架 |
|
|
107
|
+
| 构建 | Maven / Gradle | Maven 稳定成熟,Gradle 构建速度快 |
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
## 运维 & 基础设施(可选)
|
|
112
|
+
|
|
113
|
+
| 分类 | 技术 | 说明 |
|
|
114
|
+
|------|------|------|
|
|
115
|
+
| 反向代理 | Nginx | 静态资源托管、接口转发 |
|
|
116
|
+
| 容器化(可选) | Docker + Docker Compose | 环境一致性,本地与生产对齐;根据项目部署需求决定是否采用 |
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
## 工程规范
|
|
121
|
+
|
|
122
|
+
| 分类 | 技术 | 说明 |
|
|
123
|
+
|------|------|------|
|
|
124
|
+
| 代码校验 | oxlint + oxfmt | 基于 Oxc 的高性能 Lint 与格式化 |
|
|
125
|
+
| Git 钩子 | Husky + lint-staged | 提交前自动校验暂存文件 |
|
|
126
|
+
| 提交规范 | commitlint | 约束提交信息格式(如 Conventional Commits) |
|
|
127
|
+
| 版本管理 | Changesets | monorepo 多包版本与发布管理 |
|
|
128
|
+
| CLI 工具 | Commander + Inquirer | 命令行脚手架开发(命令解析 + 交互式问答) |
|
|
129
|
+
| CLI 美化 | chalk / picocolors + ora + boxen | 终端彩色输出(picocolors 更轻量零依赖)、加载动画、信息框 |
|
|
130
|
+
| CLI 参数解析(备选) | yargs / citty | 功能更丰富的参数解析方案 |
|