Communitygithub.com

BV - Beads Viewer

Graph-basierte Triage-Engine für Beads-Projekte. Berechnet PageRank, Betweenness, kritischen Pfad und Zyklen. Verwenden Sie --robot-*-Flags für KI-Agenten.

Was ist BV - Beads Viewer?

BV (Beads Viewer) ist eine graph-bewusste Triage-Engine für Beads-Projekte, die aus der `.beads/beads.jsonl`-Datei arbeitet. Sie berechnet 9 verschiedene Graphmetriken, darunter PageRank, Betweenness, HITS, Eigenvektor-Zentralität und Zyklen, um deterministische Empfehlungen zu generieren. Die Engine ist speziell für KI-Agenten optimiert und bietet über `--robot-*`-Flags eine agentenfreundliche Schnittstelle, die strukturierte JSON-Ausgaben anstelle einer interaktiven Terminal-Benutzeroberfläche liefert. Dadurch wird vermieden, dass Agenten durch eine TUI blockiert werden. BV ermöglicht die Identifizierung von Engpässen, kritischen Pfaden, zirkulären Abhängigkeiten und bietet integrierte Rezepte wie `actionable`, `high-impact` oder `blocked`, um die Arbeit effizient zu priorisieren. Für Entwickler und KI-Agenten ist BV nützlich, da es komplexe Graphanalysen deterministisch und kostengünstig durchführt, ohne dass der Agent selbst die Logik berechnen muss.

Funktioniert mit~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/bg-szy/TOP-SKILLS/tree/HEAD/skills/marketplace/bv

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Was macht BV - Beads Viewer?

Eine graph-bewusste Triage-Engine für Beads-Projekte (.beads/beads.jsonl). Berechnet 9 Graphmetriken, generiert Ausführungspläne und liefert deterministische Empfehlungen. Menschliche TUI zum Durchsuchen; Roboter-Flags für KI-Agenten.

Warum BV vs. Rohes Beads

FähigkeitRohes beads.jsonlBV Roboter-Modus
Abfrage"Alle Probleme auflisten""Die 5 wichtigsten Engpässe auflisten, die die Veröffentlichung blockieren"
KontextkostenHoch (linear mit Anzahl der Probleme)Niedrig (feste Zusammenfassungsstruktur)
GraphlogikAgent muss berechnenVorberechnet (PageRank, Betweenness, Zyklen)
SicherheitAgent könnte Zyklen übersehenZyklen explizit gekennzeichnet

Verwenden Sie BV anstelle von direktem Parsen von beads.jsonl. Es berechnet Graphmetriken deterministisch.

KRITISCH: Roboter-Modus für Agenten

Führen Sie niemals nacktes bv aus. Es startet eine interaktive TUI, die Ihre Sitzung blockiert.

Verwenden Sie immer die --robot-*-Flags:

bv --robot-triage        # DER MEGA-BEFEHL: hier beginnen
bv --robot-next          # Minimal: nur der eine Top-Pick
bv --robot-plan          # Parallele Ausführungsspuren
bv --robot-insights      # Vollständige Graphmetriken

Die 9 Graphmetriken

BV berechnet diese Metriken, um versteckte Projektdynamiken aufzudecken:

MetrikWas sie misstWichtige Erkenntnis
PageRankRekursive AbhängigkeitsbedeutungFundamentale Blocker
BetweennessVerkehr auf kürzesten PfadenEngpässe und Brücken
HITSHub/Authority-DualitätEpics vs. Hilfsmittel
Kritischer PfadLängste AbhängigkeitsketteEcksteine mit null Spielraum
EigenvektorEinfluss über NachbarnStrategische Abhängigkeiten
GradDirekte VerbindungsanzahlenSofortige Blocker/Blockierte
DichteKanten-zu-Knoten-VerhältnisProjektkopplungsgesundheit
ZyklenZirkuläre AbhängigkeitenStrukturfehler (muss behoben werden!)
Topologische SortierungGültige AusführungsreihenfolgeGrundlage für Arbeitswarteschlange

