home / skills / oimiragieo / agent-studio / pipeline-reflection-ux

pipeline-reflection-ux skill

/.claude/skills/pipeline-reflection-ux

This skill helps improve router-facing pipeline UX by making Step 0 visible, emitting completion, summarizing outcomes, and batching notifications.

npx playbooks add skill oimiragieo/agent-studio --skill pipeline-reflection-ux

Review the files below or copy the command above to add this skill to your agents.

Files (11)
SKILL.md
1.1 KB
---
name: pipeline-reflection-ux
description: Improve router-facing pipeline and reflection narration to reduce noisy status churn and make Step 0/Reflection outcomes explicit. Use when updating Router output contract, reflection reminder wording, or post-pipeline notification batching.
---

# Pipeline Reflection UX

Use this skill to keep pipeline/reflection output concise, explicit, and low-noise.

## Workflow

1. Make Step 0 visible in router narration.
2. Emit Step 0 completion before `TaskList()`.
3. Emit a one-line reflection outcome with report path.
4. Batch late post-pipeline notifications into one summary.
5. Keep guardrail semantics unchanged (`block` stays `block`).

## Required Checks

- Add/adjust tests before behavior changes.
- Confirm no regression in routing/taskupdate/read-safety tests.
- Verify debug-log counts improve for repeated violations/noise.

## References

- Detailed UX review: `references/ui-reflection-review.md`
- Troubleshooting runbook: `.claude/docs/TROUBLESHOOTING.md`
- Task tracking protocol: `.claude/docs/@TASK_TRACKING_GUIDE.md`

Overview

This skill improves router-facing pipeline and reflection narration to reduce noisy status churn and make Step 0 and reflection outcomes explicit. It standardizes when and how completion and reflection messages are emitted, and consolidates late notifications into a single, clear summary. The result is quieter, more actionable router output and easier debugging of pipeline flow.

How this skill works

The skill makes Step 0 visible in the router narration and ensures Step 0 completion is emitted before TaskList() is presented. It emits a one-line reflection outcome that includes the path to the generated report and batches post-pipeline notifications into a single summary message. Guardrail semantics remain unchanged, so blocking behavior is preserved.

When to use it

  • When updating the router output contract to include explicit Step 0 and reflection messages.
  • When changing reflection reminder wording to reduce repeated status churn.
  • When implementing or adjusting post-pipeline notification batching to reduce noise.
  • When debugging noisy taskupdate or routing logs that show repeated violations.
  • Before releasing UX changes that affect pipeline narration or router-facing messages.

Best practices

  • Emit Step 0 completion before emitting the TaskList to keep sequence explicit.
  • Keep reflection outcomes to a single concise line with a report path for detail.
  • Batch late or follow-up notifications into one summary to avoid repeated churn.
  • Add or update tests before changing behavior and retest routing/taskupdate/read-safety suites.
  • Verify debug-log counts improve for repeated violations to confirm noise reduction.

Example use cases

  • Change router output contract to surface an explicit Step 0 start and completion event.
  • Adjust reflection reminder text so it appears once with a clear outcome and report link.
  • Combine multiple late pipeline notifications into one end-of-pipeline summary for the user.
  • Run regression tests after modifications to ensure task update and routing behavior remain stable.
  • Measure debug log frequency before and after changes to confirm reduced status churn.

FAQ

Will this change blocking behavior for guardrails?

No. Guardrail semantics remain the same; 'block' continues to block and behavior is unchanged.

What tests should I run after making changes?

Run or update tests that cover routing, taskupdate, and read-safety. Add targeted tests for Step 0 visibility and reflection emission order.