website-devtools

📁 oocx/tfplan2md 📅 1 day ago
1
总安装量
1
周安装量
#76085
全站排名
安装命令
npx skills add https://github.com/oocx/tfplan2md --skill website-devtools

Agent 安装分布

amp 1
cline 1
opencode 1
cursor 1
continue 1
kimi-cli 1

Skill 文档

Skill Instructions

Purpose

Provide a repeatable way to use Chrome DevTools during website work to validate rendering, diagnose layout/CSS issues, and troubleshoot together with the Maintainer.

Hard Rules

Must

  • Use io.github.chromedevtools/chrome-devtools-mcp/* tools when diagnosing rendering/layout issues.
  • Capture concrete findings (console errors, computed styles, DOM structure) and summarize them in the PR/issue.

Must Not

  • Do not guess at rendering behavior when you can verify it using DevTools.

Golden Example

Use Chrome DevTools MCP tools to:
- Inspect computed styles and layout for a problematic element
- Check console for errors
- Verify responsive behavior by simulating viewports

Actions

  1. Ensure the site is available via the VS Code preview server (http://127.0.0.1:3000/website/), then load the relevant page URL in Chrome DevTools MCP so you can inspect it.
  2. Use Chrome DevTools MCP tools to inspect:
    • DOM structure and element attributes
    • Computed CSS and layout metrics
    • Console logs and runtime errors
    • Network requests (if applicable)
  3. Share findings with the Maintainer and propose the smallest fix.