skills/cy-review-round/SKILL.md
Performs a comprehensive code review of a PRD implementation and generates a review round directory with issue files compatible with cy-fix-reviews. Use when reviewing implemented PRD tasks, creating a manual review round without an external provider, or performing a quality audit of code changes. Do not use for fetching reviews from external providers, fixing existing review issues, executing PRD tasks, or editing source code.
npx skillsauth add compozy/compozy cy-review-roundInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Perform a structured code review of a PRD implementation and produce a review round directory that the cy-fix-reviews workflow can process.
.compozy/tasks/<name>/ directory.Determine the review round directory.
.compozy/tasks/<name>/.reviews-NNN/ subdirectories to determine the next round number. If none exist, use round 1..compozy/tasks/<name>/reviews-NNN/ with the round number zero-padded to 3 digits. Do NOT create it yet — wait until step 4 confirms there are issues to write. This avoids leaving empty directories when the review finds no issues.Identify the review scope.
_prd.md, _techspec.md, and _tasks.md from the PRD directory to understand what was implemented and why, plus the contract catalogs _user_stories.md and _tests.md when present..compozy/tasks/<name>/adrs/ for architectural decision context._prd.md and _techspec.md are both missing, warn that the review will lack requirements context but proceed with a code-quality-only review.git diff main...HEAD --name-only to discover all files created or modified on the current branch. If the diff is empty or unhelpful, ask the user to specify files.Perform the code review.
references/review-criteria.md for severity definitions and evaluation areas._prd.md or _techspec.md were available in step 2, cross-check the implementation against every stated requirement, acceptance criterion, and architectural decision — including every acceptance criterion and edge case in _user_stories.md when it exists. Flag any requirement that is missing, partially implemented, or implemented differently than specified. These are correctness issues — assign severity based on the gap's impact (critical if a core feature is missing, high if behavior deviates from spec, medium if an edge case from the spec is unhandled)._tests.md exists, verify that every test ID assigned in completed tasks' ## Tests sections is implemented in the suite and asserts the behavior the contract specifies. A missing case, or a hollow one that exists without asserting the contracted behavior, is an issue — assign severity based on the impact of the behavior left unverified.// nolint: intentionally ignoring close error on read-only file), do not create an issue. Only flag patterns that are genuinely problematic, not merely unconventional.make lint first to filter these out.Generate issue files.
Create the review round directory determined in step 1.
Read references/issue-template.md for the canonical format.
For each issue identified in step 3, create an issue_NNN.md file in the review round directory.
Issue numbering starts at 001 and increments sequentially.
Each file must use this exact structure:
---
provider: manual
pr:
round: <N>
round_created_at: <UTC timestamp in RFC3339 format>
status: pending
file: path/to/file.go
line: 42
severity: high
author: claude-code
provider_ref:
---
# Issue NNN: <title>
## Review Comment
<detailed review body>
## Triage
- Decision: `UNREVIEWED`
- Notes:
The <author> field must be claude-code.
The provider_ref field must be empty.
The provider field must be manual.
The pr field is empty for manual reviews. If the user provides a PR number, include it.
The round field must match the directory number as an integer (not zero-padded).
The round_created_at field must use the same current UTC RFC3339 timestamp in every issue in this round.
The severity field must be exactly one of: critical, high, medium, low.
Summarize and present the review.
compozy reviews fix <name> to process the review round.Verify before completion.
cy-final-verify before claiming the review round is complete.provider, pr, round, and round_created_at values.reviews-NNN naming convention.cy-fix-reviews workflow handles remediation.prompt.ParseReviewContext()._meta.md; round metadata lives in each issue file frontmatter.gh mutations._prd.md and _techspec.md are missing, warn about the lack of requirements context but proceed with code-quality-only review.make lint fails to run (build errors, missing tools), note the failure in the summary and proceed with the review. Do not skip the review because linting failed — just acknowledge that linter-overlap filtering could not be applied.development
Expands a raw idea into a structured, research-backed spec in .compozy/tasks/<slug>/_idea.md through interactive brainstorming, web research, business analysis, and multi-advisor debate. Use when the user has a feature idea and wants to explore and structure it before creating a PRD. Do not use for PRD creation, technical specifications, task breakdown, or code implementation.
testing
Reconciles a finished workflow's planned decisions (its Accepted ADRs) against the settled reality (git diff, review issues, and task status), then promotes the proven, cross-feature-durable ones into a durable project decision log at .compozy/DECISIONS.md plus .compozy/decisions/AD-NNN.md. Use when a workflow has finished its full pipeline (review round, reviews fix, and final verify) and you want to capture its durable decisions as the final step, or when re-running capture to refresh the log after further changes. Do not use for capturing decisions mid-implementation before review remediation, for PRD or TechSpec authoring, for PR review remediation, or for generic note-taking.
development
Enforces fresh verification evidence before any completion, fix, or passing claim, and before commits or PR creation. Use when an agent is about to report success, hand off work, or commit code. Do not use for early planning, brainstorming, or tasks that have not yet reached a concrete verification step.
testing
Executes one PRD task end-to-end uninterrupted — resolves spec conflicts autonomously, implements, validates, and updates tracking without pausing for questions. Use when a prompt includes a task specification that must be implemented, validated, and reflected in task tracking files. Do not use for PR review batches, generic coding tasks without a PRD task file, or standalone verification-only work.