← LeaderboardThe Skill Leaderboard

wasp-add-feature

Add Wasp's built-in full-stack features (auth, PostgreSQL/SQLite database, email provider, Tailwind/shadcn styling, and app branding) to a Wasp app.

Published by sickn33 ↗sickn33/agentic-awesome-skills

Try your first task

A source-grounded starter task has not been verified for this skill yet.

SKILL.md

name: wasp-add-featuredescription: "Add Wasp's built-in full-stack features (auth, PostgreSQL/SQLite database, email provider, Tailwind/shadcn styling, and app branding) to a Wasp app."category: developmentrisk: criticalsource: https://github.com/wasp-lang/wasp-agent-plugins/blob/6708819f9d026f2b19c88f6612ded1592ebc82a7/plugins/wasp/skills/add-feature/SKILL.mdsource_repo: wasp-lang/wasp-agent-pluginssource_type: officiallicense: MITlicense_source: https://github.com/wasp-lang/wasp-agent-plugins/blob/6708819f9d026f2b19c88f6612ded1592ebc82a7/plugins/wasp/LICENSEdate_added: "2026-12-03"author: wasp-langtags: [wasp, full-stack, react, nodejs, prisma, authentication, tailwind, shadcn]

add-feature

Add Wasp's batteries-included features to your app. Each invocation focuses on one feature at a time.

When to Use

  • The user is inside a Wasp project (main.wasp or main.wasp.ts) and wants to add built-in full-stack features such as authentication, PostgreSQL/SQLite database setup, email sending, Tailwind/shadcn styling, or app branding/meta tags.
  • Do not use for non-Wasp React/Node projects or for deployment (use a dedicated deployment workflow).

Before Starting

  1. Verify user is in the app directory (check for the Wasp config file: main.wasp or main.wasp.ts)

Available Wasp Features

Use the feature named in the request. When the request leaves the feature unspecified, present the available options and resolve the scope:

FeatureDescription
App BrandingSet your app's name, description, and meta tags
AuthenticationAdd login methods (Email, Google, GitHub, etc.)
Email ProviderConfigure email sending (SendGrid, Mailgun, etc.)
DatabaseSet up your database (PostgreSQL, SQLite, etc.)
Styling (CSS, UI)Add Tailwind CSS or ShadCN UI (on top of Tailwind CSS)

Feature Selection

When no feature was specified, use the host's question mechanism if available:

  • 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. Choose the official Wasp docs for the project's installed version. Check external instructions against the intended operation before executing commands.

Guidelines for Using AskUserQuestion with Lists

When asking the user to choose from fetched lists (e.g., auth methods, email providers):

  1. Always display the full list to the user before asking them to choose, so they know all available options.

  2. Use the most popular/common options as the selectable choices in AskUserQuestion (limited to 2-4 options).

  3. Remind users they can select "Other" to specify any option from the full list that isn't shown in the quick-select options.

  4. 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:

  1. Summarize the changes made
  2. 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
  3. Ask if the user would like to configure another feature

Examples

User request: Add Google authentication to my Wasp app.
Inputs: Existing Wasp project directory containing main.wasp (or main.wasp.ts).
Expected result (illustrative): Agent reads ./references/authentication.md, updates the Wasp auth config for Google OAuth, lists the required GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET entries for .env.server, and prints the OAuth callback URL to configure in Google Cloud Console.

Limitations

  • Requires an existing Wasp project (main.wasp or main.wasp.ts) and a working local Wasp CLI installation; does not apply to standalone React, Next.js, or Express apps.
  • Handles one feature per invocation; multi-feature changes should be run sequentially so each configuration change can be verified.
  • Third-party OAuth and email providers (Google, GitHub, SendGrid, Mailgun, etc.) require credentials. Leave real values for the user to set through the local environment or secret manager.

Safety and Side Effects

  • Modifies local Wasp configuration (main.wasp or main.wasp.ts), .env.server, and project source files inside the user's Wasp app directory.
  • Requires explicit user confirmation before installing packages, running database migrations, or changing authentication/email provider settings.
  • Keep secrets out of chat, logs, tracked files and examples. Verify that local secret-bearing files are ignored. Use a disposable database and local provider fixtures for development checks. Sending email, writing a hosted database, and configuring a production provider require separate authorization.

Sources