workflow-discover

Discover and map UI routes, API endpoints, and background jobs into a workflow map.

1|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/0xHarbs/agent-setup --skill workflow-discover
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: workflow-discover
Source: https://github.com/0xHarbs/agent-setup/tree/main/claude/skills/automation/workflow-discover
Command: npx skills add https://github.com/0xHarbs/agent-setup --skill workflow-discover

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables teams to automatically discover and map all entry points and flows within a codebase, consolidating UI routes, API endpoints, background jobs, IPC channels, and webhooks into a single, navigable map.

Core Features & Use Cases

  • Stack-aware discovery: detects frameworks, routers, queues, and IPC/webhook patterns to assemble a complete workflow map.
  • Cross-reference analysis: links UI calls to API routes and traces producers/consumers across layers.
  • Output generation: produces a machine-readable map (JSON) and a human-readable diagram for architecture reviews and ADR work.

Quick Start

Run workflow-discover to generate the initial workflow map and then switch to /qa-map for ongoing discovery.

Frequently Asked Questions about workflow-discover

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I map all API endpoints and UI routes in a codebase?

To map API endpoints and UI routes, this Skill analyzes your project's frameworks and routers to discover all entry points. It produces a cross-referenced workflow map that links UI calls to API routes and traces producers across layers.

What is workflow discovery for architecture reviews?

Workflow discovery is the process of identifying and consolidating UI routes, API endpoints, background jobs, and IPC channels into a single navigable map. This map provides a structured view suitable for architecture reviews, ADR generation, and risk assessment.

Can I trace background jobs and webhooks across different frameworks?

Yes, you can trace background jobs and webhooks across different frameworks. The Skill is stack-aware, detecting various routers, queues, and IPC/webhook patterns to assemble a cohesive workflow map with cross-referenced analysis.

How do I generate a Mermaid diagram of my codebase architecture?

To generate a Mermaid diagram of your codebase architecture, run the workflow discovery process. It performs parallel discovery and traces entry-point call chains, outputting a human-readable Mermaid diagram alongside a machine-readable JSON map.

Does workflow discovery skip node_modules when tracing call chains?

Yes, workflow discovery skips node_modules when tracing entry-point call chains up to a reasonable depth. This ensures the analysis focuses on your actual project code rather than external dependencies during the mapping process.