Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/development/manual-html-operations.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ scripts/automation/run_pipeline.sh docs/manuals/_zips/45th_企画マニュアル

判断が必要な2箇所で確認を挟む。①の後に「マニュアル名がタスク一覧M列と一致しているか」、③の後に「内容を見て問題ないか」。どちらも間違えたまま進むと後で静かに失敗する。

- `--prompt` / `--model` で②の設定を変えられる(既定は `card-strict` / `claude-opus-4-7`)
- `--prompt` / `--model` で②の設定を変えられる(既定は `card-strict` / `claude-opus-5-5`)
- ④のトークンは `MANUAL_UPLOAD_TOKEN` を設定しておけば対話入力なしで進む。**`--yes` は確認を飛ばすだけでトークン入力は省略しないため、無人実行するならこの環境変数の設定が前提になる**
- ⑤(シフトスプシへの紐付け)は対象外。最後に④の出力(対応表に貼る行)が表示されるので、それを「⑤ タスクに紐づける」の手順1で貼る

Expand Down Expand Up @@ -119,7 +119,7 @@ uv sync --project scripts/claude-slide
変換を実行する。`card-strict` は本文を一字一句変えないプロンプトで、元Docが執行部と部門長の間で調整済みであることを前提にしている。

```bash
uv run --project scripts/claude-slide python scripts/claude-slide/generate_slide.py --prompt card-strict --model claude-opus-4-7 docs/manuals/45th_企画マニュアル_縁日
uv run --project scripts/claude-slide python scripts/claude-slide/generate_slide.py --prompt card-strict --model claude-opus-5-5 docs/manuals/45th_企画マニュアル_縁日
```

同じディレクトリに `slide_claude.card-strict.html` が出る。1本あたり3〜6分かかる。
Expand Down
2 changes: 1 addition & 1 deletion scripts/automation/prepare_manual.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def main() -> int:
print(" 1. 上の「名前」がタスク一覧M列の値と完全に一致するか確認する")
print(" (末尾スペース・全角アンダースコアなどで静かに外れる)")
print(f" 2. uv run --project scripts/claude-slide python scripts/claude-slide/generate_slide.py \\")
print(f" --prompt card-strict --model claude-opus-4-7 docs/manuals/{name}")
print(f" --prompt card-strict --model claude-opus-5-5 docs/manuals/{name}")
print("=== 完了 ===")
return 0

Expand Down
4 changes: 2 additions & 2 deletions scripts/automation/run_pipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# そのまま表示する。
#
# 使い方:
# scripts/automation/run_pipeline.sh <zipのパス> --id <公開ID> --doc-url <ドキュメントURL> [--prompt card-strict] [--model claude-opus-4-7]
# scripts/automation/run_pipeline.sh <zipのパス> --id <公開ID> --doc-url <ドキュメントURL> [--prompt card-strict] [--model claude-opus-5-5]
# scripts/automation/run_pipeline.sh --manual-dir <既存のdocs/manuals/{名前}/> --id <公開ID> --doc-url <ドキュメントURL> # 再生成(①スキップ)
#
# 例:
Expand All @@ -28,7 +28,7 @@
set -euo pipefail

PROMPT_VARIANT="card-strict"
MODEL="claude-opus-4-7"
MODEL="claude-opus-5-5"
MANUAL_ID=""
DOC_URL=""
ZIP_PATH=""
Expand Down
2 changes: 1 addition & 1 deletion scripts/claude-slide/generate_slide.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def main() -> int:
parser.add_argument(
"--model",
default=None,
help="使用するモデル(例: claude-opus-4-7, claude-sonnet-4-6)。未指定なら Claude Code のデフォルト",
help="使用するモデル(例: claude-opus-5-5, claude-sonnet-5-5)。未指定なら Claude Code のデフォルト",
Comment thread
coderabbitai[bot] marked this conversation as resolved.
)
parser.add_argument(
"--embed-only",
Expand Down
Loading