CLI Project Preferences
Copy-and-use AI prompt for cli project preferences with role framing, constraints, and instructions.
This prompt
# 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.85Related prompt
You are given a task to integrate an existing React component in the codebase.
The codebase should support:
- shadcn project structure
- Tailwind CSS
- Typescript
If it doesn't, provide instructions on how to setup project via shadcn CLI, install Tailwind or Typescript.
Determine the default path for components and styles.
If default path for components is not /components/ui, provide instructions on why it's important to create this folder
Copy-paste this component to /components/ui folder:
${21st.dev_component}
Implementation Guidelines
1. Analyze the component structure and identify all required dependencies
2. Review the component's argumens and state
3. Identify any required context providers or hooks and install them
4. Questions to Ask
- What data/props will be passed to this component?
- Are there any specific state management requirements?
- Are there any required assets (images, icons, etc.)?
- What is the expected responsive behavior?
- What is the best place to use this component in the app?
Steps to integrate
0. Copy paste all the code above in the correct directories
1. Install external dependencies
2. Fill image assets with Unsplash stock images you know exist
3. Use lucide-react icons for svgs or logos if component requires themHow to use it
- Copy the cli project preferences prompt template.
- Paste your specific details into any bracketed placeholders.
- Run in ChatGPT, Claude, or Gemini to get targeted results.
Things to check
- Review AI-generated outputs for factual accuracy before production use.
Related Coding Prompts
View all 807 Coding prompts →Integrate a React Component
Copy-and-use AI prompt for integrate a react component with role framing, constraints, and instructions.
3D Sneaker Showcase Website
Copy-and-use AI prompt for 3d sneaker showcase website with role framing, constraints, and instructions.
3D FPS Game
Copy-and-use AI prompt for 3d fps game with role framing, constraints, and instructions.
3D Racing Game
Copy-and-use AI prompt for 3d racing game with role framing, constraints, and instructions.
3D Space Explorer
Copy-and-use AI prompt for 3d space explorer with role framing, constraints, and instructions.
7v7 Football Team Generator App
Copy-and-use AI prompt for 7v7 football team generator app with role framing, constraints, and instructions.
SEO Chrome Extension Builder
Copy-and-use AI prompt for seo chrome extension builder with role framing, constraints, and instructions.
Complete GitHub Guide
Copy-and-use AI prompt for complete github guide with role framing, constraints, and instructions.