ux-logic-loop
Skill0 starsChanged 3 months agoApache-2.0View on GitHub
Systematically inventory features from code, derive testable user stories, persist them in a structured matrix, and run a continuous test-fix-retest loop until UX, logic, and integration issues are resolved or blocked. Use when you need an autonomous audit of user-facing behavior across roles, states, permissions, and edge cases.
In this repository46 other files it gives its agents.
- AGENTS.mdAGENTS.md
- academixSkill
- agent-browserSkill
- ai-engineering-platformSkill
- apocalypseSkill
- aria-apg-reviewSkill
- context-budgetSkill
- crawler-readiness-auditSkill
- data-protection-gateSkill
- decision-criticality-gateSkill
- fact-checkerSkill
- find-skillsSkill
- focus-friendly-outputSkill
- frontend-designSkill
- grill-meSkill
- grill-with-docsSkill
- humanizerSkill
- improve-codebase-architectureSkill
- microsoft-foundrySkill
- output-templatesSkill
- pre-launch-security-gateSkill
- prompt-preflightSkill
- quick-recapSkill
- rag-retrieval-qualitySkill
- rest-api-best-practicesSkill
- rigorous-responseSkill
- security-checklistSkill
- shepherdSkill
- skill-optimizerSkill
- sql-query-correctnessSkill
- system-design-scaleSkill
- tddSkill
- ui-ux-color-contrastSkill
- ui-ux-component-qualitySkill
- ui-ux-design-systemsSkill
- ui-ux-dropdownsSkill
- ui-ux-form-validationSkill
- ui-ux-generationSkill
- ui-ux-loading-statesSkill
- ui-ux-mobile-cssSkill
- ui-ux-typographySkill
- ux-pattern-reviewSkill
- vercel-react-best-practicesSkill
- visual-flow-storyboardSkill
- visual-pr-reviewSkill
- web-design-guidelinesSkill
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 11 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Use this skill to turn a codebase into a persistent, testable user-story loop.
- Distinctive: line 25
Write the stories into a persistent, machine-readable test matrix.
- Distinctive: line 52
Keep the loop state in machine-readable files.
- Distinctive: line 64
Use a CSV or compatible table with at least:
- Very specific: line 81
Only mark a story PASSED after:
- Distinctive: line 91
Test high-impact, high-risk work first:
- Distinctive: line 103
Use the lowest sensible test level first.
- Distinctive: line 104
Prefer a browser test for end-to-end flows, a unit test for pure logic, and integration tests for services, APIs, permissions, and …
- Distinctive: line 105
Check reload, navigation, keyboard interaction, focus, slow requests, error responses, and repeated actions.
- Distinctive: line 106
Do not weaken assertions, hide errors, skip tests, or mark a fix complete without retesting.
- Distinctive: line 107
Document blocked scenarios with the blocker, needed decision, affected stories, and safe alternatives.
- Distinctive: line 128
When the loop is done, summarize:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
UX & Logic Loop
Use this skill to turn a codebase into a persistent, testable user-story loop. This owns the persistent story matrix and the test-fix-retest loop. If visual-flow-storyboard has already mapped the flows, reuse its output as the inventory source instead of re-deriving flows from code.
Core workflow
- Inspect the repository first.
- Build a feature inventory from the actual code.
- Derive user stories for happy path, validation, empty state, loading, error, recovery, permission, persistence, concurrency, boundary, destructive, accessibility, and responsive behavior.
- Write the stories into a persistent, machine-readable test matrix.
- Pick the highest-priority ready story.
- Reproduce the behavior as a real user.
- Fix the root cause, not just the symptom.
- Retest the original story and nearby regressions.
- Record the finding, status, and coverage.
- Continue until the matrix is exhausted or a real blocker is reached.
First repository pass
Inspect, in order when available:
AGENTS.mdREADME.mdCONTRIBUTING.md- architecture docs
- existing skills
- test config
- coding standards
- security rules
- design-system docs
- deployment and environment rules
Then document the discovered framework, runtime, start commands, test commands, main modules, roles, auth, permissions, persistence, external dependencies, tests, and available browser or UI tools.
Persistent working files
Keep the loop state in machine-readable files. Prefer these names unless the repo already has a stricter convention:
.agents/ux-logic-loop/session-state.md.agents/ux-logic-loop/feature-inventory.md.agents/ux-logic-loop/user-stories.csv.agents/ux-logic-loop/findings.md.agents/ux-logic-loop/test-runs.md.agents/ux-logic-loop/coverage.md.agents/ux-logic-loop/bugs/
Story matrix minimum fields
Use a CSV or compatible table with at least:
id, area, feature, role, precondition, user_story, scenario, expected_result, test_type, risk, dependencies, status, last_tested, finding_id, automated_test, notes
Status flow
DISCOVEREDREADYBLOCKEDTESTINGFAILEDFIXINGRETESTPASSEDSKIPPEDNEEDS_REVIEW
Only mark a story PASSED after:
- the original failure was reproduced
- the cause was understood
- the fix was implemented
- the original test passed again
- relevant regression tests passed
Prioritization
Test high-impact, high-risk work first:
- Security and permission bugs
- Data loss
- Wrong business logic
- Blocking main flows
- Missing error handling
- UX problems in common flows
- Cosmetic issues
Testing rules
- Use the lowest sensible test level first.
- Prefer a browser test for end-to-end flows, a unit test for pure logic, and integration tests for services, APIs, permissions, and transactions.
- Check reload, navigation, keyboard interaction, focus, slow requests, error responses, and repeated actions.
- Do not weaken assertions, hide errors, skip tests, or mark a fix complete without retesting.
- Document blocked scenarios with the blocker, needed decision, affected stories, and safe alternatives.
Findings
Give each finding a stable ID and record:
- title
- category
- severity
- affected stories
- starting state
- reproduction steps
- actual behavior
- expected behavior
- root cause
- fix
- verification
- automated test
Final report
When the loop is done, summarize:
- analyzed features
- created user stories
- executed tests
- passed, failed, and blocked stories
- fixed findings
- open findings
- remaining risks
- not tested areas
- next steps
Shared output profile
Compose the execution profile from output-templates.
Report story status, discovered findings, fixes, test evidence, remaining coverage, and blockers.
Preserve stricter domain rules above, omit empty components, and never fill a component with invented evidence.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

