diegomarino/claude-toolshed/d2-validate
Claude Code and agent skill by diegomarino/claude-toolshed
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Validate D2 syntax in .d2 files or directories
Install
npx vskill@latest install diegomarino/claude-toolshed/d2-validateSKILL.md
/d2-validate
User request: "$ARGUMENTS"
Task
Validate D2 syntax in .d2 files or .md files containing D2 code blocks.
Process
Step 1: Resolve Plugin Path
Step 2: Ensure D2 is installed
Step 3: Determine Input
From $ARGUMENTS:
- `.d2` file → validate directly
- `.md` file → extract D2 blocks first with
extract_d2.sh, then validate each - Directory → find all
.d2files and.mdfiles with D2 blocks - No argument → ask: "Which file or directory should I validate?"
Step 4: Collect Files to Validate
For `.d2` files:
For `.md` files:
For directories:
Step 5: Validate Each File
For each file:
Track: filename, pass/fail, error message (if any).
Step 6: Report Results
If any failures:
If all pass:
Output Summary Format
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/d2/skills/d2-validate/SKILL.md
Popularity
- Repository stars
- 58
- Repository forks
- 5
- 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/diegomarino/claude-toolshed/d2-validate)