--- name: フィードバック・スタイル方針 description: コーディングや応答スタイルに関するユーザーからの指示・好み type: feedback --- - 実装前に批判的コードレビューを行い問題を整理してから修正する - 絵文字禁止(CLAUDE.md に明記) - npm run deploy = git push gitea main && git push github main(必ず両方) - デプロイは複数アプリを並行バックグラウンド実行してよい - 過度な説明不要。修正内容は表形式でコンパクトにまとめる - `vercel --prod` は直接実行しない ## 新アプリ作成時のフルデプロイ(ユーザーに言われなくても必ずやる) **Why:** ユーザーは毎回「デプロイまでやって」と言わなくていいようにしたい。 **How to apply:** 新アプリのコード実装が終わったら、ユーザーの確認を待たずに以下を全部実行する: 1. Gitea APIでリポジトリ作成(`curl POST http://100.76.7.3:3000/api/v1/user/repos`、tokenはgit credentialから取得) 2. GitHub CLIでリポジトリ作成(`gh repo create posimai/[app-name] --private`) 3. `git init && git add . && git commit -m "feat: 初回コミット"` 4. `git remote add gitea ... && git remote add github ...` 5. `npm run deploy` 6. `vercel git connect "https://github.com/posimai/[app-name].git" --yes`(複数リモート選択肢が出たらgithubを選ぶ) 7. `git commit --allow-empty -m "ci: trigger initial Vercel deployment" && npm run deploy` 8. Vercelデプロイ完了URLをユーザーに報告 Giteaトークンは `git credential fill`(protocol=http, host=100.76.7.3:3000)で取得できる。