← all skills

sonofmagic

sonofmagic

@sonofmagic seed · attribution · source repo

0 followers · 16 skills

16 published skills

  1. Wevu Best Practices · sonofmagic bundle
    面向小程序中 wevu 运行时的实践手册,覆盖生命周期注册、响应式更新、JSX/TSX、事件契约、`bindModel/useBindModel`、layout、原生 router helpers、`wevu/router`、store 约束,以及 `setData` 调度、渲染、页面切换、资源与内存性能治理。
    0
    installs
  2. Docs And Website Sync · sonofmagic bundle
    面向 weapp-vite monorepo 的文档、website 与公开 skills 同步工作流。适用于源码能力变化后同步配置、CLI、React/Wevu/Vue SFC、多平台、mpcore、README、packaged docs、脚手架 `AGENTS.md`、AI skills 元数据和触发回归入口。
    0
    installs
  3. Weapp Tailwindcss · sonofmagic bundle
    协调 weapp-tailwindcss 全端任务并提供当前安全基线。Use when 用户泛化地询问 weapp-tailwindcss、Tailwind CSS in mini-programs、Web CLI、React Native 或 ReactLynx,或尚未明确是接入、迁移、排障、运行时、自定义构建还是原生跨端集成;具体任务优先路由到对应专用 skill。
    0
    installs
  4. Weapp Vite Best Practices · sonofmagic bundle
    面向采用 weapp-vite 项目布局仓库或已安装 `weapp-vite` 依赖项目的工程化实践手册,覆盖 `vite.config.ts` 的 `weapp` 配置、内置 i18n、自动路由、routeRules/layout、buildScope、自动导入组件、分包、npm、六平台单目标构建、受管 TypeScript、HMR、sourcemap、`prepare`、MCP、Web runtime、lib mode、worker、AI skills,以及与 `weapp-ide-cli` 的命令治理边界。
    0
    installs
  5. Weapp Tailwindcss Lynx · sonofmagic bundle
    为 ReactLynx + Rspeedy 配置 @weapp-tailwindcss/lynx 0.3.2 与 Tailwind CSS 4,覆盖 Rspeedy plugin、Lynx 原生 CSS、静态 className、theme 变量静态化、任意值、encoder 警告和 iOS/Android 运行端验证。Use for ReactLynx, Rspeedy, Lynx native CSS, arbitrary value compatibility, or Lynx bundle styling;不用于 React Native、uni-app App、Web 或普通小程序构建。
    0
    installs
  6. Weapp Tailwindcss Setup · sonofmagic bundle
    为新项目配置当前 weapp-tailwindcss v5 与 Tailwind CSS 4,覆盖 uni-app、uni-app x、Taro、Mpx、原生小程序、weapp-vite、Vite、Webpack 5、Rspack、Gulp、独立 CLI 及小程序/H5/Web/App 多端。Use when setting up, installing, integrating, choosing a framework configuration, or building CSS with `weapp-tw`; 不用于旧版迁移、故障诊断、自研构建器、Expo React Native 或 ReactLynx。
    0
    installs
  7. Weapp Vite React Best Practices · sonofmagic bundle
    面向使用 `weapp-vite` 与 `@weapp-vite/react` 开发 React 19 微信小程序的实践手册。适用于配置 `weapp.react`、编写 JSX/TSX 页面、选择 static/dynamic render mode、接入可选 React Compiler、管理 `createReactMiniProgramRoot` 生命周期,以及通过 `createNativeComponent` / `Slot` 与原生或 Wevu 组件互操作。
    0
    installs
  8. Weapp Tailwindcss Migrate · sonofmagic bundle
    将现有 weapp-tailwindcss 项目迁移到当前 v5/Tailwind CSS 4 生成链路,处理旧 `weapp-tw patch`、旧版 CLI init/Sass/Less/目录扫描、tailwindcss-patch、官方 PostCSS/Vite 插件、相对 cssEntries、H5 disabled、Webpack 4、Node/HBuilderX/ESM 要求。Use for upgrade, migration, legacy CLI cleanup, v4-to-v5, or deprecated setup removal;不用于全新接入或单点故障排查。
    0
    installs
  9. Weapp Tailwindcss Runtime · sonofmagic bundle
    设计和排查 weapp-tailwindcss 动态 class 组合与运行时封装,覆盖 @weapp-tailwindcss/runtime、merge、cva、variants、typography、theme-transition、ui、clsx、twMerge、weappTwIgnore、escape/unescape、rpx transformer、缓存和组件 class 覆盖。Use for dynamic classes, cn helpers, variant APIs, runtime package selection, or class escaping at runtime;不用于 bundler 初始接入、React Native 或 Lynx 编译器配置。
    0
    installs
  10. Weapp Devtools E2e Best Practices · sonofmagic bundle
    面向 weapp-vite 仓库的 WeChat DevTools 与 mpcore headless runtime e2e 工作流。适用于 `e2e/ide/**`、`miniprogram-automator`、`WEAPP_VITE_E2E_RUNTIME_PROVIDER`、全局串行、共享 automator、`miniProgram.reLaunch(...)`、DevTools/headless parity、跨平台 launcher,以及 screenshot/compare/logs 验收。
    0
    installs
  11. Weapp Vite Vue Sfc Best Practices · sonofmagic bundle
    面向使用 weapp-vite 的小程序项目的 Vue SFC 实践手册,覆盖 script setup、纯模板 SFC、JSON 宏、`definePageMeta`/layout、`defineModel`、`usingComponents`、内置 i18n Behavior、JSX/TSX script block、模板指令兼容、多平台 SFC、`.weapp-vite` 类型支持文件与受管 `prepare` 工作流。
    0
    installs
  12. Native To Weapp Vite Wevu Migration · sonofmagic bundle
    面向原生微信、支付宝、抖音等小程序渐进迁移到 `weapp-vite + 原生` 或继续升级到 `weapp-vite + wevu + Vue SFC` 的结构化工作流,覆盖六平台单目标构建、原生扩展名保留、Web 联调边界、路线选择、工具链接入、SFC 试点、响应式升级与可回滚验证。
    0
    installs
  13. Release And Changeset Best Practices · sonofmagic bundle
    面向 weapp-vite monorepo 的 repoctl release、pnpm change intent 与 issue 交付工作流。适用于 `weapp-vite`、`wevu`、`@weapp-vite/react`、mpcore、模板、公开 skills 或 AI 合约变更,判断 change intent、`create-weapp-vite` 联动、跨平台验证,以及从 issue worktree 到中文 PR/CI 的交付闭环。
    0
    installs
  14. Weapp Tailwindcss Custom Build · sonofmagic bundle
    将 weapp-tailwindcss 集成到自研构建器或高级流水线,覆盖 `weapp-tailwindcss/core`、generator、Vite/Webpack/Rspack/Rollup/Rolldown/Gulp 生命周期、ModuleGraph、Tailwind Scanner/source candidates、watch/HMR、source map、weapp-style-injector 和分包样式隔离。Use for custom bundlers, Node API, build adapters, asset graphs, loaders, plugins, or subpackage style injection;普通框架与 CLI 配置使用 setup skill。
    0
    installs
  15. Weapp Tailwindcss React Native · sonofmagic bundle
    为 Expo/React Native 配置 @weapp-tailwindcss/react-native 0.2.5 的 Tailwind CSS 4 编译器、Metro virtual module、Babel JSX transform、style manifest、tw runtime、dark/ios/android/native variants。Use for Expo SDK 54+, React Native 0.81+, Metro, native className, Android/iOS style compilation;不用于 uni-app App、ReactLynx 或普通小程序构建。
    0
    installs
  16. Weapp Tailwindcss Troubleshoot · sonofmagic bundle
    诊断 weapp-tailwindcss 与 `weapp-tw` CLI 的样式未生成、JS/模板 class 未转译、classNameSet、@source/cssEntries、source candidates、rpx、伪类/custom variant、组件隔离、Rspack、压缩、watch/HMR、H5/Web/App/uni-app x 多端产物问题。Use for debugging, troubleshooting, CLI output failures, classes not working, broken hot reload, wrong output, or runtime compatibility;不用于新项目配置、自研 API 设计或 Lynx 专属接入。
    0
    installs