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.

diegosouzapwот diegosouzapw★ 68 звёзд на GitHub

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

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"

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"

Get Improvement Suggestions

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

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)
    • Must have rt (return type) pointing to target state

Naming Conventions

Type Prefix Example
Safe transition go goToHome, goProductList, goSearchProducts
Unsafe transition do doCreateUser, doAddToCart, doLogin
Idempotent transition do doUpdateUser, doDeleteItem, doRemoveFromCart
State/Page PascalCase HomePage, ProductDetail, ShoppingCart
Semantic field camelCase userId, productName, createdAt

Safe Transition Naming Rule

IMPORTANT: Safe transitions (go*) MUST include the target state name in their id.

  • rt="#ProductList" → id must be goProductList (or goToProductList)
  • rt="#UserProfile" → id must be goUserProfile (or goToUserProfile)

Invalid examples:

  • goStart with rt="#ProductList" - Wrong! Should be goProductList
  • goNext with rt="#Checkout" - Wrong! Should be goCheckout

This rule ensures consistency and makes the diagram self-documenting. When a transition has no source state (entry point), it will be displayed as originating from UnknownState in the diagram.

Determining idempotent: PUT vs DELETE

Context clues for AI inference:

PUT (Update) indicators:

  • update, edit, modify, change, set, replace
  • Example: doUpdateProfile, doEditComment, doSetQuantity

DELETE indicators:

  • delete, remove, cancel, clear, destroy
  • Example: doDeleteUser, doRemoveFromCart, doCancelOrder

Generation Guidelines

When Creating ALPS from Natural Language

IMPORTANT: Structure the ALPS file in three blocks in this order:

  1. Identify Entities (Ontology - Semantic definitions)

    • Extract nouns: user, product, order, cart, etc.
    • Define atomic fields for each entity
    • Add def links to schema.org where applicable
    • Add doc for validation rules, formats, constraints
  2. Identify States (Taxonomy - Inclusion relationships)

    • Map user journey: login -> home -> browse -> cart -> checkout
    • Each state contains relevant fields and available transitions
    • Use PascalCase for state names
    • Add doc explaining what user sees and available actions
  3. Identify Transitions (Choreography - State transitions)

    • Safe: navigation, viewing, searching (prefix: go)
    • Unsafe: creating new resources (prefix: do)
    • Idempotent: updating or deleting resources (prefix: do)
    • Add doc explaining behavior, side effects, preconditions
  4. Add Documentation

    • Every descriptor MUST have a meaningful title
    • Add doc when title alone cannot fully explain the descriptor:
      • **Semantic fi
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

Вложенные файлы

metadata.json

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 с