Skip to content

feat: add copy agent prompt for module setup and curl redirect#2197

Open
HugoRCD wants to merge 1 commit intomainfrom
feat/module-install-prompt
Open

feat: add copy agent prompt for module setup and curl redirect#2197
HugoRCD wants to merge 1 commit intomainfrom
feat/module-install-prompt

Conversation

@HugoRCD
Copy link
Member

@HugoRCD HugoRCD commented Mar 6, 2026

CleanShot.2026-03-06.at.18.17.36.mp4
CleanShot 2026-03-06 at 18 26 24@2x

@HugoRCD HugoRCD requested a review from atinux as a code owner March 6, 2026 18:27
@vercel
Copy link
Contributor

vercel bot commented Mar 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nuxt Ready Ready Preview, Comment Mar 6, 2026 6:35pm

@HugoRCD HugoRCD changed the title feat(modules): adds copy agent prompt for module setup feat: add copy agent prompt for module setup and curl redirect Mar 6, 2026
@coderabbitai
Copy link

coderabbitai bot commented Mar 6, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 92b59507-9273-487a-9709-a9d75a8625e8

📥 Commits

Reviewing files that changed from the base of the PR and between a1eca5b and 2a37852.

⛔ Files ignored due to path filters (1)
  • app/assets/icons/ai.svg is excluded by !**/*.svg
📒 Files selected for processing (3)
  • app/pages/modules/index.vue
  • modules/md-rewrite.ts
  • server/routes/modules.md.get.ts

📝 Walkthrough

Walkthrough

This pull request implements a feature to generate and share agent prompts for Nuxt module installation and configuration. The changes span three areas: a new UI button in the modules page that triggers a copy-to-clipboard function for building detailed prompts from selected modules; a server-side route handler that generates Markdown documentation of available modules grouped by category with installation commands and resource links; and a configuration update that maps the /modules endpoint to the new Markdown handler with appropriate content-type negotiation.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title 'feat: add copy agent prompt for module setup and curl redirect' is directly related to the main changes in the changeset. The summary confirms addition of a copyAgentPrompt feature for module setup, and the markdown route handling supports the curl redirect functionality mentioned.
Description check ✅ Passed The pull request description contains screenshots/images that visually demonstrate the feature being added (a button in the UI for copying agent prompts), which relates to the changeset's functionality.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/module-install-prompt

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant