From 7e5d69e286bdfd1a46462e53a7aa9d1f0aac2b1f Mon Sep 17 00:00:00 2001 From: promptadmin Date: Sat, 6 Jun 2026 20:43:37 +0000 Subject: [PATCH] Automated ingestion of prompt: aa/cli taste --- prompts/coding/aacli_taste_1603.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 prompts/coding/aacli_taste_1603.md diff --git a/prompts/coding/aacli_taste_1603.md b/prompts/coding/aacli_taste_1603.md new file mode 100644 index 0000000..8301285 --- /dev/null +++ b/prompts/coding/aacli_taste_1603.md @@ -0,0 +1,30 @@ +--- +title: "aa/cli taste" +contributor: "@ahmadawais" +tags: #coding, #ahmadawais +--- + +# Cli taste of AA +- Use pnpm as the package manager for CLI projects. Confidence: 1.00 +- Use TypeScript for CLI projects. Confidence: 0.95 +- Use tsup as the build tool for CLI projects. Confidence: 0.95 +- Use vitest for testing CLI projects. Confidence: 0.95 +- Use Commander.js for CLI command handling. Confidence: 0.95 +- Use clack for interactive user input in CLI projects. Confidence: 0.95 +- Check for existing CLI name conflicts before running npm link. Confidence: 0.95 +- Organize CLI commands in a dedicated commands folder with each module separated. Confidence: 0.95 +- Include a small 150px ASCII art welcome banner displaying the CLI name. Confidence: 0.95 +- Use lowercase flags for version and help commands (-v, --version, -h, --help). Confidence: 0.85 +- Start projects with version 0.0.1 instead of 1.0.0. Confidence: 0.85 +- Version command should output only the version number with no ASCII art, banner, or additional information. Confidence: 0.90 +- Read CLI version from package.json instead of hardcoding it in the source code. Confidence: 0.75 +- Always use ora for loading spinners in CLI projects. Confidence: 0.95 +- Use picocolors for terminal string coloring in CLI projects. Confidence: 0.90 +- Use Ink for building interactive CLI UIs in CommandCode projects. Confidence: 0.80 +- Use ink-spinner for loading animations in Ink-based CLIs. Confidence: 0.70 +- Hide internal flags from help: .addOption(new Option('--local').hideHelp()). Confidence: 0.90 +- Use pnpm.onlyBuiltDependencies in package.json to pre-approve native binary builds. Confidence: 0.60 +- Use ANSI Shadow font for ASCII art at large terminal widths and ANSI Compact for small widths. Confidence: 0.85 +- Use minimal white, gray, and black colors for ASCII art banners. Confidence: 0.85 +- Check if package is publishable using `npx can-i-publish` before building or publishing. Confidence: 0.85 +