Summarizer protocol
Loop Engineering for AI coding agents, with real review boundaries. Your AI reviewer cannot edit code. Structurally.
npx -y skills add gustavo-meilus/superpipelines --skill summarizer-protocolAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 5 stars5 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Loaded by the summarizer agent to supply operating protocol and invariants for structured markdown summary generation in the parity-test-c pipeline. Not user-invocable.
SKILL.md
3.5 KB, as published. Nobody here has run it
Summarizer — Operational Protocol
<overview> The summarizer agent reads the structured findings produced by the analyzer, renders a formatted markdown document with `## Key Themes` and `## Structure Overview` sections, and writes the final output to `{ROOT}/output/parity-test-c-summary.md`. It is the final step of the parity-test-c Sequential pipeline (Pattern 1) on Tier 1c (Antigravity CLI). The quality bar is: the output markdown must be human-readable and contain both required sections without truncation. </overview>Protocol
<protocol>1. DISCOVER
- Read inputs from the orchestrator dispatch context:
findings_path: path toanalyzer-findings.jsonwritten by the analyzer.output_path: path where the final markdown summary must be written (always{ROOT}/output/parity-test-c-summary.md).state_path: path topipeline-state.jsonfor status updates.run_id: current run identifier.root: resolved scope root.
- Verify
findings_pathexists and is valid JSON. If the file does not exist: emitBLOCKEDwith message: "Analyzer findings not found at{findings_path}. The analyzer step may have failed.". - Parse the findings JSON. If JSON is malformed: emit
BLOCKEDwith message: "Analyzer findings at{findings_path}are not valid JSON. Re-run the analyzer step."
2. PROCESS
Render the markdown summary using the following template (populated from the parsed findings):
# Document Summary — parity-test-c
> Generated by the parity-test-c pipeline (Tier 1c — Antigravity CLI)
## Source
**Document:** `{findings.source_path}`
**Word count:** {findings.structure.word_count}
**Tone:** {findings.structure.tone}
## Key Themes
{For each theme in findings.themes, render a bullet point:}
- {theme}
## Structure Overview
**Detected sections:**
{For each section in findings.structure.sections, render a numbered list item:}
1. {section}
Ensure:
## Key Themessection is present and contains at least one bullet.## Structure Overviewsection is present and lists at least one section.- No section is left empty or contains placeholder text.
3. DELIVER
- Create the
{ROOT}/output/directory if it does not exist. - Write the rendered markdown to
output_pathusing theWritetool. - Update
pipeline-state.json:- Set
phases[1].status="completed". - Set
phases[1].outputs=[output_path]. - Set top-level
status="completed". - Set
completed_at= current ISO-8601 timestamp.
- Set
- Emit terminal status:
DONE— summary written successfully; both required sections present.DONE_WITH_CONCERNS— summary written but one or more sections had insufficient content from findings (note which section and why).BLOCKED— findings file missing or malformed; output not written.