Skip to content

AIを使った構築

ワークスペースに既に設定済み

Section titled “ワークスペースに既に設定済み”

Nx Plugin for AWSプリセットで作成されたワークスペースには、一般的なコーディングエージェント(Claude Code、Cursor、Kiro、Gemini CLI、GitHub Copilot、OpenAI Codex)向けのプロジェクトレベルのMCP設定が含まれているため、ワークスペース内で動作するエージェントは、追加のセットアップなしでプラグインのMCPサーバーを使用できます。

ワークスペースをアシスタントで開き、必要なものを尋ねてください:

Prompt

Add a React website with an AG-UI agent, an MCP server for its tools and a DynamoDB table, and wire them together.

アシスタントは、プラグインが提供するジェネレーターを検索し、依存関係が必要とする順序で実行します。そこからビジネスロジックを記入するには、エージェントを使用してください。

上記のワークスペース設定は構築に十分です。AIを使用して新しいワークスペースを作成したい場合、または既存のプロジェクトにNx Plugin for AWSを追加したい場合は、グローバルにインストールできます:

Nx Plugin for AWSは、MCPサーバーとステアリングドキュメント、ワークフローガイドをバンドルしたKiro Powerとして提供されています。

  1. KiroのPowersパネルを開き、Add power from GitHubをクリックします

  2. 以下のURLを入力します:

    https://github.com/awslabs/nx-plugin-for-aws/tree/main/powers/nx-plugin-for-aws
  3. Installをクリックします

Kiroは自動的にMCPサーバーを設定します — 追加のセットアップは不要です。

プラグインがグローバルに利用可能になると、アシスタントはワークスペースも作成できます。次のようなプロンプトを試してみてください:

Prompt

Build a multi-agent application using the Nx Plugin for AWS. I want a React frontend that talks to a backend orchestrator agent which delegates to specialised research and writing agents.

または、より小さな出発点として:

Prompt

Use the Nx Plugin for AWS to scaffold a React website backed by a tRPC API, with Cognito auth and CDK infrastructure.