跳到正文
cccskills
免费在 GitHub 公开

wasp-plugin-init

Adds Wasp knowledge, LLM-friendly documentation fetching instructions, and best practices to your project's CLAUDE.md or AGENTS.md file

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(2)

  • SKILL.md3.5 KB
  • general-wasp-knowledge.md8.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

  1. 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 the general-wasp-knowledge.md file 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).

  2. 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.

  3. inform the user that process is complete and they can run /wasp-plugin-help to see the plugin's available skills and features.

  4. 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 use the Chrome DevTools MCP server to give it visibility into browser console logs, network requests, and runtime errors

    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.json (version field). Use it below as {VERSION}.
  • check if .claude/wasp/.wasp-plugin-initialized-v{VERSION} already exists. If it does, inform the user the plugin is already initialized for this version and skip the remaining steps.
  • check for any old marker files matching the pattern .wasp-plugin-initialized* in .claude/wasp/. If found, remove them — this is a version upgrade:
rm -f .claude/wasp/.wasp-plugin-initialized*
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 # Wasp Knowledge section, append it as an import:
# 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:
touch .claude/wasp/.wasp-plugin-initialized-v{VERSION}

Other agents memory

  • get the plugin version from ${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.json (version field). Use it below as {VERSION}.
  • if the AGENTS.md file already contains a section starting with # Wasp Knowledge [GENERATED BY WASP, remove that entire section (from the heading to the next # heading or end of file) before adding the new one.
  • append the entire contents of general-wasp-knowledge.md into the user's AGENTS.md file:
    • 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 general-wasp-knowledge.md into this new section.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

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.

中文简介正在准备中。当前显示原文说明。

wasp-lang/wasp-agent-plugins142026年10月16日 更新

deploy the Wasp app to Railway or Fly.io using Wasp CLI.

中文简介正在准备中。当前显示原文说明。

wasp-lang/wasp-agent-plugins142026年10月16日 更新

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?`.

中文简介正在准备中。当前显示原文说明。

wasp-lang/wasp-agent-plugins142026年10月16日 更新

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 the agent can see client-side errors. Essential for any development or debugging work.

中文简介正在准备中。当前显示原文说明。

wasp-lang/wasp-agent-plugins142026年10月16日 更新

Shows the Wasp plugin's available features, commands, and skills.

中文简介正在准备中。当前显示原文说明。

wasp-lang/wasp-agent-plugins142026年10月16日 更新

查看 wasp-lang 的全部技能

报告此技能的问题