3.6 KiB
3.6 KiB
name, description
| name | description |
|---|---|
| organized-feedback | Organize PR review comments into structured feedback with coverage auditing and unknown-item handling. Use when converting gitea-pr-review Markdown into a user-specified output document. |
Organized Feedback
Overview
Use this skill to turn a single PR review document into organized feedback.
Inputs
- PR markdown
- output path
Hard Gates
- Do not write final output until user provides output path.
- Coverage audit must run in interaction.
- Coverage audit content must not be written to final document.
- If unknown count is greater than 3, pause and request user permission.
Classification Taxonomy
question: a review item that asks for clarification, confirmation, or intent.supplement: a review item that adds missing context, examples, or supporting detail without changing the requested behavior.request-for-change: a review item that asks for a code, behavior, or design change.unknown: a review item that cannot be classified confidently after one reflection pass.
RFC Subfields
When a review item is classified as request-for-change, annotate it with:
Change-Scope: how broad the requested change is.localimplementapi-changerequirement-change
Necessity: how strongly the change is required.nice-to-haveshould-fixmust-fix
Processing Flow
- Read the PR markdown and identify each review comment or feedback unit.
- Classify each unit as
question,supplement,request-for-change, orunknown. - If a unit clearly contains multiple intents, split it into separate items before grouping.
- If multiple units express the same intent, merge them into one grouped item.
- For each
request-for-change, assignChange-ScopeandNecessity. - Run an interaction-only coverage audit using
All-Source-Refs,Covered-Source-Refs, andMissing-Source-Refs. - Re-audit until
Missing-Source-Refsis empty. - Apply the unknown reflection rule once before finalizing any
unknownitem. - If the count of
unknownitems is greater than 3, stop and request user permission before proceeding.
Interaction-Only Coverage Audit
The coverage audit must be performed only against the interaction content, not the final document.
Track these lists explicitly:
All-Source-Refs: every source reference found in the interactionCovered-Source-Refs: refs that are represented in the organized outputMissing-Source-Refs: refs that are present in the interaction but not yet covered
Source reference format rule:
- Use
R+ PR numbering path from the source markdown. - Example mapping:
Comment 42.1.1->R42.1.1,Reply 42.1.1.1->R42.1.1.1.
Audit rules:
- Compare only against interaction content.
- Re-audit after every grouping pass until
Missing-Source-Refsis empty. - Do not treat the final document as an audit source.
Unknown Handling
- unknown(>=1),必须执行一次反思复判
- Use one reflection pass to decide whether an item can be reclassified into
question,supplement, orrequest-for-change. - If it remains
unknown, keep it in theUnknown Itemssection. - If the number of
unknownitems is greater than 3, request user permission before continuing.
Final File Format
Write only the organized output content:
Organized Feedback- optional
Unknown Items
Do not write the coverage audit into the final output file.
Output Discipline
- Preserve the user-specified output path.
- Keep the final file limited to the agreed format.
- Do not add extra audit notes, scratch work, or intermediate classification logs to the final file.