workflow-management

Create, debug, or modify QStash workflows for scheduled data updates and social media posting.

21|2|Updated Nov 5, 2023
One-click install
npx skills add https://github.com/sgcarstrends/sgcarstrends --skill workflow-management-sgcarstrends
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: workflow-management
Source: https://github.com/sgcarstrends/sgcarstrends/tree/main/.claude/skills/workflow-management
Command: npx skills add https://github.com/sgcarstrends/sgcarstrends --skill workflow-management-sgcarstrends

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you create, debug, and modify QStash-based workflows for data updates and social media posting in the API service.

Core Features & Use Cases

  • Workflow Definition: Create and maintain data update workflows and social media posting flows.
  • Scheduling & Debugging: Configure cron schedules, monitor execution, and diagnose issues.
  • Environment Awareness: Manage environment variables and route handlers for workflows.

Quick Start

Create or modify a workflow in apps/api/src/lib/workflows/, then trigger via the API or QStash console and verify logs.

Frequently Asked Questions about workflow-management

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

FAQPage Schema
How do I create automated workflows with QStash for data updates?

QStash workflows automate data updates by defining scheduled tasks in apps/api/src/lib/workflows/ using context.run steps and cron expressions. Create a workflow file, configure your schedule, set environment variables, then trigger via API or QStash console to execute and monitor logs.

Can I use QStash for social media posting automation?

Yes, QStash workflows support social media posting processes. Define posting workflows in the API service with cron-based scheduling, environment-aware route handlers, and comprehensive error handling to automate posts across social directories.

How do I debug QStash workflow execution issues?

Debug QShash workflows by monitoring execution logs via the QShash console, checking environment variables and route handler configuration, and running local tests. Error handling and observability built into workflow definitions help diagnose failures quickly.

What's the best way to schedule recurring data-fetch workflows?

Schedule recurring data-fetch workflows using cron expressions integrated into QShash workflow definitions. Set your schedule in the workflow file, configure environment variables for data sources, and verify execution through logs.

Do I need to manage environment variables separately for each workflow?

Environment variables route to workflows through configuration in apps/api/src/lib/workflows/. QShash workflows access these variables as part of their context, so manage them centrally and reference them across workflow definitions.