Zwei-Phasen-Analyse

BV verwendet asynchrone Berechnung mit Zeitüberschreitungen:

  • Phase 1 (sofort): Grad, topologische Sortierung, Dichte
  • Phase 2 (500ms Zeitüberschreitung): PageRank, Betweenness, HITS, Eigenvektor, Zyklen

Überprüfen Sie immer das Feld status in der Ausgabe. Bei großen Graphen (>500 Knoten) können einige Metriken approx oder skipped sein.

Referenz der Roboter-Befehle

Triage & Planung

bv --robot-triage              # Vollständige Triage: Empfehlungen, schnelle Erfolge, zu lösende Blocker
bv --robot-next                # Einzelner Top-Pick mit Anspruch-Befehl
bv --robot-plan                # Parallele Ausführungsspuren mit Entblockungslisten
bv --robot-priority            # Erkennung von Prioritätskonflikten

Graphanalyse

bv --robot-insights            # Vollständige Metriken: PageRank, Betweenness, HITS, Zyklen, usw.
bv --robot-label-health        # Gesundheit pro Label: healthy|warning|critical
bv --robot-label-flow          # Labelübergreifende Abhängigkeitsflussmatrix
bv --robot-label-attention     # Nach Aufmerksamkeit gereihte Labels

Verlauf & Änderungen

bv --robot-history             # Bead-zu-Commit-Korrelationen
bv --robot-diff --diff-since <ref>  # Änderungen seit Referenz

Andere Befehle

bv --robot-burndown <sprint>   # Sprint-Burndown, Umfangsänderungen
bv --robot-forecast <id|all>   # ETA-Vorhersagen
bv --robot-alerts              # Veraltete Probleme, blockierende Kaskaden
bv --robot-suggest             # Hygiene: Duplikate, fehlende Abhängigkeiten, Zyklusbrüche
bv --robot-graph               # Abhängigkeitsgraphen-Export (JSON, DOT, Mermaid)
bv --export-graph <file.html>  # Eigenständige interaktive HTML-Visualisierung

Bereichs- & Filterung

bv --robot-plan --label backend              # Auf das Teilgraph des Labels beschränken
bv --robot-insights --as-of HEAD~30          # Historischer Zeitpunkt
bv --recipe actionable --robot-plan          # Vorfilter: bereit zur Arbeit
bv --recipe high-impact --robot-triage       # Vorfilter: höchster PageRank
bv --robot-triage --robot-triage-by-track    # Nach parallelen Arbeitsströmen gruppieren
bv --robot-triage --robot-triage-by-label    # Nach Domäne gruppieren

Integrierte Rezepte

RezeptZweck
defaultAlle offenen Probleme, nach Priorität sortiert
actionableBereit zur Arbeit (keine Blocker)
high-impactHöchste PageRank-Werte
blockedWarten auf Abhängigkeiten
staleOffen, aber seit 30+ Tagen unbearbeitet
triageSortiert nach berechnetem Triage-Wert
quick-winsEinfache P2/P3-Elemente ohne Blocker
bottlenecksKnoten mit hoher Betweenness

Struktur der Roboter-Ausgabe

Alle Roboter-JSON-Ausgaben enthalten:

  • data_hash - Fingerabdruck von beads.jsonl (Konsistenzprüfung)
  • status - Zustand pro Metrik: computed|approx|timeout|skipped
  • as_of / as_of_commit - Vorhanden bei Verwendung von --as-of

--robot-triage Ausgabe

{
  "quick_ref": { "open": 45, "blocked": 12, "top_picks": [...] },
  "recommendations": [
    { "id": "bd-123", "score": 0.85, "reason": "Entblockt 5 Aufgaben", "unblock_info": {...} }
  ],
  "quick_wins": [...],
  "blockers_to_clear": [...],
  "project_health": { "distributions": {...}, "graph_metrics": {...} },
  "commands": { "claim": "bd claim bd-123", "view": "bv --bead bd-123" }
}

--robot-insights Ausgabe

