mcpField
B
bd-cuj

bd-cuj

github.com/bitdriftlabsData & databases13281 installsUpdated 1w ago
Repository

About bd-cuj

bd-cuj guides teams through setting up critical user journey monitoring with bitdrift. Its gated, phased process covers journey discovery, workflows, alerts, and a dashboard, while requiring user approval before deployment.

Key features

  1. 01Guided discovery of journey events and scope
  2. 02Creates path and funnel workflows
  3. 03Sets up network monitoring workflows
  4. 04Configures alerts and SLOs
  5. 05Builds a journey and network dashboard

Use cases

  1. 01Map a critical user journey
  2. 02Monitor journey completion and key-step timing
  3. 03Track network RED metrics
  4. 04Create journey SLO alerts and dashboards

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/bitdriftlabs/bd-skills --skill bd-cuj

After installing, type/bd-cujin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

VERSION
references/
alerts.md
dashboard.md
discovery.md
funnel.md
measure-time.md
network.md
sankey.md
session-capture.md

Details

From the project README

Critical User Journey (CUJ) Monitoring

For CLI usage, workflow creation, and alert syntax, see the bd-cli skill. For SDK integration and instrumentation, use the bd-instrumentation skill if available; it ships separately in the bitdrift-sdk plugin.

This skill is a guided, interactive setup. Work through phases in order, loading reference files on demand as each phase begins.

Core rules

  • Never guess field names, event names, or matcher values. The user supplies all identifiers in Phase 0. Do not infer them from code or prior context.
  • Do not deploy anything until the user has approved the Phase 0 discovery summary.
  • Gate between every phase. After each phase: report the created resource ID(s) (workflow/alert/dashboard) and link(s) where applicable, then ask "Ready to continue to [next phase]?" before loading the next reference file.

Phases

#PhaseOutputReference
0DiscoveryApproved event map, key step, scope, app IDs, network pathsreferences/discovery.md
1SankeyPath discovery workflowreferences/sankey.md
2FunnelFunnel workflow (funnel + key step timing + slow session capture) + separate completion rate workflow (for SLOs)references/funnel.md
3NetworkNetwork RED workflowreferences/network.md
4AlertsCompletion rate MWMBR SLO + key step p95 alertreferences/alerts.md
5DashboardTwo-tab dashboard: Journey + Networkreferences/dashboard.md

Start with references/discovery.md.

Comments

Markdown supported