shiny-jobs

Schedule and execute background jobs in MAUI apps with Shiny.Jobs.

152|15|Updated Oct 6, 2022
One-click install
npx skills add https://github.com/shinyorg/templates --skill shiny-jobs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shiny-jobs
Source: https://github.com/shinyorg/templates/tree/main/ProjectTemplates/ShinyApp/skills/shiny-jobs
Command: npx skills add https://github.com/shinyorg/templates --skill shiny-jobs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scheduling and executing background tasks in MAUI apps across iOS and Android, with support for constraints, foreground execution, and runtime job management.

Core Features & Use Cases

  • Cross-platform background job scheduling for MAUI apps
  • Constraint-based execution (network, charging, battery)
  • Register, cancel, and run jobs on demand; foreground timer support

Quick Start

Register a job class with a unique identifier using AddJob and supply any runtime parameters, then initialize the job manager at app startup.

Frequently Asked Questions about shiny-jobs

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

FAQPage Schema
How do I schedule cross-platform background jobs in MAUI?

You can apply constraints to background jobs in MAUI by configuring the JobInfo registration to require specific conditions like network access, battery level, or device charging status before the task executes.

Can I run foreground jobs with a timer in MAUI apps?

Yes, you can run foreground jobs with timer support in MAUI apps. The job manager allows you to register, cancel, and run jobs on demand while the app is actively running in the foreground.

Do I need a dependency injection container to run background tasks in MAUI?

Yes, you need a configured dependency injection container to manage background tasks in MAUI. The job system requires the DI container to resolve the IJob implementation and its runtime dependencies during registration.

How do I cancel or manage running background jobs in MAUI?

You manage running background jobs in MAUI through the job manager API. At runtime, you can cancel active jobs, register new tasks on demand, and trigger foreground execution directly from your application code.