{
  "bottlenecks": [{ "id": "bd-123", "value": 0.45 }],
  "keystones": [{ "id": "bd-456", "value": 12.0 }],
  "influencers": [...],
  "hubs": [...],
  "authorities": [...],
  "cycles": [["bd-A", "bd-B", "bd-A"]],
  "clusterDensity": 0.045,
  "status": { "pagerank": "computed", "betweenness": "computed", ... }
}

jq Kurzreferenz

bv --robot-triage | jq '.quick_ref'                        # Zusammenfassung auf einen Blick
bv --robot-triage | jq '.recommendations[0]'               # Top-Empfehlung
bv --robot-plan | jq '.plan.summary.highest_impact'        # Bestes Entblockungsziel
bv --robot-insights | jq '.status'                         # Metrikbereitschaft prüfen
bv --robot-insights | jq '.cycles'                         # Zirkuläre Abhängigkeiten (muss repariert werden!)
bv --robot-label-health | jq '.results.labels[] | select(.health_level == "critical")'

Agenten-Workflow-Muster

# 1. Mit Triage beginnen
TRIAGE=$(bv --robot-triage)
NEXT_TASK=$(echo "$TRIAGE" | jq -r '.recommendations[0].id')

# 2. Zuerst auf Zyklen prüfen (Strukturfehler)
CYCLES=$(bv --robot-insights | jq '.cycles')
if [ "$CYCLES" != "[]" ]; then
  echo "Zuerst Zyklen beheben: $CYCLES"
fi

# 3. Aufgabe anfordern
bd claim "$NEXT_TASK"

# 4. Daran arbeiten...

# 5. Schließen, wenn erledigt
bd close "$NEXT_TASK"

TUI-Ansichten (für Menschen)

Bei interaktivem Ausführen von bv (nicht für Agenten):

TasteAnsicht
lListenansicht (Standard)
bKanban-Board
gGraphansicht (Abhängigkeits-DAG)
EBaumansicht (Eltern-Kind-Hierarchie)
iEinblicke-Dashboard (6-Feld-Metriken)
hVerlaufsansicht (Bead-zu-Commit-Korrelation)
aUmsetzbarer Plan (parallele Spuren)
fFlussmatrix (labelübergreifende Abhängigkeiten)
]Aufmerksamkeitsansicht (Label-Prioritätsranking)

Integration mit der bd CLI

BV liest aus der von der bd CLI erstellten Datei .beads/beads.jsonl:

bd init                    # Beads im Projekt initialisieren
bd create "Aufgabentitel"   # Ein Bead erstellen
bd list                    # Beads auflisten
bd ready                   # Umsetzbare Beads anzeigen
bd claim bd-123            # Ein Bead anfordern
bd close bd-123            # Ein Bead schließen

Integration mit Agent Mail

Verwenden Sie Bead-IDs als Thread-IDs zur Koordination:

file_reservation_paths(..., reason="bd-123")
send_message(..., thread_id="bd-123", subject="[bd-123] Start...")

Graph-Export-Formate

bv --robot-graph                              # JSON (Standard)
bv --robot-graph --graph-format=dot           # Graphviz DOT
bv --robot-graph --graph-format=mermaid       # Mermaid-Diagramm
bv --robot-graph --graph-root=bd-123 --graph-depth=3  # Teilgraph
bv --export-graph report.html                 # Interaktives HTML

Zeitreise

Vergleichen mit historischen Zuständen:

bv --as-of HEAD~10                    # Vor 10 Commits
bv --as-of v1.0.0                     # Bei Tag
bv --as-of "2024-01-15"              # Bei Datum
bv --robot-diff --diff-since HEAD~30  # Änderungen in den letzten 30 Commits

Häufige Fallstricke

ProblemLösung
TUI blockiert AgentNur --robot-*-Flags verwenden
Veraltete MetrikenFeld status prüfen, Ergebnisse durch data_hash gecacht
Fehlende Zyklen--robot-insights ausführen, .cycles prüfen
Falsche Empfehlungen--recipe actionable zur Filterung auf bereite Arbeit verwenden

