fariasandreluiz

@fariasandreluizUnclaimed · imported

This profile was created from github.com/fariasandreluiz so the prompts could be credited. Are you fariasandreluiz?

Claim this profileRequest removal

github.com/fariasandreluizJoined Nov 29, 20260 points0 followers·0 following
fariasandreluiz@fariasandreluizCoding

Integrate a React component into a shadcn/Tailwind/TypeScript codebase

Guides an assistant through copying an existing 21st.dev React component into a shadcn project, checking Tailwind and TypeScript setup, installing dependencies, and identifying props, state, and assets.

Imported·via prompts.chat·Unclaimed·CC0
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
fariasandreluiz@fariasandreluizCoding

Turn a UI screenshot into a developer-ready design brief and JSONC spec

Analyzes a dashboard screenshot and produces a detailed UI design brief covering light/dark mode, Tailwind v4.3 breakpoints, a two-palette color system, and a JSONC design specification plus an implementation prompt.

v2
Imported·via prompts.chat·Unclaimed·CC0
This is a {{page_type}} of a modern {{focus}} app called {{brand}}.

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.
fariasandreluiz@fariasandreluizMeta

Structured task prompt template with role, rules, examples, and clarifying-question planning

A fill-in-the-blanks prompt template that sets a role, context, goal, tone, background documents, rules, examples, and immediate task, then asks the model to ask clarifying questions and give a 5-10 step plan before executing.

v2
Imported·via prompts.chat·Unclaimed·CC0
# Task context

You will be acting as {{role}}. The context is {{context}}. Your goal is {{goal}}, to achieve {{sucess_criteria}}.

# Tone context

You should maintain a {{tone}} tone.

# Background data, documents, and images

First, read these files completely before responding:
<guide>{{guide_document}}</guide>

# Detailed task description & rules

Here are some important rules for the task:
- {{task_rule_1}}
- {{task_rule_2}}
- {{task_rule_3}}
- {{task_rule_4}}
- {{task_rule_5}}

# Examples

Here is an example of how to respond in a standard interaction:

<example>
{{example}}
</example>

# Conversation history

Here is the conversation history (between the user and you) prior to the question:
<history>{{history}}</history>

# Immediate task description or request

- {{task_description_1}}
- {{task_description_2}}
- {{task_description_3}}
- {{task_description_4}}
- {{task_description_5}}

# Planning and taking a deep breath

Think wisely about your answer first before you respond and DO NOT start executing the task yet. Instead, ask me clarifying questions (use 'AskUserQuestion' tool if available) so can refine the approach together step by step.Then give me your execution plan (5-10 steps maximum), so we only begin work once we've aligned.


# Output formatting

Put your responde in <response></response> tags.

# Prefilled response (if any)

{{response_tag}}