You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Never leave your editor to check component themes again. Access Nuxt UI documentation instantly while you code.
14
+
# 🚀 Supercharge Your Nuxt Development
15
+
16
+
**Nuxt for Raycast** is the ultimate productivity booster for Nuxt developers. Access documentation, explore the entire Nuxt ecosystem, and enhance your development workflow without ever leaving your editor.
17
+
18
+
## ✨ Why You'll Love This Extension
13
19
14
-
## ⚡️ Current Feature
20
+
-**Instant Access**: Get answers, documentation, and code examples in seconds
21
+
-**Seamless Integration**: Works directly within your development environment
22
+
-**Comprehensive Coverage**: Supports the entire Nuxt ecosystem, not just UI components
23
+
-**Time-Saving**: Eliminate context switching and stay in your flow state
24
+
-**AI-Powered**: Use natural language to get exactly what you need
15
25
16
-
### Quick Theme Access
17
-
Jump directly to any component's theme documentation in milliseconds:
18
-
- Select your component name
19
-
- Trigger the command
20
-
- Land exactly where you need to be
26
+
## ⚡️ Powerful Features
21
27
22
-
No more context switching, no more manual searching. Just smooth, uninterrupted development.
28
+
### 🔮 `@nuxt` Command
29
+
The central command hub for all your Nuxt needs:
30
+
- Ask questions in natural language about any Nuxt topic
31
+
- Generate component code with simple prompts
32
+
- Get instant documentation and usage examples
33
+
- Explore modules and their capabilities
34
+
- Solve common Nuxt development challenges
23
35
24
-
### Ask Nuxt UI
25
-
Ask Nuxt UI for information, tips, create components, etc... with natural language, here's some examples:
26
-
- Create a welcoming button for my users
27
-
- How many components are there in Nuxt UI?
28
-
- Make a faq component
36
+
### 🧩 Nuxt Modules Explorer
37
+
Discover and learn about the vast Nuxt ecosystem:
38
+
- Browse modules by category (UI, CMS, SEO, etc.)
39
+
- Get detailed information about specific modules
40
+
- Explore compatibility, maintainers, and documentation
41
+
- Find the perfect module for your specific needs
29
42
30
-
### Smart Configuration
31
-
Customize the component prefix to match your style:
32
-
- Default: "U" (UButton, UInput...)
33
-
- Fully customizable to fit your workflow
43
+
### 🎨 Nuxt UI Integration
44
+
Access Nuxt UI documentation and tools instantly:
45
+
-`Search Component Theme`: Jump directly to any component's theme documentation
46
+
-`Get Component Source Code`: View the source code of any Nuxt UI component
47
+
- Preview components and their variations
34
48
35
-
### Version Support
36
-
Works seamlessly with both Nuxt UI versions:
37
-
-Full support for Nuxt UI v3
38
-
-Compatible with Nuxt UI v2 (you may have some issues with the component names)
39
-
-Easy version switching in preferences
49
+
### ⚙️ Smart Configuration
50
+
Customize to match your workflow:
51
+
-Configure component prefixes to match your project style
52
+
-Set up shortcuts for your most-used commands
53
+
-Seamless support for both Nuxt UI v2 and v3
40
54
41
-
## Demo
55
+
## 🎬 See It In Action
42
56
43
-
I recommend you to put the shortcut to execute the command directly on `✦ + U` for example or `⌘ + U`.
57
+
I recommend setting up a shortcut like `✦ + N`or `⌘ + N` for quick access.
44
58
45
59

