CooScope — Refactor brief prompt Original template informed by the linked coding guidance. Refactor [component] for [specific readability/structure goal]. Preserve [inputs, outputs, error behavior, public routes/API]. Allowed files: [list]. Read [repository instructions and relevant context] first. Propose separately any dependency upgrade or behavior change. Verify using [existing checks plus representative failure case]. Return the diff summary, actual commands/results and unresolved concerns. Stop if preserving [invariant] requires a product decision. Limit: this prompt does not replace code review or meaningful checks. Evidence context: https://code.claude.com/docs/en/best-practices