claude-ml-template
AGENTS.md1 starsChanged 2 months agoMITView on GitHub
- 形式: <type>: <要約> - type: fix / feat / refactor / test / docs - /ml-pipeline の実行中だけ <type>(step N): <要約> とし、N には .claude/plans/ の計画ファイルのステップ番号を入れる (例: fix(step 2): interpolation formulaの符号を修正)。 計画ファイルに紐づかない単独の作業では (step N) を付けない - 1つの論理的変更ごとに1コミット - git add は作業ディレクトリにパスを限定する - テストを追加したときは、修正前の実装で実行し FAIL することを確認してから実装する - 仕様・外部から見える挙動・不可逆な選択について不明点があるときは、実装せず 質問を出力して終了する - 保護パス(.claude/hooks/・settings.json 等)には触れない - 完了の定義: 指示された変更のみを行い、検証コマンドが通ること
In this repository27 other files it gives its agents.
- adrSkill
- architecture-checkSkill
- brainstormSkill
- branch-namingSkill
- codex-delegateSkill
- config-explainSkill
- config-setSkill
- cross-reviewSkill
- design-interviewSkill
- diagnosing-bugsSkill
- fix-ciSkill
- handoffSkill
- leakage-checkSkill
- literature-reviewSkill
- mlflow-logSkill
- multi-seedSkill
- mutation-testSkill
- paper-writingSkill
- pre-mortemSkill
- property-testSkill
- python-standardsSkill
- refactor-scoutSkill
- regression-suiteSkill
- retrospectiveSkill
- security-reviewSkill
- spec-checklistSkill
- tddSkill
The file
Files
AGENTS.md
<!-- claude-ml-template により自動生成。編集は agents/shared/ で行い claude-update で再生成 -->コーディング規約(共通)
コメント
- コメントには「なぜ(why)」を書く。「何をしているか(what)」はコードに書かない
- 既存のロジック説明コメントを勝手に削除しない
最小diff
- 修正対象のロジック以外を書き換えない
- バグ修正に周辺の掃除は不要
- 一回きりの操作にヘルパー関数を作らない
Python
- 型ヒント: 公開する関数には必須。
list[str],X | None構文を使う - docstring: Google スタイル。公開する関数・クラスに必ず付ける
- import 順序: 標準ライブラリ → サードパーティ → プロジェクト内
コミット規約(共通)
- 形式:
<type>: <要約> - type: fix / feat / refactor / test / docs
/ml-pipelineの実行中だけ<type>(step N): <要約>とし、N には.claude/plans/の計画ファイルのステップ番号を入れる (例:fix(step 2): interpolation formulaの符号を修正)。 計画ファイルに紐づかない単独の作業では(step N)を付けない- 1つの論理的変更ごとに1コミット
git addは作業ディレクトリにパスを限定する
エージェント実行の共通契約(共通)
共通契約
- テストを追加したときは、修正前の実装で実行し FAIL することを確認してから実装する
- 仕様・外部から見える挙動・不可逆な選択について不明点があるときは、実装せず 質問を出力して終了する
- 保護パス(
.claude/hooks/・settings.json等)には触れない - 完了の定義: 指示された変更のみを行い、検証コマンドが通ること
秘密情報の安全な取り扱い(共通)
- コマンドに生のAPIキー・トークン・パスワードを書かない
- 環境変数や .gitignore 対象の設定ファイルで管理する
- コード内にハードコードしない
- ログ、コミットメッセージ、PR説明文にも含めない
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