46
60
47
-
## 🚀 What's Coming
61
+
## 🔥 Real-World Use Cases
48
62
49
-
This is just the beginning. Here's what's cooking:
63
+
-**Component Development**: "Create a responsive navigation bar with dropdown menus"
64
+
-**Module Discovery**: "Find the best SEO modules for my Nuxt project"
65
+
-**Troubleshooting**: "Why isn't my Nuxt data fetching working?"
66
+
-**Learning**: "Show me examples of using Nuxt composables"
67
+
-**Theme Customization**: "How do I customize the UButton component theme?"
50
68
51
-
- 🔍 Lightning-fast component search
52
-
- 📝 Instant code examples
53
-
- 💡 Smart suggestions
54
-
- ⚙️ Quick props access
69
+
## 🚀 Roadmap
55
70
56
-
## Contributing
71
+
This is just the beginning. Here's what's coming:
72
+
73
+
- 🔍 Lightning-fast component and module search with intelligent filtering
74
+
- 📝 Code snippet library with copy-paste ready solutions
75
+
- 💡 Project-aware suggestions based on your codebase
76
+
- ⚙️ Interactive property explorer for components
77
+
- 🧩 Integration with more Nuxt ecosystem tools and services
78
+
- 📱 Mobile app preview capabilities
79
+
80
+
## 👥 Contributing
57
81
58
82
Got ideas to make this even better? Issues and PRs are welcome!
Copy file name to clipboardExpand all lines: extensions/nuxt/ai.yaml
+96-11Lines changed: 96 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,13 @@
1
1
instructions: |-
2
-
# CRITICAL COMPONENT IMPLEMENTATION RULES
2
+
# CRITICAL IMPLEMENTATION RULES
3
3
- When creating components, use the SIMPLEST possible implementation
4
4
- For components like Accordion, ONLY use the `:items` prop with the CORRECT data structure
5
5
- NEVER use slots unless explicitly requested by the user
6
6
- NEVER customize UI with the `:ui` prop unless explicitly requested
7
-
- NEVER create complex interfaces or data structures - use the exact structure from the component documentation
7
+
- NEVER create complex interfaces or data structures - use the exact structure from the documentation
8
8
9
9
# CRITICAL TOOL USAGE AND NAMING CONVENTIONS
10
+
## For Components
10
11
- You MUST call these tools in this EXACT sequence for EVERY component request:
11
12
1. FIRST: Call `get-available-components` to get the available components list
12
13
2. SECOND: Call `get-component-theme` with the correct componentName parameter (The only exception when user asks for props you can use the `get-component-source-code` tool instead)
@@ -16,8 +17,22 @@ instructions: |-
16
17
- When calling tools, use the EXACT camelCase name from the components list (e.g., componentName: "button", NOT "Button")
17
18
- When displaying components in code, add the prefix "U" and capitalize the first letter (e.g., <UButton>, <UButtonGroup>)
18
19
20
+
## For Modules
21
+
- You MAY call these tools in this EXACT sequence for EVERY module request:
22
+
1. FIRST: Call `get-module-categories` to get the available module categories
23
+
2. SECOND: Call `get-modules-by-category` with the correct category parameter
24
+
3. Normally, you should not call any other tools for module requests
25
+
26
+
- IMPORTANT: When recommending modules, provide a brief description of what the module does and how to install it
27
+
- Prioritize the official module first (type: 'official') like @nuxt/ui, @nuxt/content, @nuxt/font, etc... and then the most popular modules (using stars, forks, etc... using the key `stats` of the module object)
28
+
- All official modules don't have the '@nuxt/' prefix and are called like this: `ui`, `content`, `font`, etc...
29
+
- Include the correct installation command (e.g., `npx nuxi module add <module-name>` or `npm install <module-name>` for examples)
30
+
- If a category doesn't exist, use a matching one
31
+
- When applicable, include basic configuration examples for the module
32
+
19
33
# CODE GENERATION RULES
20
34
- DO NOT include ANY import statements as we are in a Nuxt environment - all Nuxt UI components are auto-imported (and all Vue macros are also)
35
+
- If multiple components are requested (e.g., a button and a select menu), handle each component accordingly. (For instance, you may need to call the relevant tools for both components.)
21
36
- Keep component implementation MINIMAL and SIMPLE
22
37
- For a FAQ component, use UAccordion with items prop ONLY: `<UAccordion :items="faqItems" />`
23
38
- NEVER create custom templates or slots unless explicitly requested
@@ -28,6 +43,7 @@ instructions: |-
28
43
- Be concise and direct in your responses
29
44
- Always use the composition API (script setup lang="ts") for all components
30
45
- Return MINIMAL component code that accomplishes the task
46
+
- For module recommendations, include installation instructions and basic usage examples
31
47
- If a user asks for a FAQ component for example, the ONLY correct implementation is:
32
48
```vue
33
49
<script setup>
@@ -44,14 +60,17 @@ instructions: |-
44
60
This is an example not a full source of truth, but it should be enough to understand the concept
45
61
46
62
# NEVER FORGET:
47
-
- NEVER include import statements (Vue macro, composables, etc)
63
+
- NEVER include import statements (from Vue, Reka UI, or elsewhere) in the final code.
48
64
- NEVER use slots when `:items` prop is available (or any other prop use to generate the component content)
49
65
- NEVER customize UI unless requested
50
66
- NEVER create complex interfaces or data structures
67
+
- ALWAYS check the component theme or source code for reference, but do not copy or import it directly.
51
68
- ALWAYS use the simplest implementation possible
52
69
- ALWAYS check the component theme for the correct item structure
70
+
- When recommending modules, ALWAYS provide installation instructions and basic usage examples
71
+
- NEVER call `get-nuxt-ui-documentation` for module-related queries
53
72
evals:
54
-
- input: "@nuxt-ui Create a button component"
73
+
- input: "@nuxt Create a button component"
55
74
mocks:
56
75
get-available-components:
57
76
components:
@@ -200,8 +219,7 @@ evals:
200
219
</ULink>
201
220
</template>
202
221
expected:
203
-
- callsTool:
204
-
arguments: get-available-components
222
+
- callsTool: get-available-components
205
223
- callsTool:
206
224
arguments:
207
225
componentName: button
@@ -210,7 +228,7 @@ evals:
210
228
arguments:
211
229
componentName: button
212
230
name: get-component-source-code
213
-
- input: "@nuxt-ui What components are available?"
231
+
- input: "@nuxt What components are available?"
214
232
mocks:
215
233
get-available-components:
216
234
components:
@@ -226,7 +244,7 @@ evals:
226
244
- pageCard
227
245
expected:
228
246
- callsTool: get-available-components
229
-
- input: "@nuxt-ui Create a FAQ component"
247
+
- input: "@nuxt Create a FAQ component"
230
248
mocks:
231
249
get-available-components:
232
250
components:
@@ -269,7 +287,7 @@ evals:
269
287
arguments:
270
288
componentName: accordion
271
289
name: get-component-theme
272
-
- input: "@nuxt-ui How many components in Nuxt UI ?"
290
+
- input: "@nuxt How many components in Nuxt UI ?"
273
291
mocks:
274
292
get-available-components:
275
293
components:
@@ -295,7 +313,7 @@ evals:
295
313
expected:
296
314
- callsTool:
297
315
name: get-available-components
298
-
- input: "@nuxt-ui Give me the avatar theme"
316
+
- input: "@nuxt Give me the avatar theme"
299
317
mocks:
300
318
get-available-components:
301
319
components:
@@ -383,7 +401,7 @@ evals:
383
401
componentName: avatar
384
402
name: get-component-theme
385
403
386
-
- input: "@nuxt-ui Is there props on the card component ?"
404
+
- input: "@nuxt Is there props on the card component ?"
387
405
mocks:
388
406
get-available-components:
389
407
components:
@@ -473,3 +491,70 @@ evals:
473
491
arguments:
474
492
componentName: card
475
493
name: get-component-source-code
494
+
- input: "@nuxt What module categories are available?"
495
+
mocks:
496
+
get-module-categories:
497
+
categories:
498
+
- UI
499
+
- CMS
500
+
- SEO
501
+
- Testing
502
+
expected:
503
+
- callsTool: get-module-categories
504
+
- input: "@nuxt Recommend me some UI modules"
505
+
mocks:
506
+
get-module-categories:
507
+
categories:
508
+
- UI
509
+
- Content
510
+
- SEO
511
+
- Analytics
512
+
get-modules-by-category:
513
+
modules:
514
+
- name: "@nuxt/ui"
515
+
description: "UI Library for Nuxt based on Tailwind CSS"
516
+
npm: "@nuxt/ui"
517
+
github: "nuxt/ui"
518
+
category: "UI"
519
+
compatibility: "Nuxt 3"
520
+
stars: 4500
521
+
- name: "@nuxtjs/tailwindcss"
522
+
description: "Tailwind CSS module for Nuxt"
523
+
npm: "@nuxtjs/tailwindcss"
524
+
github: "nuxt-modules/tailwindcss"
525
+
category: "UI"
526
+
compatibility: "Nuxt 2, Nuxt 3"
527
+
stars: 3200
528
+
- name: "@nuxtjs/color-mode"
529
+
description: "Dark and Light mode with auto detection for Nuxt"
530
+
npm: "@nuxtjs/color-mode"
531
+
github: "nuxt-modules/color-mode"
532
+
category: "UI"
533
+
compatibility: "Nuxt 2, Nuxt 3"
534
+
stars: 1800
535
+
expected:
536
+
- callsTool: get-module-categories
537
+
- callsTool:
538
+
arguments:
539
+
category: "UI"
540
+
name: get-modules-by-category
541
+
- input: "@nuxt Which modules categories are available?"
542
+
mocks:
543
+
get-module-categories:
544
+
categories:
545
+
- UI
546
+
- CMS
547
+
- SEO
548
+
- Testing
549
+
expected:
550
+
- callsTool: get-module-categories
551
+
- input: "@nuxt How to install the ui module?"
552
+
mocks:
553
+
get-module-by-name:
554
+
name: "ui"
555
+
description: "UI Library for Nuxt based on Tailwind CSS"
0 commit comments