1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

AI開発はドキュメントだ!

Posted at

AIを用いて開発を行うにあたって大事なものはドキュメントです。

なぜかと言うとAIは知識はありますがして欲しいことが明確に分かりません。(意図は汲み取ろうとしてくれます)

例えば、以下のようにプロジェクトの構造をまとめたファイルを読ませると構造に則ってファイルを作成していきます。

mcp-template/
  ├── CLAUDE.md                      # Claude Memoryに保存される
  ├── README.md
  ├── package.json
  ├── tsconfig.json
  ├── eslint.config.mjs
  ├── vitest.config.ts
  ├── coverage/                      # テストカバレッジレポート
  ├── dist/                          # ビルド成果物
  ├── project/                       # プロジェクト管理
  │   ├── RULE.md                    # プロジェクトルール
  │   ├── BASE_STRUCTURE.md          # 基本ディレクトリ構造
  │   ├── scripts                    # スクリプト
  │   ├── requirements               # 要件定義書
  │   ├── references                 # 参考資料
  │   ├── tasks/                     # タスク管理
  │   │   ├── backlog/               # 未着手課題
  │   │   ├── in-progress/           # 着手中課題
  │   │   └── done/                  # 完了課題
  │   └── template/                  # タスクテンプレート
  └── src/                 # FSDアーキテクチャ
      ├── app/             # アプリケーション層
      ├── features/        # 機能層
      │   └── server/      # MCP Tool 登録
      ├── entities/        # エンティティ層
      └── shared/          # 共有層
          └── lib/

他にも開発のルールや用語集などをドキュメントとしてまとめて読み込ませると良いです。
AIを意図する方向へ誘導してあげましょう!!

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?