Skip to content
cccskills
FreePublished on GitHub

pipeline-reflection-ux

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.

The English summary is being prepared. Showing the original description.

See how to install

Files included (10)

  • SKILL.md4.0 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

SKILL.md (original)

Review the instructions the agent will receive before you install.

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-PatternWhy It FailsCorrect Approach
Omitting Step 0 narrationReflection spawning invisible to user; pipeline audit trail brokenAlways emit "Step 0: N pending reflections..." before spawning reflection agents
Missing one-line reflection outcomeUser cannot distinguish completed reflection from skipped oneEmit report path + one-line summary after every reflection-agent completion
One status message per late-completing agentCreates noise storms; clutters pipeline outputBatch all late completions into one summary message after drain gate passes
Changing guardrail modes while fixing UX copyConflates two changes; behavioral impact of each masked in reviewSeparate UX copy changes from guardrail mode changes in distinct commits
Emitting Step 0 completion after TaskList()Violates router output contract; narration out of sequenceEmit "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

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Ensure accessibility in UI components including semantic HTML, ARIA attributes, keyboard navigation, and WCAG 2.2 AA compliance.

The English summary is being prepared. Showing the original description.

oimiragieo/agent-studio43Updated Jul 14, 2026

Use when you want to improve response quality through meta-cognitive reasoning. Applies 15+ reasoning methods to reconsider and refine initial outputs.

The English summary is being prepared. Showing the original description.

oimiragieo/agent-studio43Updated Jul 14, 2026

N-round opposing-stance debates for trade-off analysis. Assigns pro/con roles to agents, runs structured debate rounds with quality scoring, and produces a moderator synthesis with confidence-rated recommendation. Generalizable to architecture, technology, security, and design decisions.

The English summary is being prepared. Showing the original description.

oimiragieo/agent-studio43Updated Jul 14, 2026

Force adversarial code review stance that eliminates confirmation bias — reviewer must find issues or re-analyze

The English summary is being prepared. Showing the original description.

oimiragieo/agent-studio43Updated Jul 14, 2026

Creates specialized AI agents on-demand when no existing agent matches a request. Use when the Router cannot find a suitable agent for a task. Enables self-evolution by generating persistent agents.

The English summary is being prepared. Showing the original description.

oimiragieo/agent-studio43Updated Jul 14, 2026

LLM-as-judge evaluation framework with 5-dimension rubric (accuracy, groundedness, coherence, completeness, helpfulness) for scoring AI-generated content quality with weighted composite scores and evidence citations

The English summary is being prepared. Showing the original description.

oimiragieo/agent-studio43Updated Jul 14, 2026

See all skills by oimiragieo

Report a problem with this skill