What problem does it solve?
When Tailwind CSS styles fail to generate, classes are not transpiled, or hot reload breaks in weapp-tailwindcss projects, developers often guess at configuration fixes without finding the root cause. This Skill provides a systematic diagnostic workflow that locates failures layer by layer, from CSS generation through transpilation, build artifacts, and runtime behavior.
Core Features & Use Cases
- Layered Diagnosis: Classifies symptoms across four layers (generation, transpilation, artifacts, runtime) using a symptom matrix, then follows the shortest path to root cause.
- Multi-Platform Coverage: Handles WeChat/Alipay/Douyin mini-programs, H5/Web, App WebView, uni-app x, and CLI output issues including rpx units, pseudo-classes, component style isolation, and Rspack rules.
- HMR and Watch Debugging: Distinguishes first-build success from incremental graph failures by testing consecutive new classes in the same dev process.
- Use Case: A developer adds a new arbitrary-value class like
text-[22rpx] in a uni-app project and it never appears in the mini-program output. The Skill walks through @source coverage, classNameSet validation, and final WXSS artifact inspection to pinpoint whether the failure is in scanning, transpilation, or platform filtering.
Quick Start
Use the weapp-tailwindcss-troubleshoot skill to diagnose why my Tailwind classes are not appearing in the compiled mini-program CSS output.