AgentSkillsCN

create-sparc

SPARC 方法论项目脚手架 CLI,配备交互式向导、MCP 服务器配置以及 AIGI 集成功能。适用于新建 SPARC 结构化项目、为现有项目添加组件、为 AI 工具配置 MCP 服务器、运行交互式安装向导,或快速搭建最小化的 Roo 模式框架。

SKILL.md
--- frontmatter
name: create-sparc
description: "SPARC methodology project scaffolding CLI with interactive wizards, MCP server configuration, and AIGI integration. Use when creating new SPARC-structured projects, adding components to existing projects, configuring MCP servers for AI tools, running the interactive setup wizard, or scaffolding minimal Roo mode frameworks."

Create SPARC

NPX scaffolding tool for creating projects following the SPARC methodology (Specification, Pseudocode, Architecture, Refinement, Completion). Provides interactive wizards, MCP server configuration, AIGI project tools, and minimal framework scaffolding.

Quick Command Reference

TaskCommand
Show helpnpx create-sparc@latest --help
Create projectnpx create-sparc@latest init [name]
Add componentnpx create-sparc@latest add [component]
MCP wizardnpx create-sparc@latest wizard
Configure MCPnpx create-sparc@latest configure-mcp
AIGI commandsnpx create-sparc@latest aigi
Minimal frameworknpx create-sparc@latest minimal
Show versionnpx create-sparc@latest --version

Installation

Install: npx create-sparc@latest See Installation Guide for the full ecosystem.

Core Commands

init

Create a new SPARC project.

bash
npx create-sparc@latest init [name] [options]

Options:

OptionDescription
--template <name>Project template
--typescriptUse TypeScript
--gitInitialize git repository
--installAuto-install dependencies

Examples:

bash
npx create-sparc@latest init my-project
npx create-sparc@latest init api-service --typescript
npx create-sparc@latest init . --git --install

add

Add a component to an existing SPARC project.

bash
npx create-sparc@latest add [component] [options]

Components: specification, pseudocode, architecture, refinement, completion, test, mcp-server

wizard

Interactive MCP server configuration wizard.

bash
npx create-sparc@latest wizard [options]

Guides through MCP server setup with server discovery and auto-configuration.

configure-mcp

Integrated MCP configuration wizard with server discovery.

bash
npx create-sparc@latest configure-mcp [options]

Discovers available MCP servers and generates configuration files.

aigi

AIGI (AI-Generated Infrastructure) project commands.

bash
npx create-sparc@latest aigi
npx create-sparc@latest aigi init
npx create-sparc@latest aigi generate

minimal

Create minimal Roo mode framework.

bash
npx create-sparc@latest minimal
npx create-sparc@latest minimal init
npx create-sparc@latest minimal generate

Common Patterns

New SPARC Project

bash
npx create-sparc@latest init my-api --typescript --git
cd my-api
npx create-sparc@latest add specification
npx create-sparc@latest add architecture

MCP Server Setup

bash
npx create-sparc@latest wizard
# or
npx create-sparc@latest configure-mcp

Global Options

OptionDescription
-v, --versionDisplay version number
-d, --debugEnable debug mode
--verboseEnable verbose output

RAN DDD Context

Bounded Context: Cross-Cutting

References