sr-task-runner

Orchestrate batch task execution with dependency-aware scheduling and safe parallelism.

Updated Jun 15, 2026
One-click install
npx skills add https://github.com/tanghuo/th-skill --skill sr-task-runner
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sr-task-runner
Source: https://github.com/tanghuo/th-skill/tree/main/skills/sr-task-runner
Command: npx skills add https://github.com/tanghuo/th-skill --skill sr-task-runner

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of executing batch tasks in a safe and efficient manner, with features like dependency awareness and safe parallelism to ensure smooth workflow operation.

Core Features & Use Cases

  • Dependency-Aware Execution: Ensures tasks are executed based on their dependencies without any manual oversight.
  • Safe Parallelism: Maximizes throughput by intelligently deciding when to parallelize task execution while avoiding common pitfalls like race conditions.
  • Use Case: Ideal for managing complex workflows, such as software development processes, where tasks depend on each other and parallelization is crucial to meet deadlines.

Quick Start

Run the sr-task-runner to execute all tasks in the 'tasks' directory with dependency-aware scheduling: sr-task-runner tasks/.

Frequently Asked Questions about sr-task-runner

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

FAQPage Schema
How do I run batch task execution with dependency awareness?

Batch task execution with dependency awareness is handled by orchestrating tasks from a target directory, automatically resolving execution order based on dependencies. The runner validates outcomes and coordinates multiple tasks without requiring manual oversight.

What is the best way to parallelize task scheduling while avoiding race conditions?

Safe parallelism in task scheduling is achieved by intelligently analyzing task dependencies to determine which tasks can run concurrently. This maximizes throughput and prevents race conditions by ensuring only independent tasks execute in parallel.

How do I automate complex workflow coordination when tasks depend on each other?

Complex workflow coordination is automated by evaluating task dependencies and scheduling execution accordingly. This ensures dependent tasks wait for prerequisites to finish, validating the final outcome of the entire batch process.

Can I use dependency-aware task execution for software development workflows?

Dependency-aware task execution is suitable for software development workflows where tasks rely on each other. It coordinates these interdependent processes and parallelizes independent steps to help meet project deadlines.

How do I start running tasks in a specific directory?

To start running tasks, execute the runner command followed by the target directory path, such as `sr-task-runner tasks/`. This triggers dependency-aware scheduling and safe parallel execution for all tasks found within that folder.