app-state-diagram

Design Application with AI and IA

Start a new project with AI-assisted ALPS design:

mkdir my-app && cd my-app

Install:

# Homebrew
brew install alps-asd/asd/asd

# npm
npm install -g @alps-asd/cli

AI Integration Methods

Priority Environment Method
1st Skill clients* Skill
2nd MCP clients MCP Server
3rd Any LLM llms.txt / URL Reference

*Skill clients: Claude Code, OpenAI Codex

Skill (Claude Code)

claude --version  # Requires 1.0.3+

mkdir -p .claude/skills/alps
curl -o .claude/skills/alps/SKILL.md \
  https://raw.githubusercontent.com/alps-asd/app-state-diagram/2.x/.claude/skills/alps/SKILL.md

Verify skill is available:

Then ask:

MCP Server

npm Package

npm install -g @alps-asd/mcp

Add to Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "alps": {
      "command": "npx",
      "args": ["@alps-asd/mcp"]
    }
  }
}

Claude Code

Create .mcp.json in your project:

{
  "mcpServers": {
    "alps": {
      "command": "npx",
      "args": ["@alps-asd/mcp"]
    }
  }
}

Verify: /mcp should show “alps” in the list.

Available Tools

llms.txt (Any LLM)

For LLMs without skill/MCP support, reference these URLs:

Resource URL
Tool Index https://alps-asd.github.io/app-state-diagram/llms.txt
Full Documentation https://alps-asd.github.io/app-state-diagram/llms-full.txt
ALPS Creation Guide https://alps-asd.github.io/app-state-diagram/alps-skill.md

Add to your system prompt or AGENTS.md:

For ALPS profile creation, refer to: https://alps-asd.github.io/app-state-diagram/alps-skill.md

Why ALPS First?

ALPS and OpenAPI serve different purposes:

  ALPS OpenAPI
Focus What (meaning) How (constraints)
Role Vocabulary & semantics Validation & HTTP details
Example “A post has title, body, tags” “title: required, max 100 chars”
Analogy Floor plan Plumbing diagram

Benefits of ALPS-first design: