aodw-skill 0.7.18 → 0.7.22
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/.aodw-next/01-core/ai-project-overview-rules.md +5 -5
- package/.aodw-next/01-core/csf-thinking-framework.md +1 -1
- package/.aodw-next/02-workflow/rt-manager.md +22 -1
- package/.aodw-next/02-workflow/ui-workflow-rules.md +0 -3
- package/.aodw-next/05-tooling/ai-tools-init-rules.md +2 -2
- package/.aodw-next/README.md +0 -1
- package/.aodw-next/SKILL.md +5 -5
- package/.aodw-next/manifest.yaml +0 -5
- package/AODW_Adapters/README.md +24 -31
- package/README.md +10 -15
- package/bin/aodw.js +53 -123
- package/bin/processors/index.js +1 -35
- package/bin/update-adapters-from-template.js +1 -15
- package/package.json +4 -4
- package/.aodw-next/01-core/ai-interaction-rules-summary.md +0 -37
- package/.aodw-next/01-core/ai-knowledge-rules-summary.md +0 -25
- package/.aodw-next/01-core/git-discipline-summary.md +0 -36
- package/.aodw-next/02-workflow/rt-id-generation-rules.md +0 -24
- package/.aodw-next/02-workflow/rt-manager-summary.md +0 -15
- package/.aodw-next/02-workflow/ui-workflow-rules-summary.md +0 -39
- package/.aodw-next/03-standards/stacks/rust-axum/ai-coding-rules-backend.md +0 -134
- package/.aodw-next/06-project/README.md +0 -16
- package/.aodw-next/07-optimization/token-usage-analysis.md +0 -253
- package/.aodw-next/templates/TEMPLATE-APPLICATION-GUIDE.md +0 -110
- package/.aodw-next/templates/audit-report-template.md +0 -232
- package/.aodw-next/templates/changelog-template.md +0 -16
- package/.aodw-next/templates/checklists/coding-standards-template.md +0 -130
- package/.aodw-next/templates/csf-review-template.md +0 -201
- package/.aodw-next/templates/impact-template.md +0 -17
- package/.aodw-next/templates/invariants-template.md +0 -12
- package/.aodw-next/templates/plan-lite-template.md +0 -20
- package/.aodw-next/templates/rt-decision-template.md +0 -13
- package/.aodw-next/templates/rt-intake-template.md +0 -33
- package/.aodw-next/templates/spec-lite-template.md +0 -26
- package/.aodw-next/templates/tests-template.md +0 -13
- package/.aodw-next/templates/tools-config/README.md +0 -112
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/antigravity/.agent/rules/aodw-check.md +0 -7
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/antigravity/.agent/rules/aodw-done.md +0 -7
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/antigravity/.agent/rules/aodw-full.md +0 -7
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/antigravity/.agent/rules/aodw-governance.md +0 -7
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/antigravity/.agent/rules/aodw-impact.md +0 -7
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/antigravity/.agent/rules/aodw-init.md +0 -7
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/antigravity/.agent/rules/aodw-invariants.md +0 -7
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/antigravity/.agent/rules/aodw-lite.md +0 -7
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/antigravity/.agent/rules/aodw-module.md +0 -7
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/antigravity/.agent/rules/aodw-new.md +0 -7
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/antigravity/.agent/rules/aodw-open.md +0 -7
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/antigravity/.agent/rules/aodw-pause.md +0 -7
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/antigravity/.agent/rules/aodw-resume.md +0 -7
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/antigravity/.agent/rules/aodw-tests.md +0 -7
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/antigravity/.agent/rules/aodw-upgrade.md +0 -7
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/antigravity/.agent/rules/aodw.md +0 -35
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/antigravity/global_workflows/aodw-check.md +0 -16
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/antigravity/global_workflows/aodw-done.md +0 -16
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/antigravity/global_workflows/aodw-full.md +0 -14
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/antigravity/global_workflows/aodw-governance.md +0 -13
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/antigravity/global_workflows/aodw-impact.md +0 -13
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/antigravity/global_workflows/aodw-init.md +0 -13
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/antigravity/global_workflows/aodw-invariants.md +0 -13
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/antigravity/global_workflows/aodw-lite.md +0 -14
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/antigravity/global_workflows/aodw-module.md +0 -13
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/antigravity/global_workflows/aodw-new.md +0 -30
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/antigravity/global_workflows/aodw-open.md +0 -10
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/antigravity/global_workflows/aodw-pause.md +0 -12
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/antigravity/global_workflows/aodw-resume.md +0 -12
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/antigravity/global_workflows/aodw-tests.md +0 -13
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/antigravity/global_workflows/aodw-upgrade.md +0 -12
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/antigravity/global_workflows/aodw.md +0 -18
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/claude/CLAUDE.md +0 -17
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/cursor/.cursor/commands/aodw-check.md +0 -30
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/cursor/.cursor/commands/aodw-done.md +0 -52
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/cursor/.cursor/commands/aodw-full.md +0 -31
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/cursor/.cursor/commands/aodw-governance.md +0 -34
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/cursor/.cursor/commands/aodw-impact.md +0 -25
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/cursor/.cursor/commands/aodw-init.md +0 -75
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/cursor/.cursor/commands/aodw-invariants.md +0 -29
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/cursor/.cursor/commands/aodw-lite.md +0 -23
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/cursor/.cursor/commands/aodw-module.md +0 -24
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/cursor/.cursor/commands/aodw-new.md +0 -70
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/cursor/.cursor/commands/aodw-open.md +0 -19
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/cursor/.cursor/commands/aodw-pause.md +0 -19
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/cursor/.cursor/commands/aodw-resume.md +0 -20
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/cursor/.cursor/commands/aodw-tests.md +0 -26
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/cursor/.cursor/commands/aodw-upgrade.md +0 -27
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/cursor/.cursor/commands/aodw.md +0 -69
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/cursor/.cursor/commands/deploypromote.md +0 -20
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/cursor/.cursor/commands/featuretotester.md +0 -32
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/cursor/.cursor/deploy/feature_to_master_push_test_local.sh +0 -390
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/cursor/.cursor/deploy/promote_only.sh +0 -210
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/cursor/.cursor/deploy/rollback_prod.sh +0 -99
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/cursor/.cursor/rules/aodw.mdc +0 -26
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/gemini/.agent/rules/aodw-check.md +0 -29
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/gemini/.agent/rules/aodw-done.md +0 -52
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/gemini/.agent/rules/aodw-full.md +0 -30
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/gemini/.agent/rules/aodw-governance.md +0 -33
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/gemini/.agent/rules/aodw-impact.md +0 -24
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/gemini/.agent/rules/aodw-init.md +0 -75
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/gemini/.agent/rules/aodw-invariants.md +0 -28
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/gemini/.agent/rules/aodw-lite.md +0 -22
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/gemini/.agent/rules/aodw-module.md +0 -23
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/gemini/.agent/rules/aodw-new.md +0 -92
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/gemini/.agent/rules/aodw-open.md +0 -18
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/gemini/.agent/rules/aodw-pause.md +0 -18
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/gemini/.agent/rules/aodw-resume.md +0 -19
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/gemini/.agent/rules/aodw-tests.md +0 -25
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/gemini/.agent/rules/aodw-upgrade.md +0 -26
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/gemini/.agent/rules/aodw.md +0 -68
- package/AODW_Adapters/_backup/v3.1.0-pre-refactor/gemini/GEMINI.md +0 -17
- package/AODW_Adapters/_backup/v4.0.0-simplified/antigravity/.agent/rules/aodw-analyze.md +0 -15
- package/AODW_Adapters/_backup/v4.0.0-simplified/antigravity/.agent/rules/aodw-complete.md +0 -15
- package/AODW_Adapters/_backup/v4.0.0-simplified/antigravity/.agent/rules/aodw-control.md +0 -14
- package/AODW_Adapters/_backup/v4.0.0-simplified/antigravity/.agent/rules/aodw-decide.md +0 -16
- package/AODW_Adapters/_backup/v4.0.0-simplified/antigravity/.agent/rules/aodw-governance.md +0 -7
- package/AODW_Adapters/_backup/v4.0.0-simplified/antigravity/.agent/rules/aodw-implement.md +0 -16
- package/AODW_Adapters/_backup/v4.0.0-simplified/antigravity/.agent/rules/aodw-init.md +0 -7
- package/AODW_Adapters/_backup/v4.0.0-simplified/antigravity/.agent/rules/aodw-intake.md +0 -15
- package/AODW_Adapters/_backup/v4.0.0-simplified/antigravity/.agent/rules/aodw-open.md +0 -7
- package/AODW_Adapters/_backup/v4.0.0-simplified/antigravity/.agent/rules/aodw-simplified.md +0 -107
- package/AODW_Adapters/_backup/v4.0.0-simplified/antigravity/.agent/rules/aodw-verify.md +0 -14
- package/AODW_Adapters/_backup/v4.0.0-simplified/antigravity/global_workflows/aodw-analyze.md +0 -24
- package/AODW_Adapters/_backup/v4.0.0-simplified/antigravity/global_workflows/aodw-complete.md +0 -23
- package/AODW_Adapters/_backup/v4.0.0-simplified/antigravity/global_workflows/aodw-control.md +0 -21
- package/AODW_Adapters/_backup/v4.0.0-simplified/antigravity/global_workflows/aodw-decide.md +0 -26
- package/AODW_Adapters/_backup/v4.0.0-simplified/antigravity/global_workflows/aodw-governance.md +0 -13
- package/AODW_Adapters/_backup/v4.0.0-simplified/antigravity/global_workflows/aodw-implement.md +0 -21
- package/AODW_Adapters/_backup/v4.0.0-simplified/antigravity/global_workflows/aodw-init.md +0 -13
- package/AODW_Adapters/_backup/v4.0.0-simplified/antigravity/global_workflows/aodw-intake.md +0 -28
- package/AODW_Adapters/_backup/v4.0.0-simplified/antigravity/global_workflows/aodw-open.md +0 -10
- package/AODW_Adapters/_backup/v4.0.0-simplified/antigravity/global_workflows/aodw-verify.md +0 -20
- package/AODW_Adapters/_backup/v4.0.0-simplified/antigravity/global_workflows/aodw.md +0 -18
- package/AODW_Adapters/gemini/.agent/rules/aodw-next.md +0 -70
- package/AODW_Adapters/gemini/GEMINI.md +0 -18
- package/AODW_Adapters/general/.github/copilot-instructions.md +0 -34
- package/AODW_Adapters/general/AGENTS.md +0 -70
- package/docs/README.md +0 -26
- package/docs/adapter-evaluation.md +0 -55
- package/docs/backend-guidelines.md +0 -335
- package/docs/frontend-guidelines.md +0 -266
- package/docs/installation-variants.md +0 -88
- package/docs/migration-guide-0.2.0.md +0 -250
- package/docs/platform-matrix.md +0 -83
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# Plan-Lite: RT-XXX - <short title>
|
|
2
|
-
|
|
3
|
-
## 1. 修改点(Change Points)
|
|
4
|
-
- 计划修改的文件 / 模块列表:
|
|
5
|
-
|
|
6
|
-
## 2. 方案描述(Solution Outline)
|
|
7
|
-
- 拟采取的技术方案:
|
|
8
|
-
|
|
9
|
-
## 3. 风险与注意事项(Risks & Caveats)
|
|
10
|
-
- 潜在风险:
|
|
11
|
-
- 需要注意的边界情形:
|
|
12
|
-
|
|
13
|
-
## 4. 目标与验证(Goals & Verification)
|
|
14
|
-
- 目标 1:<描述> → 验证方式:<测试/回归/手动步骤>
|
|
15
|
-
- 目标 2:<描述> → 验证方式:<测试/回归/手动步骤>
|
|
16
|
-
|
|
17
|
-
## 5. 实施边界(Execution Boundaries)
|
|
18
|
-
- 明确不做(Out of Scope):
|
|
19
|
-
- 是否存在无关重构/额外功能引入风险:有 / 无
|
|
20
|
-
- 若“有”,规避策略:
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
# RT Intake - RT-XXX
|
|
2
|
-
|
|
3
|
-
## 1. 原始描述(Raw Description)
|
|
4
|
-
- 用户原话:
|
|
5
|
-
|
|
6
|
-
## 2. 类型与范围(Type & Scope)
|
|
7
|
-
- 类型(Feature / Bug / Enhancement / Refactor / Research / Other):
|
|
8
|
-
- 预估影响范围:
|
|
9
|
-
|
|
10
|
-
## 3. 初步模块猜测(Initial Modules)
|
|
11
|
-
- 可能涉及的模块:
|
|
12
|
-
|
|
13
|
-
## 4. 风险评估(Initial Risk)
|
|
14
|
-
- 低 / 中 / 高,简要理由:
|
|
15
|
-
|
|
16
|
-
## 5. AI 问题与用户回答摘要(Q&A Summary)
|
|
17
|
-
- Q1: ...
|
|
18
|
-
- 用户回答:
|
|
19
|
-
- Q2: ...
|
|
20
|
-
- 用户回答:
|
|
21
|
-
|
|
22
|
-
## 6. 相关技术约束 / 规范(可选)
|
|
23
|
-
> **注意**:AI 根据需求内容判断是否涉及前端/后端开发,如涉及则填写本节。
|
|
24
|
-
|
|
25
|
-
- **是否涉及前端开发**?
|
|
26
|
-
- [ ] 是 → 参考 `.aodw-next/03-standards/stacks/react-typescript/ai-coding-rules-frontend.md`
|
|
27
|
-
- [ ] 否
|
|
28
|
-
- **是否涉及后端开发**?
|
|
29
|
-
- [ ] 是 → 参考 `.aodw-next/03-standards/stacks/python-fastapi/ai-coding-rules-backend.md`
|
|
30
|
-
- [ ] 否
|
|
31
|
-
- **技术栈要求**(如已知):
|
|
32
|
-
- 前端:[React / Vue / Angular 等]
|
|
33
|
-
- 后端:[Python / Node.js / Go 等]
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# Spec-Lite: RT-XXX - <short title>
|
|
2
|
-
|
|
3
|
-
## 1. 背景(Context)
|
|
4
|
-
- 当前存在的问题 / 需求:
|
|
5
|
-
|
|
6
|
-
## 2. 目标(Goal)
|
|
7
|
-
- 希望达到的业务 / 用户效果:
|
|
8
|
-
|
|
9
|
-
## 3. 当前行为(Current Behavior)
|
|
10
|
-
- 当前系统在相关场景下的行为:
|
|
11
|
-
|
|
12
|
-
## 4. 期望行为(Desired Behavior)
|
|
13
|
-
- 修改后的预期行为:
|
|
14
|
-
|
|
15
|
-
## 5. 影响范围(Scope)
|
|
16
|
-
- 涉及模块 / 文件:
|
|
17
|
-
- 预期不应影响的功能:
|
|
18
|
-
|
|
19
|
-
## 6. 实现前对齐(Implementation Alignment)
|
|
20
|
-
- 关键假设(输入/边界/依赖):
|
|
21
|
-
- 歧义点与解释选项:
|
|
22
|
-
- 解释 A:
|
|
23
|
-
- 解释 B:
|
|
24
|
-
- 推荐选项与理由:
|
|
25
|
-
- 最小必要改动说明(为何不是更大方案):
|
|
26
|
-
- 成功标准(可验证):
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
# 工具配置模板
|
|
2
|
-
|
|
3
|
-
本目录包含 AODW 规范要求的开发工具配置模板。
|
|
4
|
-
|
|
5
|
-
## 目录结构
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
tools-config/
|
|
9
|
-
├── frontend/ # 前端工具配置模板
|
|
10
|
-
│ ├── eslint.config.template.json
|
|
11
|
-
│ ├── prettier.config.template.json
|
|
12
|
-
│ └── tsconfig.paths.template.json
|
|
13
|
-
├── backend/ # 后端工具配置模板
|
|
14
|
-
│ ├── ruff.config.template.toml # Python 代码质量检查
|
|
15
|
-
│ ├── black.config.template.toml # Python 代码格式化
|
|
16
|
-
│ ├── rustfmt.config.template.toml # Rust 代码格式化
|
|
17
|
-
│ ├── clippy.config.template.toml # Rust 代码质量检查
|
|
18
|
-
│ └── pre-commit.config.template.yaml # Git 提交前检查(通用)
|
|
19
|
-
└── README.md
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
## 使用方式
|
|
23
|
-
|
|
24
|
-
### 方式 1:通过 CLI 命令
|
|
25
|
-
|
|
26
|
-
```bash
|
|
27
|
-
aodw-skill init-tools
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
CLI 会自动检测项目类型,并使用相应的模板生成配置文件。
|
|
31
|
-
|
|
32
|
-
### 方式 2:通过 AI 命令
|
|
33
|
-
|
|
34
|
-
在 AI 工具(Cursor/Claude 等)中说:
|
|
35
|
-
- "初始化工具"
|
|
36
|
-
- "设置开发工具"
|
|
37
|
-
- "配置工具"
|
|
38
|
-
|
|
39
|
-
AI 会引导您完成工具初始化和配置。
|
|
40
|
-
|
|
41
|
-
## 配置说明
|
|
42
|
-
|
|
43
|
-
### 前端配置
|
|
44
|
-
|
|
45
|
-
#### ESLint 配置
|
|
46
|
-
- 文件:`.eslintrc.json` 或 `eslint.config.js`
|
|
47
|
-
- 模板:`frontend/eslint.config.template.json`
|
|
48
|
-
- 包含:TypeScript、React、Hooks、Import、可访问性规则
|
|
49
|
-
- 限制:文件大小、函数长度、复杂度
|
|
50
|
-
|
|
51
|
-
#### Prettier 配置
|
|
52
|
-
- 文件:`.prettierrc.json` 或 `prettier.config.js`
|
|
53
|
-
- 模板:`frontend/prettier.config.template.json`
|
|
54
|
-
- 包含:代码格式化规则
|
|
55
|
-
|
|
56
|
-
#### TypeScript Path Alias
|
|
57
|
-
- 文件:`tsconfig.json`
|
|
58
|
-
- 模板:`frontend/tsconfig.paths.template.json`
|
|
59
|
-
- 包含:路径别名配置(@app、@pages、@features、@shared)
|
|
60
|
-
|
|
61
|
-
### 后端配置
|
|
62
|
-
|
|
63
|
-
#### Python 项目工具
|
|
64
|
-
|
|
65
|
-
**Ruff 配置**:
|
|
66
|
-
- 文件:`pyproject.toml`(合并到 `[tool.ruff]` 部分)
|
|
67
|
-
- 模板:`backend/ruff.config.template.toml`
|
|
68
|
-
- 包含:代码质量检查、复杂度限制
|
|
69
|
-
|
|
70
|
-
**Black 配置**:
|
|
71
|
-
- 文件:`pyproject.toml`(合并到 `[tool.black]` 部分)
|
|
72
|
-
- 模板:`backend/black.config.template.toml`
|
|
73
|
-
- 包含:代码格式化规则
|
|
74
|
-
|
|
75
|
-
#### Rust 项目工具
|
|
76
|
-
|
|
77
|
-
**rustfmt 配置**:
|
|
78
|
-
- 文件:`rustfmt.toml`(项目根目录)
|
|
79
|
-
- 模板:`backend/rustfmt.config.template.toml`
|
|
80
|
-
- 包含:代码格式化规则(edition、max_width、imports 等)
|
|
81
|
-
|
|
82
|
-
**clippy 配置**:
|
|
83
|
-
- 文件:`clippy.toml`(项目根目录)或 `Cargo.toml` 的 `[lints.clippy]` 部分
|
|
84
|
-
- 模板:`backend/clippy.config.template.toml`
|
|
85
|
-
- 包含:代码质量检查、复杂度限制、零警告策略
|
|
86
|
-
|
|
87
|
-
#### Java 项目工具
|
|
88
|
-
|
|
89
|
-
**Checkstyle 配置**(推荐):
|
|
90
|
-
- 文件:`checkstyle.xml`(项目根目录)
|
|
91
|
-
- 模板:`backend/checkstyle.config.template.xml`(如果存在)
|
|
92
|
-
- 包含:Java 代码风格检查规则
|
|
93
|
-
- 配置方式:在 `pom.xml` 中添加 `maven-checkstyle-plugin`
|
|
94
|
-
|
|
95
|
-
**Spotless 配置**(推荐):
|
|
96
|
-
- 文件:`pom.xml` 中的 `spotless-maven-plugin` 配置
|
|
97
|
-
- 模板:`backend/spotless.config.template.xml`(如果存在)
|
|
98
|
-
- 包含:Java 代码格式化规则(Google Java Format)
|
|
99
|
-
- 配置方式:在 `pom.xml` 中添加 `spotless-maven-plugin`
|
|
100
|
-
|
|
101
|
-
#### 通用工具配置
|
|
102
|
-
|
|
103
|
-
**pre-commit 配置**:
|
|
104
|
-
- 文件:`.pre-commit-config.yaml`
|
|
105
|
-
- 模板:`backend/pre-commit.config.template.yaml`
|
|
106
|
-
- 包含:Git 提交前检查钩子(支持 Python、Rust、Java 等)
|
|
107
|
-
|
|
108
|
-
## 注意事项
|
|
109
|
-
|
|
110
|
-
1. **配置文件合并**:如果配置文件已存在,工具初始化会询问您是否合并配置
|
|
111
|
-
2. **模板更新**:模板更新不会自动应用到已有项目,需要重新运行工具初始化
|
|
112
|
-
3. **自定义配置**:您可以在工具初始化后手动调整配置,但建议保持核心规范不变
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
trigger: always_on
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# AODW Kernel Loader (Antigravity Adapter)
|
|
6
|
-
# 版本: 3.1.0 (Reference Mode)
|
|
7
|
-
|
|
8
|
-
你是一个 **AODW (AI 编排开发工作流) 协作 Agent**。
|
|
9
|
-
|
|
10
|
-
## 1. 核心指令 (The Prime Directive)
|
|
11
|
-
你 **必须** 在开始任何任务前,优先读取并遵循以下 **Kernel (宪章)** 文件:
|
|
12
|
-
|
|
13
|
-
- `.aodw/01-core/aodw-constitution.md`
|
|
14
|
-
|
|
15
|
-
**注意**:
|
|
16
|
-
- 该文件是你行为的最高准则。
|
|
17
|
-
- 该文件包含了所有阶段的 **Context Loading Directives (上下文加载指令)**。
|
|
18
|
-
- 你必须根据宪章的指示,在不同阶段(Intake/Manager/Coding/Knowledge)按需加载其他规则文件。
|
|
19
|
-
|
|
20
|
-
## 2. 兜底机制
|
|
21
|
-
如果你无法读取 `.aodw/01-core/aodw-constitution.md`,请立即停止并要求用户提供该文件。
|
|
22
|
-
|
|
23
|
-
---
|
|
24
|
-
|
|
25
|
-
# AODW 主菜单
|
|
26
|
-
|
|
27
|
-
> **简洁至上**:恪守KISS(Keep It Simple, Stupid)原则,崇尚简洁与可维护性,避免过度工程化与不必要的防御性设计。
|
|
28
|
-
> **深度分析**:立足于第一性原理(First Principles Thinking)剖析问题,并善用工具以提升效率。
|
|
29
|
-
> **事实为本**:以事实为最高准则。若有任何谬误,恳请坦率斧正,助我精进。
|
|
30
|
-
|
|
31
|
-
> **语言要求**:所有回复、思考过程及任务清单,均须使用中文。
|
|
32
|
-
> **固定指令**:`Implementation Plan, Task List and Thought in Chinese`
|
|
33
|
-
|
|
34
|
-
当用户想要 **查看帮助** 或 **了解 AODW 命令** 时,请**不要**直接尝试操作。
|
|
35
|
-
你**必须**运行工作流 `/aodw`。
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: 完成并关闭 AODW 任务
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# 完成 RT
|
|
6
|
-
|
|
7
|
-
完成当前 RT 并更新状态。
|
|
8
|
-
|
|
9
|
-
## 核心规则引用
|
|
10
|
-
- `.aodw/02-workflow/rt-manager.md` (完成标准)
|
|
11
|
-
|
|
12
|
-
## 操作步骤
|
|
13
|
-
1. 确认所有任务已完成。
|
|
14
|
-
2. 更新 `RT/RT-XXX/meta.yaml` 状态为 `done`。
|
|
15
|
-
3. 设置 `closed_at` 时间戳。
|
|
16
|
-
4. 更新 `RT/index.yaml` 状态。
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: 切换到 Spec-Full 模式
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# 切换到 Spec-Full
|
|
6
|
-
|
|
7
|
-
适用于复杂、跨模块的改动。
|
|
8
|
-
|
|
9
|
-
## 核心规则引用
|
|
10
|
-
- `.aodw/02-workflow/rt-manager.md` (Profile 定义)
|
|
11
|
-
|
|
12
|
-
## 操作步骤
|
|
13
|
-
1. 更新 `RT/RT-XXX/meta.yaml` 中的 `profile` 为 `Spec-Full`。
|
|
14
|
-
2. 确保创建所有 Spec-Full 必需文档 (`impact.md`, `invariants.md`, `tests.md`)。
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: 创建新 RT,启动 AODW 工作流
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# 创建新 RT
|
|
6
|
-
|
|
7
|
-
启动 AODW 工作流,创建新的 Runtime Task (RT)。
|
|
8
|
-
|
|
9
|
-
## 核心规则引用
|
|
10
|
-
执行此任务前,请参考:
|
|
11
|
-
- `.aodw/02-workflow/rt-manager.md` (RT 生命周期与命名规范)
|
|
12
|
-
- `.aodw/id-branch-directory-rules.md` (ID 与目录规则)
|
|
13
|
-
|
|
14
|
-
## 操作步骤
|
|
15
|
-
|
|
16
|
-
### 1. 生成 RT-ID
|
|
17
|
-
1. 读取 `RT/index.yaml`,找到最大序号。
|
|
18
|
-
2. 生成新 ID `RT-{seq}` (如 `RT-001`)。
|
|
19
|
-
|
|
20
|
-
### 2. 创建目录
|
|
21
|
-
1. 创建目录 `RT/RT-{seq}/`。
|
|
22
|
-
2. **注意**:目录名必须严格匹配 ID。
|
|
23
|
-
|
|
24
|
-
### 3. 创建文档
|
|
25
|
-
1. 创建 `RT/RT-{seq}/meta.yaml`。
|
|
26
|
-
2. 创建核心文档:`intake.md`, `decision.md`, `spec.md`, `plan.md`, `impact.md`, `invariants.md`, `tests.md`, `changelog.md`。
|
|
27
|
-
|
|
28
|
-
### 4. 更新索引
|
|
29
|
-
1. 在 `RT/index.yaml` 中添加新条目。
|
|
30
|
-
2. 更新 `last_updated_at`。
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: AODW 主命令,显示可用命令和快速帮助
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# AODW 主菜单
|
|
6
|
-
|
|
7
|
-
## 功能
|
|
8
|
-
显示所有可用工作流命令。
|
|
9
|
-
|
|
10
|
-
## 命令列表
|
|
11
|
-
- `/aodw-new`: 创建新 RT
|
|
12
|
-
- `/aodw-check`: 检查一致性
|
|
13
|
-
- `/aodw-done`: 完成 RT
|
|
14
|
-
- `/aodw-full`: 切换到 Spec-Full
|
|
15
|
-
- `/aodw-lite`: 切换到 Spec-Lite
|
|
16
|
-
- `/aodw-open`: 打开 RT
|
|
17
|
-
- `/aodw-pause`: 暂停 AODW
|
|
18
|
-
- `/aodw-resume`: 恢复 AODW
|