rename folder

This commit is contained in:
sanjeed5
2025-02-27 00:04:07 +05:30
parent 519c3fa882
commit f7fa52c998
879 changed files with 0 additions and 0 deletions
@@ -0,0 +1,10 @@
---
description: Specifies steps to adapt generated React components to the SPA project structure after initial creation.
globs: apps/spa/src/components/**/*.tsx
---
- After generating, adapt the component to fit our project structure:
- Import
- common shadcn/ui components from <ui_package_alias>@repo/ui/components/ui/</ui_package_alias>
- app specific components from <app_package_alias>@/components</app_package_alias>
- Ensure it follows our existing component patterns
- Add any necessary custom logic or state management
@@ -0,0 +1,10 @@
---
description: Specifies steps to adapt generated React components to the project structure after initial creation.
globs: packages/ui/src/components/**/*.tsx
---
- After generating, adapt the component to fit our project structure:
- Import
- common shadcn/ui components from <ui_package_alias>@repo/ui/components/ui/</ui_package_alias>
- app specific components from <app_package_alias>@/components</app_package_alias>
- Ensure it follows our existing component patterns
- Add any necessary custom logic or state management
@@ -0,0 +1,18 @@
---
description: Provides guidelines for creating React components, emphasizing careful planning, existing component checks, and prompt generation.
globs: packages/ui/src/components/**/*.tsx
---
- Carefully consider the component's purpose, functionality, and design.
- Think slowly, step by step, and outline your reasoning.
- Check if a similar component already exists in any of the following locations
- packages/ui/src/components
- apps/spa/src/components
- If it doesn't exist, generate a detailed prompt for the component, including:
- Component name and purpose
- Desired props and their types
- Any specific styling or behavior requirements
- Mention of using Tailwind CSS for styling
- Request for TypeScript usage
- URL encode the prompt.
- Create a clickable link in this format:
[ComponentName](https://v0.dev/chat?q={encoded_prompt})
@@ -0,0 +1,18 @@
---
description: Provides guidelines for creating React components, emphasizing careful planning, existing component checks, and prompt generation in SPA.
globs: apps/spa/src/components/**/*.tsx
---
- Carefully consider the component's purpose, functionality, and design.
- Think slowly, step by step, and outline your reasoning.
- Check if a similar component already exists in any of the following locations
- packages/ui/src/components
- apps/spa/src/components
- If it doesn't exist, generate a detailed prompt for the component, including:
- Component name and purpose
- Desired props and their types
- Any specific styling or behavior requirements
- Mention of using Tailwind CSS for styling
- Request for TypeScript usage
- URL encode the prompt.
- Create a clickable link in this format:
[ComponentName](https://v0.dev/chat?q={encoded_prompt})
@@ -0,0 +1,7 @@
---
description: Provides an example prompt template for generating react components with specific instructions.
globs: packages/ui/src/components/**/*.tsx
---
- Example prompt template:
"Create a React component named {ComponentName} using TypeScript and Tailwind CSS. It should {description of functionality}. Props should include {list of props with types}. The component should {any specific styling or behavior notes}. Please provide the full component code."
- Remember to replace placeholders like <ui_package_path> and <app_package_alias> with the actual values used in your project.