Skip to content

Commit 4364723

Browse files
gn-t-kclaude
andcommitted
docs: ドキュメントを英語に翻訳
以下のドキュメントを英語に翻訳しました: - docs/project.md - docs/system-architecture.md - .claude/commands/commit.md 国際的な利用を考慮し、プロジェクトドキュメントを英語化しました。 内容は日本語版と同じです。 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent b3182a5 commit 4364723

File tree

3 files changed

+121
-121
lines changed

3 files changed

+121
-121
lines changed

.claude/commands/commit.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
---
2-
description: ステージ済みとワークツリーの diff を受け取り、論理的に分割したコミットとブランチの提案を行う。
2+
description: Receives staged and working tree diffs, then suggests logically divided commits and branch structures.
33
---
44

5-
# commitカスタムコマンド
5+
# commit Custom Command
66

7-
あなたは熟練のGitコンサルタントです。以下の前提を守りつつ、変更を最適なコミットに分割し、分かりやすいメッセージとブランチ構成を提案してください。
7+
You are an experienced Git consultant. Follow the principles below to divide changes into optimal commits and suggest clear messages and branch structures.
88

9-
## 前提
9+
## Principles
1010

11-
- コミットは単一目的で分割する
12-
- コミットメッセージには「どういう理由で、どんな変更を加えたのか」を日本語で記述する
13-
- 変更サイズが大きい/異なる機能が混在する場合、複数ブランチを提案する
14-
- ビルドを壊さないコミット粒度にする
15-
- 例外や曖昧な点があれば必ず質問する
11+
- Divide commits by single purpose
12+
- Write commit messages in Japanese describing "why and what changes were made"
13+
- Suggest multiple branches when changes are large or contain mixed functionality
14+
- Maintain commit granularity that doesn't break builds
15+
- Always ask questions about exceptions or ambiguities
1616

17-
## 重要な注意事項
17+
## Important Notes
1818

19-
- **異なる機能・目的の変更は必ず別ブランチに分離する**
20-
- 例:新機能追加 + 開発ツール改善 → 別々のブランチ
21-
- 例:依存関係更新 + 設定ファイル追加 → 別々のブランチ
22-
- **関連性のない変更は同一コミットに含めない**
23-
- 機能的な関連性がない場合は積極的に分割提案する
24-
- **ブランチ分割の判断基準**
25-
- 変更の目的が異なる
26-
- 影響範囲が独立している
27-
- レビューが別々に行われるべき内容
28-
- プルリクエストの作成を依頼された場合は、`../../.github/pull_request_template.md`を使用することを前提とする
19+
- **Always separate changes with different functions/purposes into different branches**
20+
- Example: New feature + Development tool improvement → Separate branches
21+
- Example: Dependency update + Configuration file addition → Separate branches
22+
- **Never include unrelated changes in the same commit**
23+
- Actively suggest splitting when there's no functional relationship
24+
- **Branch splitting criteria**
25+
- Different purposes of changes
26+
- Independent impact areas
27+
- Content that should be reviewed separately
28+
- When asked to create a pull request, assume the use of @.github/pull_request_template.md

docs/project.md

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,55 @@
1-
# Next Liftの開発プロジェクトについて
1+
# Next Lift Development Project
22

3-
このドキュメントでは、Next Liftシステムの開発プロジェクトの概要について説明します。
3+
This document describes the overview of the Next Lift system development project.
44

5-
## プロジェクト概要
5+
## Project Overview
66

7-
Next Liftは、ウェイトトレーニングの計画と記録を行うシステムで、アプリケーションとしてiOSとWebの2つのプラットフォームを持ちます。次のような強みを持ったシステムを目指します。
7+
Next Lift is a system for planning and recording weight training, with two platforms: iOS and Web applications. We aim to build a system with the following strengths:
88

9-
- トレーニング中の疲労状態でも操作しやすい極限のUX
10-
- 計画的なトレーニングを支援するための統計データ分析機能
11-
- 音声・画像によるデータ入力機能
9+
- Extreme UX that is easy to operate even in a fatigued state during training
10+
- Statistical data analysis features to support planned training
11+
- Data input features using voice and images
1212

13-
## 開発計画
13+
## Development Plan
1414

15-
### Phase 1: インフラ構築
15+
### Phase 1: Infrastructure Setup
1616

