tasks-automation

Automate Madoc TS bot-driven task handling and metadata resolution workflows.

57|15|Updated Nov 28, 2018
One-click install
npx skills add https://github.com/digirati-co-uk/madoc-platform --skill tasks-automation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tasks-automation
Source: https://github.com/digirati-co-uk/madoc-platform/tree/main/.agents/skills/tasks-automation
Command: npx skills add https://github.com/digirati-co-uk/madoc-platform --skill tasks-automation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill documents how Madoc TS automates task workflows using bots and how task metadata is resolved so developers can extend, debug, and add deterministic automation without guessing how events are handled.

Core Features & Use Cases

  • Defines where automation is registered and how execBot() dispatches bot behavior within services/madoc-ts.
  • Explains bot definitions, bot implementations, and mapping to site bot configurations for event-driven automation such as crowdsourcing-review.
  • Describes the TaskExtension and resolver architecture for fetching, computing, and patching task.metadata via API endpoints.
  • Use Case: Add a new bot to auto-approve review tasks and implement a resolver to populate missing task metadata before bot execution.

Quick Start

Ask the assistant to analyze services/madoc-ts automation and produce step-by-step instructions to add and register a bot that auto-approves crowdsourcing-review events and wire a resolver into the TaskExtension.

Frequently Asked Questions about tasks-automation

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

FAQPage Schema
How do I automate bot task handling in Madoc TS?

Bot task handling in Madoc TS is automated by defining bot-definitions and implementations, then dispatching behavior via the execBot() function in the services/madoc-ts automation code paths.

How does Madoc match bots to site events and trigger automation?

Madoc matches bots to events using site bot configurations and the getTaskEvents() function. Once matched, bots are instantiated via api.asUser and invoked through the handleTaskEvent() method.

How do I fetch and patch task metadata in Madoc crowdsourcing review flows?

Task metadata in Madoc crowdsourcing-review flows is fetched and patched using TaskExtension resolvers. These resolvers interact with API endpoints to compute and update task.metadata before bot execution.

Can I add a new bot to auto-approve crowdsourcing-review tasks in Madoc?

Yes, you can add a new bot to auto-approve crowdsourcing-review tasks by creating a bot implementation, registering it in the site bot config, and wiring a TaskExtension resolver to populate any missing task metadata.

Why is my Madoc bot not triggering on crowdsourcing-review events?

If a Madoc bot is not triggering on crowdsourcing-review events, verify the bot is registered in the site bot configurations, properly matched via getTaskEvents(), and successfully instantiated using api.asUser before handleTaskEvent() invocation.