super-dev 2.0.0__tar.gz

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.
Files changed (66) hide show
  1. super_dev-2.0.0/LICENSE +21 -0
  2. super_dev-2.0.0/PKG-INFO +252 -0
  3. super_dev-2.0.0/README.md +211 -0
  4. super_dev-2.0.0/pyproject.toml +91 -0
  5. super_dev-2.0.0/setup.cfg +4 -0
  6. super_dev-2.0.0/super_dev/__init__.py +11 -0
  7. super_dev-2.0.0/super_dev/analyzer/__init__.py +34 -0
  8. super_dev-2.0.0/super_dev/analyzer/analyzer.py +440 -0
  9. super_dev-2.0.0/super_dev/analyzer/detectors.py +511 -0
  10. super_dev-2.0.0/super_dev/analyzer/models.py +285 -0
  11. super_dev-2.0.0/super_dev/cli.py +3257 -0
  12. super_dev-2.0.0/super_dev/config/__init__.py +11 -0
  13. super_dev-2.0.0/super_dev/config/frontend.py +557 -0
  14. super_dev-2.0.0/super_dev/config/manager.py +281 -0
  15. super_dev-2.0.0/super_dev/creators/__init__.py +26 -0
  16. super_dev-2.0.0/super_dev/creators/creator.py +134 -0
  17. super_dev-2.0.0/super_dev/creators/document_generator.py +2473 -0
  18. super_dev-2.0.0/super_dev/creators/frontend_builder.py +371 -0
  19. super_dev-2.0.0/super_dev/creators/implementation_builder.py +789 -0
  20. super_dev-2.0.0/super_dev/creators/prompt_generator.py +289 -0
  21. super_dev-2.0.0/super_dev/creators/requirement_parser.py +354 -0
  22. super_dev-2.0.0/super_dev/creators/spec_builder.py +195 -0
  23. super_dev-2.0.0/super_dev/deployers/__init__.py +20 -0
  24. super_dev-2.0.0/super_dev/deployers/cicd.py +1269 -0
  25. super_dev-2.0.0/super_dev/deployers/delivery.py +229 -0
  26. super_dev-2.0.0/super_dev/deployers/migration.py +1032 -0
  27. super_dev-2.0.0/super_dev/design/__init__.py +74 -0
  28. super_dev-2.0.0/super_dev/design/aesthetics.py +530 -0
  29. super_dev-2.0.0/super_dev/design/charts.py +396 -0
  30. super_dev-2.0.0/super_dev/design/codegen.py +379 -0
  31. super_dev-2.0.0/super_dev/design/engine.py +528 -0
  32. super_dev-2.0.0/super_dev/design/generator.py +395 -0
  33. super_dev-2.0.0/super_dev/design/landing.py +422 -0
  34. super_dev-2.0.0/super_dev/design/tech_stack.py +524 -0
  35. super_dev-2.0.0/super_dev/design/tokens.py +269 -0
  36. super_dev-2.0.0/super_dev/design/ux_guide.py +391 -0
  37. super_dev-2.0.0/super_dev/exceptions.py +119 -0
  38. super_dev-2.0.0/super_dev/experts/__init__.py +19 -0
  39. super_dev-2.0.0/super_dev/experts/service.py +161 -0
  40. super_dev-2.0.0/super_dev/integrations/__init__.py +7 -0
  41. super_dev-2.0.0/super_dev/integrations/manager.py +264 -0
  42. super_dev-2.0.0/super_dev/orchestrator/__init__.py +12 -0
  43. super_dev-2.0.0/super_dev/orchestrator/engine.py +958 -0
  44. super_dev-2.0.0/super_dev/orchestrator/experts.py +423 -0
  45. super_dev-2.0.0/super_dev/orchestrator/knowledge.py +352 -0
  46. super_dev-2.0.0/super_dev/orchestrator/quality.py +356 -0
  47. super_dev-2.0.0/super_dev/reviewers/__init__.py +17 -0
  48. super_dev-2.0.0/super_dev/reviewers/code_review.py +471 -0
  49. super_dev-2.0.0/super_dev/reviewers/quality_gate.py +964 -0
  50. super_dev-2.0.0/super_dev/reviewers/redteam.py +881 -0
  51. super_dev-2.0.0/super_dev/skills/__init__.py +7 -0
  52. super_dev-2.0.0/super_dev/skills/manager.py +307 -0
  53. super_dev-2.0.0/super_dev/specs/__init__.py +44 -0
  54. super_dev-2.0.0/super_dev/specs/generator.py +264 -0
  55. super_dev-2.0.0/super_dev/specs/manager.py +428 -0
  56. super_dev-2.0.0/super_dev/specs/models.py +348 -0
  57. super_dev-2.0.0/super_dev/specs/validator.py +415 -0
  58. super_dev-2.0.0/super_dev/utils/__init__.py +11 -0
  59. super_dev-2.0.0/super_dev/utils/logger.py +133 -0
  60. super_dev-2.0.0/super_dev/web/api.py +1402 -0
  61. super_dev-2.0.0/super_dev.egg-info/PKG-INFO +252 -0
  62. super_dev-2.0.0/super_dev.egg-info/SOURCES.txt +64 -0
  63. super_dev-2.0.0/super_dev.egg-info/dependency_links.txt +1 -0
  64. super_dev-2.0.0/super_dev.egg-info/entry_points.txt +2 -0
  65. super_dev-2.0.0/super_dev.egg-info/requires.txt +20 -0
  66. super_dev-2.0.0/super_dev.egg-info/top_level.txt +1 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Super Dev
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,252 @@
1
+ Metadata-Version: 2.4
2
+ Name: super-dev
3
+ Version: 2.0.0
4
+ Summary: 顶级 AI 开发战队 - God-Tier Development Team
5
+ Author-email: Excellent <11964948@qq.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/shangyankeji/super-dev
8
+ Project-URL: Documentation, https://github.com/shangyankeji/super-dev#readme
9
+ Project-URL: Repository, https://github.com/shangyankeji/super-dev
10
+ Project-URL: Issues, https://github.com/shangyankeji/super-dev/issues
11
+ Keywords: ai,development,agent,workflow,claude,cli
12
+ Classifier: Development Status :: 4 - Beta
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.10
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Topic :: Software Development
19
+ Classifier: Topic :: Software Development :: Build Tools
20
+ Requires-Python: >=3.10
21
+ Description-Content-Type: text/markdown
22
+ License-File: LICENSE
23
+ Requires-Dist: rich>=13.0.0
24
+ Requires-Dist: pyyaml>=6.0.0
25
+ Requires-Dist: ddgs>=9.0.0
26
+ Requires-Dist: requests>=2.31.0
27
+ Requires-Dist: beautifulsoup4>=4.12.0
28
+ Requires-Dist: defusedxml>=0.7.1
29
+ Requires-Dist: openai>=1.0.0
30
+ Requires-Dist: tenacity>=8.2.0
31
+ Requires-Dist: fastapi>=0.110.0
32
+ Requires-Dist: uvicorn>=0.27.0
33
+ Requires-Dist: tomli>=2.0.0; python_version < "3.11"
34
+ Provides-Extra: dev
35
+ Requires-Dist: pytest>=7.0.0; extra == "dev"
36
+ Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
37
+ Requires-Dist: black>=23.0.0; extra == "dev"
38
+ Requires-Dist: ruff>=0.1.0; extra == "dev"
39
+ Requires-Dist: mypy>=1.0.0; extra == "dev"
40
+ Dynamic: license-file
41
+
42
+ # Super Dev
43
+
44
+ <div align="center">
45
+
46
+ # 顶级 AI 开发战队
47
+ ### God-Tier AI Development Team
48
+
49
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
50
+ [![Python](https://img.shields.io/badge/python-3.10%2B-blue)](https://www.python.org/downloads/)
51
+ [![Type Checks](https://img.shields.io/badge/type%20checks-mypy-success)](https://mypy-lang.org/)
52
+ [![Lint](https://img.shields.io/badge/lint-ruff-success)](https://docs.astral.sh/ruff/)
53
+ [![CI](https://img.shields.io/badge/CI-GitHub%20Actions-success)](.github/workflows/ci.yml)
54
+
55
+ [English](README_EN.md) | 简体中文
56
+
57
+ </div>
58
+
59
+ ---
60
+
61
+ ## 版本
62
+
63
+ 当前版本:`2.0.0`
64
+
65
+ 当前分支质量基线(2026-03-01):
66
+
67
+ - `ruff check super_dev tests` 通过
68
+ - `mypy super_dev` 通过(55 个源文件)
69
+ - `pytest -q` 通过(199 passed)
70
+ - `bandit -ll -r super_dev` 通过(0 medium/high finding)
71
+ - `pip-audit .` 通过(0 vulnerability)
72
+
73
+ ---
74
+
75
+ ## 项目定位
76
+
77
+ `Super Dev` 是一个面向商业级交付的 AI 开发编排工具,核心目标是把「一句话需求」落地成可执行工程资产:
78
+
79
+ - 需求增强与情报补全
80
+ - PRD / 架构 / UIUX / 执行计划文档
81
+ - 前端可演示骨架 + 前后端实现骨架
82
+ - 红队审查 + 质量门禁
83
+ - 代码审查指南 + AI 提示词
84
+ - CI/CD + 部署修复模板 + 数据库迁移脚本 + 交付打包(manifest/report/zip)
85
+
86
+ ---
87
+
88
+ ## 核心能力
89
+
90
+ ### 1) 12 阶段流水线(第 0 到第 11 阶段)
91
+
92
+ `super-dev pipeline` 当前实际执行链路:
93
+
94
+ | 阶段 | 内容 |
95
+ |:---|:---|
96
+ | 第 0 阶段 | 需求增强(本地知识 + 联网检索,可离线) |
97
+ | 第 1 阶段 | 生成专业文档(PRD/架构/UIUX/执行路线图/前端蓝图) |
98
+ | 第 2 阶段 | 生成前端可演示骨架 |
99
+ | 第 3 阶段 | 创建 Spec 规范 |
100
+ | 第 4 阶段 | 生成前后端实现骨架(可跳过) |
101
+ | 第 5 阶段 | 红队审查(可跳过) |
102
+ | 第 6 阶段 | 质量门禁(可跳过,支持阈值覆盖) |
103
+ | 第 7 阶段 | 代码审查指南 |
104
+ | 第 8 阶段 | AI 提示词 |
105
+ | 第 9 阶段 | CI/CD 配置生成 |
106
+ | 第 10 阶段 | 部署修复模板(环境变量/检查清单) |
107
+ | 第 11 阶段 | 数据库迁移脚本 + 项目交付包 |
108
+
109
+ ### 2) Spec-Driven Development (SDD)
110
+
111
+ 内置 `.super-dev/specs`、`changes`、`archive` 结构,支持提案、任务拆解、归档和规范更新。
112
+
113
+ ### 3) 专家协作体系
114
+
115
+ 内置 PM / ARCHITECT / UI / UX / SECURITY / CODE / DBA / QA / DEVOPS / RCA 专家角色。
116
+
117
+ ### 4) 设计智能引擎
118
+
119
+ 支持设计搜索、设计系统生成、tokens、Landing 模式、图表推荐、UX 指南、技术栈最佳实践、组件代码生成。
120
+
121
+ ### 5) Web API / Studio
122
+
123
+ 提供 FastAPI 接口和可视化工作台,支持工作流启动、状态查询、配置读取、部署模板导出等能力。
124
+
125
+ ### 6) 跨平台兼容验收
126
+
127
+ CI 内置 `Platform Compatibility` 门禁,自动验证 Claude Code / Codex CLI / OpenCode / Antigravity / Cursor / Qoder / Trae / CodeBuddy 的 Skill 与规则集成路径。
128
+
129
+ ---
130
+
131
+ ## 安装
132
+
133
+ ### 方式 1:GitHub 直装(推荐)
134
+
135
+ ```bash
136
+ pip install git+https://github.com/shangyankeji/super-dev.git@v2.0.0
137
+ super-dev --version
138
+ ```
139
+
140
+ ### 方式 2:PyPI 安装
141
+
142
+ ```bash
143
+ pip install super-dev==2.0.0
144
+ super-dev --version
145
+ ```
146
+
147
+ ### 方式 3:源码开发安装
148
+
149
+ ```bash
150
+ git clone https://github.com/shangyankeji/super-dev.git
151
+ cd super-dev
152
+ pip install -e ".[dev]"
153
+ super-dev --version
154
+ ```
155
+
156
+ ---
157
+
158
+ ## 快速开始
159
+
160
+ ### 一句话执行完整流水线
161
+
162
+ ```bash
163
+ super-dev pipeline "构建一个带登录、订单、支付的电商后台" \
164
+ --platform web \
165
+ --frontend react \
166
+ --backend python \
167
+ --domain ecommerce \
168
+ --cicd github
169
+ ```
170
+
171
+ ### 常用命令
172
+
173
+ ```bash
174
+ # 项目初始化 / 分析
175
+ super-dev init my-project
176
+ super-dev analyze .
177
+
178
+ # 核心流水线
179
+ super-dev create "用户认证系统"
180
+ super-dev pipeline "用户认证系统"
181
+
182
+ # 规范管理
183
+ super-dev spec init
184
+ super-dev spec list
185
+ super-dev spec show <change_id>
186
+
187
+ # 设计引擎
188
+ super-dev design search "glass" --domain style
189
+ super-dev design generate --product saas --industry fintech
190
+ super-dev design tokens --primary "#3B82F6"
191
+
192
+ # 质量与部署
193
+ super-dev quality --type all
194
+ super-dev deploy --cicd github
195
+
196
+ # API / Studio
197
+ super-dev studio --port 8765
198
+ ```
199
+
200
+ ---
201
+
202
+ ## 预检与发布
203
+
204
+ 发布前建议始终执行:
205
+
206
+ ```bash
207
+ ./scripts/preflight.sh
208
+ ```
209
+
210
+ 预检覆盖:`ruff`、`mypy`、`pytest`、`delivery-smoke`、`bandit`、`pip-audit`、benchmark、build、twine check。
211
+
212
+ 发布文档:
213
+
214
+ - [发布指南](docs/PUBLISHING.md)
215
+ - [Release Runbook](docs/RELEASE_RUNBOOK.md)
216
+ - [快速开始](docs/QUICKSTART.md)
217
+
218
+ ---
219
+
220
+ ## 目录结构(关键)
221
+
222
+ ```text
223
+ super_dev/ # 核心源码
224
+ cli.py # CLI 入口
225
+ orchestrator/ # 工作流编排
226
+ creators/ # 文档/提示词/骨架生成
227
+ reviewers/ # 红队与质量门禁
228
+ deployers/ # CI/CD 与迁移脚本生成
229
+ design/ # 设计智能引擎
230
+ web/ # FastAPI 服务
231
+
232
+ output/ # 生成产物
233
+ scripts/ # 发布与预检脚本
234
+ docs/ # 使用与发布文档
235
+ ```
236
+
237
+ ---
238
+
239
+ ## 兼容矩阵(当前)
240
+
241
+ - 平台:`web`, `mobile`, `wechat`, `desktop`
242
+ - 前端:`react`, `vue`, `angular`, `svelte`
243
+ - 后端:`node`, `python`, `go`, `java`
244
+ - 领域:`fintech`, `ecommerce`, `medical`, `social`, `iot`, `education`, `auth`, `content`
245
+ - CI/CD:`github`, `gitlab`, `jenkins`, `azure`, `bitbucket`
246
+ - ORM/迁移:`Prisma`, `TypeORM`, `Sequelize`, `SQLAlchemy`, `Django`, `Mongoose`
247
+
248
+ ---
249
+
250
+ ## 许可证
251
+
252
+ MIT License
@@ -0,0 +1,211 @@
1
+ # Super Dev
2
+
3
+ <div align="center">
4
+
5
+ # 顶级 AI 开发战队
6
+ ### God-Tier AI Development Team
7
+
8
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
9
+ [![Python](https://img.shields.io/badge/python-3.10%2B-blue)](https://www.python.org/downloads/)
10
+ [![Type Checks](https://img.shields.io/badge/type%20checks-mypy-success)](https://mypy-lang.org/)
11
+ [![Lint](https://img.shields.io/badge/lint-ruff-success)](https://docs.astral.sh/ruff/)
12
+ [![CI](https://img.shields.io/badge/CI-GitHub%20Actions-success)](.github/workflows/ci.yml)
13
+
14
+ [English](README_EN.md) | 简体中文
15
+
16
+ </div>
17
+
18
+ ---
19
+
20
+ ## 版本
21
+
22
+ 当前版本:`2.0.0`
23
+
24
+ 当前分支质量基线(2026-03-01):
25
+
26
+ - `ruff check super_dev tests` 通过
27
+ - `mypy super_dev` 通过(55 个源文件)
28
+ - `pytest -q` 通过(199 passed)
29
+ - `bandit -ll -r super_dev` 通过(0 medium/high finding)
30
+ - `pip-audit .` 通过(0 vulnerability)
31
+
32
+ ---
33
+
34
+ ## 项目定位
35
+
36
+ `Super Dev` 是一个面向商业级交付的 AI 开发编排工具,核心目标是把「一句话需求」落地成可执行工程资产:
37
+
38
+ - 需求增强与情报补全
39
+ - PRD / 架构 / UIUX / 执行计划文档
40
+ - 前端可演示骨架 + 前后端实现骨架
41
+ - 红队审查 + 质量门禁
42
+ - 代码审查指南 + AI 提示词
43
+ - CI/CD + 部署修复模板 + 数据库迁移脚本 + 交付打包(manifest/report/zip)
44
+
45
+ ---
46
+
47
+ ## 核心能力
48
+
49
+ ### 1) 12 阶段流水线(第 0 到第 11 阶段)
50
+
51
+ `super-dev pipeline` 当前实际执行链路:
52
+
53
+ | 阶段 | 内容 |
54
+ |:---|:---|
55
+ | 第 0 阶段 | 需求增强(本地知识 + 联网检索,可离线) |
56
+ | 第 1 阶段 | 生成专业文档(PRD/架构/UIUX/执行路线图/前端蓝图) |
57
+ | 第 2 阶段 | 生成前端可演示骨架 |
58
+ | 第 3 阶段 | 创建 Spec 规范 |
59
+ | 第 4 阶段 | 生成前后端实现骨架(可跳过) |
60
+ | 第 5 阶段 | 红队审查(可跳过) |
61
+ | 第 6 阶段 | 质量门禁(可跳过,支持阈值覆盖) |
62
+ | 第 7 阶段 | 代码审查指南 |
63
+ | 第 8 阶段 | AI 提示词 |
64
+ | 第 9 阶段 | CI/CD 配置生成 |
65
+ | 第 10 阶段 | 部署修复模板(环境变量/检查清单) |
66
+ | 第 11 阶段 | 数据库迁移脚本 + 项目交付包 |
67
+
68
+ ### 2) Spec-Driven Development (SDD)
69
+
70
+ 内置 `.super-dev/specs`、`changes`、`archive` 结构,支持提案、任务拆解、归档和规范更新。
71
+
72
+ ### 3) 专家协作体系
73
+
74
+ 内置 PM / ARCHITECT / UI / UX / SECURITY / CODE / DBA / QA / DEVOPS / RCA 专家角色。
75
+
76
+ ### 4) 设计智能引擎
77
+
78
+ 支持设计搜索、设计系统生成、tokens、Landing 模式、图表推荐、UX 指南、技术栈最佳实践、组件代码生成。
79
+
80
+ ### 5) Web API / Studio
81
+
82
+ 提供 FastAPI 接口和可视化工作台,支持工作流启动、状态查询、配置读取、部署模板导出等能力。
83
+
84
+ ### 6) 跨平台兼容验收
85
+
86
+ CI 内置 `Platform Compatibility` 门禁,自动验证 Claude Code / Codex CLI / OpenCode / Antigravity / Cursor / Qoder / Trae / CodeBuddy 的 Skill 与规则集成路径。
87
+
88
+ ---
89
+
90
+ ## 安装
91
+
92
+ ### 方式 1:GitHub 直装(推荐)
93
+
94
+ ```bash
95
+ pip install git+https://github.com/shangyankeji/super-dev.git@v2.0.0
96
+ super-dev --version
97
+ ```
98
+
99
+ ### 方式 2:PyPI 安装
100
+
101
+ ```bash
102
+ pip install super-dev==2.0.0
103
+ super-dev --version
104
+ ```
105
+
106
+ ### 方式 3:源码开发安装
107
+
108
+ ```bash
109
+ git clone https://github.com/shangyankeji/super-dev.git
110
+ cd super-dev
111
+ pip install -e ".[dev]"
112
+ super-dev --version
113
+ ```
114
+
115
+ ---
116
+
117
+ ## 快速开始
118
+
119
+ ### 一句话执行完整流水线
120
+
121
+ ```bash
122
+ super-dev pipeline "构建一个带登录、订单、支付的电商后台" \
123
+ --platform web \
124
+ --frontend react \
125
+ --backend python \
126
+ --domain ecommerce \
127
+ --cicd github
128
+ ```
129
+
130
+ ### 常用命令
131
+
132
+ ```bash
133
+ # 项目初始化 / 分析
134
+ super-dev init my-project
135
+ super-dev analyze .
136
+
137
+ # 核心流水线
138
+ super-dev create "用户认证系统"
139
+ super-dev pipeline "用户认证系统"
140
+
141
+ # 规范管理
142
+ super-dev spec init
143
+ super-dev spec list
144
+ super-dev spec show <change_id>
145
+
146
+ # 设计引擎
147
+ super-dev design search "glass" --domain style
148
+ super-dev design generate --product saas --industry fintech
149
+ super-dev design tokens --primary "#3B82F6"
150
+
151
+ # 质量与部署
152
+ super-dev quality --type all
153
+ super-dev deploy --cicd github
154
+
155
+ # API / Studio
156
+ super-dev studio --port 8765
157
+ ```
158
+
159
+ ---
160
+
161
+ ## 预检与发布
162
+
163
+ 发布前建议始终执行:
164
+
165
+ ```bash
166
+ ./scripts/preflight.sh
167
+ ```
168
+
169
+ 预检覆盖:`ruff`、`mypy`、`pytest`、`delivery-smoke`、`bandit`、`pip-audit`、benchmark、build、twine check。
170
+
171
+ 发布文档:
172
+
173
+ - [发布指南](docs/PUBLISHING.md)
174
+ - [Release Runbook](docs/RELEASE_RUNBOOK.md)
175
+ - [快速开始](docs/QUICKSTART.md)
176
+
177
+ ---
178
+
179
+ ## 目录结构(关键)
180
+
181
+ ```text
182
+ super_dev/ # 核心源码
183
+ cli.py # CLI 入口
184
+ orchestrator/ # 工作流编排
185
+ creators/ # 文档/提示词/骨架生成
186
+ reviewers/ # 红队与质量门禁
187
+ deployers/ # CI/CD 与迁移脚本生成
188
+ design/ # 设计智能引擎
189
+ web/ # FastAPI 服务
190
+
191
+ output/ # 生成产物
192
+ scripts/ # 发布与预检脚本
193
+ docs/ # 使用与发布文档
194
+ ```
195
+
196
+ ---
197
+
198
+ ## 兼容矩阵(当前)
199
+
200
+ - 平台:`web`, `mobile`, `wechat`, `desktop`
201
+ - 前端:`react`, `vue`, `angular`, `svelte`
202
+ - 后端:`node`, `python`, `go`, `java`
203
+ - 领域:`fintech`, `ecommerce`, `medical`, `social`, `iot`, `education`, `auth`, `content`
204
+ - CI/CD:`github`, `gitlab`, `jenkins`, `azure`, `bitbucket`
205
+ - ORM/迁移:`Prisma`, `TypeORM`, `Sequelize`, `SQLAlchemy`, `Django`, `Mongoose`
206
+
207
+ ---
208
+
209
+ ## 许可证
210
+
211
+ MIT License
@@ -0,0 +1,91 @@
1
+ [build-system]
2
+ requires = ["setuptools>=68.0", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "super-dev"
7
+ version = "2.0.0"
8
+ description = "顶级 AI 开发战队 - God-Tier Development Team"
9
+ readme = "README.md"
10
+ requires-python = ">=3.10"
11
+ license = "MIT"
12
+ authors = [
13
+ {name = "Excellent", email = "11964948@qq.com"}
14
+ ]
15
+ keywords = [
16
+ "ai",
17
+ "development",
18
+ "agent",
19
+ "workflow",
20
+ "claude",
21
+ "cli"
22
+ ]
23
+ classifiers = [
24
+ "Development Status :: 4 - Beta",
25
+ "Intended Audience :: Developers",
26
+ "Programming Language :: Python :: 3",
27
+ "Programming Language :: Python :: 3.10",
28
+ "Programming Language :: Python :: 3.11",
29
+ "Programming Language :: Python :: 3.12",
30
+ "Topic :: Software Development",
31
+ "Topic :: Software Development :: Build Tools",
32
+ ]
33
+
34
+ dependencies = [
35
+ "rich>=13.0.0",
36
+ "pyyaml>=6.0.0",
37
+ "ddgs>=9.0.0",
38
+ "requests>=2.31.0",
39
+ "beautifulsoup4>=4.12.0",
40
+ "defusedxml>=0.7.1",
41
+ "openai>=1.0.0",
42
+ "tenacity>=8.2.0",
43
+ "fastapi>=0.110.0",
44
+ "uvicorn>=0.27.0",
45
+ "tomli>=2.0.0; python_version<'3.11'",
46
+ ]
47
+
48
+ [project.optional-dependencies]
49
+ dev = [
50
+ "pytest>=7.0.0",
51
+ "pytest-cov>=4.0.0",
52
+ "black>=23.0.0",
53
+ "ruff>=0.1.0",
54
+ "mypy>=1.0.0",
55
+ ]
56
+
57
+ [project.urls]
58
+ Homepage = "https://github.com/shangyankeji/super-dev"
59
+ Documentation = "https://github.com/shangyankeji/super-dev#readme"
60
+ Repository = "https://github.com/shangyankeji/super-dev"
61
+ Issues = "https://github.com/shangyankeji/super-dev/issues"
62
+
63
+ [project.scripts]
64
+ super-dev = "super_dev.cli:main"
65
+
66
+ [tool.setuptools.packages.find]
67
+ where = ["."]
68
+ include = ["super_dev*"]
69
+
70
+ [tool.black]
71
+ line-length = 100
72
+ target-version = ["py310", "py311", "py312"]
73
+
74
+ [tool.ruff]
75
+ line-length = 100
76
+ target-version = "py310"
77
+
78
+ [tool.ruff.lint]
79
+ select = ["E", "F", "I", "N", "W", "UP"]
80
+ ignore = ["E501"]
81
+
82
+ [tool.mypy]
83
+ python_version = "3.10"
84
+ warn_return_any = true
85
+ warn_unused_configs = true
86
+ ignore_missing_imports = true
87
+
88
+ [tool.pytest.ini_options]
89
+ filterwarnings = [
90
+ "ignore:The 'app' shortcut is now deprecated\\.:DeprecationWarning:httpx\\._client",
91
+ ]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,11 @@
1
+ """
2
+ 开发:Excellent(11964948@qq.com)
3
+ 功能:Super Dev - 顶级 AI 开发战队
4
+ 作用:通过 5 位精英专家 (产品/架构/UI/UX/安全) 交付商业级研发资产
5
+ 创建时间:2025-12-30
6
+ 最后修改:2025-12-30
7
+ """
8
+
9
+ __version__ = "2.0.0"
10
+ __author__ = "Excellent"
11
+ __description__ = "顶级 AI 开发战队 - God-Tier Development Team"
@@ -0,0 +1,34 @@
1
+ """
2
+ Super Dev 项目分析器
3
+ 用于自动检测和分析项目结构
4
+ """
5
+
6
+ from .analyzer import ArchitectureReport, ProjectAnalyzer
7
+ from .detectors import detect_project_type, detect_tech_stack
8
+ from .models import (
9
+ ArchitecturePattern,
10
+ Dependency,
11
+ DesignPattern,
12
+ FrameworkType,
13
+ PatternType,
14
+ ProjectCategory,
15
+ ProjectType,
16
+ TechStack,
17
+ )
18
+
19
+ __all__ = [
20
+ "ProjectAnalyzer",
21
+ "ProjectCategory",
22
+ "ProjectType",
23
+ "ArchitectureReport",
24
+ "Dependency",
25
+ "DesignPattern",
26
+ "PatternType",
27
+ "TechStack",
28
+ "FrameworkType",
29
+ "ArchitecturePattern",
30
+ "detect_project_type",
31
+ "detect_tech_stack",
32
+ ]
33
+
34
+