/autopilot:setupfrom autopilot@indiehacker
リポジトリを、Claude Code on the Web で開発・テストできるように整える。フロントエンド (bun・Biome・Playwright・shadcn/ui・Tailwind CSS) と Python (uv・ruff・ty・deptry・import-linter・pytest) の技術スタックへの移行、Web で docker compose を起動するための compose ファイルと Dockerfile の修正、作業の終わり・commit 前・push 前の検査をリポジトリに入れること、その検査 (Gitleaks・Semgrep・Trivy) を通すための既存のシークレット・脆弱性の修正を、ユーザーに確かめながら行う。さらに、リポジトリを調べて聞き取りをし、Issue からマージまでの自動の流れ (autopilot: ラベル・Project・設定・CODEOWNERS・無ければ Claude のレビューと CI・GitHub の Slack アプリ・ルールセット・ルーティン) を入れる。最後に PR を作る。使い方 → /autopilot:setup
Ships in autopilot@indiehacker. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
最初に、環境変数 CLAUDE_CODE_REMOTE を確かめてください。
if [ "${CLAUDE_CODE_REMOTE:-}" = "true" ]; then echo remote; fi
remote と出たら、クラウドのセッション (Claude Code on the Web) です。何も変えずに、ここで止まります。ユーザーに、次を伝えてください。
/autopilot:setup を動かしてください次の 8 つの手順を、この順に行ってください。各手順の中身は、同じフォルダのファイルに書いてあります。始める前に、どの手順を行うかをユーザーに伝えてください。
| 順 | 手順 | ファイル | 行う条件 |
|---|---|---|---|
| 1 | 調べる | survey.md | 毎回 |
| 2 | 聞いて、提案する | interview.md | 毎回 |
| 3 | フロントエンドの技術スタックの移行 | frontend.md | git ls-files -- '*package.json' が出て、2 で移行を選んだ |
| 4 | Python の技術スタックの移行 | python.md | git ls-files -- '*pyproject.toml' '*requirements*.txt' '*setup.py' が出て、2 で移行を選んだ |
| 5 | Web で Docker を起動できるようにする | cloud.md | 毎回 |
| 6 | 検査を入れる | checks.md | 毎回 |
| 7 | 既存のシークレット・脆弱性を直す | security.md | 毎回 |
| 8 | autopilot を入れる | autopilot.md | 毎回 |
docker compose up --build が、移行した後の lock ファイルでビルドするためです.github/autopilot.yml を読みますautopilot.md の 6 まで終わったら、PR を作るかユーザーに聞いてください。作ると答えたら、変更を commit して PR を 1 つ作ります。本文には次を書きます。
PR を作ったら、マージを頼み、マージされるのを待ちます。マージされたら、autopilot.md の 7・8 に進みます。
マージすると、以後の commit・push は、lefthook の検査が動き、新しく入った指摘だけで止まるようになります。
autopilot.md (opens in a new tab)checks.md (opens in a new tab)cloud.md (opens in a new tab)frontend.md (opens in a new tab)interview.md (opens in a new tab)python.md (opens in a new tab)security.md (opens in a new tab)survey.md (opens in a new tab)templates/CODEOWNERS (opens in a new tab)templates/autopilot.yml (opens in a new tab)templates/claude-code-review-workflow.yml (opens in a new tab)templates/claude-settings.json (opens in a new tab)templates/lefthook.yml (opens in a new tab)templates/pr-body.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
3 skills in this plugin
npx claudepluginhub theindiehacker/autopilot-plugin --plugin autopilot