add-feature
add-feature
Add Wasp's batteries-included features to your app. Each invocation focuses on one feature at a time.
Before Starting
- Verify user is in the app directory (check for wasp config file:
main.waspormain.wasp.ts)
Available Wasp Features
Present these features to the user and let them choose ONE to configure:
| Feature | Description |
|---|---|
| App Branding | Set your app's name, description, and meta tags |
| Authentication | Add login methods (Email, Google, GitHub, etc.) |
| Email Provider | Configure email sending (SendGrid, Mailgun, etc.) |
| Database | Set up your database (PostgreSQL, SQLite, etc.) |
| Styling (CSS, UI) | Add Tailwind CSS or ShadCN UI (on top of Tailwind CSS) |
Feature Selection
Using the AskUserQuestion tool, ask the user which Wasp feature they'd like to configure:
- Use the most relevant options as selectable choices (limited to 2-4 options)
- Remind users they can select "Other" to choose from additional features
Execute Selected Feature
Based on the user's selection, follow the corresponding guides below. ALWAYS follow the feature guide's corresponding raw text documentation URLs and use it as the basis for assisting the user.
- App Branding → app-branding.md
- Authentication → authentication.md
- Email Provider → email-provider.md
- Database → database.md
- Styling (CSS, UI) → styling.md
Guidelines for Using AskUserQuestion with Lists
When asking the user to choose from fetched lists (e.g., auth methods, email providers):
- Always display the full list to the user before asking them to choose, so they know all available options.
- Use the most popular/common options as the selectable choices in
AskUserQuestion(limited to 2-4 options). - Remind users they can select "Other" to specify any option from the full list that isn't shown in the quick-select options.
- Example format:
Available auth methods: Username & Password, Email, Google, GitHub, Discord, Keycloak, Slack [AskUserQuestion with 3-4 most common options] Note: Select "Other" to choose from additional options like Discord, Keycloak, or Slack.
After Feature Completion
After completing a feature configuration:
- Summarize the changes made
- If applicable, let them know if there are any environment variables they need to set and ask them if they need guidance on how to set them
- if so, fetch the raw github doc file URL for the environment variables and guide the user through the process
- Ask if the user would like to configure another feature
- If yes, return to Feature Selection
More from wasp-lang/claude-plugins
start-dev-server
Start the Wasp dev server and set up full debugging visibility. This includes running the server (with access to logs), and connecting browser console access so Claude can see client-side errors. Essential for any development or debugging work.
6deploying-app
deploy the Wasp app to Railway or Fly.io using Wasp CLI.
4wasp-plugin-init
Add Wasp knowledge to your project's CLAUDE.md
2wasp-plugin-help
Shows the Wasp plugin's available features, commands, and skills.
2plugin-help
Shows the Wasp plugin's available features, commands, and skills.
2expert-advice
Get advice on app improvements and functionality from a Wasp expert. Takes optional arguments for more specific requests e.g. `/expert-advice how can I improve account management?`.
1