petekp/agent-skills/petekp-agent-skills-explanatory-playground
Claude Code and agent skill by petekp/agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Build interactive debugging interfaces that reveal internal system behavior. Use when asked to "help me understand how this works", "show me what's happening", "visualize the state", "build a debug view", "I can't see what's going on", or any request to make opaque system behavior visible. Applies to state machines, data flow, event systems, algorithms, render cycles, animations, CSS calculations, or any mechanism with hidden internals.
Install
npx vskill@latest install petekp/agent-skills/petekp-agent-skills-explanatory-playgroundSKILL.md
Explanatory Playground
Build dev-only visualizations that make invisible system behavior visible.
Workflow
1. Clarify the target
Use AskUserQuestion to understand what needs visualization:
Then ask what's confusing:
2. Identify what's hidden
Based on answers, determine what to surface:
- State — Values that change over time
- Transitions — Events that trigger changes
- Relationships — How parts communicate
- Logic — Conditions, thresholds, rules
3. Pick visualization approach
| System | Visualization | Library | |
|---|---|---|---|
| State machines | Node-edge graph | react-flow | |
| Data flow | Directed graph / Sankey | react-flow | |
| Events | Timeline | custom or recharts | |
| Algorithms | Step animation | custom | |
| Render cycles | Component tree + diffs | custom | |
| Animations | Timeline scrubber | custom | |
| CSS/Layout | Box model overlay | custom |
See references/patterns.md for layouts, code, and implementation details.
4. Choose interactivity level
Ask if unclear:
| Level | Features | When | |
|---|---|---|---|
| 1 - Observe | Real-time state display | Always | |
| 2 - Inspect | Click/hover for details | Usually | |
| 3 - Manipulate | Trigger events, modify state | Edge cases | |
| 4 - Time travel | History scrubbing, replay | Race conditions |
Start with 1-2. Add 3-4 when needed.
6. Instrument minimally
Prefer event emitters (least invasive):
Use proxies for third-party code:
7. Create dev-only route
Guard against production:
8. Document removal
Header in every created file:
Cleanup
On removal request:
- Delete
__dev/route - Remove instrumentation (emitters, proxies)
- Uninstall added deps if unused elsewhere
- Search for
EXPLANATORY-PLAYGROUNDmarkers
Report what was removed.
Security
- Security scanPassed, 100 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 repositoryCheckingskills/explanatory-playground/SKILL.md
Popularity
- Repository stars
- 4
- Repository forks
- 1
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 25 Apr 2026, 6 months ago.
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/petekp/agent-skills/petekp-agent-skills-explanatory-playground)