← スキル一覧に戻る

svg-collisions
by metabench
⭐ 1🍴 0📅 2026年1月18日
SKILL.md
name: svg-collisions description: Create or repair SVG diagrams without overlapping text/shapes. Use when shipping new SVGs, editing WLILO-styled diagrams, or when collision checks report overlaps/clipping.
SVG Collisions (Repair + Validation)
Scope
- Detect overlaps/collisions in SVGs
- Apply safe layout fixes (move label backgrounds, adjust spacing)
- Re-run validation until clean
Inputs
- SVG filepath
- Desired strictness (
--strictvs normal) - Whether collisions are real (text-on-rect label patterns are often intentional)
Procedure
- Run collision detection.
- Inspect reported collisions by severity.
- Fix only true problems (especially text-over-text).
- Re-run strict mode before shipping.
Validation
Run:
node tools/dev/svg-collisions.js <file> --strict
Escalation / Research request
Ask for dedicated research if:
- strict mode repeatedly reports false positives tied to viewBox scaling
- you need a new reusable theme/layout template under
data/svg-templates/ortools/dev/svg-templates/
References
- Tool doc:
tools/dev/README.md(svg-collisions section) - SVG methodology:
docs/guides/SVG_CREATION_METHODOLOGY.md
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です