AgentSkillsCN

agentuity-cli-project-create

创建新项目。适用于项目管理相关操作。

SKILL.md
--- frontmatter
name: agentuity-cli-project-create
description: Create a new project. Use for project management operations
version: "0.1.24"
license: Apache-2.0
allowed-tools: "Bash(agentuity:*)"
metadata:
  command: "agentuity project create"
  tags: "mutating creates-resource slow"

Project Create

Create a new project

Usage

bash
agentuity project create [options]

Options

OptionTypeRequiredDefaultDescription
--namestringYes-Project name
--dirstringYes-Directory to create the project in
--domainsarrayYes-Array of custom domains
--templatestringYes-Template to use
--templateDirstringYes-Local template directory for testing (e.g., ./packages/templates)
--templateBranchstringYes-GitHub branch to use for templates (default: main)
--installbooleanNotrueRun bun install after creating the project (use --no-install to skip)
--buildbooleanNotrueRun bun run build after installing (use --no-build to skip)
--confirmbooleanYes-Skip confirmation prompts
--registerbooleanNotrueRegister the project, if authenticated (use --no-register to skip)
--databasestringYes-Database action: "skip", "new", or existing database name
--storagestringYes-Storage action: "skip", "new", or existing bucket name
--enableAuthbooleanYes-Enable Agentuity Auth

Examples

Create new item:

bash
bunx @agentuity/cli project create

Create new item:

bash
bunx @agentuity/cli project create --name my-ai-agent

Create new item:

bash
bunx @agentuity/cli project create --name customer-service-bot --dir ~/projects/agent

Use no install option:

bash
bunx @agentuity/cli project create --template basic --no-install

Use no register option:

bash
bunx @agentuity/cli project new --no-register

Output

Returns JSON object:

json
{
  "success": "boolean",
  "error": "string",
  "name": "string",
  "path": "string",
  "projectId": "string",
  "orgId": "string",
  "template": "string",
  "installed": "boolean",
  "built": "boolean",
  "domains": "array"
}
FieldTypeDescription
successbooleanWhether the operation succeeded
errorstringError message if setup failed
namestringProject name
pathstringProject directory path
projectIdstringProject ID if registered
orgIdstringOrganization ID if registered
templatestringTemplate used
installedbooleanWhether dependencies were installed
builtbooleanWhether the project was built
domainsarrayArray of custom domains