add-feature
Add Wasp's built-in features to your app — auth, email, jobs, and more. These are full-stack, batteries-included features that Wasp handles for you. Use when the user wants to add meta tags, authentication (email, social auth providers), email sending, database setup, styling (tailwind, shadcn), or other Wasp-powered functionality.
What this skill does
# add-feature Add Wasp's batteries-included features to your app. Each invocation focuses on one feature at a time. ## Before Starting 1. Verify user is in the app directory (check for wasp config file: `main.wasp` or `*.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](./app-branding.md) - **Authentication** → [authentication.md](./authentication.md) - **Email Provider** → [email-provider.md](./email-provider.md) - **Database** → [database.md](./database.md) - **Styling (CSS, UI)** → [styling.md](./styling.md) ## 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 3. If yes, return to [Feature Selection](#feature-selection)
Related in Web Dev
generating-lwc-components
IncludedLightning Web Components with PICKLES methodology and 165-point scoring. Use this skill when the user creates or edits LWC components, builds wire service patterns, or writes Jest tests for LWC. TRIGGER when: user creates/edits LWC components, touches lwc/**/*.js, .html, .css, .js-meta.xml files, or asks about wire service, SLDS, or Jest LWC tests. DO NOT TRIGGER when: Apex classes (use generating-apex), Aura components, or Visualforce.
tanstack-query
IncludedManage server state in React with TanStack Query v5. Set up queries with useQuery, mutations with useMutation, configure QueryClient caching strategies, implement optimistic updates, and handle infinite scroll with useInfiniteQuery. Use when: setting up data fetching in React projects, migrating from v4 to v5, or fixing object syntax required errors, query callbacks removed issues, cacheTime renamed to gcTime, isPending vs isLoading confusion, keepPreviousData removed problems.
document-processor-api
IncludedProcess documents with Nutrient DWS. Use when the user wants to generate PDFs from HTML or URLs, convert Office/images/PDFs, assemble or split packets, OCR scans, extract text/tables/key-value pairs, redact PII, watermark, sign, fill forms, optimize PDFs, or produce compliance outputs like PDF/A or PDF/UA. Triggers include convert to PDF, merge these PDFs, OCR this scan, extract tables, redact PII, sign this PDF, make this PDF/A, or linearize for web delivery.
nutrient-document-processing
IncludedProcess documents with Nutrient DWS. Use when the user wants to generate PDFs from HTML or URLs, convert Office/images/PDFs, assemble or split packets, OCR scans, extract text/tables/key-value pairs, redact PII, watermark, sign, fill forms, optimize PDFs, or produce compliance outputs like PDF/A or PDF/UA. Triggers include convert to PDF, merge these PDFs, OCR this scan, extract tables, redact PII, sign this PDF, make this PDF/A, or linearize for web delivery.
tanstack-query
IncludedManage server state in React with TanStack Query v5. Covers useMutationState, simplified optimistic updates, throwOnError, network mode (offline/PWA), and infiniteQueryOptions. Use when setting up data fetching, fixing v4→v5 migration errors (object syntax, gcTime, isPending, keepPreviousData), or debugging SSR/hydration issues with streaming server components.
accelint-nextjs-best-practices
IncludedNext.js performance optimization and best practices. Use when writing Next.js code (App Router or Pages Router); implementing Server Components, Server Actions, or API routes; optimizing RSC serialization, data fetching, or server-side rendering; reviewing Next.js code for performance issues; fixing authentication in Server Actions; or implementing Suspense boundaries, parallel data fetching, or request deduplication.