erpaval
Workflow for autonomous software development with Claude Code. Classifiers route scope, complexity, directory state, and spec…
Agent UX patterns and human-in-the-loop design: Twilio A2H protocol, Levels of Autonomy (L0-L5), inbox pattern, progressive trust, decision journal, gate reviews, autonomous work reports. Six-phase methodology from vague pain point to concrete data model via landscape research
Claude Code
$ npx -y skills add laithalsaadoon/erpaval --skill agent-ux-patterns --agent claude-code
Codex
$ npx skills add laithalsaadoon/erpaval --skill agent-ux-patterns -a codex -y
Cursor
$ npx skills add laithalsaadoon/erpaval --skill agent-ux-patterns -a cursor -y
Gemini CLI
$ npx skills add laithalsaadoon/erpaval --skill agent-ux-patterns -a gemini-cli -y
GitHub Copilot
$ npx skills add laithalsaadoon/erpaval --skill agent-ux-patterns -a github-copilot -y
OpenCode
$ npx skills add laithalsaadoon/erpaval --skill agent-ux-patterns -a opencode -y
Windsurf
$ npx skills add laithalsaadoon/erpaval --skill agent-ux-patterns -a windsurf -y
name: agent-ux-patterns description: > Agent UX patterns and human-in-the-loop design: Twilio A2H protocol, Levels of Autonomy (L0-L5), inbox pattern, progressive trust, decision journal, gate reviews, autonomous work reports. Six-phase methodology from vague pain point to concrete data model via landscape research and multi-direction brainstorming. Use when the user asks to design agent UX, pick an autonomy level, build a human-in-the-loop flow, structure an agent inbox, design approval gates, or mentions A2H, autonomy level, progressive trust, inbox pattern, approval gate, decision journal, or agentic design. Do NOT use for PRD drafting — use product-discovery. Do NOT use for frontend components — use frontend-design. Do NOT use for building agents with a specific SDK — use claude-agent-sdk, strands-sdk, langgraph-langchain, or mastra-vercel-ai.
A structured methodology for designing agent user experiences — particularly the human-in-the-loop surfaces (inbox, gates, reviews, trust) where agents and humans collaborate. Optimized for conversations that start with a vague pain point ("users feel overwhelmed by the agent's outputs") and end with a concrete data model, interaction vocabulary, and prioritized backlog.
This skill focuses on the *agent-side* design problem: how agents surface work for review, how autonomy levels shift over time, how trust accrues through observation of human responses. For *product-discovery* disciplines (customer research, problem framing, PR/FAQ authoring), see the shared references in `${CLAUDE_PLUGIN_ROOT}/skills/product-design-shared/references/` and the consumer skills that wrap them (`working-backwards`, `customer-research`).
Start with the user's stated friction, not the solution. Ask clarifying questions to find the root cause.
Pattern: "I'm juggling too many X" usually means the triage/prioritization layer is missing, not that X needs to be reduced.
Research three areas in parallel before proposing solutions:
**Vector 1: Internal codebase** — What data, models, events, and infrastructure already exist? What's the richest unexploited data source? What patterns has the team already established?
**Vector 2: Prior art** — What have others built for this problem? Open-source projects, commercial products, academic papers, blog posts. Find the closest direct competitor and study it.
**Vector 3: Adjacent platforms** — What native capabilities does the deployment platform offer? (Slack features, GitHub Actions, AWS services, browser APIs). Often the best solution is assembling existing primitives, not building from scratch.
Generate 4-6 distinct directions, each with:
Avoid converging too early. Present all directions before recommending. Let the user's reaction guide which to expand.
Map the emerging concept to an established framework or vocabulary. This is critical for:
Sources of good vocabulary:
The vocabulary should be:
Translate the concept into a concrete data model. Include:
Example pattern:
Item:
id: string
intent: enum (from vocabulary)
source: reference to originating system
title: string (8-word summary)
detail: rich_text (expandable)
artifacts: [{type, ref, label}]
status: pending | acted_on | dismissed | expired
created_at: timestamp
decision: {action, reason, duration_s} | nullFor Slack-based conversations:
Every agent-to-human interaction is one of five types (A2H vocabulary):
| Intent | User Action | Priority | Color | | --------- | ------------------------- | -------- | ----- | | ESCALATE | Take over, agent is stuck | Highest | Red | | AUTHORIZE | Approve/reject a gate | High | Amber | | COLLECT | Provide structured input | Medium | Blue | | RESULT | Review completed work | Low | Green | | INFORM | Awareness only | Lowest | Grey |
The inbox composition is itself a trust metric: early on it's AUTHORIZE-heavy (agent asks permission), over time it shifts to INFORM-heavy (agent reports what it did).
Autonomous software development for Claude Code. ERPAVal stands for Explore · Research · Plan · Act · Validate — the five-phase loop, plus a sixth Compound phase that writes durable lessons to disk so the next session inherits what this one learned.
Workflow for autonomous software development with Claude Code. Classifiers route scope, complexity, directory state, and spec…
Shared canonical references for product-design frameworks — Pyramid Principle, Working Backwards, Double Diamond, research…
Optional path to raw content (brief, notes, tickets) or a one-line topic.
Customer research and problem framing using the research-design discipline: hypothesis, null hypothesis, MECE questions, methods,…
Audit and rewrite prompts against Claude Opus 4.7 instruction-following best practices. Produces a scored audit plus a rewritten…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.