Tui feedback loop

From napisani/proctmux · View interactive version

Tui feedback loop is an AI agent skill from the GitHub repository napisani/proctmux. Harness-first workflow for evaluating and improving terminal UIs through real interaction. Use this whenever the user wants to review a TUI experience, compare before/after behavior, identify UX friction, validate navigation or filtering flows, inspect visual stability, or turn observed interaction

How to use this skill

Skill file

TUI Feedback Loop

Use this skill to evaluate a terminal UI by interacting with it through a real harness, collecting evidence, and producing actionable findings.

Purpose

This skill helps you and the user improve TUIs through an iterative feedback loop:

  1. verify the harness
  2. launch the app through the harness
  3. drive the app like a user
  4. capture evidence
  5. identify UX and correctness issues
  6. extract regression-test opportunities
  7. recommend the next improvements

This skill is generic. Do not assume proctmux-specific commands, widgets, or file layouts unless the user provides them.

Core Rules

Harness Requirements

Before reviewing the TUI, establish:

If any of these are missing and the missing piece blocks reliable evaluation, stop and ask the user for the missing harness detail.

Workflow

1. Confirm harness context

Identify:

Summarize the harness context before proceeding.

2. Pick a scenario slice

Prefer focused passes such as:

If the user did not specify a slice, recommend one and explain why.

3. Exercise the TUI

Run the chosen scenario through the harness.

Capture:

Do not overgeneralize from one run if the behavior looks timing-sensitive. Re-run the scenario when needed.

4. Analyze findings

Classify findings into:

For each finding, include:

5. Extract follow-up work

Turn findings into:

Prefer concrete testable statements over vague recommendations.

Review Lenses

Always consider these lenses during review:

Not every run needs to cover every lens, but do not ignore them across the overall loop.

Output Format

Use this structure unless the user asks for a different one:

Harness Context

Scenarios Exercised

Observed Evidence

UX Findings

Correctness Findings

Regression Test Opportunities

Recommended Next Improvements

Decision Rules

Example Uses

Example 1:

User: "Use the PTY harness to review the filter UX in this TUI and tell me what feels rough."

Example 2:

User: "Run the app through the session harness and compare the startup experience before and after my changes."

Example 3:

User: "Interact with this terminal UI like a user and turn any issues you find into regression-test ideas."

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.