orchestrated-review
MUST invoke for full-suite, combined, bundled, or multi-lens code reviews. Runs security-review, design-principles-review, requirements-to-tests-traceability, test-coverage-review, and test-correctness-review as applicable, preserving each output in one wrapper. Do not use for a single review lens, review-cycle automation, or GitHub inline comments.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- orchestrated-review
- description
- MUST invoke for full-suite, combined, bundled, or multi-lens code reviews. Runs security-review, design-principles-review, requirements-to-tests-traceability, test-coverage-review, and test-correctness-review as applicable, preserving each output in one wrapper. Do not use for a single review lens, review-cycle automation, or GitHub inline comments.
02 资源文件 1
- 参考文档agents/openai.yaml213 B
03 SKILL.md 正文
Orchestrated Review
Run a structured review bundle across the available review skills and present the results together.
This skill is a thin orchestration layer. It does not replace the underlying review skills and it must not rewrite their findings. Its job is to:
- determine the review target and available governing-context references
- run the appropriate review skills
- present each review's output in a clean, labeled structure
- add only lightweight wrapper metadata and a cross-review index
The orchestrator may identify governing-context references and pass them to requirements-to-tests-traceability, but it must not open, fetch, download, or read spec or context documents itself. This applies to both repo-local files and external documents. External context is optional, not required.
Prerequisites — Mandatory Verification
Before running any sub-reviews, verify that the following skills are available in the current session:
security-review(from this plugin)design-principles-review(from this plugin)requirements-to-tests-traceability(from this plugin)test-coverage-review(from this plugin)test-correctness-review(from this plugin)
If any of these skills are not available, stop immediately and identify the missing skill. Do not attempt a partial review until all prerequisites are available.
Only continue past this check if the bundled review skills are confirmed available in the current session.
Reviews Included
security-reviewdesign-principles-reviewrequirements-to-tests-traceabilitytest-coverage-reviewtest-correctness-review
Core Rule
Preserve each sub-review's output exactly as produced.
Do not:
- rewrite findings
- normalize severity wording
- merge duplicate findings inside the review sections
- compress one skill's verdict into another skill's format
You may add wrapper headings and a cross-review index outside the preserved review bodies.
Report Navigation and Findings Summary
Every saved orchestrated review report must start with navigation and a findings summary before the detailed review sections:
- Add a
## Table of Contentsimmediately after the metadata block. - Add a
## Findings Summaryimmediately after the table of contents. - In
Findings Summary, include one row for every actionable finding that needs attention across all sub-review outputs. - Each summary row must include:
SeverityReasonTypeDetailStatus
Detailmust link to the review section or finding heading where the issue is called out in detail.Statusmust bePENDINGby default. UseCOMPLETEDonly when the sub-review output or current review context explicitly says the finding has already been addressed.- If there are no actionable findings, write one row stating
No actionable findingsand useCOMPLETEDfor status.
Do not rewrite preserved review bodies to support the summary table. If a stable per-finding heading anchor is not available, link to the containing review section.
When to Use
- When the user wants one entry point for a full code review
- When the repository may have full specs, only Jira, or no formal governing docs
- When the user wants separate review lenses preserved side by side
- When the user wants a structured review packet without GitHub comment side effects
Inputs
Collect or infer these inputs before reviewing:
- Review target — staged changes, unstaged changes, commit/range, branch diff, or PR
- Code repo path — repository containing the changes
- Optional governing context — phase spec, TDD, requirements doc, external document link/reference, Jira key/link, PR description, or pasted acceptance criteria
- Optional context repo path — if review artifacts should be saved
Where to Look for Governing Docs
Look for governing documents in repository documentation, issue-tracker records, technical design documents, or user-provided material. A repository may organize local artifacts like this:
<context-repo>/<jira-key>-<short-description>/
├── requirements/
├── design/
│ └── <feature>-tdd.md
├── specs/
│ ├── 00-overview.md
│ ├── phase-N-*.md
│ └── tasks.md
└── reviews/
When these files exist, treat their paths as governing-context references to pass into requirements-to-tests-traceability. The orchestrator may discover these files by path or filename, but it must not read their contents.
Governing Context Rules
Establish the best available governing-context reference in this order:
- phase spec or requirements document
- technical design document
- external document link/reference provided by the user
- Jira item with description and acceptance criteria
- PR description or user-pasted requirements
Use that source for requirements-to-tests-traceability.
If the governing context is an external link or reference, pass it through to requirements-to-tests-traceability as user-provided context. Do not open it, download it, or summarize it in the orchestrator.
If no governing context exists at all:
- skip
requirements-to-tests-traceability - state clearly that it was skipped because no requirements source was available
- still run
security-review,design-principles-review,test-coverage-review, andtest-correctness-review
Execution Mode
The orchestrator always uses the sub-agent approach. It is coordination-only and must not run any of the review lenses inline. Start every sub-agent with a fresh context window, not a fork of this conversation.
Use at most one sub-agent per review skill:
security-reviewdesign-principles-reviewrequirements-to-tests-traceabilitytest-coverage-reviewtest-correctness-review
Execution requirements:
- Always delegate each enabled review lens to its own sub-agent.
- If governing context exists, launch a
requirements-to-tests-traceabilitysub-agent. - Always launch
security-review,design-principles-review,test-coverage-review, andtest-correctness-reviewsub-agents.
- If governing context exists, launch a
- Do not mix orchestration with reviewing.
- The orchestrator must not conduct review analysis, inspect diffs to form findings, pre-screen issues, or produce review conclusions of its own.
- Every populated review section must come directly from the corresponding sub-agent output, except for an explicit
SKIPPEDnote when a review was not run.
- Preserve output boundaries.
- Preserve each review's output exactly as produced and present it in the wrapper without rewriting.
- Fail closed if clean delegation is not possible.
- If the orchestrator cannot delegate a required review lens cleanly, it should stop and report the delegation problem instead of falling back to inline review.
Workflow
1. Determine the review target
- Resolve whether the review is against staged changes, local diff, commit range, or PR
- When the user asks to review local changes without narrowing the target, use
git diff HEADso staged and unstaged changes are reviewed together. - Capture changed files early
- Record the code repo path and current branch if relevant
2. Identify the best available governing-context references
- Look for repo-local specs, TDDs, and requirements files by path and filename only
- When the repository has a feature or scratch directory, check for requirements, design, specifications, and task artifacts by path or filename, but do not read them in the orchestrator
- If the user provided an external document link or reference, record it as an available governing input without resolving it in the orchestrator
- If the user provided a Jira key or link, record it as the governing reference when no better governing doc reference exists
- If only a PR description or pasted acceptance criteria exist, use them as the governing context for
requirements-to-tests-traceability - Explicitly note which governing references were forwarded and which were missing
3. Run the sub-reviews
Use one sub-agent per review skill that will run. The orchestrator must stop at delegation and assembly. It must not conduct any of the review analysis itself. Every populated review section must come from the corresponding sub-agent output, except for an explicit SKIPPED note when a review was not run.
Then run the reviews in this order:
requirements-to-tests-traceabilityif governing context existssecurity-reviewdesign-principles-reviewtest-coverage-reviewtest-correctness-review
Each sub-review should follow its own skill instructions and produce its own complete output.
When invoking any sub-review skill, instruct the sub-agent to return its complete final review body directly in the agent response and to not save any standalone review artifact file. The orchestrator is the only writer in this workflow.
When invoking requirements-to-tests-traceability, pass along the chosen governing context exactly as a path, pasted text, key, link, or external reference. Do not pre-read any spec or context documents inside this skill.
4. Build and save the wrapper report
Build the wrapper report with:
- review target metadata
- a table of contents at the top
- a findings summary table immediately after the table of contents
- governing references forwarded to
requirements-to-tests-traceability - one section per review
- a cross-review index at the end
Then save that wrapper report as a markdown file in the default review-output location.
- This is the default behavior
- Do not print the full wrapper report in chat
- In chat, return only a short status note with the saved file path
- If a context repo exists, default to saving the wrapper report there
- If no context repo exists, save it in the root of the currently opened code repository
- Use a stable, descriptive filename such as:
<default-output-root>/orchestrated-review-<target-or-branch>-<date>.md
- Sanitize the branch portion for filesystem safety
- If a file with that name already exists, append a short suffix to avoid overwriting unless the user explicitly asked to replace it
Output Format
Use this wrapper structure for the saved markdown file:
# Orchestrated Review: <feature, branch, or PR name>
**Date:** YYYY-MM-DD
**Review target:** <target>
**Code repo:** <repo-name> (branch: <branch>)
**Governing inputs:** <list references that were forwarded, or "none">
**Reviews run:** requirements-to-tests-traceability | security-review | design-principles-review | test-coverage-review | test-correctness-review
## Table of Contents
- [Findings Summary](#findings-summary)
- [Requirements-to-Tests Traceability](#requirements-to-tests-traceability)
- [Security Review](#security-review)
- [Design Principles Review](#design-principles-review)
- [Test Coverage Review](#test-coverage-review)
- [Test Correctness Review](#test-correctness-review)
- [Cross-Review Index](#cross-review-index)
- [Shared Themes](#shared-themes)
- [Gaps / Limitations](#gaps--limitations)
## Findings Summary
| Severity | Reason | Type | Detail | Status |
|----------|--------|------|--------|--------|
| Critical/High/Medium/Low/Info | Concise reason this needs attention | Bug/Security/Design/Test Coverage/Test Correctness/Traceability/Other | [Review section or finding heading](#anchor) | PENDING/COMPLETED |
## Requirements-to-Tests Traceability
<paste the exact requirements-to-tests-traceability output, or a SKIPPED note if no governing context existed>
## Security Review
<paste the exact security-review output>
## Design Principles Review
<paste the exact design-principles-review output>
## Test Coverage Review
<paste the exact test-coverage-review output>
## Test Correctness Review
<paste the exact test-correctness-review output>
## Cross-Review Index
| Review | Ran | High-level result | Notes |
|--------|-----|-------------------|-------|
| Requirements-to-Tests Traceability | Yes/No | Findings / No findings / Skipped | Governing doc used or skip reason |
| Security Review | Yes | PASS / FAIL / Findings | Main security posture summary |
| Design Principles Review | Yes | Findings / No findings | Main structural posture summary |
| Test Coverage Review | Yes | Findings / No findings | Main change-coverage posture summary |
| Test Correctness Review | Yes | Findings / No findings | Main test-validity posture summary |
## Shared Themes
- <Only cross-review observations. Do not restate or rewrite individual findings.>
## Gaps / Limitations
- <Missing docs, skipped requirements traceability, unavailable Jira details, or other scope limits>
Preservation Rules
- Keep each underlying review body intact
- Do not de-duplicate inside the preserved review sections
- If the same issue appears in multiple reviews, mention that only in
Shared Themes - If a sub-review has zero findings, preserve that outcome as-is
External Context Handling
- External governing documents are allowed but optional
- Examples include Confluence pages, Google Docs, shared design docs, tickets in other systems, or other user-provided references
- The orchestrator may record and forward these references to
requirements-to-tests-traceability - The orchestrator must not open, fetch, download, parse, or summarize spec or context documents itself
- If no external context is provided, continue by forwarding repo-local doc paths, Jira references, PR text, or pasted requirements when available
Save Artifacts
Always save the final orchestrated wrapper report to a markdown file in the default output location.
- do not save standalone per-review sub-agent artifacts; collect those review bodies from sub-agent responses and write only the final orchestrated wrapper report
- if a context repo exists, save the wrapper report there by default
- if no context repo exists, save the wrapper report to the code repo root
- do not present the full wrapper bundle in chat by default
- in chat, provide only:
- whether the report was saved successfully
- the exact saved file path
- any important limitation such as skipped requirements traceability
Example wrapper output paths:
<context-repo>/orchestrated-review-<target-or-branch>-<date>.md
<code-repo>/orchestrated-review-<target-or-branch>-<date>.md
Related Skills
- security-review — vulnerability review
- requirements-to-tests-traceability — maps requirements to executable tests
- test-coverage-review — verifies tests cover the changed code
- test-correctness-review — verifies tests actually prove what they claim to test
- design-principles-review — SOLID and structure review
04 同仓库更多 Skills
ui-ux-pro-max
UI/UX design intelligence for web and mobile. Local database with 79 searchable styles (88 catalog entries), 192 color palettes, 74 font pairings, 192 product types, 119 UX guidelines, 105 curated icon entries, 17 GSAP motion presets, and 25 chart types across 22 stacks (React, Next.js, Vue, Nuxt, Svelte, Astro, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui, Jetpack Compose, Angular, Laravel, JavaFX, WPF, WinUI, Avalonia, Uno Platform, UWP, Three.js, and HTML/CSS). Use when designing, building, or reviewing UI: pages, components, color schemes, typography, layout, accessibility, animation, or data visualization.
figma-mcp
Implement or compare UI against Figma designs using an available Figma MCP integration. Use for Figma-backed implementation, design-token extraction, or visual-parity gap analysis; Figma MCP access is optional and must already be configured by the user.
improve-codebase-architecture
Find evidence-based, active-change architecture improvements using shared design and domain-modeling guidance. Use when a user wants to reduce architectural friction, deepen a module, or make a current change safer, more testable, and easier to navigate.
domain-modeling
Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing GLOSSARY.md or CONTEXT.md, or recording or editing an ADR.
codebase-design
Provide the shared vocabulary and discipline for designing deep modules with clear interfaces and seams. Use when a user wants to design or improve a module, find deepening opportunities, choose a seam, or make code more testable and AI-navigable.
test-coverage-review
MUST invoke to review whether added or updated tests cover code changes in a diff. Checks new logic, branches, error paths, and regression risk, producing a change-to-test matrix. Use requirements-to-tests-traceability for acceptance-criteria mapping and orchestrated-review for bundled reviews.