agentleFS
joonchungpersonal-devjoonchungpersonal-dev/claude-skills/skills/council-ux-test/SKILL.md

council-ux-test

Skill1 starsChanged 8 months agoMITView on GitHub

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    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
  1. Very specific:

    After modifying orchestrator.py, app.py, chat CSS, or chat JS

    line 7
  2. Distinctive:

    Before pushing changes that affect the discussion flow

    line 8
  3. Distinctive:

    When the user reports UX issues (cutoffs, formatting, visual bugs)

    line 9
  4. Distinctive:

    If CRITICAL/HIGH issues found: fix the root cause, re-run the specific mode

    line 62
  5. Distinctive:

    If MEDIUM issues: assess whether they impact user experience

    line 63
  6. Distinctive:

    If all PASS: safe to push

    line 64

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/council-ux-test — Council of Elders UX Integration Test

Purpose

End-to-end test of the Council of Elders streaming pipeline. Validates event sequences, response quality, formatting, and visual consistency without launching the app.

When to Use

  • After modifying orchestrator.py, app.py, chat CSS, or chat JS
  • Before pushing changes that affect the discussion flow
  • When the user reports UX issues (cutoffs, formatting, visual bugs)

Quick Start

Frontend-only (no LLM, instant)

cd ~/council-of-elders && source venv/bin/activate && python scripts/test_ux.py --dry-run

Full pipeline test (requires LLM API key)

cd ~/council-of-elders && source venv/bin/activate && python scripts/test_ux.py --mode all

Single mode test

cd ~/council-of-elders && source venv/bin/activate && python scripts/test_ux.py --mode salon --response-length detailed

What It Tests

Backend Pipeline (per mode: panel, salon, roundtable, rap, poetry)

  1. Event sequence integrity — every elder_start has matching elder_done, every moderator_start has moderator_done, stream ends with discussion_done
  2. Response lengths — elder responses fall within the configured sentence/token limits for the response_length setting
  3. No orphaned events — no chunks arrive without a preceding start event
  4. Interruption handling — interrupted elders still get elder_done events
  5. Streaming — responses arrive in multiple chunks (not dumped all at once)

HTML Formatting

  1. No raw markdown — #, **, * converted to proper HTML
  2. Balanced tags — open/close tag counts match
  3. No control tag leakage — [DIRECT:], [NOMINATE:], [WRAP_UP] stripped from output

Frontend Static Analysis

  1. Elder color conflicts — no elder colors too close to moderator green
  2. Moderator visual differentiation — moderator card uses different layout than elder cards
  3. Event routing — all stream handlers check for __moderator__ routing

Interpreting Results

[+] PANEL  (12.3s)  — PASS     # Green = good
[X] SALON  (15.1s)  — FAIL     # Red = has CRITICAL or HIGH issues

Issue Severities

  • CRITICAL — broken pipeline (backend error, no elders spoke, HTTP failure)
  • HIGH — event sequence bugs (orphaned chunks, missing done events, routing gaps)
  • MEDIUM — quality issues (short responses, unbalanced HTML, visual confusion)
  • LOW — polish (raw markdown artifacts, low chunk count)

After Running

  1. If CRITICAL/HIGH issues found: fix the root cause, re-run the specific mode
  2. If MEDIUM issues: assess whether they impact user experience
  3. If all PASS: safe to push

Options

FlagDescription
--mode MODETest a single mode (panel/salon/roundtable/rap/poetry/all)
--question "..."Custom test question
--elders a,b,cCustom elder IDs (comma-separated)
--response-lengthbrief/moderate/detailed/extended
--dry-runFrontend-only checks, no LLM calls
--frontend-onlySame as --dry-run

Files

  • Test runner: ~/council-of-elders/scripts/test_ux.py
  • This skill: ~/.claude/skills/council-ux-test/SKILL.md

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.