For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.
arctl init
宣言型 YAML を含む新しいリソースプロジェクトをスキャフォールドします
エージェント、MCP サーバー、スキル、プロンプトのいずれかの新しい宣言型リソースプロジェクトのスキャフォールドを作成します。
生成される YAML は ar.dev/v1alpha1 宣言型形式を使用し、arctl apply で直接適用できます。
サポートされるタイプ: agent NAME (ピッカーでフレームワークと言語を選択)、mcp NAME (ピッカーでフレームワークと言語を選択)、skill NAME、prompt NAME
使用方法
arctl init TYPE ... [flags]
arctl init [command]例:
arctl init agent myagent
arctl init agent myagent --framework adk --language python
arctl init mcp my-server
arctl init mcp my-server --framework fastmcp --language python
arctl init skill my-skill
arctl init prompt my-prompt
arctl init # interactive: picker for kind利用可能なコマンド
| コマンド | 説明 |
|---|---|
| agent | YAML とフレームワークスタブを備えたエージェントプロジェクトのスキャフォールドを作成します |
| mcp | YAML とフレームワークスタブを備えた MCP サーバープロジェクトのスキャフォールドを作成します |
| prompt | 宣言型プロンプト YAML (ar.dev/v1alpha1) を作成します |
| skill | YAML とソーススタブを備えたスキルプロジェクトのスキャフォールドを作成します |
コマンド固有のフラグ
--output-dir string: Parent directory under which the project is created. Defaults to the current directory.グローバルフラグ
-h, --help: Display help information for the command.