Nonblocking plugin install status projection

From ychampion/cskill-agents · View interactive version

Nonblocking plugin install status projection is an AI agent skill from the GitHub repository ychampion/cskill-agents. Map async marketplace reconciliation events into AppState rows so UIs show install/installing/failed badges without blocking.

How to use this skill

Skill file

SKILL: Nonblocking Plugin Install Status Projection

Domain: extensions-mcp

Trigger: Use when marketplace reconciliation emits progress events but the main UI must remain responsive with up-to-date status rows.

Source Pattern: Distilled from reviewed extension lifecycle and source-reconciliation patterns.

Core Method

Before the async reconciliation runs, seed AppState with pending rows for every diffed marketplace. Pass a shared updater into the reconciler’s onProgress hook that maps each event type (installing, installed, failed) to the corresponding AppState entry by marketplace name, keeping the rest of the state untouched. When an event includes an error, annotate that marketplace row so the UI can reveal diagnostics while still letting other installers continue running.

Key Rules

Example Application

If your agent tracks multiple plugin sources, apply this skill to emit nonblocking status rows for each install progress report so the user can monitor clones without stalling the command loop.

Anti-Patterns (What NOT to do)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.