10-of-my-most-popular-text-to-image-series-prompts-78b0897e
generate a bunch of images, then you curate the results to handpick the best ones
UI/前端问题调试方法论。当遇到 CSS、布局、组件行为等 UI 问题时,强制执行"先观察后动手"的调试流程,避免盲目尝试。
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
SkillHub CLI
skillhub install chrsh44e/ui-debug-methodologyExaminez la source et la compatibilité, puis suivez les étapes d’installation.
Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.
核心原则:先理解机制,后动手修改。
当 UI 行为不符合预期时,禁止立即修改代码。必须先完成以下调试流程。
当遇到以下情况时,必须激活本 skill 的调试流程:
┌─────────────────────────────────────────────────────────────┐
│ UI 问题调试流程 │
├─────────────────────────────────────────────────────────────┤
│ │
│ 1. 观察现象 用 DevTools 检查实际 DOM 和样式 │
│ │ │
│ ▼ │
│ 2. 理解机制 搞清楚组件/CSS 的工作原理 │
│ │ │
│ ▼ │
│ 3. 定位根因 找到真正控制行为的代码/配置 │
│ │ │
│ ▼ │
│ 4. 最小修复 只改必要的部分 │
│ │ │
│ ▼ │
│ 5. 验证 测试所有场景 │
│ │ │
│ └──── 失败 ────▶ 回到步骤 1,不要继续打补丁 │
│ │
└─────────────────────────────────────────────────────────────┘
必须使用 DevTools 或 Playwright,而不是猜测。
| 检查项 | 方法 |
|---|---|
| 实际的 DOM 结构 | Elements 面板 |
| Computed styles | 查看 width/height/min-width/max-width 等 |
| 样式来源 | 看是哪个 CSS 规则在生效 |
| 是否有覆盖 | 查看被划掉的样式 |
| 布... |
Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.
# UI 问题调试方法论 **核心原则:先理解机制,后动手修改。** 当 UI 行为不符合预期时,**禁止**立即修改代码。必须先完成以下调试流程。 --- ## 触发条件 当遇到以下情况时,**必须**激活本 skill 的调试流程: 1. UI 行为不符合预期 2. CSS/样式不生效 3. 组件交互有问题(拖拽、点击、hover 等) 4. 布局错乱 5. 第一次尝试修复失败后 --- ## 强制流程 ``` ┌─────────────────────────────────────────────────────────────┐ │ UI 问题调试流程 │ ├─────────────────────────────────────────────────────────────┤ │ │ │ 1. 观察现象 用 DevTools 检查实际 DOM 和样式 │ │ │ │ │ ▼ │ │ 2. 理解机制 搞清楚组件/CSS 的工作原理 │ │ │ │ │ ▼ │ │ 3. 定位根因 找到真正控制行为的代码/配置 │ │ │ │ │ ▼ │ │ 4. 最小修复 只改必要的部分 │ │ │ │ │ ▼ │ │ 5. 验证 测试所有场景 │ │ │ │ │ └──── 失败 ────▶ 回到步骤 1,不要继续打补丁 │ │ │ └─────────────────────────────────────────────────────────────┘ ``` --- ## Step 1: 观察现象 **必须使用 DevTools 或 Playwright**,而不是猜测。 ### 检查清单 | 检查项 | 方法 | |--------|------| | 实际的 DOM 结构 | Elements 面板 | | Computed styles | 查看 width/height/min-width/max-width 等 | | 样式来源 | 看是哪个 CSS 规则在生效 | | 是否有覆盖 | 查看被划掉的样式 | | 布...
generate a bunch of images, then you curate the results to handpick the best ones
generate a bunch of images, then you curate the results to handpick the best ones
Productivity system based on Maya calendar with 13 natural tones for project management and personal development
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.