Back to list
nrjdalal

turbo-generate-build-graph

by nrjdalal

A modern, type-safe, and high-performance SaaS starter template built with a monorepo architecture.

37🍴 9📅 Jan 23, 2026

SKILL.md


name: turbo-generate-build-graph description: Generates a styled SVG dependency graph of the Turborepo build pipeline. Use when the user asks to visualize dependencies, generate a build graph, or update the pipeline diagram.

Turbo Build Graph

Creates a dark-mode-friendly SVG visualization of Turborepo task dependencies.

Workflow

1. Generate Raw Graph

npx turbo run build --graph=graph.svg

Creates an SVG visualization of the build task dependencies.

2. Clean Up Labels

sed -i '' 's/\[root\] //g; s/#build//g; s/___ROOT___/ZeroStarter/g' graph.svg
  • Remove [root] prefix from package names
  • Remove #build suffix from task labels
  • Replace internal ___ROOT___ placeholder with project name

3. Style for Dark Mode / Transparency

# Transparent background
sed -i '' 's/fill="white"/fill="none"/g; s/fill="#ffffff"/fill="none"/g; s/fill="#fff"/fill="none"/g' graph.svg

# GitHub blue (#1f6feb) for nodes and text
sed -i '' 's/fill="black"/fill="#1f6feb"/g' graph.svg
sed -i '' 's/stroke="[^"]*"/stroke="#1f6feb"/g; s/stroke:[^;]*;/stroke:#1f6feb;/g' graph.svg
sed -i '' 's/<text\([^>]*\)>/<text\1 fill="#1f6feb">/g' graph.svg

# Remove arrowhead strokes (cleaner look)
sed -i '' 's/stroke="#1f6feb" points="-4,4/stroke="none" points="-4,4/g' graph.svg

4. Move to Assets

mkdir -p .github/assets
mv graph.svg .github/assets/graph-build.svg

Output: .github/assets/graph-build.svg

Usage in README

![Build Graph](.github/assets/graph-build.svg)

Notes

  • Run from repository root
  • Requires turbo (installed via workspace dependencies)
  • macOS sed -i '' syntax; on Linux use sed -i (no empty string)

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon