@fifine/aim-studio 0.0.3 → 0.0.5
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/README.md +65 -99
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +3 -5
- package/dist/commands/init.js.map +1 -1
- package/dist/configurators/workflow.d.ts.map +1 -1
- package/dist/configurators/workflow.js +4 -104
- package/dist/configurators/workflow.js.map +1 -1
- package/dist/constants/paths.d.ts +5 -5
- package/dist/constants/paths.d.ts.map +1 -1
- package/dist/constants/paths.js +5 -5
- package/dist/constants/paths.js.map +1 -1
- package/dist/templates/aim/index.d.ts +1 -0
- package/dist/templates/aim/index.d.ts.map +1 -1
- package/dist/templates/aim/index.js +2 -0
- package/dist/templates/aim/index.js.map +1 -1
- package/dist/templates/aim/scripts/common/developer.py +2 -1
- package/dist/templates/aim/scripts/export.py +306 -15
- package/dist/templates/aim/workflow.md +12 -13
- package/dist/templates/claude/commands/aim/export.md +208 -32
- package/dist/templates/claude/commands/aim/finish-work.md +23 -0
- package/dist/templates/claude/commands/aim/legitimize.md +250 -0
- package/dist/templates/claude/commands/aim/start.md +92 -179
- package/dist/templates/claude/commands/aim/story.md +303 -67
- package/dist/templates/markdown/index.d.ts +1 -0
- package/dist/templates/markdown/index.d.ts.map +1 -1
- package/dist/templates/markdown/index.js +1 -0
- package/dist/templates/markdown/index.js.map +1 -1
- package/dist/templates/markdown/spec/story/style-guide.md.txt +96 -0
- package/package.json +1 -1
- package/dist/migrations/manifests/0.3.0-rc.2.json +0 -9
- package/dist/templates/aim/scripts/multi_agent/__init__.py +0 -5
- package/dist/templates/aim/scripts/multi_agent/cleanup.py +0 -403
- package/dist/templates/aim/scripts/multi_agent/create_pr.py +0 -329
- package/dist/templates/aim/scripts/multi_agent/plan.py +0 -233
- package/dist/templates/aim/scripts/multi_agent/start.py +0 -461
- package/dist/templates/aim/scripts/multi_agent/status.py +0 -817
- package/dist/templates/aim/scripts-shell-archive/add-session.sh +0 -384
- package/dist/templates/aim/scripts-shell-archive/common/developer.sh +0 -129
- package/dist/templates/aim/scripts-shell-archive/common/git-context.sh +0 -263
- package/dist/templates/aim/scripts-shell-archive/common/paths.sh +0 -208
- package/dist/templates/aim/scripts-shell-archive/common/phase.sh +0 -150
- package/dist/templates/aim/scripts-shell-archive/common/registry.sh +0 -247
- package/dist/templates/aim/scripts-shell-archive/common/task-queue.sh +0 -142
- package/dist/templates/aim/scripts-shell-archive/common/task-utils.sh +0 -151
- package/dist/templates/aim/scripts-shell-archive/common/worktree.sh +0 -128
- package/dist/templates/aim/scripts-shell-archive/create-bootstrap.sh +0 -299
- package/dist/templates/aim/scripts-shell-archive/get-context.sh +0 -7
- package/dist/templates/aim/scripts-shell-archive/get-developer.sh +0 -15
- package/dist/templates/aim/scripts-shell-archive/init-developer.sh +0 -34
- package/dist/templates/aim/scripts-shell-archive/multi-agent/cleanup.sh +0 -396
- package/dist/templates/aim/scripts-shell-archive/multi-agent/create-pr.sh +0 -241
- package/dist/templates/aim/scripts-shell-archive/multi-agent/plan.sh +0 -207
- package/dist/templates/aim/scripts-shell-archive/multi-agent/start.sh +0 -317
- package/dist/templates/aim/scripts-shell-archive/multi-agent/status.sh +0 -828
- package/dist/templates/aim/scripts-shell-archive/task.sh +0 -1204
- package/dist/templates/claude/agents/check.md +0 -122
- package/dist/templates/claude/agents/debug.md +0 -106
- package/dist/templates/claude/agents/dispatch.md +0 -230
- package/dist/templates/claude/agents/implement.md +0 -96
- package/dist/templates/claude/agents/plan.md +0 -396
- package/dist/templates/claude/agents/research.md +0 -120
- package/dist/templates/claude/commands/aim/before-backend-dev.md +0 -13
- package/dist/templates/claude/commands/aim/before-frontend-dev.md +0 -13
- package/dist/templates/claude/commands/aim/break-loop.md +0 -153
- package/dist/templates/claude/commands/aim/check-backend.md +0 -13
- package/dist/templates/claude/commands/aim/check-cross-layer.md +0 -153
- package/dist/templates/claude/commands/aim/check-frontend.md +0 -13
- package/dist/templates/claude/commands/aim/create-command.md +0 -154
- package/dist/templates/claude/commands/aim/integrate-skill.md +0 -219
- package/dist/templates/claude/commands/aim/parallel.md +0 -217
- package/dist/templates/claude/commands/aim/update-spec.md +0 -285
- package/dist/templates/claude/hooks/ralph-loop.py +0 -388
- package/dist/templates/markdown/spec/backend/database-guidelines.md.txt +0 -51
- package/dist/templates/markdown/spec/backend/directory-structure.md.txt +0 -54
- package/dist/templates/markdown/spec/backend/error-handling.md.txt +0 -51
- package/dist/templates/markdown/spec/backend/index.md +0 -40
- package/dist/templates/markdown/spec/backend/index.md.txt +0 -38
- package/dist/templates/markdown/spec/backend/logging-guidelines.md.txt +0 -51
- package/dist/templates/markdown/spec/backend/quality-guidelines.md.txt +0 -51
- package/dist/templates/markdown/spec/backend/script-conventions.md +0 -467
- package/dist/templates/markdown/spec/cli/directory-structure.md.txt +0 -71
- package/dist/templates/markdown/spec/cli/error-handling.md.txt +0 -91
- package/dist/templates/markdown/spec/cli/index.md.txt +0 -37
- package/dist/templates/markdown/spec/cli/options-flags.md.txt +0 -71
- package/dist/templates/markdown/spec/cli/output-formatting.md.txt +0 -93
- package/dist/templates/markdown/spec/frontend/component-guidelines.md.txt +0 -59
- package/dist/templates/markdown/spec/frontend/directory-structure.md.txt +0 -54
- package/dist/templates/markdown/spec/frontend/hook-guidelines.md.txt +0 -51
- package/dist/templates/markdown/spec/frontend/index.md.txt +0 -39
- package/dist/templates/markdown/spec/frontend/quality-guidelines.md.txt +0 -51
- package/dist/templates/markdown/spec/frontend/state-management.md.txt +0 -51
- package/dist/templates/markdown/spec/frontend/type-safety.md.txt +0 -51
- package/dist/templates/markdown/spec/guides/code-reuse-thinking-guide.md +0 -118
- package/dist/templates/markdown/spec/guides/code-reuse-thinking-guide.md.txt +0 -92
- package/dist/templates/markdown/spec/guides/cross-layer-thinking-guide.md.txt +0 -94
- package/dist/templates/markdown/spec/guides/cross-platform-thinking-guide.md +0 -394
- package/dist/templates/markdown/spec/guides/cross-platform-thinking-guide.md.txt +0 -319
- package/dist/templates/markdown/spec/guides/index.md.txt +0 -89
|
@@ -1,179 +1,92 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: start
|
|
3
|
-
description: 开始 AIM Studio
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# 开始会话
|
|
7
|
-
|
|
8
|
-
初始化 AIM Studio
|
|
9
|
-
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
## 适用场景
|
|
13
|
-
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
- 想要了解当前项目状态
|
|
17
|
-
|
|
18
|
-
---
|
|
19
|
-
|
|
20
|
-
##
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
如果有任务,查看任务详情:
|
|
94
|
-
```bash
|
|
95
|
-
python3 .aim-studio/scripts/task.py show <任务名>
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
### 步骤 5:开始工作
|
|
99
|
-
|
|
100
|
-
报告你了解到的内容,询问用户:"您好!请问今天需要做什么?"
|
|
101
|
-
|
|
102
|
-
---
|
|
103
|
-
|
|
104
|
-
## 任务分类
|
|
105
|
-
|
|
106
|
-
当用户描述任务时,进行分类:
|
|
107
|
-
|
|
108
|
-
| 类型 | 标准 | 处理方式 |
|
|
109
|
-
|------|------|----------|
|
|
110
|
-
| 问题 | 用户询问关于项目的问题 | 直接回答 |
|
|
111
|
-
| 简单修改 | 小改动 | 直接处理 |
|
|
112
|
-
| 开发任务 | 需要多步骤完成的任务 | 创建任务并执行 |
|
|
113
|
-
| 漫剧创作 | 创作新故事、角色等(仅限 story 项目) | 使用 `/aim:story` |
|
|
114
|
-
|
|
115
|
-
---
|
|
116
|
-
|
|
117
|
-
## 项目类型检测
|
|
118
|
-
|
|
119
|
-
根据项目结构自动识别项目类型:
|
|
120
|
-
|
|
121
|
-
| 项目类型 | 特征 | 规范目录 |
|
|
122
|
-
|----------|------|----------|
|
|
123
|
-
| CLI 工具 | 有 `bin/` 目录 | `spec/cli/` |
|
|
124
|
-
| 前端 | 有 `package.json`、前端框架 | `spec/frontend/` |
|
|
125
|
-
| 后端 | 有 `requirements.txt`、`go.mod` 等 | `spec/backend/` |
|
|
126
|
-
| 全栈 | 既有前端又有后端 | `spec/frontend/` + `spec/backend/` |
|
|
127
|
-
| 漫剧创作 | 有 `spec/story/` | `spec/story/` |
|
|
128
|
-
|
|
129
|
-
---
|
|
130
|
-
|
|
131
|
-
## 组合使用方案
|
|
132
|
-
|
|
133
|
-
### 方案一:日常开发
|
|
134
|
-
|
|
135
|
-
```
|
|
136
|
-
1. /aim:start → 阅读工作流和项目状态
|
|
137
|
-
2. 讨论需求...
|
|
138
|
-
3. /aim:finish-work → 完成工作并记录
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
### 方案二:漫剧创作(仅限 story 项目)
|
|
142
|
-
|
|
143
|
-
```
|
|
144
|
-
1. /aim:start → 了解项目状态
|
|
145
|
-
2. /aim:story → 开始创作
|
|
146
|
-
3. /aim:portrait <角色名> → 创建角色肖像
|
|
147
|
-
4. /aim:visualize → 生成图片提示词
|
|
148
|
-
5. /aim:check-story → 检查剧情一致性
|
|
149
|
-
6. /aim:finish-work → 完成工作并记录
|
|
150
|
-
```
|
|
151
|
-
|
|
152
|
-
---
|
|
153
|
-
|
|
154
|
-
## 核心原则
|
|
155
|
-
|
|
156
|
-
> **规范是注入的,不是记忆的。**
|
|
157
|
-
>
|
|
158
|
-
> 开发工作流确保 AI 接收相关规范。这比希望 AI "记住"规范更可靠。
|
|
159
|
-
|
|
160
|
-
---
|
|
161
|
-
|
|
162
|
-
## 相关命令(根据项目类型使用)
|
|
163
|
-
|
|
164
|
-
| 命令 | 用途 | 适用项目 |
|
|
165
|
-
|------|------|----------|
|
|
166
|
-
| `/aim:start` | 开始会话 | 所有 |
|
|
167
|
-
| `/aim:story` | 漫剧创作模式 | story |
|
|
168
|
-
| `/aim:portrait` | 生成角色肖像 | story |
|
|
169
|
-
| `/aim:visualize` | 生成图片提示词 | story |
|
|
170
|
-
| `/aim:check-story` | 检查剧情一致性 | story |
|
|
171
|
-
| `/aim:finish-work` | 完成工作并生成日志 | 所有 |
|
|
172
|
-
|
|
173
|
-
---
|
|
174
|
-
|
|
175
|
-
## 注意事项
|
|
176
|
-
|
|
177
|
-
1. **漫剧命令仅限 story 项目**:如果项目不是漫剧创作类型,`/aim:story` 等命令不可用
|
|
178
|
-
2. **遵循项目规范**:开发前务必阅读 `spec/` 目录下的规范文件
|
|
179
|
-
3. **记录工作进度**:完成工作后使用 `/aim:finish-work` 记录
|
|
1
|
+
---
|
|
2
|
+
name: start
|
|
3
|
+
description: 开始 AIM Studio 漫剧创作会话
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# 开始会话
|
|
7
|
+
|
|
8
|
+
初始化 AIM Studio 漫剧创作会话,开始你的故事创作。
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## 适用场景
|
|
13
|
+
|
|
14
|
+
- 首次开始漫剧创作
|
|
15
|
+
- 开始新的创作会话
|
|
16
|
+
- 想要了解当前项目状态
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## 使用方法
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
/aim:start
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## 执行步骤
|
|
29
|
+
|
|
30
|
+
### 步骤 1:获取当前上下文
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
python3 .aim-studio/scripts/get_context.py
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
这会显示:
|
|
37
|
+
- 项目状态
|
|
38
|
+
- 最近的工作日志
|
|
39
|
+
- 待完成的任务(如有)
|
|
40
|
+
|
|
41
|
+
### 步骤 2:阅读工作流指南
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
cat .aim-studio/workflow.md
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### 步骤 3:阅读创作规范
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
cat .aim-studio/spec/story/script.md # 剧本规范
|
|
51
|
+
cat .aim-studio/spec/story/character.md # 角色设定规范
|
|
52
|
+
cat .aim-studio/spec/story/world.md # 世界观设定规范
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### 步骤 4:开始工作
|
|
56
|
+
|
|
57
|
+
报告你了解到的内容,询问用户:"您好!请问今天需要创作什么?"
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## 漫剧创作流程
|
|
62
|
+
|
|
63
|
+
```
|
|
64
|
+
1. /aim:start → 了解项目状态
|
|
65
|
+
2. /aim:story → 开始创作
|
|
66
|
+
3. /aim:portrait <角色> → 创建角色肖像
|
|
67
|
+
4. /aim:visualize → 生成场景图片
|
|
68
|
+
5. /aim:check-story → 检查剧情一致性
|
|
69
|
+
6. /aim:export → 导出视频提示词
|
|
70
|
+
7. /aim:finish-work → 完成工作并记录
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
## 相关命令
|
|
76
|
+
|
|
77
|
+
| 命令 | 用途 |
|
|
78
|
+
|------|------|
|
|
79
|
+
| `/aim:story` | 开始漫剧创作 |
|
|
80
|
+
| `/aim:portrait` | 生成角色肖像 |
|
|
81
|
+
| `/aim:visualize` | 生成场景图片 |
|
|
82
|
+
| `/aim:check-story` | 检查剧情一致性 |
|
|
83
|
+
| `/aim:export` | 导出视频提示词 |
|
|
84
|
+
| `/aim:finish-work` | 完成工作并记录 |
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## 注意事项
|
|
89
|
+
|
|
90
|
+
1. **遵循规范**:创作前务必阅读 `spec/story/` 下的规范文件
|
|
91
|
+
2. **保持一致**:每次创作前回顾 character.md,确保角色行为符合人设
|
|
92
|
+
3. **记录进度**:完成工作后使用 `/aim:finish-work` 记录
|