@devflow-tools/plugin-tailwind
v0.18.73
Published
Tailwind CSS analysis and component tools for DevFlow.
Readme
@devflow-tools/plugin-tailwind
Tailwind CSS 专家插件 — 响应式设计、主题定制、Purge 检查、Utility 审查。(v0.17.8)
安装
npm install @devflow-tools/plugin-tailwind使用
插件通过 DevFlow/Claude Code 使用:
/devflow:tailwind <你的任务>能力与知识源
MCP Tools
| Tool | 说明 | 关键参数 |
|------|------|---------|
| tailwind_new_component | 新建 Tailwind 组件:语义结构 → 样式 → 响应式 → 暗色模式 | projectRoot |
Knowledge Sources
| 来源 | URL | SPA | |------|-----|-----| | Tailwind CSS 官方文档 | https://tailwindcss.com/docs | No |
Memory
插件自动注入以下最佳实践:
- Utility-first:优先使用内置 utility class,避免自定义 CSS
- 响应式断点顺序:
sm→md→lg→xl→2xl - 暗色模式使用
dark:前缀 tailwind.config.ts扩展主题色和间距- 使用
@apply提取重复 utility 组合为组件 class
兼容性
需要 Node.js >= 18,并与同版本 @devflow-tools/sdk、DevFlow CLI 配合使用。插件不是独立 HTTP 服务。
相关链接
License
MIT
兼容性
需要 Node.js >= 18,并与同版本 @devflow-tools/sdk、DevFlow CLI 配合使用。插件不是独立 HTTP 服务。
相关链接
License
MIT
兼容性
需要 Node.js >= 18,并与同版本 @devflow-tools/sdk、DevFlow CLI 配合使用。插件不是独立 HTTP 服务。
相关链接
License
MIT
兼容性
需要 Node.js >= 18,并与同版本 @devflow-tools/sdk、DevFlow CLI 配合使用。插件不是独立 HTTP 服务。
相关链接
License
MIT