17-
- モノレポ環境構築(pnpm workspaces + turborepo
18-
- 認証APIサーバー構築(Hono + Better Auth
19-
- Better Auth設定
20-
- Turso Database設定
21-
- Web/iOS/Turso連携の基盤整備
17+
- Monorepo environment setup (pnpm workspaces + turborepo)
18+
- Authentication API server construction (Hono + Better Auth)
19+
- Better Auth configuration
20+
- Turso Database configuration
21+
- Foundation for Web/iOS/Turso integration
2222

23-
### Phase 2: 基本機能実装
23+
### Phase 2: Basic Feature Implementation
2424

25-
- 認証システム(Apple ID、Google認証)
26-
- 基本的なデータ記録・表示機能
27-
- データ同期機能
25+
- Authentication system (Apple ID, Google authentication)
26+
- Basic data recording and display features
27+
- Data synchronization features
2828

29-
### Phase 3: 機能拡張
29+
### Phase 3: Feature Expansion
3030

31-
- 統計データ分析機能
32-
- トレーニング計画作成機能
33-
- 音声・画像入力機能
31+
- Statistical data analysis features
32+
- Training plan creation features
33+
- Voice and image input features
3434

35-
## 開発方針
35+
## Development Principles
3636

37-
### 基本原則
37+
### Basic Principles
3838

39-
- **協働開発**: ユーザーとClaudeによる設計・実装の協働
40-
- **最新情報の活用**: 常に最新のドキュメントと技術情報をもとに計画・開発を進める
41-
- **疎結合設計**: フレームワーク置き換えを容易にする技術選択
42-
- **継続的改善**: 仕様と実装の反復的改善
39+
- **Collaborative Development**: Collaborative design and implementation between users and Claude
40+
- **Utilize Latest Information**: Always plan and develop based on the latest documentation and technical information
41+
- **Loosely Coupled Design**: Technology choices that make framework replacement easy
42+
- **Continuous Improvement**: Iterative improvement of specifications and implementation
4343

44-
### ドキュメント管理方針
44+
### Documentation Management Policy
4545

46-
- **技術詳細・開発ガイドライン**: CLAUDE.md → .claudeディレクトリに分散
47-
- **プロジェクト概要・機能・ステータス**: README.md
48-
- **定期的セルフレビュー**: 重要な決定後はドキュメントを自動的にレビュー・更新
49-
- **継続性の確認**: 今回だけでなく今後も同様の指示があった場合、ドキュメント化を確認
46+
- **Technical Details and Development Guidelines**: CLAUDE.md → distributed to .claude directory
47+
- **Project Overview, Features, and Status**: README.md
48+
- **Regular Self-Review**: Automatically review and update documentation after important decisions
49+
- **Continuity Confirmation**: Ensure documentation not only for this time but also when similar instructions are given in the future
5050

51-
### 品質管理方針
51+
### Quality Management Policy
5252

53-
- **CI優先**: 手動確認を最小化し、なるべくすべてをCIで自動チェック
54-
- **日本語ファースト**: コミットメッセージ、コメント、ドキュメントは日本語で記述
55-
- **プルリク小分け**: レビューしやすいようにプルリクは可能な限り小分けにする
53+
- **CI Priority**: Minimize manual checks and automate everything possible with CI
54+
- **Japanese First**: Commit messages, comments, and documentation written in Japanese
55+
- **Small Pull Requests**: Keep pull requests as small as possible for easy review

docs/system-architecture.md

Lines changed: 64 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,90 +1,90 @@
1-
# Next Liftのシステムアーキテクチャについて
1+
# Next Lift System Architecture
22

3-
このドキュメントでは、システムアーキテクチャの概要と主要なコンポーネントについて説明します。
3+
This document describes the system architecture overview and major components.
44

5-
## 概要
5+
## Overview
66

7-
Next Liftはウェイトトレーニングの計画と記録を管理できるシステムです。iOSアプリとWebアプリの2つのアプリケーションで構成されています。それぞれのアプリケーションは、次の機能を提供します。
7+
Next Lift is a system for managing weight training plans and records. It consists of two applications: iOS app and Web app. Each application provides the following features:
88

9-
- iOSアプリ
10-
- Googleアカウント・Apple IDを使用した認証
11-
- トレーニング記録のCRUD機能
12-
- ローカルファースト設計よるオフライン対応・データ同期
13-
- トレーニング中の疲労状態でも操作しやすいUX
14-
- フリーテキストや音声による入力など、AIを活用した機能(有料機能)
15-
- Webアプリ
16-
- Googleアカウント・Apple IDを使用した認証
17-
- トレーニング記録のCRUD機能
18-
- トレーニング計画のCRUD機能
19-
- ローカルファースト設計よるデータ同期
20-
- 統計データ表示やフィルタリングなど、広い画面での操作を想定した機能
21-
- フリーテキストや音声による入力など、AIを活用した機能(有料機能)
9+
- iOS App
10+
- Authentication using Google account and Apple ID
11+
- CRUD functionality for training records
12+
- Offline support and data synchronization with local-first design
13+
- UX optimized for ease of use even during fatigue from training
14+
- AI-powered features such as free text and voice input (premium features)
15+
- Web App
16+
- Authentication using Google account and Apple ID
17+
- CRUD functionality for training records
18+
- CRUD functionality for training plans
19+
- Data synchronization with local-first design
20+
- Features designed for large screens such as statistical data display and filtering
21+
- AI-powered features such as free text and voice input (premium features)
2222

23-
Next Liftは認証用データベースとPer-Userデータベースを使用します。
23+
Next Lift uses an authentication database and Per-User databases.
2424

25-
- 認証用データベース
26-
- ユーザー情報やセッション情報を管理
27-
- Googleアカウント・Apple IDを使用した認証に対応
28-
- Per-Userデータベース
29-
- トレーニング記録や計画などのユーザーごとのデータを保存
30-
- 各ユーザーごとに独立したデータベースインスタンスを使用
31-
- iOSアプリはローカルのインスタンスからデータを読み書きし、変更は自動的にリモートのインスタンスに同期される
32-
- Webアプリはリモートのインスタンスからデータを読み書きする
25+
- Authentication Database
26+
- Manages user information and session information
27+
- Supports authentication using Google account and Apple ID
28+
- Per-User Database
29+
- Stores user-specific data such as training records and plans
30+
- Uses independent database instances for each user
31+
- iOS app reads and writes data from local instances, with changes automatically synced to remote instances
32+
- Web app reads and writes data from remote instances
3333

34-
アプリケーションとデータベースを連携させるために、認証APIサーバーを使用します。認証APIサーバーは次の機能を提供します。
34+
An authentication API server is used to connect applications with databases. The authentication API server provides the following functions:
3535

36-
- 各アプリケーションからの認証リクエストを処理
37-
- ユーザー登録時にPer-Userデータベースの作成と接続情報の提供
36+
- Processes authentication requests from each application
37+
- Creates Per-User database and provides connection information during user registration
3838

39-
## 各コンポーネントの詳細
39+
## Component Details
4040

41-
### iOSアプリ
41+
### iOS App
4242

43-
- **フレームワーク**: React Native
44-
- **対象プラットフォーム**: iOSのみ(Android端末での検証環境なし)
45-
- **認証**: Better Auth(認証APIサーバーと連携)
46-
- **データベース**: Per-Userデータベース(Local Replica
47-
- **データアクセス**: Drizzle ORM + op-sqlite
43+
- **Framework**: React Native
44+
- **Target Platform**: iOS only (no Android testing environment)
45+
- **Authentication**: Better Auth (integrated with authentication API server)
46+
- **Database**: Per-User database (Local Replica)
47+
- **Data Access**: Drizzle ORM + op-sqlite
4848

49-
### Webアプリ
49+
### Web App
5050

51-
- **フレームワーク**: React Router
52-
- **対象デバイス**: PC(統計データ表示のため広画面想定)、スマートフォン(Androidユーザーにはこちらを使ってもらう)
53-
- **認証**: Better Auth(認証APIサーバーと連携)
54-
- **データベース**: Per-Userデータベース(Remote Database
55-
- **データアクセス**: Drizzle ORM
56-
- **デプロイ先**: Cloudflare Workers
51+
- **Framework**: React Router
52+
- **Target Devices**: PC (optimized for large screens for statistical data display), Smartphone (for Android users)
53+
- **Authentication**: Better Auth (integrated with authentication API server)
54+
- **Database**: Per-User database (Remote Database)
55+
- **Data Access**: Drizzle ORM
56+
- **Deployment**: Cloudflare Workers
5757

58-
### 認証APIサーバー
58+
### Authentication API Server
5959

60-
- **フレームワーク**: Hono
61-
- **ライブラリ**: Better Auth
62-
- **認証方式**: Apple ID、Google認証
63-
- **API**: REST APIWeb・iOS向け認証エンドポイント)
64-
- **データベース**: 認証用データベース
65-
- **データアクセス**: Drizzle ORM
66-
- **デプロイ先**: Cloudflare Workers
60+
- **Framework**: Hono
61+
- **Library**: Better Auth
62+
- **Authentication Methods**: Apple ID, Google authentication
63+
- **API**: REST API (authentication endpoints for Web and iOS)
64+
- **Database**: Authentication database
65+
- **Data Access**: Drizzle ORM
66+
- **Deployment**: Cloudflare Workers
6767

68-
### 認証用データベース
68+
### Authentication Database
6969

70-
- **データベース**: Turso
70+
- **Database**: Turso
7171

72-
### Per-Userデータベース
72+
### Per-User Database
7373

74-
- **データベース**: Turso Embedded Replicas
74+
- **Database**: Turso Embedded Replicas
7575

76-
## パッケージ管理
76+
## Package Management
7777

78-
Next Liftは、pnpmを使用してパッケージ管理を行います。モノレポ構成で、各アプリケーションやライブラリは以下のように配置されます。
78+
Next Lift uses pnpm for package management. In the monorepo structure, each application and library is organized as follows:
7979

8080
```text
8181
/apps
82-
├── ios … iOSアプリ
83-
├── web … Webアプリ
84-
└── auth-api … 認証APIサーバー
82+
├── ios … iOS app
83+
├── web … Web app
84+
└── auth-api … Authentication API server
8585
/packages
86-
├── react-components … 共通Reactコンポーネント
87-
├── react-native-components … 共通React Nativeコンポーネント
88-
├── per-user-database … Per-Userのデータベースのスキーマとクライアント
89-
└── auth-database … 認証用データベースのスキーマとクライアント
86+
├── react-components … Shared React components
87+
├── react-native-components … Shared React Native components
88+
├── per-user-database … Per-User database schema and client
89+
└── auth-database … Authentication database schema and client
9090
```

0 commit comments

Comments
 (0)