Prompt Bank

A curated collection of high-efficacy inputs engineered to force LLMs into useful cognitive architectures.

Scaffolding Architecture

THE ARCHITECT

Use this to scaffold entire full-stack features in one shot.

$ Act as a senior software architect. I need to build a [FEATURE_NAME] for a [APP_DESCRIPTION].

1. Define the data model (TypeScript interfaces).
2. Create the API routes (Next.js App Router).
3. Create the frontend component using Tailwind CSS and React hooks.

Ensure all code is production-ready, typed, and handles edge cases like loading and error states. Use modern best practices.

Why This Works

Assigning a role primes the model for high-quality output. Asking for data models first ensures the logic is sound before generating UI code.

Maintenance Clean Code

THE REFACTORER

Clean up spaghetti code without breaking functionality.

$ Refactor the following code to improve readability and performance.

Constraints:
- Do NOT change the external behavior/API.
- Break down large functions into smaller utility functions.
- Add JSDoc comments to complex logic.
- Strictly type any 'any' types.

[PASTE CODE HERE]

Why This Works

Explicitly setting constraints helps preserve behavior while still improving structure and maintainability.

UI/UX Tailwind

THE VIBE CHECK

Align UI code with a specific aesthetic.

$ Update the styling of this component to match a 'Neo-Brutalist Cyberpunk' aesthetic.

Use:
- High contrast neon colors (Cyan #00f3ff, Pink #ff00ff).
- Sharp borders (0px radius).
- Large, bold typography.
- Hover states that glitch or invert colors.

Keep the functionality exactly the same.

Why This Works

Providing a clear visual language and concrete design tokens makes CSS output far more consistent.