wasp-plugin-init
Original:🇺🇸 English
Translated
Adds Wasp knowledge, LLM-friendly documentation fetching instructions, and best practices to your project's CLAUDE.md or AGENTS.md file
19installs
Added on
NPX Install
npx skill4agent add wasp-lang/wasp-agent-plugins wasp-plugin-initTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →-
inform the user that this process will give their agent (Claude, Codex, Copilot, etc.) access to knowledge on Wasp's features, commands, workflows, and best practices by importing thefile into the user's AGENTS.md or CLAUDE.md file. Use the AskUserQuestion tool (or equivalent) to: a) ask the user if they want to continue, b) ask if they are using Claude Code (CLAUDE.md) or other agents like Codex, Gemini, Copilot, etc. (AGENTS.md).
general-wasp-knowledge.md -
if the user is using Claude Code, follow the Claude Code memory instructions. If the user is using other agents, follow the Other agents memory instructions.
-
inform the user that process is complete and they can runto see the plugin's available skills and features.
/wasp-plugin-help -
recommend the user do the following for the best Wasp development experience with Claude, Codex, Copilot, etc.:
- Start the dev server: Tell it to run the 'start-dev-server' skill to start the Wasp app and give it access to server logs, build errors, and Wasp CLI commands
- Enable Chrome DevTools: Prompt it to to give it visibility into browser console logs, network requests, and runtime errors
use the Chrome DevTools MCP server
Explain that together these provide end-to-end insight (backend + frontend) for faster debugging and development.
Claude Code memory
- get the plugin version from (
${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.jsonfield). Use it below asversion.{VERSION} - check if already exists. If it does, inform the user the plugin is already initialized for this version and skip the remaining steps.
.claude/wasp/.wasp-plugin-initialized-v{VERSION} - check for any old marker files matching the pattern in
.wasp-plugin-initialized*. If found, remove them — this is a version upgrade:.claude/wasp/
bash
rm -f .claude/wasp/.wasp-plugin-initialized*- copy to the user's project root
general-wasp-knowledge.mddirectory:.claude/wasp
bash
mkdir -p .claude/wasp && cp ./general-wasp-knowledge.md .claude/wasp/general-wasp-knowledge.md- if the CLAUDE.md file does not already contain a section, append it as an import:
# Wasp Knowledge
markdown
# Wasp Knowledge
Wasp knowledge can be found at @.claude/wasp/general-wasp-knowledge.md- create the versioned marker file so the plugin knows this version's init has been run:
bash
touch .claude/wasp/.wasp-plugin-initialized-v{VERSION}Other agents memory
- get the plugin version from (
${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.jsonfield). Use it below asversion.{VERSION} - if the AGENTS.md file already contains a section starting with , remove that entire section (from the heading to the next
# Wasp Knowledge [GENERATED BY WASPheading or end of file) before adding the new one.# - append the entire contents of into the user's AGENTS.md file:
general-wasp-knowledge.md- Append a new section at the end of the file with the title .
# Wasp Knowledge [GENERATED BY WASP v{VERSION}] - Copy and paste the contents of into this new section.
general-wasp-knowledge.md
- Append a new section at the end of the file with the title