claude-memory/feedback_style.md

1.7 KiB
Raw Blame History

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 fillprotocol=http, host=100.76.7.3:3000で取得できる。