frontend-design-system
Skill4 starsChanged 7 months agoMITView on GitHub
Terminal UI patterns: display.js visual system, Chalk styling, Ora spinners, Inquirer prompts, and CLI output conventions for worclaude
9 other projects use a version of this.
Adopted by
Most recently taken up by
- AntonioMellies/claude-code-skillstheir own version, first seen Nov 1, 2026
- hushh-labs/hushh-researchtheir own version, first seen Nov 1, 2026
- ChainChase/agent-toolboxtheir own version, first seen Oct 15, 2026
- gongyijie85/dsh-ecctheir own version, first seen Oct 13, 2026
- wangge-ai/wangge-skillstheir own version, first seen Oct 8, 2026
- mnzralee/claude-multi-agent-architecturetheir own version, first seen Oct 3, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- oikon48/cc-frontend-skills★ 69same name
- hushh-labs/hushh-research★ 40same name
- polyant-ai/polyant★ 10same name
- gongyijie85/dsh-ecc★ 8same name
- mnzralee/claude-multi-agent-architecture★ 8same name
- wangge-ai/wangge-skills★ 4same name
- AntonioMellies/claude-code-skills★ 2same name
- sefaertunc/anthropic-watch★ 1same name
- ChainChase/agent-toolbox★ 0same name
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 repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-routingSkill
- backend-conventionsSkill
- claude-md-maintenanceSkill
- coding-principlesSkill
- context-managementSkill
- coordinator-modeSkill
- git-conventionsSkill
- memory-architectureSkill
- planning-with-filesSkill
- project-patternsSkill
- prompt-engineeringSkill
- review-and-handoffSkill
- security-checklistSkill
- subagent-usageSkill
- testingSkill
- verificationSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 1 is distinctive, and 4 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
All user-facing output goes through the display namespace.
- Very specific: line 25
Rule: Never use console.log() for user-facing output.
- Very specific: line 31
No custom theme object — colors are defined inline in display.js functions.
- Distinctive: line 78
Use list-based confirmation (explicit choices), not simple confirm (y/n).
- Very specific: line 100
Every command that modifies files ends with a "Next steps" section — numbered list of what the user should do next.
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Terminal UI Conventions
worclaude has no web frontend. This skill covers the terminal UI system — the equivalent of a design system for CLI output: display utilities, styling, interactive prompts, and spinner management.
Display System (src/utils/display.js)
All user-facing output goes through the display namespace. Import as:
import * as display from '../utils/display.js';Bold + Badges visual system
The CLI uses a "Bold + Badges" restyle for all output. Key display functions:
display.success(msg)— green checkmark + messagedisplay.error(msg)— red styled errordisplay.info(msg)— info badgedisplay.warning(msg)— warning badgedisplay.newline()— empty line for spacingdisplay.header(title)— section headers with styling
Rule: Never use console.log() for user-facing output. Always display.*. Console is only acceptable in test files.
Chalk Styling
Using Chalk ^5.4.1 (ESM-only version). Colors are applied via chalk.hex() for brand-consistent styling, not via named colors.
No custom theme object — colors are defined inline in display.js functions. If you add a new display function, match the existing visual weight and color scheme.
Ora Spinners
Spinners provide progress feedback during non-interactive operations (file copying, backup creation, merge processing).
Critical rule: spinner/prompt ordering
Ora spinners must be stopped before any Inquirer prompt fires. If a spinner is animating when Inquirer renders a prompt, the terminal gets corrupted.
// CORRECT
spinner.stop(); // or spinner.succeed() / spinner.fail()
const answer = await inquirer.prompt([...]);
spinner = ora('Continuing...').start();
// WRONG — terminal corruption
// spinner is still running
const answer = await inquirer.prompt([...]);Spinner lifecycle
const spinner = ora('Creating backup...').start();
try {
await doWork();
spinner.succeed('Backup created');
} catch (err) {
spinner.fail('Backup failed');
display.error(err.message);
}Inquirer Prompts (src/prompts/)
Using Inquirer ^12.5.0. Prompts are isolated in src/prompts/ — one file per prompt group:
project-type.js— multi-select project type with redundancy warningstech-stack.js— multi-select languages + Docker questionagent-selection.js— two-step category → fine-tune selectionconflict-resolution.js— hook conflict resolution (keep/replace/chain)claude-md-merge.js— CLAUDE.md merge strategy selection
Prompt patterns
- Multi-select uses checkbox prompt with inline descriptions
- Confirmation uses list prompt with explicit options (not y/n) — prevents random text input
- Redundancy detection: when overlapping selections detected, show warning as a confirm prompt with go-back option
Confirm prompt rule
Use list-based confirmation (explicit choices), not simple confirm (y/n). This was a bug fix — simple y/n confirms accepted random text as "no".
// CORRECT
{ type: 'list', choices: ['Yes, install', 'No, let me start over', 'Let me adjust'] }
// AVOID for important decisions
{ type: 'confirm' } // accepts any non-y input as "no"Output Structure
Init flow output
Header → Project info prompts → Type selection → Stack selection → Agent selection →
Confirmation review → Spinner (scaffolding) → File creation list → Next stepsStatus/diff output
Uses indented, aligned display with consistent badge formatting. File status indicators: ✓ (success), ~ (modified), - (missing), + (extra).
Next steps pattern
Every command that modifies files ends with a "Next steps" section — numbered list of what the user should do next. /setup is always listed as the primary next step after init.
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.