Leistungshinweise

  • Phase-1-Metriken (Grad, topologische Sortierung, Dichte): sofort
  • Phase-2-Metriken (PageRank, Betweenness, usw.): 500ms Zeitüberschreitung
  • Ergebnisse durch data_hash gecacht
  • --robot-plan dem --robot-insights vorziehen, wenn Geschwindigkeit wichtig ist

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

bg-szy/TOP-SKILLS

Brand-first landing page designer — runs a brand-identity interview (colors, typography, shape language), then generates and iterates on a polished landing page via Stitch with deployment-ready HTML. Use when the user asks to create, design, or build a landing page, homepage, or marketing page and has no established visual direction. Skip when they have a design mockup, need a dashboard or app UI, are working at component level, building a multi-page app, or restyling with known design tokens — use frontend-design instead.

bg-szy/TOP-SKILLS

Fill out Microsoft Azure Landing Zone (ALZ) Accelerator checklists by interviewing the user, mapping their Azure subscriptions, integrating IP addressing documentation, and applying Microsoft Cloud Adoption Framework best practices. Produces a completed Excel checklist (.xlsx) ready for ALZ deployment. Use this skill whenever the user mentions Azure Landing Zone, ALZ checklist, landing zone accelerator, platform landing zone configuration, ALZ bootstrap, hub-and-spoke setup, Azure network topology planning, or wants to fill out any ALZ-related checklist or configuration file. Also trigger when the user uploads an Excel file that contains tabs like "Accelerator - Bootstrap", "Accelerator - Bicep", or "Accelerator - Terraform".

bg-szy/TOP-SKILLS

Compose a premium, animated landing page section by section in Next.js + Tailwind + Motion (Framer Motion) — built on a real design system, with editorial copy and motion that feels human-crafted, not template-generated. Use when building or rebuilding a landing page, marketing site, or hero/feature/pricing/CTA sections that need to look production-ready and bespoke from day one.

bg-szy/TOP-SKILLS

Write high-converting landing page copy using proven frameworks like PAS (Problem-Agitate-Solution), AIDA, and StoryBrand. Creates headlines, value propositions, CTAs, and full page sections optimized for conversion. Use when users need landing page copy, sales page content, or marketing website text.

bg-szy/TOP-SKILLS

Optimize landing pages for conversions, performance, and SEO. Use when improving landing pages, increasing conversions, or optimizing page performance.

bg-szy/TOP-SKILLS

Review investment portfolios for risk, diversification, fees. Asset allocation recommendations, tax-loss harvesting, rebalancing.

bg-szy/TOP-SKILLS

CI red? Call us. Pipeline fire brigade deploys. Use when user mentions CI failures, build errors, test failures, or pipeline issues. Do NOT load for: local builds, standard implementation work, reviews, or setup.

bg-szy/TOP-SKILLS

CASS Memory System - procedural memory for AI coding agents. Three-layer cognitive architecture with confidence decay, anti-pattern learning, cross-agent knowledge transfer, trauma guard safety system. Bun/TypeScript CLI.

bg-szy/TOP-SKILLS

Mandatory entry point: read this first for any request to make, create, edit, animate, or render a video, animation, or motion graphic, including a promo, explainer, captioned clip, title card, overlay, slideshow or interactive deck, Remotion port, or any HyperFrames HTML composition. Also use it to inspect, diagnose, validate, preview, publish, or batch-render an existing HyperFrames project. Inputs may be a website URL, GitHub PR, Figma design or URL, text or brief, existing footage, or music. It resumes project state, captures intent when applicable, selects and installs the owning workflow, and routes domain capabilities. HyperFrames is the default output framework unless the user explicitly chooses another framework for the deliverable or asks only to record a browser session.

bg-szy/TOP-SKILLS

Expert in building portfolios that actually land jobs and clients - not just showing work, but creating memorable experiences. Covers developer portfolios, designer portfolios, creative portfolios, and portfolios that convert visitors into opportunities.

bg-szy/TOP-SKILLS

