Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

alps

БесплатноБез исполняемых скриптовНе проверен

Create, validate, and improve ALPS profiles. Generate from natural language descriptions, validate existing profiles, and get improvement suggestions.

alps-asdот alps-asd★ 39 звёзд на GitHub15 установок в других каталогах

Об этом скилле

ALPS Profile Assistant

Generate, validate, and improve ALPS profiles for RESTful API design.

Ideal ALPS Profile

Goal: An ALPS that someone unfamiliar with the app can read and understand.

What Makes a Good ALPS

  1. States = What the user sees

    • ProductList - viewing a list of products
    • ProductDetail - viewing one product
    • Cart - viewing cart contents
  2. Transitions = What the user does

    • goProductDetail - select a product
    • doAddToCart - add to cart
  3. Self-documenting

    • title explains the purpose
    • doc describes behavior and side effects
    • No need to read code to understand
  4. No unreachable states

    • Every state has an entry point
    • Orphan states indicate design mistakes
  5. Necessary and sufficient

    • No over-abstraction
    • Describes semantics, not implementation
    • No HTTP methods or URLs

What to Avoid

  • Mechanical CRUD listings without meaning
  • Implementation details leaking in
  • States without transitions (can't draw a diagram)
  • Excessive documentation nobody reads

How to Use

This skill responds to natural language requests:

Generate ALPS from Natural Language

  • "Create an ALPS profile for a blog application"
  • "Generate ALPS for an e-commerce cart system"
  • "Design an ALPS profile for user authentication"

Generate ALPS from Website (NEW - alps-surveyor mode)

  • "Crawl https://example.com and generate ALPS profile"
  • "Survey website structure and create ALPS"
  • "Extract ALPS profile from existing website"

How it works:

  1. Efficient crawling: Uses URL pattern classification to avoid redundant analysis
  2. Token optimization: Only analyzes unique page types (e.g., /products/123 and /products/456 analyzed once)
  3. AI-powered extraction: Analyzes DOM structure to infer states, transitions, and semantic fields
  4. Handover protocol: Records progress in handover.json for continuity across sessions

See "ALPS Surveyor Mode" section below for details.

Validate Existing Profile

  • "Validate this ALPS profile" (with file path or content)
  • "Check my ALPS file for issues"
  • "Review the ALPS profile at docs/api.json"

Analyze or Improve Existing Profile

  • "Analyze this ALPS profile"
  • "Improve this ALPS profile"
  • "Suggest enhancements for my ALPS"
  • "How can I make this ALPS better?"

Continuous Improvement Loop - AI Inherits the Mission

When asked to analyze or improve an existing profile:

  1. Read previous AI's insights - Run asd --validate <file> and check for ai-insights field
  2. Read handover.json if exists - Check for previous session's progress, warnings, and advice (per ADR 0006)
  3. Inherit the context - Previous AI left analysis for you: complexity assessment, coverage gaps, recommendations
  4. Identify gaps - Explore the website/documentation to find missing features or incomplete flows
  5. Make improvements - Add missing descriptors, enhance documentation, fix issues
  6. MANDATORY: Validate ALPS - Run asd --validate <file> to ensure no errors were introduced
  7. MANDATORY: Generate HTML - Run asd <file> -o <file>.html to create visual diagram for review
  8. Update handover.json - Record what was done, what's left, and advice for next AI (per ADR 0006)
  9. MANDATORY: Validate handover.json - Verify JSON syntax and schema compliance:
    node -e "JSON.parse(require('fs').readFileSync('handover.json', 'utf8')); console.log('✓ Valid JSON')"
    
    Schema: handover-protocol.json
  10. Report completion - Provide statistics (before/after), coverage estimation, and next steps

CRITICAL: Steps 6-9 are MANDATORY for every improvement session. Never skip validation of both ALPS profile and handover.json.

AI₁: Creates profile → Validates → Generates HTML → Creates handover.json
  ↓
AI₂: Reads handover.json → Identifies gaps → Improves → Validates → Generates HTML → Updates handover.json
  ↓
AI₃: Reads handover.json → Builds on previous work → Improves → Validates → Generates HTML → Updates handover.json

This creates a knowledge continuity where each AI builds on the work of previous AIs, just like developers reading code comments left by their predecessors.

ALPS Structure Reference

Three Layers of ALPS

  1. Ontology - Semantic descriptors (data elements)

    • Atomic data fields with type="semantic" (default)
    • Should have id, title, and optionally doc and def (schema.org link)
  2. Taxonomy - State descriptors (screens/pages)

    • Composite descriptors containing semantic fields and transitions
    • Represents application states (e.g., HomePage, ProductDetail, Cart)
  3. Choreography - Transition descriptors (actions)

    • type="safe" - Read operations (GET)
    • type="unsafe" - Create operations (POST) - not idempotent
    • type="idempotent" - Update/Delete operations (PUT/DELETE)
Полный SKILL.md на GitHub

Установить alps в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл alps?

Create, validate, and improve ALPS profiles. Generate from natural language descriptions, validate existing profiles, and get improvement suggestions.

Как установить скилл alps?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл alps запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить alps с