@fifine/aim-studio 0.0.1
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/LICENSE +21 -0
- package/README.md +159 -0
- package/bin/aim.js +3 -0
- package/dist/cli/index.d.ts +3 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +89 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/commands/init.d.ts +13 -0
- package/dist/commands/init.d.ts.map +1 -0
- package/dist/commands/init.js +513 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/commands/update.d.ts +27 -0
- package/dist/commands/update.d.ts.map +1 -0
- package/dist/commands/update.js +1275 -0
- package/dist/commands/update.js.map +1 -0
- package/dist/configurators/claude.d.ts +32 -0
- package/dist/configurators/claude.d.ts.map +1 -0
- package/dist/configurators/claude.js +98 -0
- package/dist/configurators/claude.js.map +1 -0
- package/dist/configurators/index.d.ts +51 -0
- package/dist/configurators/index.d.ts.map +1 -0
- package/dist/configurators/index.js +113 -0
- package/dist/configurators/index.js.map +1 -0
- package/dist/configurators/shared.d.ts +12 -0
- package/dist/configurators/shared.d.ts.map +1 -0
- package/dist/configurators/shared.js +21 -0
- package/dist/configurators/shared.js.map +1 -0
- package/dist/configurators/workflow.d.ts +28 -0
- package/dist/configurators/workflow.d.ts.map +1 -0
- package/dist/configurators/workflow.js +147 -0
- package/dist/configurators/workflow.js.map +1 -0
- package/dist/constants/paths.d.ts +68 -0
- package/dist/constants/paths.d.ts.map +1 -0
- package/dist/constants/paths.js +77 -0
- package/dist/constants/paths.js.map +1 -0
- package/dist/constants/version.d.ts +9 -0
- package/dist/constants/version.d.ts.map +1 -0
- package/dist/constants/version.js +15 -0
- package/dist/constants/version.js.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -0
- package/dist/migrations/index.d.ts +54 -0
- package/dist/migrations/index.d.ts.map +1 -0
- package/dist/migrations/index.js +160 -0
- package/dist/migrations/index.js.map +1 -0
- package/dist/migrations/manifests/0.0.1.json +9 -0
- package/dist/migrations/manifests/0.1.9.json +30 -0
- package/dist/migrations/manifests/0.2.0.json +49 -0
- package/dist/migrations/manifests/0.2.12.json +9 -0
- package/dist/migrations/manifests/0.2.13.json +9 -0
- package/dist/migrations/manifests/0.2.14.json +175 -0
- package/dist/migrations/manifests/0.2.15.json +33 -0
- package/dist/migrations/manifests/0.3.0-beta.0.json +278 -0
- package/dist/migrations/manifests/0.3.0-beta.1.json +9 -0
- package/dist/migrations/manifests/0.3.0-beta.10.json +9 -0
- package/dist/migrations/manifests/0.3.0-beta.11.json +9 -0
- package/dist/migrations/manifests/0.3.0-beta.12.json +9 -0
- package/dist/migrations/manifests/0.3.0-beta.13.json +9 -0
- package/dist/migrations/manifests/0.3.0-beta.14.json +9 -0
- package/dist/migrations/manifests/0.3.0-beta.15.json +9 -0
- package/dist/migrations/manifests/0.3.0-beta.16.json +9 -0
- package/dist/migrations/manifests/0.3.0-beta.2.json +9 -0
- package/dist/migrations/manifests/0.3.0-beta.3.json +9 -0
- package/dist/migrations/manifests/0.3.0-beta.4.json +9 -0
- package/dist/migrations/manifests/0.3.0-beta.5.json +9 -0
- package/dist/migrations/manifests/0.3.0-beta.6.json +9 -0
- package/dist/migrations/manifests/0.3.0-beta.7.json +11 -0
- package/dist/migrations/manifests/0.3.0-beta.8.json +9 -0
- package/dist/migrations/manifests/0.3.0-beta.9.json +9 -0
- package/dist/migrations/manifests/0.3.0-rc.0.json +9 -0
- package/dist/migrations/manifests/0.3.0-rc.1.json +9 -0
- package/dist/migrations/manifests/0.3.0-rc.2.json +9 -0
- package/dist/templates/CLAUDE.md +71 -0
- package/dist/templates/aim/gitignore.txt +29 -0
- package/dist/templates/aim/index.d.ts +49 -0
- package/dist/templates/aim/index.d.ts.map +1 -0
- package/dist/templates/aim/index.js +92 -0
- package/dist/templates/aim/index.js.map +1 -0
- package/dist/templates/aim/scripts/__init__.py +5 -0
- package/dist/templates/aim/scripts/add_session.py +392 -0
- package/dist/templates/aim/scripts/common/__init__.py +80 -0
- package/dist/templates/aim/scripts/common/cli_adapter.py +435 -0
- package/dist/templates/aim/scripts/common/developer.py +190 -0
- package/dist/templates/aim/scripts/common/git_context.py +383 -0
- package/dist/templates/aim/scripts/common/paths.py +347 -0
- package/dist/templates/aim/scripts/common/phase.py +253 -0
- package/dist/templates/aim/scripts/common/registry.py +366 -0
- package/dist/templates/aim/scripts/common/task_queue.py +255 -0
- package/dist/templates/aim/scripts/common/task_utils.py +178 -0
- package/dist/templates/aim/scripts/common/worktree.py +219 -0
- package/dist/templates/aim/scripts/create_bootstrap.py +290 -0
- package/dist/templates/aim/scripts/get_context.py +16 -0
- package/dist/templates/aim/scripts/get_developer.py +26 -0
- package/dist/templates/aim/scripts/init_developer.py +51 -0
- package/dist/templates/aim/scripts/multi_agent/__init__.py +5 -0
- package/dist/templates/aim/scripts/multi_agent/cleanup.py +403 -0
- package/dist/templates/aim/scripts/multi_agent/create_pr.py +329 -0
- package/dist/templates/aim/scripts/multi_agent/plan.py +233 -0
- package/dist/templates/aim/scripts/multi_agent/start.py +461 -0
- package/dist/templates/aim/scripts/multi_agent/status.py +817 -0
- package/dist/templates/aim/scripts/task.py +1068 -0
- package/dist/templates/aim/scripts-shell-archive/add-session.sh +384 -0
- package/dist/templates/aim/scripts-shell-archive/common/developer.sh +129 -0
- package/dist/templates/aim/scripts-shell-archive/common/git-context.sh +263 -0
- package/dist/templates/aim/scripts-shell-archive/common/paths.sh +208 -0
- package/dist/templates/aim/scripts-shell-archive/common/phase.sh +150 -0
- package/dist/templates/aim/scripts-shell-archive/common/registry.sh +247 -0
- package/dist/templates/aim/scripts-shell-archive/common/task-queue.sh +142 -0
- package/dist/templates/aim/scripts-shell-archive/common/task-utils.sh +151 -0
- package/dist/templates/aim/scripts-shell-archive/common/worktree.sh +128 -0
- package/dist/templates/aim/scripts-shell-archive/create-bootstrap.sh +299 -0
- package/dist/templates/aim/scripts-shell-archive/get-context.sh +7 -0
- package/dist/templates/aim/scripts-shell-archive/get-developer.sh +15 -0
- package/dist/templates/aim/scripts-shell-archive/init-developer.sh +34 -0
- package/dist/templates/aim/scripts-shell-archive/multi-agent/cleanup.sh +396 -0
- package/dist/templates/aim/scripts-shell-archive/multi-agent/create-pr.sh +241 -0
- package/dist/templates/aim/scripts-shell-archive/multi-agent/plan.sh +207 -0
- package/dist/templates/aim/scripts-shell-archive/multi-agent/start.sh +317 -0
- package/dist/templates/aim/scripts-shell-archive/multi-agent/status.sh +828 -0
- package/dist/templates/aim/scripts-shell-archive/task.sh +1204 -0
- package/dist/templates/aim/tasks/.gitkeep +0 -0
- package/dist/templates/aim/workflow.md +258 -0
- package/dist/templates/aim/worktree.yaml +47 -0
- package/dist/templates/claude/agents/check.md +122 -0
- package/dist/templates/claude/agents/debug.md +106 -0
- package/dist/templates/claude/agents/dispatch.md +230 -0
- package/dist/templates/claude/agents/implement.md +96 -0
- package/dist/templates/claude/agents/plan.md +396 -0
- package/dist/templates/claude/agents/research.md +120 -0
- package/dist/templates/claude/agents/story.md +53 -0
- package/dist/templates/claude/commands/aim/before-backend-dev.md +13 -0
- package/dist/templates/claude/commands/aim/before-frontend-dev.md +13 -0
- package/dist/templates/claude/commands/aim/break-loop.md +153 -0
- package/dist/templates/claude/commands/aim/check-backend.md +13 -0
- package/dist/templates/claude/commands/aim/check-cross-layer.md +153 -0
- package/dist/templates/claude/commands/aim/check-frontend.md +13 -0
- package/dist/templates/claude/commands/aim/check-story.md +59 -0
- package/dist/templates/claude/commands/aim/create-command.md +154 -0
- package/dist/templates/claude/commands/aim/export.md +187 -0
- package/dist/templates/claude/commands/aim/finish-work.md +104 -0
- package/dist/templates/claude/commands/aim/integrate-skill.md +219 -0
- package/dist/templates/claude/commands/aim/onboard.md +358 -0
- package/dist/templates/claude/commands/aim/parallel.md +217 -0
- package/dist/templates/claude/commands/aim/portrait.md +170 -0
- package/dist/templates/claude/commands/aim/record-session.md +92 -0
- package/dist/templates/claude/commands/aim/start.md +112 -0
- package/dist/templates/claude/commands/aim/story.md +140 -0
- package/dist/templates/claude/commands/aim/update-spec.md +285 -0
- package/dist/templates/claude/commands/aim/visualize.md +182 -0
- package/dist/templates/claude/commands/trellis/before-backend-dev.md +13 -0
- package/dist/templates/claude/commands/trellis/before-frontend-dev.md +13 -0
- package/dist/templates/claude/commands/trellis/break-loop.md +125 -0
- package/dist/templates/claude/commands/trellis/check-backend.md +13 -0
- package/dist/templates/claude/commands/trellis/check-cross-layer.md +153 -0
- package/dist/templates/claude/commands/trellis/check-frontend.md +13 -0
- package/dist/templates/claude/commands/trellis/create-command.md +154 -0
- package/dist/templates/claude/commands/trellis/finish-work.md +129 -0
- package/dist/templates/claude/commands/trellis/integrate-skill.md +219 -0
- package/dist/templates/claude/commands/trellis/onboard.md +358 -0
- package/dist/templates/claude/commands/trellis/parallel.md +193 -0
- package/dist/templates/claude/commands/trellis/record-session.md +62 -0
- package/dist/templates/claude/commands/trellis/start.md +280 -0
- package/dist/templates/claude/commands/trellis/update-spec.md +285 -0
- package/dist/templates/claude/hooks/inject-subagent-context.py +772 -0
- package/dist/templates/claude/hooks/ralph-loop.py +388 -0
- package/dist/templates/claude/hooks/session-start.py +142 -0
- package/dist/templates/claude/index.d.ts +54 -0
- package/dist/templates/claude/index.d.ts.map +1 -0
- package/dist/templates/claude/index.js +85 -0
- package/dist/templates/claude/index.js.map +1 -0
- package/dist/templates/claude/settings.json +41 -0
- package/dist/templates/extract.d.ts +68 -0
- package/dist/templates/extract.d.ts.map +1 -0
- package/dist/templates/extract.js +128 -0
- package/dist/templates/extract.js.map +1 -0
- package/dist/templates/markdown/agents.md +25 -0
- package/dist/templates/markdown/gitignore.txt +12 -0
- package/dist/templates/markdown/index.d.ts +32 -0
- package/dist/templates/markdown/index.d.ts.map +1 -0
- package/dist/templates/markdown/index.js +58 -0
- package/dist/templates/markdown/index.js.map +1 -0
- package/dist/templates/markdown/spec/backend/database-guidelines.md.txt +51 -0
- package/dist/templates/markdown/spec/backend/directory-structure.md.txt +54 -0
- package/dist/templates/markdown/spec/backend/error-handling.md.txt +51 -0
- package/dist/templates/markdown/spec/backend/index.md +40 -0
- package/dist/templates/markdown/spec/backend/index.md.txt +38 -0
- package/dist/templates/markdown/spec/backend/logging-guidelines.md.txt +51 -0
- package/dist/templates/markdown/spec/backend/quality-guidelines.md.txt +51 -0
- package/dist/templates/markdown/spec/backend/script-conventions.md +467 -0
- package/dist/templates/markdown/spec/frontend/component-guidelines.md.txt +59 -0
- package/dist/templates/markdown/spec/frontend/directory-structure.md.txt +54 -0
- package/dist/templates/markdown/spec/frontend/hook-guidelines.md.txt +51 -0
- package/dist/templates/markdown/spec/frontend/index.md.txt +39 -0
- package/dist/templates/markdown/spec/frontend/quality-guidelines.md.txt +51 -0
- package/dist/templates/markdown/spec/frontend/state-management.md.txt +51 -0
- package/dist/templates/markdown/spec/frontend/type-safety.md.txt +51 -0
- package/dist/templates/markdown/spec/guides/code-reuse-thinking-guide.md +118 -0
- package/dist/templates/markdown/spec/guides/code-reuse-thinking-guide.md.txt +92 -0
- package/dist/templates/markdown/spec/guides/cross-layer-thinking-guide.md.txt +94 -0
- package/dist/templates/markdown/spec/guides/cross-platform-thinking-guide.md +394 -0
- package/dist/templates/markdown/spec/guides/cross-platform-thinking-guide.md.txt +319 -0
- package/dist/templates/markdown/spec/guides/index.md.txt +89 -0
- package/dist/templates/markdown/spec/story/character.md.txt +95 -0
- package/dist/templates/markdown/spec/story/index.md.txt +31 -0
- package/dist/templates/markdown/spec/story/script.md.txt +313 -0
- package/dist/templates/markdown/spec/story/world.md.txt +92 -0
- package/dist/templates/markdown/workspace-index.md +123 -0
- package/dist/templates/markdown/worktree.yaml.txt +58 -0
- package/dist/templates/trellis/gitignore.txt +29 -0
- package/dist/templates/trellis/index.d.ts +49 -0
- package/dist/templates/trellis/index.d.ts.map +1 -0
- package/dist/templates/trellis/index.js +92 -0
- package/dist/templates/trellis/index.js.map +1 -0
- package/dist/templates/trellis/scripts/__init__.py +5 -0
- package/dist/templates/trellis/scripts/add_session.py +392 -0
- package/dist/templates/trellis/scripts/common/__init__.py +80 -0
- package/dist/templates/trellis/scripts/common/cli_adapter.py +435 -0
- package/dist/templates/trellis/scripts/common/developer.py +190 -0
- package/dist/templates/trellis/scripts/common/git_context.py +383 -0
- package/dist/templates/trellis/scripts/common/paths.py +347 -0
- package/dist/templates/trellis/scripts/common/phase.py +253 -0
- package/dist/templates/trellis/scripts/common/registry.py +366 -0
- package/dist/templates/trellis/scripts/common/task_queue.py +255 -0
- package/dist/templates/trellis/scripts/common/task_utils.py +178 -0
- package/dist/templates/trellis/scripts/common/worktree.py +219 -0
- package/dist/templates/trellis/scripts/create_bootstrap.py +290 -0
- package/dist/templates/trellis/scripts/get_context.py +16 -0
- package/dist/templates/trellis/scripts/get_developer.py +26 -0
- package/dist/templates/trellis/scripts/init_developer.py +51 -0
- package/dist/templates/trellis/scripts/multi_agent/__init__.py +5 -0
- package/dist/templates/trellis/scripts/multi_agent/cleanup.py +403 -0
- package/dist/templates/trellis/scripts/multi_agent/create_pr.py +329 -0
- package/dist/templates/trellis/scripts/multi_agent/plan.py +233 -0
- package/dist/templates/trellis/scripts/multi_agent/start.py +461 -0
- package/dist/templates/trellis/scripts/multi_agent/status.py +817 -0
- package/dist/templates/trellis/scripts/task.py +1056 -0
- package/dist/templates/trellis/scripts-shell-archive/add-session.sh +384 -0
- package/dist/templates/trellis/scripts-shell-archive/common/developer.sh +129 -0
- package/dist/templates/trellis/scripts-shell-archive/common/git-context.sh +263 -0
- package/dist/templates/trellis/scripts-shell-archive/common/paths.sh +208 -0
- package/dist/templates/trellis/scripts-shell-archive/common/phase.sh +150 -0
- package/dist/templates/trellis/scripts-shell-archive/common/registry.sh +247 -0
- package/dist/templates/trellis/scripts-shell-archive/common/task-queue.sh +142 -0
- package/dist/templates/trellis/scripts-shell-archive/common/task-utils.sh +151 -0
- package/dist/templates/trellis/scripts-shell-archive/common/worktree.sh +128 -0
- package/dist/templates/trellis/scripts-shell-archive/create-bootstrap.sh +299 -0
- package/dist/templates/trellis/scripts-shell-archive/get-context.sh +7 -0
- package/dist/templates/trellis/scripts-shell-archive/get-developer.sh +15 -0
- package/dist/templates/trellis/scripts-shell-archive/init-developer.sh +34 -0
- package/dist/templates/trellis/scripts-shell-archive/multi-agent/cleanup.sh +396 -0
- package/dist/templates/trellis/scripts-shell-archive/multi-agent/create-pr.sh +241 -0
- package/dist/templates/trellis/scripts-shell-archive/multi-agent/plan.sh +207 -0
- package/dist/templates/trellis/scripts-shell-archive/multi-agent/start.sh +317 -0
- package/dist/templates/trellis/scripts-shell-archive/multi-agent/status.sh +828 -0
- package/dist/templates/trellis/scripts-shell-archive/task.sh +1204 -0
- package/dist/templates/trellis/tasks/.gitkeep +0 -0
- package/dist/templates/trellis/workflow.md +416 -0
- package/dist/templates/trellis/worktree.yaml +47 -0
- package/dist/types/ai-tools.d.ts +48 -0
- package/dist/types/ai-tools.d.ts.map +1 -0
- package/dist/types/ai-tools.js +32 -0
- package/dist/types/ai-tools.js.map +1 -0
- package/dist/types/migration.d.ts +86 -0
- package/dist/types/migration.d.ts.map +1 -0
- package/dist/types/migration.js +8 -0
- package/dist/types/migration.js.map +1 -0
- package/dist/utils/compare-versions.d.ts +12 -0
- package/dist/utils/compare-versions.d.ts.map +1 -0
- package/dist/utils/compare-versions.js +76 -0
- package/dist/utils/compare-versions.js.map +1 -0
- package/dist/utils/file-writer.d.ts +23 -0
- package/dist/utils/file-writer.d.ts.map +1 -0
- package/dist/utils/file-writer.js +140 -0
- package/dist/utils/file-writer.js.map +1 -0
- package/dist/utils/project-detector.d.ts +16 -0
- package/dist/utils/project-detector.d.ts.map +1 -0
- package/dist/utils/project-detector.js +188 -0
- package/dist/utils/project-detector.js.map +1 -0
- package/dist/utils/template-fetcher.d.ts +51 -0
- package/dist/utils/template-fetcher.d.ts.map +1 -0
- package/dist/utils/template-fetcher.js +174 -0
- package/dist/utils/template-fetcher.js.map +1 -0
- package/dist/utils/template-hash.d.ts +78 -0
- package/dist/utils/template-hash.d.ts.map +1 -0
- package/dist/utils/template-hash.js +239 -0
- package/dist/utils/template-hash.js.map +1 -0
- package/package.json +87 -0
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: research
|
|
3
|
+
description: |
|
|
4
|
+
Code and tech search expert. Pure research, no code modifications. Finds files, patterns, and tech solutions.
|
|
5
|
+
tools: Read, Glob, Grep, mcp__exa__web_search_exa, mcp__exa__get_code_context_exa, Skill, mcp__chrome-devtools__*
|
|
6
|
+
model: opus
|
|
7
|
+
---
|
|
8
|
+
# Research Agent
|
|
9
|
+
|
|
10
|
+
You are the Research Agent in the AIM Studio workflow.
|
|
11
|
+
|
|
12
|
+
## Core Principle
|
|
13
|
+
|
|
14
|
+
**You do one thing: find and explain information.**
|
|
15
|
+
|
|
16
|
+
You are a documenter, not a reviewer. Your job is to help get the information needed.
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## Core Responsibilities
|
|
21
|
+
|
|
22
|
+
### 1. Internal Search (Project Code)
|
|
23
|
+
|
|
24
|
+
| Search Type | Goal | Tools |
|
|
25
|
+
|-------------|------|-------|
|
|
26
|
+
| **WHERE** | Locate files/components | Glob, Grep |
|
|
27
|
+
| **HOW** | Understand code logic | Read, Grep |
|
|
28
|
+
| **PATTERN** | Discover existing patterns | Grep, Read |
|
|
29
|
+
|
|
30
|
+
### 2. External Search (Tech Solutions)
|
|
31
|
+
|
|
32
|
+
Use web search for best practices and code examples.
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## Strict Boundaries
|
|
37
|
+
|
|
38
|
+
### Only Allowed
|
|
39
|
+
|
|
40
|
+
- Describe **what exists**
|
|
41
|
+
- Describe **where it is**
|
|
42
|
+
- Describe **how it works**
|
|
43
|
+
- Describe **how components interact**
|
|
44
|
+
|
|
45
|
+
### Forbidden (unless explicitly asked)
|
|
46
|
+
|
|
47
|
+
- Suggest improvements
|
|
48
|
+
- Criticize implementation
|
|
49
|
+
- Recommend refactoring
|
|
50
|
+
- Modify any files
|
|
51
|
+
- Execute git commands
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
## Workflow
|
|
56
|
+
|
|
57
|
+
### Step 1: Understand Search Request
|
|
58
|
+
|
|
59
|
+
Analyze the query, determine:
|
|
60
|
+
|
|
61
|
+
- Search type (internal/external/mixed)
|
|
62
|
+
- Search scope (global/specific directory)
|
|
63
|
+
- Expected output (file list/code patterns/tech solutions)
|
|
64
|
+
|
|
65
|
+
### Step 2: Execute Search
|
|
66
|
+
|
|
67
|
+
Execute multiple independent searches in parallel for efficiency.
|
|
68
|
+
|
|
69
|
+
### Step 3: Organize Results
|
|
70
|
+
|
|
71
|
+
Output structured results in report format.
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
## Report Format
|
|
76
|
+
|
|
77
|
+
```markdown
|
|
78
|
+
## Search Results
|
|
79
|
+
|
|
80
|
+
### Query
|
|
81
|
+
|
|
82
|
+
{original query}
|
|
83
|
+
|
|
84
|
+
### Files Found
|
|
85
|
+
|
|
86
|
+
| File Path | Description |
|
|
87
|
+
|-----------|-------------|
|
|
88
|
+
| `src/services/xxx.ts` | Main implementation |
|
|
89
|
+
| `src/types/xxx.ts` | Type definitions |
|
|
90
|
+
|
|
91
|
+
### Code Pattern Analysis
|
|
92
|
+
|
|
93
|
+
{Describe discovered patterns, cite specific files and line numbers}
|
|
94
|
+
|
|
95
|
+
### Related Spec Documents
|
|
96
|
+
|
|
97
|
+
- `.aim-studio/spec/xxx.md` - {description}
|
|
98
|
+
|
|
99
|
+
### Not Found
|
|
100
|
+
|
|
101
|
+
{If some content was not found, explain}
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
## Guidelines
|
|
107
|
+
|
|
108
|
+
### DO
|
|
109
|
+
|
|
110
|
+
- Provide specific file paths and line numbers
|
|
111
|
+
- Quote actual code snippets
|
|
112
|
+
- Distinguish "definitely found" and "possibly related"
|
|
113
|
+
- Explain search scope and limitations
|
|
114
|
+
|
|
115
|
+
### DON'T
|
|
116
|
+
|
|
117
|
+
- Don't guess uncertain info
|
|
118
|
+
- Don't omit important search results
|
|
119
|
+
- Don't add improvement suggestions in report (unless explicitly asked)
|
|
120
|
+
- Don't modify any files
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: story
|
|
3
|
+
description: |
|
|
4
|
+
漫剧/小说创作 Agent。负责根据设定撰写剧本、角色小传和分镜描述。
|
|
5
|
+
tools: Read, Bash, mcp__exa__web_search_exa
|
|
6
|
+
model: opus
|
|
7
|
+
---
|
|
8
|
+
# Story Agent (漫剧主笔)
|
|
9
|
+
|
|
10
|
+
你是 AIM Studio 的漫剧主笔 (Story Agent)。你的任务是协助用户创作高质量的漫剧或小说剧本。
|
|
11
|
+
|
|
12
|
+
## 核心职责
|
|
13
|
+
|
|
14
|
+
1. **世界观与角色构建**:完善设定文档。
|
|
15
|
+
2. **剧本创作**:编写符合规范的分场剧本。
|
|
16
|
+
3. **分镜描述**:为画面提供详细的 AI 绘画提示词建议。
|
|
17
|
+
|
|
18
|
+
## 工作流程
|
|
19
|
+
|
|
20
|
+
Hook 会自动注入当前任务的 Context (位于 `.aim-studio/spec/story/` 及 `implement.jsonl` 指定的文件)。
|
|
21
|
+
|
|
22
|
+
### 第一步:理解需求与设定
|
|
23
|
+
仔细阅读 `prd.md` (如果有) 和 `spec/story/` 下的设定文档。
|
|
24
|
+
如果是新项目,优先检查 `character.md` 和 `world.md` 是否已填充。若未填充,**不要急于写剧本**,先根据用户需求完善这些设定。
|
|
25
|
+
|
|
26
|
+
### 第二步:创作/完善内容
|
|
27
|
+
|
|
28
|
+
**创作原则**:
|
|
29
|
+
- **冲突驱动**:每场戏都应有明确的冲突或悬念。
|
|
30
|
+
- **画面感**:使用视觉化的语言描述动作和环境。
|
|
31
|
+
- **对白精炼**:避免说教式对话,展现角色性格。
|
|
32
|
+
|
|
33
|
+
**格式要求**:
|
|
34
|
+
- 严格遵守 `spec/story/script.md` 中的剧本格式。
|
|
35
|
+
- 场次、地点、时间、气氛标注清晰。
|
|
36
|
+
|
|
37
|
+
### 第三步:自我检查
|
|
38
|
+
- 检查剧情逻辑是否连贯。
|
|
39
|
+
- 检查人物行为是否符合 `character.md` 中的设定。
|
|
40
|
+
- 检查格式是否规范。
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## 常用指令
|
|
45
|
+
|
|
46
|
+
- **完善设定**: "请根据这个创意完善角色和世界观..."
|
|
47
|
+
- **撰写大纲**: "请为这个故事写一个10章的大纲..."
|
|
48
|
+
- **撰写剧本**: "请写第一章的剧本..."
|
|
49
|
+
- **生成分镜**: "请将第一场戏转换为分镜描述..."
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
请始终保持**专业、富有创造力**的语气。用**中文**回复(除非用户指定其他语言)。
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Read the backend development guidelines before starting your development task.
|
|
2
|
+
|
|
3
|
+
Execute these steps:
|
|
4
|
+
1. Read `.trellis/spec/backend/index.md` to understand available guidelines
|
|
5
|
+
2. Based on your task, read the relevant guideline files:
|
|
6
|
+
- Database work → `.trellis/spec/backend/database-guidelines.md`
|
|
7
|
+
- Error handling → `.trellis/spec/backend/error-handling.md`
|
|
8
|
+
- Logging → `.trellis/spec/backend/logging-guidelines.md`
|
|
9
|
+
- Type questions → `.trellis/spec/backend/type-safety.md`
|
|
10
|
+
3. Understand the coding standards and patterns you need to follow
|
|
11
|
+
4. Then proceed with your development plan
|
|
12
|
+
|
|
13
|
+
This step is **mandatory** before writing any backend code.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Read the frontend development guidelines before starting your development task.
|
|
2
|
+
|
|
3
|
+
Execute these steps:
|
|
4
|
+
1. Read `.trellis/spec/frontend/index.md` to understand available guidelines
|
|
5
|
+
2. Based on your task, read the relevant guideline files:
|
|
6
|
+
- Component work → `.trellis/spec/frontend/component-guidelines.md`
|
|
7
|
+
- Hook work → `.trellis/spec/frontend/hook-guidelines.md`
|
|
8
|
+
- State management → `.trellis/spec/frontend/state-management.md`
|
|
9
|
+
- Type questions → `.trellis/spec/frontend/type-safety.md`
|
|
10
|
+
3. Understand the coding standards and patterns you need to follow
|
|
11
|
+
4. Then proceed with your development plan
|
|
12
|
+
|
|
13
|
+
This step is **mandatory** before writing any frontend code.
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
# 剧情深度分析
|
|
2
|
+
|
|
3
|
+
> 分析的价值不在于指出问题,而在于提供可行的修改方案。
|
|
4
|
+
|
|
5
|
+
当完成一段创作后,使用此命令进行深度分析,提升剧情质量。
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## 分析框架
|
|
10
|
+
|
|
11
|
+
从以下 5 个维度分析你的创作:
|
|
12
|
+
|
|
13
|
+
### 1. 角色行为一致性
|
|
14
|
+
|
|
15
|
+
角色在当前场景中的行为是否符合其人设?
|
|
16
|
+
|
|
17
|
+
| 检查点 | 问题 | 修正建议 |
|
|
18
|
+
|--------|------|----------|
|
|
19
|
+
| 性格 | 行为与性格设定矛盾 | 保持角色核心性格特征 |
|
|
20
|
+
| 能力 | 做出超出能力范围的事 | 确保能力设定一致 |
|
|
21
|
+
| 动机 | 行为缺乏合理动机 | 补充内心动机描写 |
|
|
22
|
+
| 成长 | 行为与成长曲线不符 | 遵循角色成长轨迹 |
|
|
23
|
+
|
|
24
|
+
### 2. 伏笔与呼应收束
|
|
25
|
+
|
|
26
|
+
检查埋下的伏笔是否有对应收回:
|
|
27
|
+
|
|
28
|
+
| 伏笔类型 | 检查方法 | 示例 |
|
|
29
|
+
|----------|----------|------|
|
|
30
|
+
| 道具伏笔 | 前面出现的道具是否在后续使用 | 神秘盒子在第3集出现,第8集打开 |
|
|
31
|
+
| 性格伏笔 | 角色性格特点是否有铺垫 | 内向角色在第1集只说了3句话 |
|
|
32
|
+
| 事件伏笔 | 事件苗头是否在后续发展 | 第1集提到的预言在第10集应验 |
|
|
33
|
+
| 对话伏笔 | 关键对话是否有深意 | 老人的话暗示了真实身份 |
|
|
34
|
+
|
|
35
|
+
### 3. 剧情逻辑连贯性
|
|
36
|
+
|
|
37
|
+
检查剧情发展是否合理:
|
|
38
|
+
|
|
39
|
+
| 问题类型 | 典型症状 | 检查方法 |
|
|
40
|
+
|----------|----------|----------|
|
|
41
|
+
| 因果断裂 | 事件缺乏充分铺垫 | 回顾:是什么导致这个结果? |
|
|
42
|
+
| 动机不足 | 角色行动突兀 | 回顾:角色为什么这么做? |
|
|
43
|
+
| 巧合过多 | 剧情依赖过多巧合 | 统计:巧合占比是否过高? |
|
|
44
|
+
| 节奏异常 | 节奏忽快忽慢 | 对比:与相邻场次的节奏差异 |
|
|
45
|
+
|
|
46
|
+
### 4. 情感节奏把控
|
|
47
|
+
|
|
48
|
+
分析情感起伏是否合理:
|
|
49
|
+
|
|
50
|
+
| 阶段 | 目标 | 检查点 |
|
|
51
|
+
|------|------|--------|
|
|
52
|
+
| 铺垫 | 建立情感基础 | 情感是否有足够铺垫? |
|
|
53
|
+
| 升温 | 积累情感张力 | 情感是否逐步加深? |
|
|
54
|
+
| 高潮 | 情感爆发点 | 爆发是否足够强烈? |
|
|
55
|
+
| 回落 | 情感合理平复 | 回落是否过于突兀? |
|
|
56
|
+
|
|
57
|
+
### 5. 世界观一致性
|
|
58
|
+
|
|
59
|
+
检查世界观设定是否前后一致:
|
|
60
|
+
|
|
61
|
+
| 检查项 | 示例问题 |
|
|
62
|
+
|--------|----------|
|
|
63
|
+
| 地理设定 | 城市位置是否前后矛盾? |
|
|
64
|
+
| 时间设定 | 季节、节日是否合理? |
|
|
65
|
+
| 能力设定 | 角色能力是否忽强忽弱? |
|
|
66
|
+
| 规则设定 | 世界观规则是否被打破? |
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
## 输出格式
|
|
71
|
+
|
|
72
|
+
请按以下格式输出分析结果:
|
|
73
|
+
|
|
74
|
+
```markdown
|
|
75
|
+
## 剧情深度分析:[标题]
|
|
76
|
+
|
|
77
|
+
### 1. 角色行为一致性
|
|
78
|
+
- **角色名**: [行为描述]
|
|
79
|
+
- **是否符合人设**: ✅/❌
|
|
80
|
+
- **问题**: [如有]
|
|
81
|
+
- **建议**: [修正建议]
|
|
82
|
+
|
|
83
|
+
### 2. 伏笔与呼应收束
|
|
84
|
+
| 伏笔 | 首次出现 | 呼应位置 | 状态 |
|
|
85
|
+
|------|----------|----------|------|
|
|
86
|
+
| ... | ... | ... | ✅/⚠️ |
|
|
87
|
+
|
|
88
|
+
### 3. 剧情逻辑连贯性
|
|
89
|
+
- **因果链**: [完整/断裂]
|
|
90
|
+
- **问题**: [列出问题]
|
|
91
|
+
- **建议**: [改进建议]
|
|
92
|
+
|
|
93
|
+
### 4. 情感节奏
|
|
94
|
+
- **当前阶段**: [铺垫/升温/高潮/回落]
|
|
95
|
+
- **评估**: [评估结果]
|
|
96
|
+
|
|
97
|
+
### 5. 世界观一致性
|
|
98
|
+
- **问题**: [如有]
|
|
99
|
+
- **建议**: [如有]
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
## 核心原则
|
|
104
|
+
|
|
105
|
+
> **分析的价值不在于指出问题,而在于提供可行的修改方案。**
|
|
106
|
+
|
|
107
|
+
30 分钟的分析节省 3 小时的返工。
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
## 分析后行动
|
|
112
|
+
|
|
113
|
+
完成分析后,请:
|
|
114
|
+
|
|
115
|
+
1. **标记问题优先级** - P0(必须修复)/ P1(建议修复)/ P2(可选优化)
|
|
116
|
+
2. **制定修改计划** - 列出需要修改的具体位置
|
|
117
|
+
3. **执行修改** - 直接在对应文件中修改
|
|
118
|
+
4. **复查** - 确认修改后问题已解决
|
|
119
|
+
|
|
120
|
+
> **分析文本毫无价值,真正有价值的是修改后的作品。**
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
## 组合使用方案
|
|
125
|
+
|
|
126
|
+
### 方案一:深度检查流程
|
|
127
|
+
|
|
128
|
+
```
|
|
129
|
+
1. 创作完成一集
|
|
130
|
+
2. /aim:break-loop → 5维度深度分析
|
|
131
|
+
3. 根据分析修改...
|
|
132
|
+
4. /aim:check-story → 快速一致性检查
|
|
133
|
+
5. /aim:finish-work → 完成工作
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
### 方案二:问题定位流程
|
|
137
|
+
|
|
138
|
+
```
|
|
139
|
+
1. 遇到剧情问题
|
|
140
|
+
2. /aim:break-loop → 定位问题根源
|
|
141
|
+
3. 针对性修改
|
|
142
|
+
4. /aim:check-story → 确认修复
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
|
|
147
|
+
## 相关命令
|
|
148
|
+
|
|
149
|
+
| 命令 | 用途 |
|
|
150
|
+
|------|------|
|
|
151
|
+
| `/aim:check-story` | 快速一致性检查 |
|
|
152
|
+
| `/aim:finish-work` | 完成工作 |
|
|
153
|
+
| `/aim:story` | 继续创作 |
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Check if the code you just wrote follows the backend development guidelines.
|
|
2
|
+
|
|
3
|
+
Execute these steps:
|
|
4
|
+
1. Run `git status` to see modified files
|
|
5
|
+
2. Read `.trellis/spec/backend/index.md` to understand which guidelines apply
|
|
6
|
+
3. Based on what you changed, read the relevant guideline files:
|
|
7
|
+
- Database changes → `.trellis/spec/backend/database-guidelines.md`
|
|
8
|
+
- Error handling → `.trellis/spec/backend/error-handling.md`
|
|
9
|
+
- Logging changes → `.trellis/spec/backend/logging-guidelines.md`
|
|
10
|
+
- Type changes → `.trellis/spec/backend/type-safety.md`
|
|
11
|
+
- Any changes → `.trellis/spec/backend/quality-guidelines.md`
|
|
12
|
+
4. Review your code against the guidelines
|
|
13
|
+
5. Report any violations and fix them if found
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
# Cross-Layer Check
|
|
2
|
+
|
|
3
|
+
Check if your changes considered all dimensions. Most bugs come from "didn't think of it", not lack of technical skill.
|
|
4
|
+
|
|
5
|
+
> **Note**: This is a **post-implementation** safety net. Ideally, read the [Pre-Implementation Checklist](.trellis/spec/guides/pre-implementation-checklist.md) **before** writing code.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Related Documents
|
|
10
|
+
|
|
11
|
+
| Document | Purpose | Timing |
|
|
12
|
+
|----------|---------|--------|
|
|
13
|
+
| [Pre-Implementation Checklist](.trellis/spec/guides/pre-implementation-checklist.md) | Questions before coding | **Before** writing code |
|
|
14
|
+
| [Code Reuse Thinking Guide](.trellis/spec/guides/code-reuse-thinking-guide.md) | Pattern recognition | During implementation |
|
|
15
|
+
| **`/trellis:check-cross-layer`** (this) | Verification check | **After** implementation |
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Execution Steps
|
|
20
|
+
|
|
21
|
+
### 1. Identify Change Scope
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
git status
|
|
25
|
+
git diff --name-only
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### 2. Select Applicable Check Dimensions
|
|
29
|
+
|
|
30
|
+
Based on your change type, execute relevant checks below:
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## Dimension A: Cross-Layer Data Flow (Required when 3+ layers)
|
|
35
|
+
|
|
36
|
+
**Trigger**: Changes involve 3 or more layers
|
|
37
|
+
|
|
38
|
+
| Layer | Common Locations |
|
|
39
|
+
|-------|------------------|
|
|
40
|
+
| API/Routes | `routes/`, `api/`, `handlers/`, `controllers/` |
|
|
41
|
+
| Service/Business Logic | `services/`, `lib/`, `core/`, `domain/` |
|
|
42
|
+
| Database/Storage | `db/`, `models/`, `repositories/`, `schema/` |
|
|
43
|
+
| UI/Presentation | `components/`, `views/`, `templates/`, `pages/` |
|
|
44
|
+
| Utility | `utils/`, `helpers/`, `common/` |
|
|
45
|
+
|
|
46
|
+
**Checklist**:
|
|
47
|
+
- [ ] Read flow: Database -> Service -> API -> UI
|
|
48
|
+
- [ ] Write flow: UI -> API -> Service -> Database
|
|
49
|
+
- [ ] Types/schemas correctly passed between layers?
|
|
50
|
+
- [ ] Errors properly propagated to caller?
|
|
51
|
+
- [ ] Loading/pending states handled at each layer?
|
|
52
|
+
|
|
53
|
+
**Detailed Guide**: `.trellis/spec/guides/cross-layer-thinking-guide.md`
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## Dimension B: Code Reuse (Required when modifying constants/config)
|
|
58
|
+
|
|
59
|
+
**Trigger**:
|
|
60
|
+
- Modifying UI constants (label, icon, color)
|
|
61
|
+
- Modifying any hardcoded value
|
|
62
|
+
- Seeing similar code in multiple places
|
|
63
|
+
- Creating a new utility/helper function
|
|
64
|
+
- Just finished batch modifications across files
|
|
65
|
+
|
|
66
|
+
**Checklist**:
|
|
67
|
+
- [ ] Search first: How many places define this value?
|
|
68
|
+
```bash
|
|
69
|
+
# Search in source files (adjust extensions for your project)
|
|
70
|
+
grep -r "value-to-change" src/
|
|
71
|
+
```
|
|
72
|
+
- [ ] If 2+ places define same value -> Should extract to shared constant
|
|
73
|
+
- [ ] After modification, all usage sites updated?
|
|
74
|
+
- [ ] If creating utility: Does similar utility already exist?
|
|
75
|
+
|
|
76
|
+
**Detailed Guide**: `.trellis/spec/guides/code-reuse-thinking-guide.md`
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## Dimension B2: New Utility Functions
|
|
81
|
+
|
|
82
|
+
**Trigger**: About to create a new utility/helper function
|
|
83
|
+
|
|
84
|
+
**Checklist**:
|
|
85
|
+
- [ ] Search for existing similar utilities first
|
|
86
|
+
```bash
|
|
87
|
+
grep -r "functionNamePattern" src/
|
|
88
|
+
```
|
|
89
|
+
- [ ] If similar exists, can you extend it instead?
|
|
90
|
+
- [ ] If creating new, is it in the right location (shared vs domain-specific)?
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## Dimension B3: After Batch Modifications
|
|
95
|
+
|
|
96
|
+
**Trigger**: Just modified similar patterns in multiple files
|
|
97
|
+
|
|
98
|
+
**Checklist**:
|
|
99
|
+
- [ ] Did you check ALL files with similar patterns?
|
|
100
|
+
```bash
|
|
101
|
+
grep -r "patternYouChanged" src/
|
|
102
|
+
```
|
|
103
|
+
- [ ] Any files missed that should also be updated?
|
|
104
|
+
- [ ] Should this pattern be abstracted to prevent future duplication?
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## Dimension C: Import/Dependency Paths (Required when creating new files)
|
|
109
|
+
|
|
110
|
+
**Trigger**: Creating new source files
|
|
111
|
+
|
|
112
|
+
**Checklist**:
|
|
113
|
+
- [ ] Using correct import paths (relative vs absolute)?
|
|
114
|
+
- [ ] No circular dependencies?
|
|
115
|
+
- [ ] Consistent with project's module organization?
|
|
116
|
+
|
|
117
|
+
---
|
|
118
|
+
|
|
119
|
+
## Dimension D: Same-Layer Consistency
|
|
120
|
+
|
|
121
|
+
**Trigger**:
|
|
122
|
+
- Modifying display logic or formatting
|
|
123
|
+
- Same domain concept used in multiple places
|
|
124
|
+
|
|
125
|
+
**Checklist**:
|
|
126
|
+
- [ ] Search for other places using same concept
|
|
127
|
+
```bash
|
|
128
|
+
grep -r "ConceptName" src/
|
|
129
|
+
```
|
|
130
|
+
- [ ] Are these usages consistent?
|
|
131
|
+
- [ ] Should they share configuration/constants?
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
## Common Issues Quick Reference
|
|
136
|
+
|
|
137
|
+
| Issue | Root Cause | Prevention |
|
|
138
|
+
|-------|------------|------------|
|
|
139
|
+
| Changed one place, missed others | Didn't search impact scope | `grep` before changing |
|
|
140
|
+
| Data lost at some layer | Didn't check data flow | Trace data source to destination |
|
|
141
|
+
| Type/schema mismatch | Cross-layer types inconsistent | Use shared type definitions |
|
|
142
|
+
| UI/output inconsistent | Same concept in multiple places | Extract shared constants |
|
|
143
|
+
| Similar utility exists | Didn't search first | Search before creating |
|
|
144
|
+
| Batch fix incomplete | Didn't verify all occurrences | grep after fixing |
|
|
145
|
+
|
|
146
|
+
---
|
|
147
|
+
|
|
148
|
+
## Output
|
|
149
|
+
|
|
150
|
+
Report:
|
|
151
|
+
1. Which dimensions your changes involve
|
|
152
|
+
2. Check results for each dimension
|
|
153
|
+
3. Issues found and fix suggestions
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Check if the code you just wrote follows the frontend development guidelines.
|
|
2
|
+
|
|
3
|
+
Execute these steps:
|
|
4
|
+
1. Run `git status` to see modified files
|
|
5
|
+
2. Read `.trellis/spec/frontend/index.md` to understand which guidelines apply
|
|
6
|
+
3. Based on what you changed, read the relevant guideline files:
|
|
7
|
+
- Component changes → `.trellis/spec/frontend/component-guidelines.md`
|
|
8
|
+
- Hook changes → `.trellis/spec/frontend/hook-guidelines.md`
|
|
9
|
+
- State changes → `.trellis/spec/frontend/state-management.md`
|
|
10
|
+
- Type changes → `.trellis/spec/frontend/type-safety.md`
|
|
11
|
+
- Any changes → `.trellis/spec/frontend/quality-guidelines.md`
|
|
12
|
+
4. Review your code against the guidelines
|
|
13
|
+
5. Report any violations and fix them if found
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: check-story
|
|
3
|
+
description: 检查剧情一致性与逻辑
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# 剧情检查
|
|
7
|
+
|
|
8
|
+
检查当前剧本与设定的一致性,发现并修正潜在问题。
|
|
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
|
+
1. 读取当前剧集内容
|
|
39
|
+
2. 读取 `.aim-studio/spec/story/` 下的设定文件(character.md, world.md)
|
|
40
|
+
3. 按上述维度逐项检查
|
|
41
|
+
4. 输出检查报告
|
|
42
|
+
|
|
43
|
+
## 输出格式
|
|
44
|
+
|
|
45
|
+
```markdown
|
|
46
|
+
## 检查报告
|
|
47
|
+
|
|
48
|
+
### 发现问题
|
|
49
|
+
| 类型 | 位置 | 问题描述 | 严重程度 | 修改建议 |
|
|
50
|
+
|------|------|----------|----------|----------|
|
|
51
|
+
| 角色一致性 | EP03场次2 | 主角对白风格突变 | 中 | 调整为... |
|
|
52
|
+
|
|
53
|
+
### 通过项
|
|
54
|
+
- ✅ 时间线合理
|
|
55
|
+
- ✅ 世界观无冲突
|
|
56
|
+
|
|
57
|
+
### 建议优化
|
|
58
|
+
- (可选的优化建议)
|
|
59
|
+
```
|