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
- 01Guided discovery of journey events and scope
- 02Creates path and funnel workflows
- 03Sets up network monitoring workflows
- 04Configures alerts and SLOs
- 05Builds a journey and network dashboard
Use cases
- 01Map a critical user journey
- 02Monitor journey completion and key-step timing
- 03Track network RED metrics
- 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-cujAfter installing, type/bd-cujin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
VERSIONreferences/alerts.mddashboard.mddiscovery.mdfunnel.mdmeasure-time.mdnetwork.mdsankey.mdsession-capture.mdDetails
From the project READMECritical User Journey (CUJ) Monitoring
For CLI usage, workflow creation, and alert syntax, see the
bd-cliskill. For SDK integration and instrumentation, use thebd-instrumentationskill if available; it ships separately in thebitdrift-sdkplugin.
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
| # | Phase | Output | Reference |
|---|---|---|---|
| 0 | Discovery | Approved event map, key step, scope, app IDs, network paths | references/discovery.md |
| 1 | Sankey | Path discovery workflow | references/sankey.md |
| 2 | Funnel | Funnel workflow (funnel + key step timing + slow session capture) + separate completion rate workflow (for SLOs) | references/funnel.md |
| 3 | Network | Network RED workflow | references/network.md |
| 4 | Alerts | Completion rate MWMBR SLO + key step p95 alert | references/alerts.md |
| 5 | Dashboard | Two-tab dashboard: Journey + Network | references/dashboard.md |
Start with references/discovery.md.