Skill library

Agent skill Web motion

DXE Interaction Contracts

Make interface behavior and feedback feel clear and intentional.

  • Microinteractions
  • Interaction design

Install the skill

Installation method

Run the command from your project root with Node.js and npm.

npx skills@latest add kemiljk/skills --skill dxe-interaction-contracts --agent claude-code --yes

Check this file in your project.claude/skills/dxe-interaction-contracts/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add kemiljk/skills --skill dxe-interaction-contracts

    Select your assistant and choose the project installation scope.

    Official instructions

The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. The title editor and its current Save, Cancel, navigation, and server response behavior.

View operation manual

What this skill helps with

  • Make interface behavior and feedback feel clear and intentional.

Good for

  • Interaction and feedback
Task
Specify what editing a project title promises
Bring to the session
The title editor and its current Save, Cancel, navigation, and server response behavior.
Deliverable
An observable interaction contract with acceptance checks for current, draft, pending, committed, and failed states.
Skill name
dxe-interaction-contracts
Repository
kemiljk/skills

What makes this brief hard to verify

An underspecified request

Copy the success mockup and optimistically show Saved on submit.

A local draft, an in-flight request, and a server-confirmed title have different recovery guarantees.

An outcome you can check

  1. Read the existing editor and identify which value users can trust at each moment.
  2. Describe the result of each supported action and a check someone can run.
  3. Observe persistence by returning to the project and verify recovery without retyping.

Interaction Contracts operation manual

An observable interaction contract with acceptance checks for current, draft, pending, committed, and failed states.

The title editor and its current Save, Cancel, navigation, and server response behavior.

  1. Find the unresolved save promise

    Read the existing editor and identify which value users can trust at each moment.

    Prompt · Step 1
    Use the installed dxe-interaction-contracts Skill and read its SKILL.md.
    
    Inspect [project title editor], its brief, and service boundary. Identify the current title, the local draft, the trigger, and the authoritative value. Document observed behavior and open product decisions about failure, Escape, leaving, and repeated Save. Ask only about a missing decision that changes the contract.
  2. Write an observable contract

    Describe the result of each supported action and a check someone can run.

    Prompt · Step 2
    Use the installed dxe-interaction-contracts Skill and read its SKILL.md.
    
    Draft a compact start state, action, result, and acceptance-check table. Cover Cancel before submission, pending feedback, server confirmation, failed save with draft retention, and focus return. If late responses or navigation can happen, specify which result may update the interface. Keep the specification independent of a state-machine library.
  3. Exercise the title editor from real callers

    Observe persistence by returning to the project and verify recovery without retyping.

    • The UI declares success only at the agreed commitment boundary.
    • A failed save preserves enough input and feedback for recovery.
    Prompt · Step 3
    Use the installed dxe-interaction-contracts Skill and read its SKILL.md.
    
    Verify [approved contract] with a local or sandbox project. Save and revisit, then exercise a real or simulated failure and retry. Check Escape and the permitted repeated-submission path. State whether each case used a real service, a fixture, or source inspection, and record what remains unverified.

Look up this workflow decision

Use the named section of the installed SKILL.md and give the assistant the real consumer or route.

Two requests could update the same titleSKILL.md
Command or reference
Describe the observable contract
Examples
Name which response may update the current draft and which data is authoritative when users return.

Troubleshooting

Is cancelling an edit the same as cancelling a request?

They describe different events. Specify when a draft can be discarded and what a submitted operation can still change on the server.

How do I check that the assistant loaded this Skill?

Ask the assistant to identify the dxe-interaction-contracts/SKILL.md installed in the current project. If it cannot see the new installation, start another session in that project.