一键导入
doc-update
// Use when considering whether review findings or engineer responses suggest the project's living reference docs need updating. Proposes changes explicitly and requires engineer confirmation before writing.
// Use when considering whether review findings or engineer responses suggest the project's living reference docs need updating. Proposes changes explicitly and requires engineer confirmation before writing.
| name | doc-update |
| description | Use when considering whether review findings or engineer responses suggest the project's living reference docs need updating. Proposes changes explicitly and requires engineer confirmation before writing. |
After a review is complete and the engineer has responded to findings, consider whether the reference docs need updating. This skill guides the judgment about when to propose changes and how to apply them.
Use your judgment. These are examples of the kind of situations that warrant asking, not an exhaustive checklist:
When in doubt, ask. The cost of asking is low; the cost of stale docs is high.
For each potential update, ask the engineer explicitly:
"You confirmed that [specific thing]. The current [doc name] says [current rule]. Should I update it to reflect [proposed change]?"
Or for new conventions:
"I noticed [pattern] consistently in this diff but it's not in the [doc name]. Should I add it?"
When updating a reference doc:
.cursor/code-reviewer/reference/| Date | Change | Trigger |
|---|---|---|
| {today} | {what changed} | Review feedback on {branch_name} |
Use when merging reports from multiple review subagents into a single consolidated output with deduplication, structured ID assignment, cross-unit findings, and a final verdict.
Use when analyzing a git diff to build structured review briefs for subagents. Reads the diff, project config, and reference docs, then groups changes into review units and produces briefs using the review-brief template.