agentleFS
skilld-devskilld-dev/skilld/skills/skilld-tui-design/SKILL.md

skilld-tui-design

Skill336 starsChanged 54 days agoMITView on GitHub

Designs and verifies skilld CLI output, terminal pickers, and full-screen flows. Use for terminal colours, loading feedback, keyboard controls, layout, errors, or end-to-end CLI UX reviews.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 1

    1. harlan-zw/skilld★ 336100% same

    Edited · 0

    None found.

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository6 other files it gives its agents.

The file

Show its rules and text

We split this skill into the rules it gives an agent

33 rules. About 0 are common, 28 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈28

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read source decisions for the two reviewed Skills and their exact revisions.

    line 11
  2. Very specific:

    Read the project's GLOSSARY.md, COPY.md, and VISION.md when present.

    line 15
  3. Distinctive:

    Keep canonical nouns and strings.

    line 16
  4. Distinctive:

    Keep the existing JSON envelope, streams, and exit codes unless the task changes that contract.

    line 21
  5. Very specific:

    Use the existing shared renderer and semantic palette.

    line 23
  6. Very specific:

    Avoid adding a second framework or per-screen theme.

    line 24
  7. Very specific:

    Start with crates/skilld-ui, crates/skilld-command/src/output.rs, and crates/skilld-native/src.

    line 25
  8. Distinctive:

    Use spacing and headings before adding boxes.

    line 32
  9. Distinctive:

    Keep commands copyable. Preserve whitespace inside quoted arguments.

    line 33
  10. Distinctive:

    Use words for findings. Label identical copies as duplicates and show their paths.

    line 40
  11. Distinctive:

    If a pane cannot show complete content, provide reachable scrolling or a detail view.

    line 43
  12. Distinctive:

    If the screen is unusable, block hidden actions and show the required size.

    line 45
  13. Distinctive:

    Use one action accent across screens.

    line 51
  14. Distinctive:

    Never claim contrast across unknown terminal themes from one screenshot.

    line 56
  15. Distinctive:

    Use explicit states for loading, browsing, editing, review, applying, completion, and failure.

    line 60
  16. Distinctive:

    Prefer tagged states carrying their required data over overlapping pending flags.

    line 61
  17. Distinctive:

    Keep filesystem and network work outside the input loop.

    line 62
  18. Distinctive:

    If operations can overlap, identify their results so stale work cannot replace the current view.

    line 63
  19. Very specific:

    Keep query editing separate from global shortcuts.

    line 65
  20. Distinctive:

    When the total is unknown, show activity and observed counts without a percentage.

    line 74
  21. Distinctive:

    When the total is known, show completed and total work.

    line 75
  22. Distinctive:

    Keep previous results readable during refresh when they remain relevant.

    line 76
  23. Distinctive:

    Keep errors visible until the user changes state or dismisses them.

    line 77
  24. Distinctive:

    Do not replace an error with a filter label or a generic loading message.

    line 78
  25. Distinctive:

    Before a destructive change, show the exact action, item, paths, and content replacement.

    line 81
  26. Distinctive:

    If writes cannot stop safely, defer exit and say so.

    line 84
  27. Distinctive:

    After leaving the alternate screen, print a durable summary of completed changes and recovery paths.

    line 86
  28. Distinctive:

    Run focused behavior tests for changed transitions and regressions.

    line 91
  29. Distinctive:

    Use the real renderer for layout tests.

    line 92
  30. Distinctive:

    Use disposable fixtures for migration, removal, and restoration.

    line 96
  31. Distinctive:

    Check plain and JSON output separately for escape sequences, stream changes, and exit codes.

    line 97
  32. Distinctive:

    Run the repository's required checks after integration.

    line 98
  33. Distinctive:

    Do not treat passing snapshots as proof of keyboard behavior or terminal restoration.

    line 101

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

Design skilld CLI interactions

Build the user's whole command journey, including failure, cancellation, and the return to their shell. Read source decisions for the two reviewed Skills and their exact revisions.

Establish the contract