Use when the user asks to "pre-launch check the landing page", "run a Quality-Score preflight", or "verify ad-to-page message match before launch"; produces an ad↔page continuity report — message-match gaps, above-the-fold check, page-speed read, form-friction count, mobile-render flags — as a pass/fix punch list. Not for redesigning or rewriting the page — use landing-optimizer; not for scoring the account or the RQS — use ad-account-auditor. 落地页体验预检/广告落地页一致性检查

bg-szy/TOP-SKILLS

Use when the user asks to "optimize our landing page for influencer traffic", "fix our promo-code landing page", or "improve conversion from a creator campaign"; produces a message-match audit, page-structure and social-proof recommendations, a promo-code/CTA conversion plan, and an A/B test roadmap. Not for measuring campaign results after launch — use performance-analyzer.

bg-szy/TOP-SKILLS

Audit a landing page, sales page or checkout page for conversion leaks and return a fix list ordered by expected revenue impact. Use when asked to review, critique or improve a landing page, sales page, opt-in page, product page or checkout flow, when conversion rate is low, when paid traffic is not converting, or when someone asks "why isn't this page converting" or wants a CRO / landing page review.

bg-szy/TOP-SKILLS

Landing page conversion optimization with layout rules, hero section design, and CTA psychology. Covers above-the-fold formula, social proof placement, mobile design, and F-pattern reading. Use for: startup landing pages, product pages, SaaS marketing, conversion optimization. Triggers: landing page, hero section, above the fold, conversion optimization, landing page design, cta button, hero image, landing page layout, saas landing page, product page design, conversion rate, landing page best practices

bg-szy/TOP-SKILLS

Create high-converting, visually distinctive landing pages. Use when building marketing pages, product launches, SaaS homepages, or any single-page conversion-focused website. Guides section-by-section composition with anti-AI-slop principles.

bg-szy/TOP-SKILLS

Landing page conversion optimization with layout rules, hero section design, and CTA psychology. Covers above-the-fold formula, social proof placement, mobile design, and F-pattern reading. Use for: startup landing pages, product pages, SaaS marketing, conversion optimization. Triggers: landing page, hero section, above the fold, conversion optimization, landing page design, cta button, hero image, landing page layout, saas landing page, product page design, conversion rate, landing page best practices

bg-szy/TOP-SKILLS

Account assets, equity and fund positions, P&L, cash flow records, account statements, margin ratios, buy-power estimates, order management, and DCA recurring investments via Longbridge (most require Trade permission). Frameworks: portfolio diagnosis, rebalancing, asset allocation, risk analysis (VaR/CVaR), performance attribution, and tax-loss harvesting. Triggers: "持仓", "账户", "盈亏", "资产", "对账单", "下单", "买入", "卖出", "撤单", "定投", "组合诊断", "再平衡", "资产配置", "风险分析", "绩效归因", "税损收割", "持倉", "賬戶", "盈虧", "對賬單", "下單", "買入", "賣出", "組合診斷", "再平衡", "稅損收割", "positions", "portfolio", "P&L", "order", "buy", "sell", "DCA", "statement", "risk analysis", "rebalancing", "tax harvesting", "我的风险", "持仓风险", "风险敞口", "資產", "資產配置", "風險分析", "績效歸因", "撤單

bg-szy/TOP-SKILLS

Auto-loaded context for Portfolio Buddy 2 development. Use for ANY task involving: React 19 development, TypeScript, portfolio analysis features, metrics calculations, trading strategy comparison, or working with the Portfolio Buddy 2 codebase. Contains tech stack, known issues, and architectural constraints.

bg-szy/TOP-SKILLS

Process video files with audio extraction, format conversion (mp4, webm), and Whisper transcription. Use when user mentions video conversion, audio extraction, transcription, mp4, webm, ffmpeg, or whisper transcription.

bg-szy/TOP-SKILLS

Using the Wonda CLI to generate images, videos, music, and audio from the terminal — plus LinkedIn, Reddit, and X/Twitter research and automation

Verwandte Skills