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