Ai Coding Agent Setupのロゴ

Ai Coding Agent Setup

コミュニティ
markpitt
ai-coding-agent-setup

Configures AI agents (GitHub Copilot, Claude Code, Cursor, Codex) to understand a codebase and self-improve as the project evolves. Use when setting up a new project for AI-assisted development, onboarding AI agents to an existing repo, creating AGENTS.md, configuring MCP servers for code navigation, packaging project workflows as agent skills, or establishing self-improvement feedback loops. Covers AGENTS.md authoring, skill packaging, MCP configuration, context management, and living-documentation strategies.

概要

公開者markpitt
リポジトリclaude-skills
スキル名ai-coding-agent-setup
スター
25
フォーク
3
同梱ファイル
4
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 4個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    markpittがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルAi Coding Agent SetupをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/markpitt/claude-skills/tree/main/skills/ai-coding-agent-setup
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/markpitt/claude-skills.git /tmp/claude-skills
mkdir -p .claude/skills
cp -r /tmp/claude-skills/skills/ai-coding-agent-setup .claude/skills/ai-coding-agent-setup
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでAi Coding Agent Setupを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にAi Coding Agent Setupを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Ai Coding Agent Setupは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

AI Coding Agent Setup

Configure AI agents to deeply understand a codebase and continuously improve as the project grows. This skill covers the three-layer architecture: AGENTS.md for project identity, agent skills for packaged workflows, and MCP servers for live tool access — plus self-improvement strategies to prevent context rot.

Quick Reference Table

GoalLoad ResourceKey Concepts
Create or improve AGENTS.mdresources/agents-md-guide.mdproject identity, hierarchical discovery, conventions
Package project workflows as skillsresources/agent-skills-architecture.mdprogressive disclosure, SKILL.md, trigger phrases
Add IDE/codebase tools via MCPresources/mcp-codebase-tools.mdBifrost, vscode-mcp-server, semantic search
Reduce context rot, build feedback loopsresources/self-improvement-patterns.mdliving docs, meta-skills, context compression

Orchestration Protocol

Phase 1 — Classify the Request

Determine which layer the user needs help with:

  • "Set up AI for my project" → start with agents-md-guide.md, then assess if skills and MCP are needed
  • "AI keeps making the same mistake" → self-improvement-patterns.md (feedback loops section)
  • "AI can't navigate my code / doesn't understand the structure" → mcp-codebase-tools.md
  • "How do I package this workflow for AI reuse?" → agent-skills-architecture.md
  • "Agent ignores my conventions" → agents-md-guide.md (conventions and enforcement section)

Phase 2 — Select Resource

Load the relevant resource file from the table above. Most setups require agents-md-guide.md as the foundation, with other resources added on top.

Phase 3 — Execute

Follow the specific guidance in the loaded resource. Output actionable file content (AGENTS.md, SKILL.md, mcp.json) — not just advice.


Common Task Workflows

Workflow 1: New Project AI Setup (15 minutes)

  1. Load resources/agents-md-guide.md → create AGENTS.md at repo root using the template
  2. Add project overview, build commands, test instructions, code conventions
  3. Configure .vscode/mcp.json with at minimum the Bifrost server (see mcp-codebase-tools.md)
  4. If the project has complex, repeatable workflows → package them as skills (see agent-skills-architecture.md)
  5. Commit all AI configuration files to version control alongside the codebase

Workflow 2: AGENTS.md for an Existing Repo

  1. Load resources/agents-md-guide.md
  2. Audit the existing README.md for technical content that belongs in AGENTS.md
  3. Extract: build commands, test scripts, folder structure map, conventions → move to AGENTS.md
  4. For monorepos: create root AGENTS.md + sub-directory AGENTS.md files for each package
  5. Add a "pointer" to CLAUDE.md or copilot-instructions.md referencing AGENTS.md

Workflow 3: Preventing Agent Mistakes from Recurring

  1. Identify the pattern: did the agent use a wrong pattern/file/command?
  2. Load resources/self-improvement-patterns.md
  3. Update the relevant AGENTS.md section with an explicit correction
  4. If the mistake is workflow-specific → update or create a skill (agent-skills-architecture.md)
  5. Test: ask the agent to perform the same task; verify it now follows the corrected instruction

Workflow 4: Giving Agents Deep Code Navigation

  1. Load resources/mcp-codebase-tools.md
  2. Install Bifrost VS Code extension (provides call hierarchy, find usages, go-to-definition)
  3. Add server config to .vscode/mcp.json
  4. For semantic search → configure a vector-store MCP server (Qdrant or Azure AI Search)
  5. Document MCP tool names in AGENTS.md so the agent knows when to use them

Workflow 5: Self-Improving Agent Configuration

  1. After each significant debugging session, ask the agent: "What should we add to AGENTS.md to prevent this?"
  2. Review proposed update → approve and commit
  3. Monthly: use a "review" prompt against self-improvement-patterns.md to audit all config files
  4. Over time: stale instructions become "context rot" — prune or update them proactively

Resource Summaries

ResourcePurposeLine Count
resources/agents-md-guide.mdAGENTS.md template, recommended sections, hierarchical discovery, comparison with CLAUDE.md/copilot-instructions.md~350
resources/agent-skills-architecture.mdHow to package project workflows as reusable SKILL.md-based skills with progressive disclosure~300
resources/mcp-codebase-tools.mdMCP servers for live code navigation: Bifrost, vscode-mcp-server, semantic search, GitHub MCP~280
resources/self-improvement-patterns.mdContext rot prevention, feedback loops, living documentation, meta-skills, memory architecture~300

Best Practices

  • Identity vs. Capability: Use AGENTS.md for static project rules (identity); use skills for dynamic, executable workflows (capability). Do not put workflow logic in AGENTS.md.
  • Commit AI config to version control: AGENTS.md, skills, and mcp.json are first-class project files — track them in git alongside code.
  • Hierarchical AGENTS.md for monorepos: Root file holds global rules; sub-directory files override for local packages. Closest file wins.
  • Treat agent mistakes as documentation bugs: Every repeated agent error is a missing or incorrect instruction in AGENTS.md or a skill. Fix the docs, not just the output.
  • Pointer pattern: In CLAUDE.md write Read @AGENTS.md — avoids duplication across tool-specific instruction files.
  • Progressive disclosure in skills: Keep SKILL.md under 5,000 words; move heavy reference content to resources/ files loaded only when needed.
  • Name MCP tool names explicitly: Include exact MCP tool names in AGENTS.md so agents know which tools to invoke for code navigation tasks.

External References

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Ai Coding Agent Setup」では何ができますか?

Configures AI agents (GitHub Copilot, Claude Code, Cursor, Codex) to understand a codebase and self-improve as the project evolves. Use when setting up a new project for AI-assisted development, onboarding AI agents to an existing repo, creating AGENTS.md, configuring MCP servers for code navigation, packaging project workflows as agent skills, or establishing self-improvement feedback loops. Covers AGENTS.md authoring, skill packaging, MCP configuration, context management, and living-documentation strategies.

TypingMindでAi Coding Agent Setupを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Ai Coding Agent Setupはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにAi Coding Agent Setupをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/markpitt/claude-skills/tree/main/skills/ai-coding-agent-setupを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Ai Coding Agent Setupを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Ai Coding Agent Setupは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもAi Coding Agent Setupを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Ai Coding Agent Setup」は無料ですか?

markpittがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