Skip to content

[add] CLAUDE.md (working guidelines for Claude Code)#69

Merged
sksat merged 1 commit into
masterfrom
docs/claude-md
Jun 27, 2026
Merged

[add] CLAUDE.md (working guidelines for Claude Code)#69
sksat merged 1 commit into
masterfrom
docs/claude-md

Conversation

@sksat

@sksat sksat commented Jun 27, 2026

Copy link
Copy Markdown
Owner

概要

Claude Code(将来のセッション)向けの作業指針 CLAUDE.md を追加します。メタ指針を優先し、自明なビルドコマンドや読めば分かる/変わりやすいコード構成は書きません。

内容

  • 作業方針(メタ): 設計・難しいデバッグは smart-friend skill にセカンドオピニオンを求める → TDD(red→green、物理量で検証)→ 主張前に CI/テストで確認 → 細粒度 PR・merge-commit のみ・EN題/JP本文 → 作図は gnuplot / Python は uv。
  • 恒久的な落とし穴: Eigen auto の use-after-scope、quaternion スカラ先頭 vs Eigen coeffs()、TOML の int/float 配列。
  • オリエンテーション: 「物理は do_step() に集約、RK4 が Object を積分」の一言のみ(ファイル列挙はしない)。

方針

  • 自明/易変な内容(ビルドコマンド、コンポーネント逐次解説)は意図的に除外。

Meta-first guidance for future Claude Code sessions: consult the smart-friend
skill for a second opinion on design/debugging, work test-first, verify before
claiming, the PR/merge conventions, and the durable non-obvious pitfalls (Eigen
auto use-after-scope, quaternion scalar-first vs Eigen coeffs, TOML int/float
arrays). Deliberately omits obvious build commands and easily-discoverable,
fast-changing code structure; keeps a short "physics lives in do_step()"
orientation instead.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LiKBVgTqjZV84zcMVY3w46
@sksat sksat self-assigned this Jun 27, 2026
@sksat sksat merged commit eb940aa into master Jun 27, 2026
6 checks passed
@sksat sksat deleted the docs/claude-md branch June 27, 2026 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant