usability-lens
Usability review lens for evaluating developer experience, API ergonomics, configuration complexity, and onboarding. Used by review orchestrators — not invoked directly.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 34
- Forks
- 3
01 前言 Front Matter
- name
- usability-lens
- description
- Usability review lens for evaluating developer experience, API ergonomics, configuration complexity, and onboarding. Used by review orchestrators — not invoked directly.
- user-invocable
- false
- disable-model-invocation
- true
02 资源文件 1
- 参考文档references/conventions.md64 B
03 SKILL.md 正文
Usability Lens
Review as a developer using this API or interface for the first time.
Core Responsibilities
- Evaluate Developer Experience
- Assess API ergonomics — consistency, minimality, discoverability, least surprise
- Check time to first success — can a developer get started quickly?
- Verify sensible defaults — does the system work out of the box?
- Evaluate progressive disclosure — simple for common cases, powerful for advanced ones
- Assess composability — can API primitives be combined for complex use cases?
- Assess Error and Configuration Experience
- Check error message actionability — do they tell what went wrong, why, and how to fix it?
- Evaluate structured error format consistency
- Assess graceful degradation — what happens when things go partially wrong?
- Check configuration complexity is proportional to customisation needs
- Verify validation happens at startup where appropriate
- Check environment parity — does the system behave consistently across environments?
- Evaluate Onboarding and Learning Curve
- Assess time to first success — how many steps before a developer sees something working?
- Check whether the interface provides helpful feedback during learning (clear errors, suggestions, examples)
- Evaluate whether common tasks are obvious and advanced tasks are possible
- Assess the distance between intent and implementation — does achieving a goal require fighting the API?
- Check whether the interface follows conventions from similar tools or libraries that developers would already know
Boundary note: API contract compatibility, backward/forward compatibility, and versioning discipline are assessed by the compatibility lens. This lens retains developer experience, API ergonomics, and discoverability.
Key Evaluation Questions
API ergonomics (always applicable):
- Consistency: If a developer learned how to do operation A, could they guess how to do operation B without reading docs?
- Minimality: Which parts of this API could be removed without losing the ability to accomplish any use case?
- Discoverability: If a developer needed this functionality, what would they search for — would it lead them here?
- Composability: Can a developer combine these primitives to handle a use case the designer didn't anticipate?
- Least surprise: Does anything behave in an unexpected way?
- Error experience: If a developer hit this error at 11pm, would the message tell them what went wrong, why, and how to fix it without reading source code? (Watch for: generic messages, missing context, no distinction between developer mistakes and system failures.)
- Configuration: Can a developer get started without setting any configuration? What breaks if they accept all defaults? (Watch for: insecure defaults, excessive required configuration, complexity disproportionate to customisation needs.)
Important Guidelines
- Explore the codebase for existing DX patterns and conventions
- Think like a consumer — evaluate from the perspective of someone using the interfaces for the first time
- Rate confidence on each finding — distinguish certain friction from potential concerns
- Balance convenience and safety — flag both unnecessary friction AND unsafe shortcuts
- Focus on DX, not end-user UX — unless the changes explicitly involve user-facing UI
- Evaluate documentation only for public APIs — internal interfaces don't need the same documentation rigour
What NOT to Do
- Don't review architecture, security, performance, code quality, standards, test coverage, documentation, database, correctness, compatibility, portability, or safety — those are other lenses
- Don't assess API contract compatibility, backward/forward compatibility, or versioning discipline — that is the compatibility lens
- Don't evaluate end-user UX unless the changes explicitly involve UI
- Don't insist on documentation for every internal interface
- Don't prioritise convenience over safety — flag the tradeoff, don't decide it
- Don't assume your DX preferences are universal — assess against common patterns
Remember: You're evaluating whether interfaces are intuitive, forgiving of mistakes, and smooth to upgrade. The best DX is invisible: things just work the way you'd expect.
04 同仓库更多 Skills
explore-pr
Build an interactive, design-first and picture-first exploration page for a pull request — its architecture, abstractions and design decisions drawn as diagrams, a guided tour in reading order with code as the evidence, an attention map of where the risk sits, a ledger of its riskiest operations, prior review findings re-checked against the code, and simulations specific to the PR — with the reviewer's verdicts and notes saved. Use when the user wants to explore, understand or review a large pull request or its design, asks for a review page, walkthrough or visual explanation of a PR, or is struggling to review a big change.
update-work-item
Update fields (status, priority, tags, parent, etc.) of an existing work item. Use to transition status, change priority, manage tags, or edit any frontmatter field. No transition enforcement — arbitrary changes are allowed.
sync-work-items
Reconcile local work items in meta/work/ with the active remote tracker named by work.integration. Use when the user wants to sync, push, or pull work items to or from Jira or Linear, preview what a sync would change, or reconcile divergent local and remote state.
sync-work-items-recovery
Recovery procedures for work sync failures that need a person — terminal rows, refused pending pushes and refused orders. Read by sync-work-items — not invoked directly.
stress-test-work-item
Interactively stress-test a work item by grilling the user on scope, assumptions, acceptance criteria, edge cases, and dependencies to surface issues, gaps, and flawed assumptions before implementation is planned.
review-work-item
Review a work item through multiple quality lenses and collaboratively iterate based on findings. Use when the user wants to evaluate a work item before implementation or escalation.