Read the project's GLOSSARY.md, COPY.md, and VISION.md when present. Keep canonical nouns and strings. Use short sentences with one idea each. Inspect the command parser, output renderer, and terminal lifecycle before changing behavior. Classify each affected surface as static output, a picker, a prompt, or a full-screen view. Include command help, parser errors, startup notices, and progress indicators in the inventory. List its starting state, successful outcome, expected failures, and cancellation behavior. Keep the existing JSON envelope, streams, and exit codes unless the task changes that contract.

Use the existing shared renderer and semantic palette. Avoid adding a second framework or per-screen theme. Start with crates/skilld-ui, crates/skilld-command/src/output.rs, and crates/skilld-native/src. Inspect command help and routing in crates/skilld-command/src/lib.rs.

Put the decision first

Static output starts with the requested result or the failed action. Group repeated records consistently. Place supporting metadata below each record. Use spacing and headings before adding boxes. Keep commands copyable. Preserve whitespace inside quoted arguments. Wrap prose and paths by terminal cells. Preserve the original value in machine output. Give empty results a useful next action based on available commands.

Pickers show the question, query, matching count, selected item, and valid keys. Full-screen views keep scope and current state visible. For large inventories, start with recommendations and counts. Open projects or folders before listing individual Skills. Use words for findings. Label identical copies as duplicates and show their paths; separate symlinks from directory copies. State when a filter changes only the view. An action review must still list every affected target. Spend rows on the user's decision. Do not reserve space for decorative panels. If a pane cannot show complete content, provide reachable scrolling or a detail view. At smaller sizes, simplify the layout before hiding required information. If the screen is unusable, block hidden actions and show the required size.

Use colour with independent cues

Inherit the terminal's foreground and background for body text. Share roles for brand, action, secondary information, success, warning, error, focus, and selection. Use one action accent across screens. Reserve status colours for actual status. Show ownership as a label, without implying safety or success. Pair colour with words, markers, bold text, or inverse selection. Make pane focus visible when colour is disabled. Honor NO_COLOR, TERM=dumb, and existing output capability detection. Never claim contrast across unknown terminal themes from one screenshot.

Make state and input agree

Use explicit states for loading, browsing, editing, review, applying, completion, and failure. Prefer tagged states carrying their required data over overlapping pending flags. Keep filesystem and network work outside the input loop. If operations can overlap, identify their results so stale work cannot replace the current view. Derive available actions and footer hints from the same state rules. Keep query editing separate from global shortcuts. Typing q in a query must remain possible. Make Escape predictable: cancel editing or review before leaving the whole screen. Preserve selection by stable identity when refreshing data. Bound scrolling and expose position when the remaining content is otherwise unclear. Provide discoverable help when the current footer cannot explain all controls.

Explain waiting and outcomes

Show the operation, scope, elapsed time, and available cancellation action. When the total is unknown, show activity and observed counts without a percentage. When the total is known, show completed and total work. Keep previous results readable during refresh when they remain relevant. Label them as previous results if refresh fails. Keep errors visible until the user changes state or dismisses them. Do not replace an error with a filter label or a generic loading message. Describe partial completion explicitly. Preserve recovery and backup paths.

Before a destructive change, show the exact action, item, paths, and content replacement. Require deliberate confirmation of that specific plan. Discard stale activation keys before entering consent states. Preserve cancellation requests. If writes cannot stop safely, defer exit and say so. Never display a cancellation key that does nothing. Restore the terminal on success, failure, and cancellation. After leaving the alternate screen, print a durable summary of completed changes and recovery paths. Provenance describes source evidence. It never proves that instructions are safe.

Verify the whole journey

Run focused behavior tests for changed transitions and regressions. Use the real renderer for layout tests. Do not test source text or private implementation shape. Inspect actual terminal captures, including colour and monochrome. Cover normal and narrow sizes, short screens, Unicode names, long paths, and resize during confirmation. Exercise loading, empty results, errors, filtering, review, cancellation, completion, and return to the shell. Use disposable fixtures for migration, removal, and restoration. Check plain and JSON output separately for escape sequences, stream changes, and exit codes. Run the repository's required checks after integration.

Report what changed and what was exercised. Identify any live path that remains untested. Do not treat passing snapshots as proof of keyboard behavior or terminal restoration.

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.