node_modules/weapp-vite/dist/docs/ first.node_modules/weapp-vite/dist/docs/index.md, then read README.md and mcp.md as needed.weapp-vite and wv CLI commands.weapp-vite dev and wv dev as equivalent forms.pnpm dev, pnpm build, pnpm open, and pnpm g before ad-hoc shell commands.weapp-vite prepare or wv prepare when managed support files under .weapp-vite/ need to be refreshed.weapp-vite screenshot or wv screenshot for mini-program screenshot acceptance.weapp-vite compare or wv compare for mini-program screenshot diff, baseline comparison, and visual regression checks.weapp-vite ide logs --open or wv ide logs --open for DevTools terminal log bridging.weapp-vite screenshot / wv screenshot.weapp-vite compare / wv compare.vite.config.ts as the source of truth for weapp config, output behavior, and IDE/MCP automation.weapp.srcRoot, routes, subpackages, and auto-import strategy before broad refactors.pnpm build, targeted tests, then broader checks only when required.dist.weapp-vite commands first, IDE passthrough second.weapp-svg-icon npm component, referenced as weapp-svg-icon/index in usingComponents.@iconify-json/ph and @iconify-json/solar into a minimal set by scripts/generate-svg-icons.mjs.patches/weapp-svg-icon@1.0.0.patch, registered under patchedDependencies in pnpm-workspace.yaml and applied automatically by pnpm install. This project uses pnpm only; do not reintroduce patch-package or package-lock.json.ph:* / solar:* names), run pnpm gen:icons. It extracts a clean copy with pnpm patch --ignore-existing, writes the generated miniprogram_dist/index.js, runs pnpm patch-commit, and clears the weapp-vite npm build cache. Commit the updated patch, pnpm-workspace.yaml and pnpm-lock.yaml together.node_modules/weapp-svg-icon/. pnpm hard-links those files to the global store, so in-place edits corrupt the shared store copy (pnpm store status reports it as modified) and later patches get diffed against the wrong base.pnpm patch-commit produces an unusable patch when git escapes such paths in the diff.wv build caches compiled npm mini-program packages by package.json dependency hash (see node_modules/weapp-vite/.cache/), which a patch change does not alter. gen:icons clears that cache; if you change the patch by other means, remove node_modules/weapp-vite/.cache/*.json before building.--open, ensure WeChat DevTools is logged in and the service port is enabled.wv open, wv dev -o, and wv build -o use the official DevTools CLI first, then connect automator; if the IDE is open but automator is unavailable, run wv ide doctor --json before retrying.--ide-open-strategy automator only for explicit compatibility debugging; do not treat it as the default startup path..tmp/acceptance.png.npx skills add sonofmagic/skills.$weapp-vite-best-practices for config, build, subpackage, route, DevTools CLI orchestration, and screenshot/compare command work.$weapp-vite-vue-sfc-best-practices for .vue SFC macros, JSON blocks, and template compatibility.$release-and-changeset-best-practices for issue delivery, pnpm change intents, repoctl release decisions, and PR workflow.$docs-and-website-sync when documentation or AI guidance must be refreshed together with code changes.$weapp-vite-best-practices for stateful HMR, pluginRoot/dist-plugin, Web runtime compatibility, and native AST profiling; use $wevu-best-practices for wevu/router navigation semantics.$weapp-devtools-e2e-best-practices for serialized DevTools runtime suites, shared automator sessions, and known host compatibility skips.$native-to-weapp-vite-wevu-migration when migrating native mini-program projects to weapp-vite + native, or further toward Vue SFC / wevu.weapp-vite generate or wv generate for new app/page/component scaffolds.weapp-vite + native or a further Vue SFC / wevu migration, then keep each migration wave explicit.