with one click
init-typescript-project
TypeScript プロジェクトの初期セットアップを自動化する
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
TypeScript プロジェクトの初期セットアップを自動化する
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | init-typescript-project |
| description | TypeScript プロジェクトの初期セットアップを自動化する |
| disable-model-invocation | true |
TypeScript プロジェクトの初期セットアップを自動化するスキルです。
以下を実行し、必要なコマンドが利用可能かチェックする。失敗した場合はエラーメッセージを表示して処理を中断する。
gh auth status
node --version
以下の項目をまとめて質問し、回答を得てから次のフェーズに進む。
mkdir {PROJECT_NAME}
cd {PROJECT_NAME}
npm init -y
生成された package.json に以下を追記・修正する:
"type": "module" を追加scripts に以下を設定:
{
"test": "vitest run --passWithNoTests",
"typecheck": "tsc --noEmit",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"ci": "npm run lint && npm run typecheck && npm test"
}
npm install -D typescript @biomejs/biome vitest @types/node
mkdir -p src test
npx biome init
生成された biome.json に以下の設定を加筆・修正する:
vcs: { "enabled": true, "clientKind": "git", "useIgnoreFile": true }files.includes: ["**", "!!**/dist"]formatter: { "indentStyle": "space", "indentWidth": 2, "lineWidth": 120 }javascript.formatter: { "quoteStyle": "double" }assist.actions.source.organizeImports: "on"このスキルが配置されているディレクトリ(skills/init-typescript-project/)以下のテンプレートファイルをプロジェクトにコピーし、以下のプレースホルダーを Phase 0 の回答で置換する。
| プレースホルダー | 置換値 |
|---|---|
{{NODE_VERSION}} | Phase 0 で入力した対象 Node.js バージョン |
| テンプレート | 配置先 |
|---|---|
tsconfig.json.tmpl | tsconfig.json |
vitest.config.ts.tmpl | vitest.config.ts |
gitignore.tmpl | .gitignore |
npmrc.tmpl | .npmrc |
vscode/settings.json | .vscode/settings.json |
vscode/extensions.json | .vscode/extensions.json |
workflows/ci.yml | .github/workflows/ci.yml |
workflows/auto-merge.yml | .github/workflows/auto-merge.yml |
workflows/dependabot-auto-label.yml | .github/workflows/dependabot-auto-label.yml |
workflows/actionlint.yml | .github/workflows/actionlint.yml |
workflows/biome-migrate.yml | .github/workflows/biome-migrate.yml |
dependabot.yml | .github/dependabot.yml |
設定ファイルの配置後、setup-dev-workflow-hooks スキルを実行して開発ワークフロー向け hooks をセットアップする。
このスキルが配置されているディレクトリ(skills/init-typescript-project/)の setup-github.sh を実行する。
bash {SKILL_DIR}/setup-github.sh --project-name {PROJECT_NAME} --visibility {VISIBILITY}
実行完了後に以下をチェックリスト形式で出力する。
Ruby プロジェクトの初期セットアップを自動化する
言語非依存の汎用 GitHub Actions / Dependabot 設定とブランチ保護をセットアップする
開発ワークフロー向け Claude Code hooks をセットアップする
Ruby プロジェクトに Claude Code hooks をセットアップする