spec-runner 1.1.13 → 1.1.16
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/package.json +1 -1
- package/spec-runner/templates/.claude/agents/design-reviewer.md +8 -8
- package/spec-runner/templates/.claude/agents/impact-analyzer.md +35 -11
- package/spec-runner/templates/.claude/rules/coding.md +11 -0
- package/spec-runner/templates/.claude/rules/design-docs.md +33 -16
- package/spec-runner/templates/.claude/rules/harness-formats.md +90 -0
- package/spec-runner/templates/.claude/settings.json +15 -0
- package/spec-runner/templates/.claude/skills/architecture-definition/SKILL.md +3 -3
- package/spec-runner/templates/.claude/skills/architecture-skill-development/SKILL.md +12 -7
- package/spec-runner/templates/.claude/skills/design-change/SKILL.md +13 -12
- package/spec-runner/templates/.claude/skills/docs-driven-seed/SKILL.md +140 -0
- package/spec-runner/templates/.claude/skills/docs-driven-seed/templates/03_/350/251/263/347/264/260/350/250/255/350/250/210/01_/343/203/211/343/203/241/343/202/244/343/203/263/{/343/203/211/343/203/241/343/202/244/343/203/263/345/220/215}.md +39 -0
- package/spec-runner/templates/.claude/skills/docs-driven-seed/templates/03_/350/251/263/347/264/260/350/250/255/350/250/210/02_/343/203/246/343/203/274/343/202/271/343/202/261/343/203/274/343/202/271/UC-{/346/227/245/346/234/254/350/252/236/345/220/215}.md +55 -0
- package/spec-runner/templates/.claude/skills/existing-project-to-docs/SKILL.md +12 -9
- package/spec-runner/templates/.claude/skills/harness-engineering/SKILL.md +4 -0
- package/spec-runner/templates/.claude/skills/test-driven-development/SKILL.md +104 -7
- package/spec-runner/templates/.github/agents/design-reviewer.agent.md +8 -8
- package/spec-runner/templates/.github/agents/impact-analyzer.agent.md +35 -11
- package/spec-runner/templates/.github/instructions/coding.instructions.md +11 -0
- package/spec-runner/templates/.github/instructions/design-docs.instructions.md +33 -16
- package/spec-runner/templates/.github/instructions/harness-formats.instructions.md +84 -0
- package/spec-runner/templates/.github/skills/architecture-definition/SKILL.md +3 -3
- package/spec-runner/templates/.github/skills/architecture-skill-development/SKILL.md +12 -7
- package/spec-runner/templates/.github/skills/design-change/SKILL.md +13 -12
- package/spec-runner/templates/.github/skills/docs-driven-seed/SKILL.md +140 -0
- package/spec-runner/templates/.github/skills/docs-driven-seed/templates/03_/350/251/263/347/264/260/350/250/255/350/250/210/01_/343/203/211/343/203/241/343/202/244/343/203/263/{/343/203/211/343/203/241/343/202/244/343/203/263/345/220/215}.md +39 -0
- package/spec-runner/templates/.github/skills/docs-driven-seed/templates/03_/350/251/263/347/264/260/350/250/255/350/250/210/02_/343/203/246/343/203/274/343/202/271/343/202/261/343/203/274/343/202/271/UC-{/346/227/245/346/234/254/350/252/236/345/220/215}.md +55 -0
- package/spec-runner/templates/.github/skills/existing-project-to-docs/SKILL.md +12 -9
- package/spec-runner/templates/.github/skills/harness-engineering/SKILL.md +4 -0
- package/spec-runner/templates/.github/skills/test-driven-development/SKILL.md +104 -7
- package/spec-runner/templates/.spec-runner/scripts/scan.js +156 -0
- package/spec-runner/templates/.claude/skills/plugin-development/SKILL.md +0 -173
- package/spec-runner/templates/.claude/skills/plugin-development/templates/01_/350/246/201/344/273/266/345/256/232/347/276/251//346/246/202/350/246/201/343/203/206/343/203/263/343/203/227/343/203/254/343/203/274/343/203/210.md +0 -88
- package/spec-runner/templates/.claude/skills/plugin-development/templates/02_/346/246/202/350/246/201/350/250/255/350/250/210/90_ADR/ADR/343/203/206/343/203/263/343/203/227/343/203/254/343/203/274/343/203/210.md +0 -81
- package/spec-runner/templates/.claude/skills/plugin-development/templates/02_/346/246/202/350/246/201/350/250/255/350/250/210//343/202/267/343/202/271/343/203/206/343/203/240/345/205/250/344/275/223/344/277/257/347/236/260/343/203/206/343/203/263/343/203/227/343/203/254/343/203/274/343/203/210.md +0 -80
- package/spec-runner/templates/.claude/skills/plugin-development/templates/02_/346/246/202/350/246/201/350/250/255/350/250/210//343/203/246/343/203/274/343/202/271/343/202/261/343/203/274/343/202/271/344/270/200/350/246/247/343/203/206/343/203/263/343/203/227/343/203/254/343/203/274/343/203/210.md +0 -57
- package/spec-runner/templates/.claude/skills/plugin-development/templates/03_/350/251/263/347/264/260/350/250/255/350/250/210/infrastructure/aws.md +0 -53
- package/spec-runner/templates/.claude/skills/plugin-development/templates/03_/350/251/263/347/264/260/350/250/255/350/250/210/infrastructure/database.md +0 -54
- package/spec-runner/templates/.claude/skills/plugin-development/templates/03_/350/251/263/347/264/260/350/250/255/350/250/210/infrastructure/schema.dbml +0 -25
- package/spec-runner/templates/.claude/skills/plugin-development/templates/03_/350/251/263/347/264/260/350/250/255/350/250/210/infrastructure/sequence//343/202/267/343/203/274/343/202/261/343/203/263/343/202/271/345/233/263/343/203/206/343/203/263/343/203/227/343/203/254/343/203/274/343/203/210.md +0 -28
- package/spec-runner/templates/.claude/skills/plugin-development/templates/03_/350/251/263/347/264/260/350/250/255/350/250/210/src/agents/{agent_name}/agent.md +0 -56
- package/spec-runner/templates/.claude/skills/plugin-development/templates/03_/350/251/263/347/264/260/350/250/255/350/250/210/src/agents/{agent_name}/config.md +0 -47
- package/spec-runner/templates/.claude/skills/plugin-development/templates/03_/350/251/263/347/264/260/350/250/255/350/250/210/src/agents/{agent_name}/domain.md +0 -67
- package/spec-runner/templates/.claude/skills/plugin-development/templates/03_/350/251/263/347/264/260/350/250/255/350/250/210/src/agents/{agent_name}/prompts.md +0 -72
- package/spec-runner/templates/.claude/skills/plugin-development/templates/03_/350/251/263/347/264/260/350/250/255/350/250/210/src/plugins/skills/{skill_name}/skill.md +0 -53
- package/spec-runner/templates/.claude/skills/plugin-development/templates/03_/350/251/263/347/264/260/350/250/255/350/250/210/src/plugins/tools/{tool_name}/tool.md +0 -51
- package/spec-runner/templates/.github/skills/plugin-development/SKILL.md +0 -173
- package/spec-runner/templates/.github/skills/plugin-development/templates/01_/350/246/201/344/273/266/345/256/232/347/276/251//346/246/202/350/246/201/343/203/206/343/203/263/343/203/227/343/203/254/343/203/274/343/203/210.md +0 -88
- package/spec-runner/templates/.github/skills/plugin-development/templates/02_/346/246/202/350/246/201/350/250/255/350/250/210/90_ADR/ADR/343/203/206/343/203/263/343/203/227/343/203/254/343/203/274/343/203/210.md +0 -81
- package/spec-runner/templates/.github/skills/plugin-development/templates/02_/346/246/202/350/246/201/350/250/255/350/250/210//343/202/267/343/202/271/343/203/206/343/203/240/345/205/250/344/275/223/344/277/257/347/236/260/343/203/206/343/203/263/343/203/227/343/203/254/343/203/274/343/203/210.md +0 -80
- package/spec-runner/templates/.github/skills/plugin-development/templates/02_/346/246/202/350/246/201/350/250/255/350/250/210//343/203/246/343/203/274/343/202/271/343/202/261/343/203/274/343/202/271/344/270/200/350/246/247/343/203/206/343/203/263/343/203/227/343/203/254/343/203/274/343/203/210.md +0 -57
- package/spec-runner/templates/.github/skills/plugin-development/templates/03_/350/251/263/347/264/260/350/250/255/350/250/210/infrastructure/aws.md +0 -53
- package/spec-runner/templates/.github/skills/plugin-development/templates/03_/350/251/263/347/264/260/350/250/255/350/250/210/infrastructure/database.md +0 -54
- package/spec-runner/templates/.github/skills/plugin-development/templates/03_/350/251/263/347/264/260/350/250/255/350/250/210/infrastructure/schema.dbml +0 -25
- package/spec-runner/templates/.github/skills/plugin-development/templates/03_/350/251/263/347/264/260/350/250/255/350/250/210/infrastructure/sequence//343/202/267/343/203/274/343/202/261/343/203/263/343/202/271/345/233/263/343/203/206/343/203/263/343/203/227/343/203/254/343/203/274/343/203/210.md +0 -28
- package/spec-runner/templates/.github/skills/plugin-development/templates/03_/350/251/263/347/264/260/350/250/255/350/250/210/src/agents/{agent_name}/agent.md +0 -56
- package/spec-runner/templates/.github/skills/plugin-development/templates/03_/350/251/263/347/264/260/350/250/255/350/250/210/src/agents/{agent_name}/config.md +0 -47
- package/spec-runner/templates/.github/skills/plugin-development/templates/03_/350/251/263/347/264/260/350/250/255/350/250/210/src/agents/{agent_name}/domain.md +0 -67
- package/spec-runner/templates/.github/skills/plugin-development/templates/03_/350/251/263/347/264/260/350/250/255/350/250/210/src/agents/{agent_name}/prompts.md +0 -72
- package/spec-runner/templates/.github/skills/plugin-development/templates/03_/350/251/263/347/264/260/350/250/255/350/250/210/src/plugins/skills/{skill_name}/skill.md +0 -53
- package/spec-runner/templates/.github/skills/plugin-development/templates/03_/350/251/263/347/264/260/350/250/255/350/250/210/src/plugins/tools/{tool_name}/tool.md +0 -51
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
spec_runner:
|
|
3
|
-
node_id: detail.src.agents.{agent_name}.prompts
|
|
4
|
-
kind: detailed_design
|
|
5
|
-
depends_on:
|
|
6
|
-
- overview.system_context
|
|
7
|
-
- detail.src.agents.{agent_name}.agent
|
|
8
|
-
maps_to:
|
|
9
|
-
- src/agents/{agent_name}/prompts.py
|
|
10
|
-
- tests/agents/{agent_name}/test_prompts.py
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
# `src/agents/{agent_name}/prompts.py` 詳細設計
|
|
14
|
-
|
|
15
|
-
## システムプロンプト
|
|
16
|
-
|
|
17
|
-
### 役割定義
|
|
18
|
-
|
|
19
|
-
```text
|
|
20
|
-
あなたは{役割}です。
|
|
21
|
-
|
|
22
|
-
【責務】
|
|
23
|
-
- {責務1}
|
|
24
|
-
- {責務2}
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
### 出力形式
|
|
28
|
-
|
|
29
|
-
```text
|
|
30
|
-
{出力形式の例}
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
## タスク別プロンプト
|
|
34
|
-
|
|
35
|
-
### タスク: {タスク名}
|
|
36
|
-
|
|
37
|
-
**用途**: {タスクの説明}
|
|
38
|
-
|
|
39
|
-
```text
|
|
40
|
-
{タスク固有の指示}
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
## Few-shot 例
|
|
44
|
-
|
|
45
|
-
### 例1
|
|
46
|
-
|
|
47
|
-
入力:
|
|
48
|
-
|
|
49
|
-
```text
|
|
50
|
-
{入力例1}
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
出力:
|
|
54
|
-
|
|
55
|
-
```text
|
|
56
|
-
{出力例1}
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
## ガードレール
|
|
60
|
-
|
|
61
|
-
| 項目 | 内容 |
|
|
62
|
-
|------|------|
|
|
63
|
-
| 禁止事項 | {禁止事項} |
|
|
64
|
-
| 失敗時の扱い | {扱い} |
|
|
65
|
-
| 再試行条件 | {条件} |
|
|
66
|
-
|
|
67
|
-
## プロンプト戦略
|
|
68
|
-
|
|
69
|
-
| 戦略 | 適用箇所 | 理由 |
|
|
70
|
-
|------|---------|------|
|
|
71
|
-
| 出力形式固定 | {適用箇所} | {理由} |
|
|
72
|
-
| Few-shot | {適用箇所} | {理由} |
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
spec_runner:
|
|
3
|
-
node_id: detail.src.plugins.skills.{skill_name}.skill
|
|
4
|
-
kind: detailed_design
|
|
5
|
-
depends_on:
|
|
6
|
-
- overview.system_context
|
|
7
|
-
maps_to:
|
|
8
|
-
- src/plugins/skills/{skill_name}/skill.py
|
|
9
|
-
- tests/plugins/skills/{skill_name}/test_skill.py
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
# `src/plugins/skills/{skill_name}/skill.py` 詳細設計
|
|
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
|
-
```text
|
|
39
|
-
あなたは{専門家の役割}です。
|
|
40
|
-
{タスクの説明}
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
## エラーケース
|
|
44
|
-
|
|
45
|
-
| エラーケース | 発生条件 | 対応方法 |
|
|
46
|
-
|------------|---------|---------|
|
|
47
|
-
| **{エラーケース}** | {発生条件} | {対応方法} |
|
|
48
|
-
|
|
49
|
-
## テスト観点
|
|
50
|
-
|
|
51
|
-
- 判定ロジックの正常系
|
|
52
|
-
- 閾値・境界条件
|
|
53
|
-
- 入力不足・異常値
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
spec_runner:
|
|
3
|
-
node_id: detail.src.plugins.tools.{tool_name}.tool
|
|
4
|
-
kind: detailed_design
|
|
5
|
-
depends_on:
|
|
6
|
-
- overview.system_context
|
|
7
|
-
maps_to:
|
|
8
|
-
- src/plugins/tools/{tool_name}/tool.py
|
|
9
|
-
- tests/plugins/tools/{tool_name}/test_tool.py
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
# `src/plugins/tools/{tool_name}/tool.py` 詳細設計
|
|
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
|
-
1. {処理ステップ1}
|
|
38
|
-
2. {処理ステップ2}
|
|
39
|
-
3. {処理ステップ3}
|
|
40
|
-
|
|
41
|
-
## エラーケース
|
|
42
|
-
|
|
43
|
-
| エラーケース | 発生条件 | 対応方法 |
|
|
44
|
-
|------------|---------|---------|
|
|
45
|
-
| **{エラーケース}** | {発生条件} | {対応方法} |
|
|
46
|
-
|
|
47
|
-
## テスト観点
|
|
48
|
-
|
|
49
|
-
- 正常系の入出力
|
|
50
|
-
- エラー時の戻り値または例外
|
|
51
|
-
- 外部依存の失敗時の扱い
|