ワンクリックで
new-project
Use when creating a new translation project from template and preparing repository metadata.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when creating a new translation project from template and preparing repository metadata.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when translating game content that requires cost-optimized model routing, linear workflow efficiency, and immediate formatting to avoid multi-loop review cycles
Use when high-quality translation is needed with multi-agent review and quality gates before overwriting source files.
Use when a markdown draft or docs page must be checked for structural validity and documentation style compliance before writeback or publishing.
Use when high-quality translation is needed with multi-agent review and quality gates before overwriting source files.
Use when extracted rulebook markdown needs to be split into semantic documentation files and navigation. Trigger this skill from `init-doc`, future append/add-document flows, or whenever regenerated `_pages.md` source invalidates the existing chapter map. Do not use this skill for temporary translation chunking; that belongs to a separate draft-only translation workflow.
Use when performing final quality checks before publishing the documentation site. Use when all translation is complete and you need to verify titles/descriptions are translated, check for misplaced or erroneous content, and run page-reference link checks.
| name | new-project |
| description | Use when creating a new translation project from template and preparing repository metadata. |
| user-invocable | true |
| disable-model-invocation | true |
Create a new game documentation project from template, configure repository metadata, and prepare source PDF for initialization.
Core principle: Ask once, create deterministic project state, verify immediately, then hand off.
Before ANY action, create tasks using TaskCreate:
Confirm:
gh is installed and authenticatedgit is configuredIf any check fails, stop and report exact remediation.
Verification: gh auth status exits 0; git config user.name non-empty; PDF exists.
Collect via AskUserQuestion:
專案路徑請問新專案要建立在哪個路徑?遊戲名稱請問這款遊戲的繁體中文名稱是什麼?專案代號請問資料夾與 GitHub repo 要使用哪個名稱?儲存庫類型GitHub 儲存庫要設為公開還是私有?Verification: All four inputs collected and confirmed by user.
TEMPLATE_ROOT="<current_workspace_root>"
CLONE_SCRIPT="$TEMPLATE_ROOT/gh-clone.sh"
TARGET_DIR="<user_path>/<project_name>"
PDF_PATH="<pdf_path>"
GAME_TITLE_EN="<derived_from_pdf_filename>"
GAME_TITLE_ZH="<user_input>"
REPO_VISIBILITY="<private_or_public>"
REPO_URL="https://github.com/<username>/<project_name>"
Verification: All variables resolved to concrete values; no placeholders remain.
Preferred path:
cd <user_path>
if [ "$REPO_VISIBILITY" = "public" ]; then
"$CLONE_SCRIPT" <project_name> --public
else
"$CLONE_SCRIPT" <project_name>
fi
Fallback local-copy path:
cp -r "$TEMPLATE_ROOT" <TARGET_DIR>
cd <TARGET_DIR>
rm -rf .git
git init
gh repo create <project_name> --$REPO_VISIBILITY --source=. --remote=origin
git add .
git commit -m "Initial commit from game-doc-template"
git push -u origin main
Verification: git remote -v shows origin; gh repo view accessible.
Copy PDF:
mkdir -p data/pdfs
cp "<pdf_path>" data/pdfs/
Update:
docs/astro.config.mjs title and (if public) GitHub social linkstyle-decisions.json via scriptsCLAUDE.md project descriptionUse:
uv run python scripts/style_decisions.py init
uv run python scripts/style_decisions.py set-repository \
--slug "<project_name>" \
--visibility "<private_or_public>" \
--url "<REPO_URL>" \
--show-on-homepage <true_or_false>
uv run python scripts/validate_style_decisions.py
Verification: PDF exists in data/pdfs/; config files updated.
Verify:
ls -la
ls -la data/pdfs/
ls -la docs/
git remote -v
Report in Traditional Chinese:
✓ 專案已建立:<project_name>
✓ 遊戲名稱:<GAME_TITLE_EN>(<GAME_TITLE_ZH>)
✓ 專案路徑:<TARGET_DIR>
✓ Repo 類型:<REPO_VISIBILITY>
✓ GitHub repo:https://github.com/<username>/<project_name>
✓ PDF 已複製到:data/pdfs/<filename>
下一步:
1. cd <TARGET_DIR>
2. 執行 /init-doc
Verification: All prior verifications pass; report displayed to user.
digraph new_project {
rankdir=TB;
preconditions [label="Step 1:\nValidate\npreconditions", shape=box];
inputs [label="Step 2:\nCollect user\ninputs", shape=box];
variables [label="Step 3:\nResolve\nvariables", shape=box];
repo [label="Step 4:\nCreate\nrepository", shape=box];
pdf_config [label="Step 5:\nCopy PDF &\napply config", shape=box];
verify [label="Step 6:\nVerify &\nreport", shape=box];
preconditions -> inputs;
inputs -> variables;
variables -> repo;
repo -> pdf_config;
pdf_config -> verify;
}
Stop when:
Return to input/variable steps when:
| Thought | Reality |
|---|---|
| "Create repo without confirming user decisions" | All required inputs must be collected and confirmed first. |
| "Expose private repo URL in public homepage links" | Private repo URLs must never appear in public-facing config. |
| "Skip verification before reporting success" | Every step has a verification gate. Never skip. |
Continue with /init-doc.
/new-project ~/Downloads/Blades-in-the-Dark.pdf
/new-project ~/Downloads/game.pdf my-game-docs