progressive-execution

Implement dual-phase execution with immediate approximate results followed by enriched outputs.

Updated Feb 3, 2026
One-click install
npx skills add https://github.com/dhruvinrsoni/agentskills-garden --skill progressive-execution
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: progressive-execution
Source: https://github.com/dhruvinrsoni/agentskills-garden/tree/main/skills/50-performance/progressive-execution
Command: npx skills add https://github.com/dhruvinrsoni/agentskills-garden --skill progressive-execution

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the need to provide users with immediate feedback for long-running operations by delivering fast, approximate results first, followed by richer, more accurate results.

Core Features & Use Cases

  • Dual-Phase Processing: Separates initial quick results from subsequent detailed enhancements.
  • Failure Isolation: Ensures that failures in the enrichment phase do not impact the initial results.
  • Use Case: A search engine can show initial results based on keyword matching (Phase 1) while a more computationally intensive semantic analysis refines the ranking and adds explanations in the background (Phase 2).

Quick Start

Execute the progressive-execution skill with the provided query and handlers.

Frequently Asked Questions about progressive-execution

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

FAQPage Schema
How do I show immediate approximate results while slower data processing runs in the background?

Use a dual-phase execution pattern to deliver immediate approximate results first, followed by optional enriched results. This manages the contract between phases so initial responsiveness is maintained without degrading user experience.

What is the best way to isolate background enrichment failures from initial search results?

Failure isolation in dual-phase processing ensures that errors in the slower enrichment phase do not impact the initial results already delivered. Phase 1 remains functional and independent, guaranteeing the user keeps their fast response.

Can I use async processing to improve user experience for latency-heavy data dashboards?

Yes, progressive execution supports latency-heavy scenarios like data dashboards by separating quick initial rendering from async processing. Phase 1 guarantees immediate feedback while Phase 2 enhances the data in the background.

How does dual-phase execution manage the contract between fast and enriched result delivery?

The dual-phase execution pattern manages the contract by defining strict delivery mechanisms and failure boundaries between phases. This ensures Phase 1 approximate results are always functional, while Phase 2 enrichment is delivered optionally.

When should I not use progressive enhancement for async processing?

Avoid progressive enhancement when your operation cannot be split into a fast approximate step and a slower accurate step. If the initial Phase 1 response cannot deliver usable data independently, the dual-phase contract breaks down.