Turn Claude Code into a Fullstack web app expert đ
Source: Dev.to
Why Claude Code Needs a Wasp Plugin
Claude Code is a great coding assistant, but it doesnât always know how to leverage Waspâs batteriesâincluded, fullâstack framework features.
Wasp is built on popular tools that developers (and AI) loveâReact, ExpressJS, Prisma, and TanStack Query. Because of this, Claude may defer to building directly with those tools rather than using Waspâs higherâlevel abstractions.
- Authentication example â If you ask Claude to add Google auth, it might suggest a library like AuthJS or Better Auth. Wasp can handle this in just a few lines of code, but Claude might not be aware of that shortcut.
- Hallucinations & outdated syntax â As an emerging framework, Claude can hallucinate Wasp patterns, use deprecated syntax, or make incorrect assumptions about how a fullâstack app should be built.
To address these issues, the Wasp team created a Claude Code plugin that turns Claude into a true Wasp expert.
Turn Claude into a Wasp Expert
Claude Code allows userâdefined commands, skills, hooks, and rules that act as knowledge sources and guardrails. The WaspâClaude plugin bundles the essential pieces so Claude can work fluently with Wasp projects.
Installation
Add the plugin from the Claude marketplace:
claude plugin marketplace add wasp-lang/claude-plugins
Install it into your project:
claude plugin install wasp@wasp-plugins --scope project
Initialize the plugin in a Claude Code session:
/wasp:init
Features
- Automatic documentation â Fetches the correct Wasp docs for your projectâs version during development and debugging.
- Error prevention â Provides Waspâspecific tips, patterns, and best practices to avoid hallucinations or outdated approaches.
- Guided workflows â Skills and commands walk you through setting up Waspâs batteriesâincluded features: auth, email, database, deployment, etc.
- Full debugging visibility â Starts managed databases, dev servers, and connects browser console access so Claude sees the entire stack.
- Version guardrails â Hooks ensure Claude checks your projectâs Wasp version and pulls the appropriate LLMâfriendly docs before performing tasks.
Example Commands
You can ask Claude to handle a variety of Waspârelated tasks, such as:
- âAdd Google authentication to my appâ
- âMigrate the database from SQLite to PostgreSQL and start it for meâ
- âDeploy my app to Railway for meâ
- âHelp me add ShadCN UI to my app to build a dashboardâ
- âStart a new SaaS app using Waspâs SaaS starter templateâ
- âWhy isnât my recurring job working?â
The plugin also provides slash commands like /wasp:help for quick reference.
Future Plans
The first iteration focuses on giving Claude solid Wasp fundamentals. Future updates will add:
- More guardrails and advanced skills
- Additional workflows to speed up development
- A separate plugin for Open SaaS, the openâsource SaaS starter built on Wasp, to simplify SaaS app creation
Feedback and ideas are welcome to help improve the plugin.