wasp-lang/wasp-agent-plugins

wasp-plugin-init

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

소스 보기

사용 방법

  1. 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
  2. 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
  3. 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/wasp-lang/wasp-agent-plugins --skill wasp-plugin-init

시작 전 확인

  • 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
  • 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 Skill 문서

원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.

  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:
bash
rm -f .claude/wasp/.wasp-plugin-initialized*
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 # Wasp Knowledge section, append it as an import:
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.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.
같은 저장소의 Skills

더 많은 Skills

모든 Skills