Skip to content
Back to skills

Pipeline Reflection Ux

ASecurity

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.

  • 40 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 6, 2026
testingrustbashaws

Security analysis

A100/100

Pro scans all 10 files and shows the line behind each finding

Scanned September 6, 2026

npx -y skills add oimiragieo/agent-studio --skill pipeline-reflection-ux --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pipeline Reflection Ux?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pipeline Reflection Ux
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/oimiragieo-pipeline-reflection-ux/badge)](https://www.skillsdirectory.com/skills/oimiragieo-pipeline-reflection-ux)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.
verified: true
lastVerifiedAt: 2026-02-22T00:00:00.000Z
version: 1.1.0
tools: [Read, Write, Edit, Bash, Glob, Grep]
source: builtin
trust_score: 100
provenance_sha: 3dcd60ca9638e8d3
---

# 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.

## Iron Laws

1. **ALWAYS** emit Step 0 narration (pending reflections count) before any `TaskList()` call — omitting the narration makes reflection spawning invisible to the user and breaks the pipeline audit trail.
2. **NEVER** batch reflection spawns with tool calls that depend on their results — reflection agents must complete before the router proceeds to routing; mixing them creates race conditions.
3. **ALWAYS** emit a one-line reflection outcome (report path + summary) after reflection-agent completes — without this, the user cannot distinguish a completed reflection from a skipped one.
4. **NEVER** emit one status message per late-completing background agent — per-agent late notifications create noise storms; batch all late completions into one summary after drain gate passes.
5. **ALWAYS** preserve existing `block` semantics when modifying pipeline narration — changing guardrail modes while fixing UX copy conflates two concerns and masks the behavioral impact of either change.

## Anti-Patterns

| Anti-Pattern                                  | Why It Fails                                                       | Correct Approach                                                                 |
| --------------------------------------------- | ------------------------------------------------------------------ | -------------------------------------------------------------------------------- |
| Omitting Step 0 narration                     | Reflection spawning invisible to user; pipeline audit trail broken | Always emit "Step 0: N pending reflections..." before spawning reflection agents |
| Missing one-line reflection outcome           | User cannot distinguish completed reflection from skipped one      | Emit report path + one-line summary after every reflection-agent completion      |
| One status message per late-completing agent  | Creates noise storms; clutters pipeline output                     | Batch all late completions into one summary message after drain gate passes      |
| Changing guardrail modes while fixing UX copy | Conflates two changes; behavioral impact of each masked in review  | Separate UX copy changes from guardrail mode changes in distinct commits         |
| Emitting Step 0 completion after TaskList()   | Violates router output contract; narration out of sequence         | Emit "Step 0 complete." before calling TaskList(), not after                     |

## Memory Protocol (MANDATORY)

**Before starting:**
Read `.claude/context/memory/learnings.md`

**After completing:**

- New pattern → `.claude/context/memory/learnings.md`
- Issue found → `.claude/context/memory/issues.md`
- Decision made → `.claude/context/memory/decisions.md`

> ASSUME INTERRUPTION: If it's not in memory, it didn't happen.

## References

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

Files in this skill

  • SKILL.md4 KB
  • commands/pipeline-reflection-ux.md122 B
  • hooks/post-execute.cjs322 B
  • hooks/pre-execute.cjs439 B
  • references/research-requirements.md536 B
  • rules/pipeline-reflection-ux.md433 B
  • schemas/input.schema.json718 B
  • schemas/output.schema.json266 B
  • scripts/main.cjs1.2 KB
  • templates/implementation-template.md196 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…