zcf0508/unplugin-devpilot/src
Claude Code and agent skill by zcf0508/unplugin-devpilot
- community
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/srcSKILL.md
DOM Inspector Skill
Core Principle: Minimize token cost. Always choose the cheapest tool that gets the job done.
Tool Cost Reference
| Cost | Tools | Use For | |
|---|---|---|---|
| Low | get_visual_hierarchy, click_element, input_text, scroll_to_element | Layout overview, trigger interactions | |
| Mid | get_page_snapshot, get_element_details, get_console_logs | DOM with @eID, element deep dive, logs | |
| High | capture_screenshot | Visual comparison with design mockups only |
Workflows
1. Fix UI Against Design Mockup
Screenshot is justified here — pixel-level visual comparison requires images.
2. Verify Interaction Flows
Example: snapshot → @e42 [button] "Settings" → click_element(e42) → snapshot → confirm dialog appeared
3. Debug Bugs via Logs
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
Always start with `get_visual_hierarchy` — cheapest way to understand the page.
5. Performance Debugging
Decision Guide
- Understand layout? →
get_visual_hierarchyfirst - Need element IDs? →
get_page_snapshot(usestartNodeIdto narrow scope) - Click / type? →
click_element/input_textwith@eID - Compare with design? →
capture_screenshot - Runtime data? →
get_console_logswithkeyword/level - Element off-screen? →
scroll_to_elementbefore snapshot - Computed styles / position? →
get_element_details+includeStyles: true(narrow withstyleProps: ["font-weight"];pseudo: "::before"for pseudo-elements)
Anti-Patterns
- ✗
capture_screenshotto discover structure (useget_visual_hierarchy) - ✗ Full-page snapshot when only one section needed (use
startNodeId) - ✗
get_console_logswithoutkeyword/levelfilter (token waste) - ✗ Skipping
get_visual_hierarchyand 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
- SKILL.md in the repositoryCheckingpackages/devpilot-plugin-dom-inspector/src/skill.md
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
[](https://verified-skill.com/skills/zcf0508/unplugin-devpilot/src)