cli-interface-design
Skill0 starsChanged 7 days agoMITView on GitHub
Designs readable interactive CLIs with @clack/prompts, consola, and picocolors. After writing the script, run it and inspect ANSI stdout for alignment. Does not render HTML, Canvas, or a browser screenshot.
- Installs packages
1 other project uses a version of this.
Adopted by
Most recently taken up by
- samber/developer-platform-skillstheir own version, first seen Nov 1, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- samber/developer-platform-skills★ 9same 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 repository41 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/heyeddi-always-on.mdcCursor rule
- .cursor/rules/skill-authoring.mdcCursor rule
- aura-design-tokensSkill
- backend-type-bridgerSkill
- composable-patternsSkill
- dart-type-bridgerSkill
- design-handoff-flutterSkill
- design-system-generalizerSkill
- engineering-excellenceSkill
- fancy-ui-craftSkill
- flutter-engineeringSkill
- flutter-patternsSkill
- heyeddi-ci-configSkill
- heyeddi-ci-failsSkill
- heyeddi-ci-guideSkill
- heyeddi-ci-runnersSkill
- heyeddi-designSkill
- heyeddi-handoffSkill
- heyeddi-intakeSkill
- heyeddi-local-firstSkill
- heyeddi-orchestratorSkill
- heyeddi-productSkill
- heyeddi-pr-respondSkill
- heyeddi-pr-reviewSkill
- heyeddi-setupSkill
- heyeddiSkill
- layout-morphSkill
- motion-physicsSkill
- no-duplicate-uiSkill
- pre-merge-gateSkill
- primevue-auraSkill
- primevue-openprops-architectSkill
- project-engineeringSkill
- quasar-foundationSkill
- taste-penpotSkill
- ux-flow-auditorSkill
- verify-buildSkill
- visual-auditorSkill
- visual-verificationSkill
- vue-design-systemSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Do not load Quasar, PrimeVue, or @vueuse/motion for a terminal task.
- Very specific: line 88
Do not render a fake terminal inside a Vue page unless the user asked for a GUI that displays logs.
- Distinctive: line 89
Run the script and read stdout before finishing.
- Distinctive: line 93
When you have finished the user's request for this skill, suggest what to run next:
≈ “Common” is an estimate: at least 1 in 5 of the 364,980 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
CLI Interface Design
Readable, interactive command-line interfaces, project generators, and background monitors. No HTML and no Canvas.
Do not load Quasar, PrimeVue, or @vueuse/motion for a terminal task. If the same product also has a GUI, that GUI is a separate @vue-design-system route.
When the agent activates this skill
- Writing CLI setup scripts, provisioning tools, or dev utilities.
- Presenting background task execution, health checks, or deployment logs.
- Generating interactive terminal prompts (selections, confirmations, text inputs).
How the agent sees a CLI
Do not open a browser and do not call @visual-verification. Run the command in the terminal, capture the ANSI and Unicode stdout, and check character-cell alignment in that text: column edges, box borders, and label spacing. Fix the script and run it again before calling the CLI done.
Installation
npm install @clack/prompts consola picocolorsPattern A: interactive configuration flow
// cli/interactive-flow.js
import { intro, outro, text, select, confirm, isCancel, cancel } from '@clack/prompts';
import pc from 'picocolors';
export async function runConfigWizard() {
intro(pc.bgMagenta(pc.black(' APPLICATION ARCHITECT ')));
const appName = await text({
message: 'What is the package name?',
placeholder: 'core-runtime',
validate: (value) => (!value ? 'Name cannot be empty' : undefined)
});
if (isCancel(appName)) { cancel('Operation aborted.'); process.exit(0); }
const platform = await select({
message: 'Target build ecosystem:',
options: [
{ value: 'desktop', label: 'Tauri Desktop', hint: 'Quasar Frame + PrimeVue Data' },
{ value: 'mobile', label: 'Capacitor Mobile', hint: 'Quasar Layout + Touch Gestures' },
{ value: 'cloud', label: 'Web SPA / PWA', hint: 'Aura Design Preset' }
]
});
if (isCancel(platform)) { cancel('Operation aborted.'); process.exit(0); }
outro(pc.green(`Target [${pc.bold(appName)}] configured for [${platform}].`));
}confirm is part of the import surface. Use it for destructive confirmations. Always handle isCancel before continuing.
Pattern B: real-time status and hierarchical logs
// cli/status-logger.js
import { consola } from 'consola';
import pc from 'picocolors';
export function logSystemState(metrics) {
consola.box({
title: pc.cyan(' ENGINE STATUS '),
message: `Active Workers: ${pc.green(metrics.workers)}\nMemory Usage: ${pc.yellow(metrics.memory)}\nProtocol: ${metrics.protocol}`
});
consola.start('Synchronizing state caches across projects...');
// After task completion:
consola.success('Distributed caches synchronized successfully.');
}Instructions
- Stay inside the 16-color ANSI palette that
picocolorsprovides. Do not emit raw hex or 256-color sequences. - One question per step. Validate empty required text. Exit 0 on cancel.
- Status uses
consola.start,consola.success,consola.error, andconsola.box. Do not print unstructuredconsole.logbanners for the same job. - Do not render a fake terminal inside a Vue page unless the user asked for a GUI that displays logs. Log text in a GUI still comes from the product's data components (
@primevue-aura), not from embedding clack. - Run the script and read stdout before finishing. A wizard that was never executed is not done.
When the task is complete: suggest next skills
When you have finished the user's request for this skill, suggest what to run next:
Run:
python .agents/skills/heyeddi/scripts/suggest_next_skill.py --current-skill cli-interface-design --project-root .- Include the script's
### Next stepblock in your final reply.
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.

