Skip to content

Commit 0c43a47

Browse files
HugoRCDpernielsentikaerraycastbot
authored
feat: Rename NuxtUI extension to just Nuxt (#17887)
* Add files via upload * Add files via upload * Add files via upload * update * Add files via upload * Updated dependencies * Another update * Update * Update * Update * Update CHANGELOG.md * Update CHANGELOG.md and optimise images --------- Co-authored-by: Per Nielsen Tikær <[email protected]> Co-authored-by: raycastbot <[email protected]>
1 parent 4bbd341 commit 0c43a47

28 files changed

+2724
-1099
lines changed

extensions/nuxt/.eslintrc.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

extensions/nuxt/CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
1-
# Nuxt UI Changelog
1+
# Nuxt Extension Changelog
2+
3+
## [Nuxt Modules Features] - 2025-05-07
4+
5+
- Renamed from "Nuxt UI for Raycast" to "Nuxt for Raycast" to reflect broader scope
6+
- Added new module-related features:
7+
- `Get Module by Name`: Fetch detailed information about a specific Nuxt module
8+
- `Get Modules by Category`: Browse modules filtered by category (UI, CMS, SEO, etc.)
9+
- `Get Module Categories`: List all available module categories
10+
- Improved component-related features:
11+
- Optimized `Get Available Components` tool
12+
- Enhanced `Get Component Theme` tool
13+
- Maintained `Get Component Source Code` functionality
214

315
## [Initial Version] - 2025-03-02
416

extensions/nuxt/README.md

Lines changed: 75 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,106 @@
11
<div align="center">
2-
<img src="media/banner.png" alt="Nuxt UI For Raycast banner">
2+
<img src="media/banner.png" alt="Nuxt For Raycast banner">
33

44
<div align="center">
55
Made with 💚 for the Nuxt community
66
</div>
77

88
---
99

10+
<a title="Install Nuxt Raycast Extension" href="https://www.raycast.com/HugoRCD/nuxt"><img src="https://www.raycast.com/HugoRCD/nuxt/[email protected]?v=1.1" height="64" alt="" style="height: 64px;"></a>
11+
1012
</div>
1113

12-
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
1319

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
1525

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
2127

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
2335

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
2942

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
3448

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
4054

41-
## Demo
55+
## 🎬 See It In Action
4256

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.
4458

4559
![demo.gif](media/demo.gif)
4660

47-
## 🚀 What's Coming
61+
## 🔥 Real-World Use Cases
4862

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?"
5068

51-
- 🔍 Lightning-fast component search
52-
- 📝 Instant code examples
53-
- 💡 Smart suggestions
54-
- ⚙️ Quick props access
69+
## 🚀 Roadmap
5570

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
5781

5882
Got ideas to make this even better? Issues and PRs are welcome!
5983

60-
<!-- automd:contributors license=Apache github=HugoRCD/nuxt-ui-raycast-extension" -->
84+
<!-- automd:fetch url="gh:hugorcd/markdown/main/src/sponsors.md" -->
85+
86+
## Sponsors
87+
88+
<p align="center">
89+
<a href="https://github.com/sponsors/HugoRCD">
90+
<img src='https://cdn.jsdelivr.net/gh/hugorcd/static/sponsors.svg' alt="HugoRCD sponsors" />
91+
</a>
92+
</p>
93+
94+
<!-- /automd -->
95+
96+
## Contributors
97+
98+
<!-- automd:contributors github="HugoRCD/nuxt-raycast-extension" -->
6199

62-
Published under the [APACHE](https://github.com/HugoRCD/nuxt-ui-raycast-extension"/blob/main/LICENSE) license.
63-
Made by [community](https://github.com/HugoRCD/nuxt-ui-raycast-extension"/graphs/contributors) 💛
100+
Made by [community](https://github.com/HugoRCD/nuxt-raycast-extension/graphs/contributors) 💛
64101
<br><br>
65-
<a href="https://github.com/HugoRCD/nuxt-ui-raycast-extension"/graphs/contributors">
66-
<img src="https://contrib.rocks/image?repo=HugoRCD/nuxt-ui-raycast-extension"" />
102+
<a href="https://github.com/HugoRCD/nuxt-raycast-extension/graphs/contributors">
103+
<img src="https://contrib.rocks/image?repo=HugoRCD/nuxt-raycast-extension" />
67104
</a>
68105

69106
<!-- /automd -->
@@ -72,6 +109,6 @@ Made by [community](https://github.com/HugoRCD/nuxt-ui-raycast-extension"/graphs
72109

73110
---
74111

75-
_🤖 auto updated with [automd](https://automd.unjs.io) (last updated: Fri Feb 28 2025)_
112+
_🤖 auto updated with [automd](https://automd.unjs.io) (last updated: Tue May 06 2025)_
76113

77114
<!-- /automd -->

extensions/nuxt/ai.yaml

Lines changed: 96 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
instructions: |-
2-
# CRITICAL COMPONENT IMPLEMENTATION RULES
2+
# CRITICAL IMPLEMENTATION RULES
33
- When creating components, use the SIMPLEST possible implementation
44
- For components like Accordion, ONLY use the `:items` prop with the CORRECT data structure
55
- NEVER use slots unless explicitly requested by the user
66
- 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
88
99
# CRITICAL TOOL USAGE AND NAMING CONVENTIONS
10+
## For Components
1011
- You MUST call these tools in this EXACT sequence for EVERY component request:
1112
1. FIRST: Call `get-available-components` to get the available components list
1213
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: |-
1617
- When calling tools, use the EXACT camelCase name from the components list (e.g., componentName: "button", NOT "Button")
1718
- When displaying components in code, add the prefix "U" and capitalize the first letter (e.g., <UButton>, <UButtonGroup>)
1819
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+
1933
# CODE GENERATION RULES
2034
- 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.)
2136
- Keep component implementation MINIMAL and SIMPLE
2237
- For a FAQ component, use UAccordion with items prop ONLY: `<UAccordion :items="faqItems" />`
2338
- NEVER create custom templates or slots unless explicitly requested
@@ -28,6 +43,7 @@ instructions: |-
2843
- Be concise and direct in your responses
2944
- Always use the composition API (script setup lang="ts") for all components
3045
- Return MINIMAL component code that accomplishes the task
46+
- For module recommendations, include installation instructions and basic usage examples
3147
- If a user asks for a FAQ component for example, the ONLY correct implementation is:
3248
```vue
3349
<script setup>
@@ -44,14 +60,17 @@ instructions: |-
4460
This is an example not a full source of truth, but it should be enough to understand the concept
4561
4662
# 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.
4864
- NEVER use slots when `:items` prop is available (or any other prop use to generate the component content)
4965
- NEVER customize UI unless requested
5066
- 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.
5168
- ALWAYS use the simplest implementation possible
5269
- 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
5372
evals:
54-
- input: "@nuxt-ui Create a button component"
73+
- input: "@nuxt Create a button component"
5574
mocks:
5675
get-available-components:
5776
components:
@@ -200,8 +219,7 @@ evals:
200219
</ULink>
201220
</template>
202221
expected:
203-
- callsTool:
204-
arguments: get-available-components
222+
- callsTool: get-available-components
205223
- callsTool:
206224
arguments:
207225
componentName: button
@@ -210,7 +228,7 @@ evals:
210228
arguments:
211229
componentName: button
212230
name: get-component-source-code
213-
- input: "@nuxt-ui What components are available?"
231+
- input: "@nuxt What components are available?"
214232
mocks:
215233
get-available-components:
216234
components:
@@ -226,7 +244,7 @@ evals:
226244
- pageCard
227245
expected:
228246
- callsTool: get-available-components
229-
- input: "@nuxt-ui Create a FAQ component"
247+
- input: "@nuxt Create a FAQ component"
230248
mocks:
231249
get-available-components:
232250
components:
@@ -269,7 +287,7 @@ evals:
269287
arguments:
270288
componentName: accordion
271289
name: get-component-theme
272-
- input: "@nuxt-ui How many components in Nuxt UI ?"
290+
- input: "@nuxt How many components in Nuxt UI ?"
273291
mocks:
274292
get-available-components:
275293
components:
@@ -295,7 +313,7 @@ evals:
295313
expected:
296314
- callsTool:
297315
name: get-available-components
298-
- input: "@nuxt-ui Give me the avatar theme"
316+
- input: "@nuxt Give me the avatar theme"
299317
mocks:
300318
get-available-components:
301319
components:
@@ -383,7 +401,7 @@ evals:
383401
componentName: avatar
384402
name: get-component-theme
385403

386-
- input: "@nuxt-ui Is there props on the card component ?"
404+
- input: "@nuxt Is there props on the card component ?"
387405
mocks:
388406
get-available-components:
389407
components:
@@ -473,3 +491,70 @@ evals:
473491
arguments:
474492
componentName: card
475493
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"
556+
npm: "@nuxt/ui"
557+
github: "nuxt/ui"
558+
category: "UI"
559+
expected:
560+
- callsTool: get-module-by-name

extensions/nuxt/assets/icon.png

214 KB
Loading

extensions/nuxt/eslint.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
const { defineConfig } = require("eslint/config");
2+
const raycastConfig = require("@raycast/eslint-config");
3+
4+
module.exports = defineConfig([
5+
...raycastConfig,
6+
]);

extensions/nuxt/media/banner.png

1.08 MB
Loading

extensions/nuxt/metadata/nuxt-1.png

613 KB
Loading

extensions/nuxt/metadata/nuxt-2.png

582 KB
Loading

extensions/nuxt/metadata/nuxt-3.png

669 KB
Loading

extensions/nuxt/metadata/nuxt-4.png

594 KB
Loading

0 commit comments

Comments
 (0)