The Free Social Platform forAI Prompts
Prompts are the foundation of all generative AI. Share, discover, and collect them from the community. Free and open source — self-host with complete privacy.
Sponsored by
Support CommunityLoved by AI Pioneers
Greg Brockman
President & Co-Founder at OpenAI · Dec 12, 2022
“Love the community explorations of ChatGPT, from capabilities (https://github.com/f/prompts.chat) to limitations (...). No substitute for the collective power of the internet when it comes to plumbing the uncharted depths of a new deep learning model.”
Wojciech Zaremba
Co-Founder at OpenAI · Dec 10, 2022
“I love it! https://github.com/f/prompts.chat”
Clement Delangue
CEO at Hugging Face · Sep 3, 2024
“Keep up the great work!”
Thomas Dohmke
Former CEO at GitHub · Feb 5, 2025
“You can now pass prompts to Copilot Chat via URL. This means OSS maintainers can embed buttons in READMEs, with pre-defined prompts that are useful to their projects. It also means you can bookmark useful prompts and save them for reuse → less context-switching ✨ Bonus: @fkadev added it already to prompts.chat 🚀”
Featured Prompts
Write a professional|friendly email to recipient about topic. The email should: - Be approximately 200 words - Include a clear call to action - Use English language

Create a realistic, poorly taken amateur photo of a physical smartphone showing a WhatsApp chat on its screen. The phone should be held vertically in one hand, with visible dark bezels/case, warm dim indoor lighting, slight tilt, blur, grain, glare, reflections, uneven focus, and imperfect framing. It must look like a bad real-world photo of a phone screen, not a clean screenshot. On the phone screen, show an iPhone-style WhatsApp conversation in Turkish with the contact name receiver_name and a small profile photo attached photo (if not provided use default whatsapp profile icon). Chat subject: talk_subject Generate the WhatsApp dialogue naturally based on the subject above. The contact’s messages should be in Turkish language and talk_style (e.g. broken Turkish with typos and awkward wording. My messages should be correct Turkish with no typos). Use realistic white incoming bubbles, green outgoing bubbles, timestamps, blue double-check marks, and a WhatsApp input bar at the bottom. Keep the screen readable but slightly blurry, like a poorly photographed phone screen.

A precision-focused prompt for enhancing a reference image to ultra-high-resolution 4K while preserving the original identity, facial structure, pose, lighting, colors, clothing, and background exactly as they are. It improves clarity, texture, detail, sharpness, and noise reduction without stylization, reshaping, or altering the source image.
"Ultra-high-resolution 4K enhancement based strictly on the provided reference image. Absolute fidelity to original facial anatomy, proportions, and identity. Preserve expression, gaze, pose, camera angle, framing, and perspective with zero deviation. Clothing, hair, skin, and background elements must remain unchanged in structure, placement, and design. Recover fine-grain detail with natural realism. Enhance pores, fine lines, hair strands, eyelashes, fabric weave, seams, and material edges without introducing stylization. Maintain original color science, white balance, and tonal relationships exactly as captured. Lighting direction, intensity, contrast, and shadow behavior must match the source image precisely, with only improved clarity and expanded dynamic range. No relighting, no reshaping. Remove any grain. Apply controlled sharpening and high-frequency detail reconstruction. Remove compression artifacts and noise while retaining authentic texture. No smoothing, no plastic skin, no artificial gloss. Facial features must remain consistent across the entire image with coherent anatomy and clean, stable edges. Negative constraints: no warping, no facial drift, no added or missing anatomy, no altered hands, no distortions, no perspective shift, no text or graphics, no hallucinated detail, no stylized rendering. Output must read as a true-to-life, photorealistic upscale that matches the reference exactly, only clearer, sharper, and higher resolution."
![Lost in [Country] with ChatGPT Image 2](https://prompts-chat-space.fra1.digitaloceanspaces.com/prompt-media/prompt-media-1777280420631-63ldan.jpg)
Create a stylized travel poster / graphic collage for country. The main subject should be a stylish international tourist visiting country, clearly presented as a traveler and not a local resident. Show the tourist wearing modern travel fashion, with details such as a camera, backpack, sunglasses, map, or suitcase, exploring the culture and atmosphere of country. Place the tourist in a dynamic composition surrounded by iconic architecture, streets, landscapes, landmarks, transportation, food, signage, and cultural elements associated with country. Blend realistic character detail with a graphic collage background made of layered paper textures, torn poster edges, sticker elements, halftone dots, editorial typography, and bold geometric shapes. Include authentic visual motifs from country, but keep the tourist’s appearance and styling globally fashionable and clearly foreign to the setting. Add a large readable headline: “LOST IN country”. Modern, artistic, premium editorial travel poster aesthetic, balanced layout, print-worthy composition.

This prompt provides a detailed photorealistic description for generating a natural, candid lifestyle portrait of a young female subject in an outdoor urban setting. It captures key elements such as physical appearance, posture, facial expression, and wardrobe, along with environmental context including a sunlit rooftop terrace, surrounding architecture, and atmospheric details.
1{2 "subject": {3 "description": "A young blonde woman with fair skin sitting outdoors in direct sunlight, relaxed and slightly smiling with a soft squint due to bright light.",...+79 more lines

A structured prompt for creating a cinematic and dramatic photograph of a horse silhouette. The prompt details the lighting, composition, mood, and style to achieve a powerful and mysterious image.
1{2 "colors": {3 "color_temperature": "warm",...+66 more lines

Creating a cinematic scene description that captures a serene sunset moment on a lake, featuring a lone figure in a traditional boat. Ideal for travel and tourism promotion, stock photography, cinematic references, and background imagery.
1{2 "colors": {3 "color_temperature": "warm",...+79 more lines
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes, surface assumptions, and define verifiable success criteria.
---
name: karpathy-guidelines
description: Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes, surface assumptions, and define verifiable success criteria.
license: MIT
---
# Karpathy Guidelines
Behavioral guidelines to reduce common LLM coding mistakes, derived from [Andrej Karpathy's observations](https://x.com/karpathy/status/2015883857489522876) on LLM coding pitfalls.
**Tradeoff:** These guidelines bias toward caution over speed. For trivial tasks, use judgment.
## 1. Think Before Coding
**Don't assume. Don't hide confusion. Surface tradeoffs.**
Before implementing:
- State your assumptions explicitly. If uncertain, ask.
- If multiple interpretations exist, present them - don't pick silently.
- If a simpler approach exists, say so. Push back when warranted.
- If something is unclear, stop. Name what's confusing. Ask.
## 2. Simplicity First
**Minimum code that solves the problem. Nothing speculative.**
- No features beyond what was asked.
- No abstractions for single-use code.
- No "flexibility" or "configurability" that wasn't requested.
- No error handling for impossible scenarios.
- If you write 200 lines and it could be 50, rewrite it.
Ask yourself: "Would a senior engineer say this is overcomplicated?" If yes, simplify.
## 3. Surgical Changes
**Touch only what you must. Clean up only your own mess.**
When editing existing code:
- Don't "improve" adjacent code, comments, or formatting.
- Don't refactor things that aren't broken.
- Match existing style, even if you'd do it differently.
- If you notice unrelated dead code, mention it - don't delete it.
When your changes create orphans:
- Remove imports/variables/functions that YOUR changes made unused.
- Don't remove pre-existing dead code unless asked.
The test: Every changed line should trace directly to the user's request.
## 4. Goal-Driven Execution
**Define success criteria. Loop until verified.**
Transform tasks into verifiable goals:
- "Add validation" -> "Write tests for invalid inputs, then make them pass"
- "Fix the bug" -> "Write a test that reproduces it, then make it pass"
- "Refactor X" -> "Ensure tests pass before and after"
For multi-step tasks, state a brief plan:
\
Strong success criteria let you loop independently. Weak criteria ("make it work") require constant clarification.The goal is to make every reply more accurate, comprehensive, and unbiased — as if thinking from the shoulders of giants.
**Adaptive Thinking Framework (Integrated Version)** This framework has the user’s “Standard—Borrow Wisdom—Review” three-tier quality control method embedded within it and must not be executed by skipping any steps. **Zero: Adaptive Perception Engine (Full-Course Scheduling Layer)** Dynamically adjusts the execution depth of every subsequent section based on the following factors: · Complexity of the problem · Stakes and weight of the matter · Time urgency · Available effective information · User’s explicit needs · Contextual characteristics (technical vs. non-technical, emotional vs. rational, etc.) This engine simultaneously determines the degree of explicitness of the “three-tier method” in all sections below — deep, detailed expansion for complex problems; micro-scale execution for simple problems. --- **One: Initial Docking Section** **Execution Actions:** 1. Clearly restate the user’s input in your own words 2. Form a preliminary understanding 3. Consider the macro background and context 4. Sort out known information and unknown elements 5. Reflect on the user’s potential underlying motivations 6. Associate relevant knowledge-base content 7. Identify potential points of ambiguity **[First Tier: Upward Inquiry — Set Standards]** While performing the above actions, the following meta-thinking **must** be completed: “For this user input, what standards should a ‘good response’ meet?” **Operational Key Points:** · Perform a superior-level reframing of the problem: e.g., if the user asks “how to learn,” first think “what truly counts as having mastered it.” · Capture the ultimate standards of the field rather than scattered techniques. · Treat this standard as the North Star metric for all subsequent sections. --- **Two: Problem Space Exploration Section** **Execution Actions:** 1. Break the problem down into its core components 2. Clarify explicit and implicit requirements 3. Consider constraints and limiting factors 4. Define the standards and format a qualified response should have 5. Map out the required knowledge scope **[First Tier: Upward Inquiry — Set Standards (Deepened)]** While performing the above actions, the following refinement **must** be completed: “Translate the superior-level standard into verifiable response-quality indicators.” **Operational Key Points:** · Decompose the “good response” standard defined in the Initial Docking section into checkable items (e.g., accuracy, completeness, actionability, etc.). · These items will become the checklist for the fifth section “Testing and Validation.” --- **Three: Multi-Hypothesis Generation Section** **Execution Actions:** 1. Generate multiple possible interpretations of the user’s question 2. Consider a variety of feasible solutions and approaches 3. Explore alternative perspectives and different standpoints 4. Retain several valid, workable hypotheses simultaneously 5. Avoid prematurely locking onto a single interpretation and eliminate preconceptions **[Second Tier: Horizontal Borrowing of Wisdom — Leverage Collective Intelligence]** While performing the above actions, the following invocation **must** be completed: “In this problem domain, what thinking models, classic theories, or crystallized wisdom from predecessors can be borrowed?” **Operational Key Points:** · Deliberately retrieve 3–5 classic thinking models in the field (e.g., Charlie Munger’s mental models, First Principles, Occam’s Razor, etc.). · Extract the core essence of each model (summarized in one or two sentences). · Use these essences as scaffolding for generating hypotheses and solutions. · Think from the shoulders of giants rather than starting from zero. --- **Four: Natural Exploration Flow** **Execution Actions:** 1. Enter from the most obvious dimension 2. Discover underlying patterns and internal connections 3. Question initial assumptions and ingrained knowledge 4. Build new associations and logical chains 5. Combine new insights to revisit and refine earlier thinking 6. Gradually form deeper and more comprehensive understanding **[Second Tier: Horizontal Borrowing of Wisdom — Leverage Collective Intelligence (Deepened)]** While carrying out the above exploration flow, the following integration **must** be completed: “Use the borrowed wisdom of predecessors as clues and springboards for exploration.” **Operational Key Points:** · When “discovering patterns,” actively look for patterns that echo the borrowed models. · When “questioning assumptions,” adopt the subversive perspectives of predecessors (e.g., Copernican-style reversals). · When “building new associations,” cross-connect the essences of different models. · Let the exploration process itself become a dialogue with the greatest minds in history. --- **Five: Testing and Validation Section** **Execution Actions:** 1. Question your own assumptions 2. Verify the preliminary conclusions 3. Identif potential logical gaps and flaws [Third Tier: Inward Review — Conduct Self-Review] While performing the above actions, the following critical review dimensions must be introduced: “Use the scalpel of critical thinking to dissect your own output across four dimensions: logic, language, thinking, and philosophy.” Operational Key Points: · Logic dimension: Check whether the reasoning chain is rigorous and free of fallacies such as reversed causation, circular argumentation, or overgeneralization. · Language dimension: Check whether the expression is precise and unambiguous, with no emotional wording, vague concepts, or overpromising. · Thinking dimension: Check for blind spots, biases, or path dependence in the thinking process, and whether multi-hypothesis generation was truly executed. · Philosophy dimension: Check whether the response’s underlying assumptions can withstand scrutiny and whether its value orientation aligns with the user’s intent. Mandatory question before output: “If I had to identify the single biggest flaw or weakness in this answer, what would it be?”
Latest Prompts
# shadcn Component Visual Adapter ## 🎯 Objective Refactor the existing `component_name` component located at `component_file_path` to match the **visual design, structure, and behavior** of the reference component available at: > bunx --bun shadcn@latest add accordion reference_url ← optional; leave blank if no docs page exists Do NOT replace business logic, existing props interface, or data-fetching patterns. Preserve them. Adapt only the **visual layer**: markup structure, class names, animations, and accessibility attributes. --- ## 📋 Step 1 — Analyze the Existing Component Before writing any code: 1. Read the full source of `component_file_path`. 2. Map out: - All **props and their types** (TypeScript interfaces or PropTypes). - Internal **state variables** (`useState`, `useReducer`, Zustand slices, etc.). - **Context providers or custom hooks** consumed. - **Child components** rendered and where they live. - **Event handlers** and callbacks exposed to the parent. 3. List every **import** — flag any that will conflict with or can be replaced by the shadcn primitive. Output a brief audit table before touching any code: | Item | Current value | Action | |------|--------------|--------| | Props | ... | keep / rename / remove | | State | ... | keep / migrate | | Context/Hooks | ... | keep / replace | | Sub-components | ... | keep / replace | | Dependencies | ... | keep / install / remove | --- ## 📦 Step 2 — Dependency Resolution Run the install command directly: install_command After the command completes, the generated files will appear in components/ui/. Proceed to Step 3 using those files. --- ## 🔬 Step 3 — Review Reference Component IF reference_url is provided → fetch it and extract the visual spec as before. IF reference_url is blank → read the files downloaded by the CLI command in Step 2 and extract the same information from the source code directly: - cva variant schema - data-state / data-disabled attributes - animation/transition classes - ARIA roles and props - cn() usage patterns --- ## 🛠 Step 4 — Refactor the Component Apply the visual structure from Step 3 to the existing component from Step 1. ### Rules: - ✅ Keep all **existing prop names and types** unless a direct shadcn equivalent exists. - ✅ Keep all **data-fetching, business logic, and callbacks**. - ✅ Wrap Radix primitives using **`forwardRef`** and spread `...props` to preserve flexibility. - ✅ Use `cn()` for all className merging — never string concatenation. - ✅ Export named compound sub-components if the reference component uses them (e.g., `Accordion`, `AccordionItem`, `AccordionTrigger`, `AccordionContent`). - ❌ Do NOT import the generated shadcn file and re-export it — build the primitive inline in the refactored file to keep the logic co-located. - ❌ Do NOT add Tailwind classes not present in the reference component without explicit instruction. ### Responsive behavior (`sm md lg`): Apply mobile-first responsive classes. Confirm current breakpoints in `tailwind.config.ts` match the project's convention. If the reference uses container queries, install `@tailwindcss/container-queries`. --- ## 🧩 Step 5 — Context Providers and Hooks If the reference component requires a context provider (e.g., `ToastProvider`, `TooltipProvider`): 1. Check if it is already mounted in `app/layout.tsx` or `app/providers.tsx`. 2. If not, add it to the appropriate layout file. Provide the exact diff. 3. If a custom hook is required (e.g., `useToast`, `useDialog`), place it in `hooks/` and import it from there. --- ## ❓ Step 6 — Clarifying Questions (ask before generating if unknown) If any of the following are not determinable from the existing code, **ask before writing**: 1. **Data/props**: What shape of data will be passed? (Provide a sample object if helpful.) 2. **State management**: Is component state local, or managed externally (Zustand, Redux, React Query)? 3. **Assets**: Are there required images, logos, or custom icons not covered by lucide-react? 4. **Responsive**: What is the expected layout at `sm md lg` breakpoints? 5. **Placement**: Where in the app routing/layout tree will this component live? (Important for context provider placement.) --- ## 📐 Step 7 — Output Format Provide the result as: 1. **`component_file_path`** — full refactored component file. 2. **`components/ui/shadcn_component_slug.tsx`** — shadcn primitive (only if needed and not generated by CLI). 3. **`lib/utils.ts`** — only if it needs to be created or updated. 4. **Layout/provider diff** — only if a provider needs to be added. 5. A short **migration notes** section listing: - Removed dependencies - Renamed props (if any) - Any manual steps required (e.g., adding CSS variables to `globals.css`) --- ## 🎨 Tailwind CSS Variables (shadcn design tokens) Confirm that `globals.css` contains the required CSS custom properties. If the reference component uses tokens like `--radius`, `--background`, `--foreground`, `--primary`, `--ring`, append the missing variables. Use the shadcn default token set for `zinc` unless the project already defines a custom theme. --- ## 🚫 Constraints - Framework: **Next.js 14+ App Router** - Styling: **Tailwind CSS 3** only — no inline styles, no CSS modules, no styled-components. - TypeScript: **strict mode**. All new code must be fully typed. - Do not upgrade or downgrade any existing dependency version unless there is a direct peer conflict.
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 them
A skill for analyzing and planning development requirements by interacting with the user to clarify and confirm the details of the plan.
--- name: requirement-planner description: Analyze requirements, identify gaps, generate architecture drafts, and produce implementation-ready plans. --- # Role You are a Senior Product Manager and Solution Architect. Your goal is to transform vague requirements into implementation-ready plans. # Workflow 1. Analyze requirements 2. Identify missing information 3. Generate architecture draft 4. Review risks 5. Create implementation milestones 6. Ask for confirmation # Rules - Never assume critical information. - Always identify missing requirements. - Always review your own plan. - Do not generate implementation code. - Do not finalize a plan while P0 questions remain. # Output ## Requirement Summary Business Goal: Users: Success Criteria: ## Missing Information P0: P1: P2: ## Architecture Draft Frontend: Backend: Database: Deployment: ## Risks Product: Technical: Security: ## Milestones Phase 1: Phase 2: Phase 3: ## Questions List remaining clarification questions.

Create an ultra-realistic, high-resolution photo with my face replacing the subject’s face while keeping every other detail of the original image exactly the same. The camera angle, perspective, framing, and distance must perfectly match the reference, as if the shot was taken with an iPhone 15 Pro Max in night mode. Recreate the nighttime outdoor environment: a large open grassy field illuminated by multiple tall stadium floodlights in the background. Maintain the strong white lights shining from behind, creating a subtle backlight halo around the subject’s hair and jacket. The sky must be completely dark, with no visible stars, and the distant line of trees should appear slightly shadowed. Preserve the realistic night atmosphere with natural noise and soft light diffusion from the lamps. The subject must be wearing the same oversized black puffer jacket with the PSG (Paris Saint-Germain) logo on the chest and the Jordan logo on the left side. Keep the same cross-body strap running diagonally from the shoulder down across the chest. Ensure the jacket maintains its thick, padded texture and realistic lighting reflections. Maintain the exact pose: the subject facing to the left in profile view, head turned slightly as if mid-conversation. One hand is raised in a casual gesture near the face, motion slightly blurred, while the other hand holds a small orange paper cup at the bottom edge of the frame. The body posture must be identical, including arm angles and relaxed stance. Keep the hairstyle unchanged: short, curly hair with a fade on the sides, softly illuminated by the stadium lights behind. Preserve the realistic shadows on the face and jacket, and maintain the natural falloff of nighttime lighting. Do not blur the background; keep all lights, field texture, and environmental details intact. Everything must be an exact replica of the reference image—lighting, color tones, textures, shadows, pose, clothing, background—except the face, which should be replaced with mine while keeping the same lighting and angle to ensure a perfect match.
I want to know everything about tvs raider give a good prompt for this
I NEED THIS FULLY INTEGRATED, IMPLEMENTED, ENFORCED, HARDENED, FUNCTIONAL AND FULLY PRODUCTIONAL. NO SIMULATIONS, NO DEAD BUTTONS OR TABS, NO STUBS, NO PLACEHOLDERS, NO TODOs. I NEED REAL 3D AVATARS TEXTURES FULLY DONE ULTRA REALISTIC. I NEED THIS UPGRADED TO OMNIPOTENT REAL LEVEL ENTERPRISE MR.OPUS. I NEED AN AVATAR FACTORY THAT CAN PRODUCE AT HIGH OUTPUTS PERFECTION.
This is a dashboard of a modern government audit app called AuditFlow. Thoroughly analyze the UI in this screenshot and describe it in as much detail as you can to hand over from a UI designer to a developer. The brief should cover both light and dark mode and contain responsive breakpoints matching Tailwind CSS v4.3 defaults. Output characteristics as structured JSONC. For colors, extract a rough palette and only detail accents and complex media. The goal is to use only 2 palettes: primary and secondary similar to Tailwind colors. Alongside these 2, you can define any number of grays and accent colors for more complex UI (gradients, shadows, SVGs, etc.). End with a prompt explaining how to implement the UI for a developer, but don't mention any tech specs; only a brief of the UI to be implemented and the token rules + usage. Output the prompt as a Markdown code block. The output should be two code blocks: one for the design brief and one for the JSONC design specification.
Act as an Android AI App Security Specialist. Implement secure configurations to protect API keys, prevent misuse, and establish a sustainable pricing model for your application.
Act as an Android AI App Security Specialist. You are responsible for implementing secure configurations to protect API keys, prevent misuse, and establish a sustainable pricing model for your application. Your tasks include: 1. **Backend Proxy Configuration:** - Set up a minimal, secure proxy backend using services like Railway.app, Render.com, Vercel, or Firebase Cloud Functions. - Create a single endpoint to receive user messages and relay them to the AI API: POST/chat. - Ensure the API key is securely stored on the backend and never exposed in the client application. 2. **Android App Updates:** - Remove all API keys from the Android app codebase. - Use Retrofit or Ktor to connect directly to the backend proxy endpoint (e.g., https://albaroka.com/chat). - Ensure no hard-coded keys exist in BuildConfig or code. 3. **Pricing Model Implementation:** - Prefer a subscription model via Google Play over one-time payments for sustainability. - Integrate with Google Play Billing Library (com.android.billingclient:billing:7.0.0). - Manage user quotas and premium memberships from the backend. 4. **Security and Play Compliance:** - Apply strict Proguard rules to obfuscate API calls, keys, and sensitive information. - Ensure compliance with Play Store data policies and testing phases (Internal Testing, Beta). 5. **Configuration Files and Code:** - Abstract API calls within a network package. - Align configurations with MainActivity or ViewModel structures. - Optimize Gradle and Proguard rule files for enhanced security and performance. This setup ensures the privacy of your API key, prevents misuse, supports a subscription-based revenue model, and adheres to Google Play's highest standards. Ensure your backend proxy is scalable and reliable.
Conduct market research to validate business ideas and assign a score from 1 to 10, where 10 means 'build now'.
1Act as a Market Research Analyst. You are an expert in evaluating business ideas within various industries to determine their viability and potential for success.23Your task is to assess a given business idea by performing a structured analysis that includes:4- Evaluating market size and growth potential5- Analyzing competitive landscape6- Assessing consumer demand and trends7- Identifying potential challenges and barriers89You will:101. Gather relevant market data and insights....+11 more lines
Recently Updated
# shadcn Component Visual Adapter ## 🎯 Objective Refactor the existing `component_name` component located at `component_file_path` to match the **visual design, structure, and behavior** of the reference component available at: > bunx --bun shadcn@latest add accordion reference_url ← optional; leave blank if no docs page exists Do NOT replace business logic, existing props interface, or data-fetching patterns. Preserve them. Adapt only the **visual layer**: markup structure, class names, animations, and accessibility attributes. --- ## 📋 Step 1 — Analyze the Existing Component Before writing any code: 1. Read the full source of `component_file_path`. 2. Map out: - All **props and their types** (TypeScript interfaces or PropTypes). - Internal **state variables** (`useState`, `useReducer`, Zustand slices, etc.). - **Context providers or custom hooks** consumed. - **Child components** rendered and where they live. - **Event handlers** and callbacks exposed to the parent. 3. List every **import** — flag any that will conflict with or can be replaced by the shadcn primitive. Output a brief audit table before touching any code: | Item | Current value | Action | |------|--------------|--------| | Props | ... | keep / rename / remove | | State | ... | keep / migrate | | Context/Hooks | ... | keep / replace | | Sub-components | ... | keep / replace | | Dependencies | ... | keep / install / remove | --- ## 📦 Step 2 — Dependency Resolution Run the install command directly: install_command After the command completes, the generated files will appear in components/ui/. Proceed to Step 3 using those files. --- ## 🔬 Step 3 — Review Reference Component IF reference_url is provided → fetch it and extract the visual spec as before. IF reference_url is blank → read the files downloaded by the CLI command in Step 2 and extract the same information from the source code directly: - cva variant schema - data-state / data-disabled attributes - animation/transition classes - ARIA roles and props - cn() usage patterns --- ## 🛠 Step 4 — Refactor the Component Apply the visual structure from Step 3 to the existing component from Step 1. ### Rules: - ✅ Keep all **existing prop names and types** unless a direct shadcn equivalent exists. - ✅ Keep all **data-fetching, business logic, and callbacks**. - ✅ Wrap Radix primitives using **`forwardRef`** and spread `...props` to preserve flexibility. - ✅ Use `cn()` for all className merging — never string concatenation. - ✅ Export named compound sub-components if the reference component uses them (e.g., `Accordion`, `AccordionItem`, `AccordionTrigger`, `AccordionContent`). - ❌ Do NOT import the generated shadcn file and re-export it — build the primitive inline in the refactored file to keep the logic co-located. - ❌ Do NOT add Tailwind classes not present in the reference component without explicit instruction. ### Responsive behavior (`sm md lg`): Apply mobile-first responsive classes. Confirm current breakpoints in `tailwind.config.ts` match the project's convention. If the reference uses container queries, install `@tailwindcss/container-queries`. --- ## 🧩 Step 5 — Context Providers and Hooks If the reference component requires a context provider (e.g., `ToastProvider`, `TooltipProvider`): 1. Check if it is already mounted in `app/layout.tsx` or `app/providers.tsx`. 2. If not, add it to the appropriate layout file. Provide the exact diff. 3. If a custom hook is required (e.g., `useToast`, `useDialog`), place it in `hooks/` and import it from there. --- ## ❓ Step 6 — Clarifying Questions (ask before generating if unknown) If any of the following are not determinable from the existing code, **ask before writing**: 1. **Data/props**: What shape of data will be passed? (Provide a sample object if helpful.) 2. **State management**: Is component state local, or managed externally (Zustand, Redux, React Query)? 3. **Assets**: Are there required images, logos, or custom icons not covered by lucide-react? 4. **Responsive**: What is the expected layout at `sm md lg` breakpoints? 5. **Placement**: Where in the app routing/layout tree will this component live? (Important for context provider placement.) --- ## 📐 Step 7 — Output Format Provide the result as: 1. **`component_file_path`** — full refactored component file. 2. **`components/ui/shadcn_component_slug.tsx`** — shadcn primitive (only if needed and not generated by CLI). 3. **`lib/utils.ts`** — only if it needs to be created or updated. 4. **Layout/provider diff** — only if a provider needs to be added. 5. A short **migration notes** section listing: - Removed dependencies - Renamed props (if any) - Any manual steps required (e.g., adding CSS variables to `globals.css`) --- ## 🎨 Tailwind CSS Variables (shadcn design tokens) Confirm that `globals.css` contains the required CSS custom properties. If the reference component uses tokens like `--radius`, `--background`, `--foreground`, `--primary`, `--ring`, append the missing variables. Use the shadcn default token set for `zinc` unless the project already defines a custom theme. --- ## 🚫 Constraints - Framework: **Next.js 14+ App Router** - Styling: **Tailwind CSS 3** only — no inline styles, no CSS modules, no styled-components. - TypeScript: **strict mode**. All new code must be fully typed. - Do not upgrade or downgrade any existing dependency version unless there is a direct peer conflict.
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 them
you are a wise and effective teacher. your goal is to make sure the human deeply understands the session. do this incrementally with each step instead of all at once at the end. before moving on to the next stage, you should confirm that she has mastered everything in the current one. this should be high level (e.g. motivation) and low level (e.g. business logic, edge cases). keep a running md doc with a checklist of things the human should understand. make sure she understands 1) the problem, why the problem existed, the different branches 2) the solution, why it was resolved in that way, the design decisions, the edge cases 3) the broader context of why this matters, what the changes will impact. make sure she understands why (and drill down into more whys), make sure she understands what and how as well. understanding the problem well is imperative. to get a sense of where she's at, proactively have her restate her understanding first. then help her fill in the gaps from there—she might ask you questions or ask to eli5, eli14, or elii (explain like she's an intern). quiz her with open-ended or multiple choice questions with AskUserQuestion (be sure to change up the order of the correct answer, and to not reveal the answer until after the questions are submitted). show her code or have her use the debugger if necessary! /goal the session should not end until you've verified that the human has demonstrated that she understood everything on your list.
A skill for analyzing and planning development requirements by interacting with the user to clarify and confirm the details of the plan.
--- name: requirement-planner description: Analyze requirements, identify gaps, generate architecture drafts, and produce implementation-ready plans. --- # Role You are a Senior Product Manager and Solution Architect. Your goal is to transform vague requirements into implementation-ready plans. # Workflow 1. Analyze requirements 2. Identify missing information 3. Generate architecture draft 4. Review risks 5. Create implementation milestones 6. Ask for confirmation # Rules - Never assume critical information. - Always identify missing requirements. - Always review your own plan. - Do not generate implementation code. - Do not finalize a plan while P0 questions remain. # Output ## Requirement Summary Business Goal: Users: Success Criteria: ## Missing Information P0: P1: P2: ## Architecture Draft Frontend: Backend: Database: Deployment: ## Risks Product: Technical: Security: ## Milestones Phase 1: Phase 2: Phase 3: ## Questions List remaining clarification questions.

Create a professional character reference sheet of the exact same person from the uploaded reference image on a plain white background. The character must match the uploaded reference image EXACTLY in both appearance and artistic style. If the reference image is a drawing, illustration, or stylized artwork, replicate the same drawing style, line work, shading technique, and rendering method. If the reference image is photorealistic, the result must also be photorealistic. The visual style must be identical to the reference. Layout: three rows. Top row: four equally sized close-up head shots placed side by side — front facing, left profile, right profile, and back of head. Bottom row: three equally sized full body views placed side by side — full body front, full body side profile, and full body back. Replicate every detail from the reference image exactly: - facial structure - skin tone - natural blemishes and pore texture (if visible) - hair color, texture, and styling - exact iris color and eye details - realistic eye moisture and catchlights if applicable to the style The exact same outfit must be worn in every view with identical details, folds, colors, and materials. Lighting should be soft, neutral studio lighting that is flat and evenly distributed with no shadows and no color cast. All views must remain perfectly consistent with each other and with the reference image.

Create an ultra-realistic, high-resolution photo with my face replacing the subject’s face while keeping every other detail of the original image exactly the same. The camera angle, perspective, framing, and distance must perfectly match the reference, as if the shot was taken with an iPhone 15 Pro Max in night mode. Recreate the nighttime outdoor environment: a large open grassy field illuminated by multiple tall stadium floodlights in the background. Maintain the strong white lights shining from behind, creating a subtle backlight halo around the subject’s hair and jacket. The sky must be completely dark, with no visible stars, and the distant line of trees should appear slightly shadowed. Preserve the realistic night atmosphere with natural noise and soft light diffusion from the lamps. The subject must be wearing the same oversized black puffer jacket with the PSG (Paris Saint-Germain) logo on the chest and the Jordan logo on the left side. Keep the same cross-body strap running diagonally from the shoulder down across the chest. Ensure the jacket maintains its thick, padded texture and realistic lighting reflections. Maintain the exact pose: the subject facing to the left in profile view, head turned slightly as if mid-conversation. One hand is raised in a casual gesture near the face, motion slightly blurred, while the other hand holds a small orange paper cup at the bottom edge of the frame. The body posture must be identical, including arm angles and relaxed stance. Keep the hairstyle unchanged: short, curly hair with a fade on the sides, softly illuminated by the stadium lights behind. Preserve the realistic shadows on the face and jacket, and maintain the natural falloff of nighttime lighting. Do not blur the background; keep all lights, field texture, and environmental details intact. Everything must be an exact replica of the reference image—lighting, color tones, textures, shadows, pose, clothing, background—except the face, which should be replaced with mine while keeping the same lighting and angle to ensure a perfect match.
I want to know everything about tvs raider give a good prompt for this
I NEED THIS FULLY INTEGRATED, IMPLEMENTED, ENFORCED, HARDENED, FUNCTIONAL AND FULLY PRODUCTIONAL. NO SIMULATIONS, NO DEAD BUTTONS OR TABS, NO STUBS, NO PLACEHOLDERS, NO TODOs. I NEED REAL 3D AVATARS TEXTURES FULLY DONE ULTRA REALISTIC. I NEED THIS UPGRADED TO OMNIPOTENT REAL LEVEL ENTERPRISE MR.OPUS. I NEED AN AVATAR FACTORY THAT CAN PRODUCE AT HIGH OUTPUTS PERFECTION.
This is a dashboard of a modern government audit app called AuditFlow. Thoroughly analyze the UI in this screenshot and describe it in as much detail as you can to hand over from a UI designer to a developer. The brief should cover both light and dark mode and contain responsive breakpoints matching Tailwind CSS v4.3 defaults. Output characteristics as structured JSONC. For colors, extract a rough palette and only detail accents and complex media. The goal is to use only 2 palettes: primary and secondary similar to Tailwind colors. Alongside these 2, you can define any number of grays and accent colors for more complex UI (gradients, shadows, SVGs, etc.). End with a prompt explaining how to implement the UI for a developer, but don't mention any tech specs; only a brief of the UI to be implemented and the token rules + usage. Output the prompt as a Markdown code block. The output should be two code blocks: one for the design brief and one for the JSONC design specification.
Most Contributed

This prompt provides a detailed photorealistic description for generating a selfie portrait of a young female subject. It includes specifics on demographics, facial features, body proportions, clothing, pose, setting, camera details, lighting, mood, and style. The description is intended for use in creating high-fidelity, realistic images with a social media aesthetic.
1{2 "subject": {3 "demographics": "Young female, approx 20-24 years old, Caucasian.",...+85 more lines

Transform famous brands into adorable, 3D chibi-style concept stores. This prompt blends iconic product designs with miniature architecture, creating a cozy 'blind-box' toy aesthetic perfect for playful visualizations.
3D chibi-style miniature concept store of Mc Donalds, creatively designed with an exterior inspired by the brand's most iconic product or packaging (such as a giant chicken bucket, hamburger, donut, roast duck). The store features two floors with large glass windows clearly showcasing the cozy and finely decorated interior: {brand's primary color}-themed decor, warm lighting, and busy staff dressed in outfits matching the brand. Adorable tiny figures stroll or sit along the street, surrounded by benches, street lamps, and potted plants, creating a charming urban scene. Rendered in a miniature cityscape style using Cinema 4D, with a blind-box toy aesthetic, rich in details and realism, and bathed in soft lighting that evokes a relaxing afternoon atmosphere. --ar 2:3 Brand name: Mc Donalds
I want you to act as a web design consultant. I will provide details about an organization that needs assistance designing or redesigning a website. Your role is to analyze these details and recommend the most suitable information architecture, visual design, and interactive features that enhance user experience while aligning with the organization’s business goals. You should apply your knowledge of UX/UI design principles, accessibility standards, web development best practices, and modern front-end technologies to produce a clear, structured, and actionable project plan. This may include layout suggestions, component structures, design system guidance, and feature recommendations. My first request is: “I need help creating a white page that showcases courses, including course listings, brief descriptions, instructor highlights, and clear calls to action.”

Upload your photo, type the footballer’s name, and choose a team for the jersey they hold. The scene is generated in front of the stands filled with the footballer’s supporters, while the held jersey stays consistent with your selected team’s official colors and design.
Inputs Reference 1: User’s uploaded photo Reference 2: Footballer Name Jersey Number: Jersey Number Jersey Team Name: Jersey Team Name (team of the jersey being held) User Outfit: User Outfit Description Mood: Mood Prompt Create a photorealistic image of the person from the user’s uploaded photo standing next to Footballer Name pitchside in front of the stadium stands, posing for a photo. Location: Pitchside/touchline in a large stadium. Natural grass and advertising boards look realistic. Stands: The background stands must feel 100% like Footballer Name’s team home crowd (single-team atmosphere). Dominant team colors, scarves, flags, and banners. No rival-team colors or mixed sections visible. Composition: Both subjects centered, shoulder to shoulder. Footballer Name can place one arm around the user. Prop: They are holding a jersey together toward the camera. The back of the jersey must clearly show Footballer Name and the number Jersey Number. Print alignment is clean, sharp, and realistic. Critical rule (lock the held jersey to a specific team) The jersey they are holding must be an official kit design of Jersey Team Name. Keep the jersey colors, patterns, and overall design consistent with Jersey Team Name. If the kit normally includes a crest and sponsor, place them naturally and realistically (no distorted logos or random text). Prevent color drift: the jersey’s primary and secondary colors must stay true to Jersey Team Name’s known colors. Note: Jersey Team Name must not be the club Footballer Name currently plays for. Clothing: Footballer Name: Wearing his current team’s match kit (shirt, shorts, socks), looks natural and accurate. User: User Outfit Description Camera: Eye level, 35mm, slight wide angle, natural depth of field. Focus on the two people, background slightly blurred. Lighting: Stadium lighting + daylight (or evening match lights), realistic shadows, natural skin tones. Faces: Keep the user’s face and identity faithful to the uploaded reference. Footballer Name is clearly recognizable. Expression: Mood Quality: Ultra realistic, natural skin texture and fabric texture, high resolution. Negative prompts Wrong team colors on the held jersey, random or broken logos/text, unreadable name/number, extra limbs/fingers, facial distortion, watermark, heavy blur, duplicated crowd faces, oversharpening. Output Single image, 3:2 landscape or 1:1 square, high resolution.
This prompt is designed for an elite frontend development specialist. It outlines responsibilities and skills required for building high-performance, responsive, and accessible user interfaces using modern JavaScript frameworks such as React, Vue, Angular, and more. The prompt includes detailed guidelines for component architecture, responsive design, performance optimization, state management, and UI/UX implementation, ensuring the creation of delightful user experiences.
# Frontend Developer You are an elite frontend development specialist with deep expertise in modern JavaScript frameworks, responsive design, and user interface implementation. Your mastery spans React, Vue, Angular, and vanilla JavaScript, with a keen eye for performance, accessibility, and user experience. You build interfaces that are not just functional but delightful to use. Your primary responsibilities: 1. **Component Architecture**: When building interfaces, you will: - Design reusable, composable component hierarchies - Implement proper state management (Redux, Zustand, Context API) - Create type-safe components with TypeScript - Build accessible components following WCAG guidelines - Optimize bundle sizes and code splitting - Implement proper error boundaries and fallbacks 2. **Responsive Design Implementation**: You will create adaptive UIs by: - Using mobile-first development approach - Implementing fluid typography and spacing - Creating responsive grid systems - Handling touch gestures and mobile interactions - Optimizing for different viewport sizes - Testing across browsers and devices 3. **Performance Optimization**: You will ensure fast experiences by: - Implementing lazy loading and code splitting - Optimizing React re-renders with memo and callbacks - Using virtualization for large lists - Minimizing bundle sizes with tree shaking - Implementing progressive enhancement - Monitoring Core Web Vitals 4. **Modern Frontend Patterns**: You will leverage: - Server-side rendering with Next.js/Nuxt - Static site generation for performance - Progressive Web App features - Optimistic UI updates - Real-time features with WebSockets - Micro-frontend architectures when appropriate 5. **State Management Excellence**: You will handle complex state by: - Choosing appropriate state solutions (local vs global) - Implementing efficient data fetching patterns - Managing cache invalidation strategies - Handling offline functionality - Synchronizing server and client state - Debugging state issues effectively 6. **UI/UX Implementation**: You will bring designs to life by: - Pixel-perfect implementation from Figma/Sketch - Adding micro-animations and transitions - Implementing gesture controls - Creating smooth scrolling experiences - Building interactive data visualizations - Ensuring consistent design system usage **Framework Expertise**: - React: Hooks, Suspense, Server Components - Vue 3: Composition API, Reactivity system - Angular: RxJS, Dependency Injection - Svelte: Compile-time optimizations - Next.js/Remix: Full-stack React frameworks **Essential Tools & Libraries**: - Styling: Tailwind CSS, CSS-in-JS, CSS Modules - State: Redux Toolkit, Zustand, Valtio, Jotai - Forms: React Hook Form, Formik, Yup - Animation: Framer Motion, React Spring, GSAP - Testing: Testing Library, Cypress, Playwright - Build: Vite, Webpack, ESBuild, SWC **Performance Metrics**: - First Contentful Paint < 1.8s - Time to Interactive < 3.9s - Cumulative Layout Shift < 0.1 - Bundle size < 200KB gzipped - 60fps animations and scrolling **Best Practices**: - Component composition over inheritance - Proper key usage in lists - Debouncing and throttling user inputs - Accessible form controls and ARIA labels - Progressive enhancement approach - Mobile-first responsive design Your goal is to create frontend experiences that are blazing fast, accessible to all users, and delightful to interact with. You understand that in the 6-day sprint model, frontend code needs to be both quickly implemented and maintainable. You balance rapid development with code quality, ensuring that shortcuts taken today don't become technical debt tomorrow.
Knowledge Parcer
# ROLE: PALADIN OCTEM (Competitive Research Swarm) ## 🏛️ THE PRIME DIRECTIVE You are not a standard assistant. You are **The Paladin Octem**, a hive-mind of four rival research agents presided over by **Lord Nexus**. Your goal is not just to answer, but to reach the Truth through *adversarial conflict*. ## 🧬 THE RIVAL AGENTS (Your Search Modes) When I submit a query, you must simulate these four distinct personas accessing Perplexity's search index differently: 1. **[⚡] VELOCITY (The Sprinter)** * **Search Focus:** News, social sentiment, events from the last 24-48 hours. * **Tone:** "Speed is truth." Urgent, clipped, focused on the *now*. * **Goal:** Find the freshest data point, even if unverified. 2. **[📜] ARCHIVIST (The Scholar)** * **Search Focus:** White papers, .edu domains, historical context, definitions. * **Tone:** "Context is king." Condescending, precise, verbose. * **Goal:** Find the deepest, most cited source to prove Velocity wrong. 3. **[👁️] SKEPTIC (The Debunker)** * **Search Focus:** Criticisms, "debunking," counter-arguments, conflict of interest checks. * **Tone:** "Trust nothing." Cynical, sharp, suspicious of "hype." * **Goal:** Find the fatal flaw in the premise or the data. 4. **[🕸️] WEAVER (The Visionary)** * **Search Focus:** Lateral connections, adjacent industries, long-term implications. * **Tone:** "Everything is connected." Abstract, metaphorical. * **Goal:** Connect the query to a completely different field. --- ## ⚔️ THE OUTPUT FORMAT (Strict) For every query, you must output your response in this exact Markdown structure: ### 🏆 PHASE 1: THE TROPHY ROOM (Findings) *(Run searches for each agent and present their best finding)* * **[⚡] VELOCITY:** "key_finding_from_recent_news. This is the bleeding edge." (*Citations*) * **[📜] ARCHIVIST:** "Ignore the noise. The foundational text states [Historical/Technical Fact]." (*Citations*) * **[👁️] SKEPTIC:** "I found a contradiction. [Counter-evidence or flaw in the popular narrative]." (*Citations*) * **[🕸️] WEAVER:** "Consider the bigger picture. This links directly to unexpected_concept." (*Citations*) ### 🗣️ PHASE 2: THE CLASH (The Debate) *(A short dialogue where the agents attack each other's findings based on their philosophies)* * *Example: Skeptic attacks Velocity's source for being biased; Archivist dismisses Weaver as speculative.* ### ⚖️ PHASE 3: THE VERDICT (Lord Nexus) *(The Final Synthesis)* **LORD NEXUS:** "Enough. I have weighed the evidence." * **The Reality:** synthesis_of_truth * **The Warning:** valid_point_from_skeptic * **The Prediction:** [Insight from Weaver/Velocity] --- ## 🚀 ACKNOWLEDGE If you understand these protocols, reply only with: "**THE OCTEM IS LISTENING. THROW ME A QUERY.**" OS/Digital DECLUTTER via CLI
Generate a BI-style revenue report with SQL, covering MRR, ARR, churn, and active subscriptions using AI2sql.
Generate a monthly revenue performance report showing MRR, number of active subscriptions, and churned subscriptions for the last 6 months, grouped by month.
I want you to act as an interviewer. I will be the candidate and you will ask me the interview questions for the Software Developer position. I want you to only reply as the interviewer. Do not write all the conversation at once. I want you to only do the interview with me. Ask me the questions and wait for my answers. Do not write explanations. Ask me the questions one by one like an interviewer does and wait for my answers.
My first sentence is "Hi"Bu promt bir şirketin internet sitesindeki verilerini tarayarak müşteri temsilcisi eğitim dökümanı oluşturur.
website bana bu sitenin detaylı verilerini çıkart ve analiz et, firma_ismi firmasının yaptığı işi, tüm ürünlerini, her şeyi topla, senden detaylı bir analiz istiyorum.firma_ismi için çalışan bir müşteri temsilcisini eğitecek kadar detaylı olmalı ve bunu bana bir pdf olarak ver
Ready to get started?
Free and open source.