MetaSpec Quick Start

November 14, 2025 ยท View on GitHub

Get started with MetaSpec in 5 minutes - from zero to a complete speckit


๐Ÿ“‹ Prerequisites

  • Python 3.11+
  • pip or uv

๐Ÿš€ Step 1: Install MetaSpec

# Recommended: Use uv (10-100x faster) โšก
uv pip install git+https://github.com/ACNet-AI/MetaSpec.git

# Or use pip
pip install git+https://github.com/ACNet-AI/MetaSpec.git

# Verify installation
metaspec --version
๐Ÿ’ก First time using uv? Install in one line
# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh

# Windows
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
๐Ÿ”ง Development mode installation
git clone https://github.com/ACNet-AI/MetaSpec.git && cd MetaSpec
uv pip install -e .

๐ŸŽฏ Step 2: Create Your First Speckit

# Interactive mode (recommended)
metaspec init

# Or quick start with template
metaspec init my-spec-kit

# Preview (dry-run)
metaspec init my-spec-kit --dry-run

๐Ÿ” Step 3: Explore Generated Speckit

cd my-spec-kit
ls -la

You'll see the complete project structure:

my-spec-kit/
โ”œโ”€โ”€ README.md              # Project documentation
โ”œโ”€โ”€ AGENTS.md              # AI Agent operation guide
โ”œโ”€โ”€ pyproject.toml         # Python project configuration
โ”œโ”€โ”€ .gitignore             # Git configuration
โ”œโ”€โ”€ memory/
โ”‚   โ””โ”€โ”€ constitution.md    # Development principles
โ”œโ”€โ”€ scripts/
โ”‚   โ”œโ”€โ”€ init.sh           # Initialization script โšก
โ”‚   โ””โ”€โ”€ validate.sh       # Validation script โšก
โ”œโ”€โ”€ templates/
โ”‚   โ””โ”€โ”€ spec-template.md  # Spec template
โ””โ”€โ”€ src/
    โ””โ”€โ”€ my_spec_kit/
        โ”œโ”€โ”€ __init__.py
        โ”œโ”€โ”€ cli.py        # CLI entry point
        โ”œโ”€โ”€ parser.py     # Spec parser
        โ””โ”€โ”€ validator.py  # Spec validator

๐Ÿ› ๏ธ Step 4: Install and Use

# Enter generated project
cd my-spec-kit

# Install
uv pip install -e .

# Use 19 built-in MetaSpec commands (in AI editor)
# SDS: /metaspec.sds.* (8 commands) - Define specification
# SDD: /metaspec.sdd.* (8 commands) - Develop toolkit
# Evolution: /metaspec.* (3 commands) - Manage changes

๐ŸŽฏ Complete Example

# 1. Create speckit
metaspec init api-kit && cd api-kit

# 2. Install
uv pip install -e .

# 3. Develop with built-in commands (in AI editor)
# /metaspec.sds.specify  - Define API specification
# /metaspec.sdd.plan     - Design toolkit architecture
# /metaspec.sdd.implement - Implement toolkit code

๐Ÿ› FAQ

# Force overwrite existing directory
metaspec init my-kit --force

# Preview (dry-run)
metaspec init my-kit --dry-run

Q: Do I need to install spec-kit or openspec?
A: No! Generated speckit includes 15 built-in MetaSpec commands for complete workflow.


๐Ÿ“š Learn More

  • ๐Ÿ“– README - Complete feature overview
  • ๐Ÿค– AGENTS.md - AI workflow guide
  • ๐Ÿ“š Examples - Example projects

Congratulations! You've mastered MetaSpec basics and can now create speckits for any domain! ๐ŸŽ‰