zcf0508/unplugin-devpilot/src

Claude Code and agent skill by zcf0508/unplugin-devpilot

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Advanced DOM inspection and interaction capabilities. Allows analyzing page layout, extracting compact DOM snapshots, manipulating elements, and debugging browser logs.

Install

npx vskill@latest install zcf0508/unplugin-devpilot/src

SKILL.md

DOM Inspector Skill

Core Principle: Minimize token cost. Always choose the cheapest tool that gets the job done.

Tool Cost Reference

CostToolsUse For
Lowget_visual_hierarchy, click_element, input_text, scroll_to_elementLayout overview, trigger interactions
Midget_page_snapshot, get_element_details, get_console_logsDOM with @eID, element deep dive, logs
Highcapture_screenshotVisual comparison with design mockups only

Workflows

1. Fix UI Against Design Mockup
capture_screenshot → compare with design → edit styles → capture_screenshot → verify

Screenshot is justified here — pixel-level visual comparison requires images.

2. Verify Interaction Flows
get_page_snapshot → find @eID → click_element/input_text → get_page_snapshot → verify DOM changes

Example: snapshot → @e42 [button] "Settings" → click_element(e42) → snapshot → confirm dialog appeared

3. Debug Bugs via Logs
get_console_logs(level="error") → add console.info("[BUG]",...) to code
→ click_element to reproduce → get_console_logs(keyword="[BUG]")
→ fix code → re-trigger → get_console_logs → confirm fix

Important: `console.log` is NOT captured. Use console.info or higher (warn/error) for debugging. Use prefixes ([BUG], [PERF]) + keyword/level filter to avoid log noise.

4. Explore Page Structure
get_visual_hierarchy → understand layout (cheap)
→ get_page_snapshot(startNodeId="eX") → targeted DOM of area of interest
→ get_element_details("eY") → deep dive if needed

Always start with `get_visual_hierarchy` — cheapest way to understand the page.

5. Performance Debugging
Add console.time/PerformanceObserver → click_element to trigger
→ get_console_logs(keyword="[PERF]") → fix → re-trigger → verify

Decision Guide

  • Understand layout? → get_visual_hierarchy first
  • Need element IDs? → get_page_snapshot (use startNodeId to narrow scope)
  • Click / type? → click_element / input_text with @eID
  • Compare with design? → capture_screenshot
  • Runtime data? → get_console_logs with keyword / level
  • Element off-screen? → scroll_to_element before snapshot
  • Computed styles / position? → get_element_details + includeStyles: true (narrow with styleProps: ["font-weight"]; pseudo: "::before" for pseudo-elements)

Anti-Patterns

  • ✗ capture_screenshot to discover structure (use get_visual_hierarchy)
  • ✗ Full-page snapshot when only one section needed (use startNodeId)
  • ✗ get_console_logs without keyword/level filter (token waste)
  • ✗ Skipping get_visual_hierarchy and jumping straight to detailed snapshot

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
34
Repository forks
3
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/zcf0508/unplugin-devpilot/src/badge)](https://verified-skill.com/skills/zcf0508/unplugin-devpilot/src)

Something wrong with this skill or its page? Tell us.