@rosetears/aili-pi 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +109 -0
- package/THIRD_PARTY_NOTICES.md +64 -0
- package/extensions/index.ts +6 -0
- package/install.sh +5 -0
- package/manifests/adapter-evidence.json +45 -0
- package/manifests/capabilities.json +124 -0
- package/manifests/live-verification.json +26 -0
- package/manifests/provenance.json +71 -0
- package/manifests/roles.json +474 -0
- package/manifests/sbom.json +7797 -0
- package/manifests/skill-compatibility.json +8100 -0
- package/manifests/subagent-provenance.json +37 -0
- package/package.json +91 -0
- package/prompts/build.md +8 -0
- package/prompts/define.md +8 -0
- package/prompts/ideate.md +8 -0
- package/prompts/local-review.md +8 -0
- package/prompts/ship.md +8 -0
- package/roles/agent-evaluator.md +47 -0
- package/roles/ai-regression-scout.md +47 -0
- package/roles/browser-qa-runner.md +47 -0
- package/roles/code-reviewer.md +47 -0
- package/roles/code-scout.md +47 -0
- package/roles/convergence-reviewer.md +55 -0
- package/roles/doc-researcher.md +47 -0
- package/roles/e2e-artifact-runner.md +47 -0
- package/roles/implementer.md +47 -0
- package/roles/opensource-sanitizer.md +47 -0
- package/roles/plan-auditor.md +47 -0
- package/roles/pr-test-analyzer.md +47 -0
- package/roles/security-auditor.md +47 -0
- package/roles/silent-failure-reviewer.md +47 -0
- package/roles/spec-miner.md +47 -0
- package/roles/test-coverage-reviewer.md +47 -0
- package/roles/test-engineer.md +48 -0
- package/roles/web-performance-auditor.md +47 -0
- package/roles/web-researcher.md +47 -0
- package/scripts/apply-adapter-evidence.ts +73 -0
- package/scripts/bootstrap.sh +180 -0
- package/scripts/generate-provenance.ts +143 -0
- package/scripts/local-package-e2e.ts +51 -0
- package/scripts/sync-roles.ts +213 -0
- package/scripts/sync-skills.ts +356 -0
- package/scripts/validate-runtime.ts +11 -0
- package/skills/academic-paper-review/SKILL.md +81 -0
- package/skills/agents-md-initialization/SKILL.md +121 -0
- package/skills/agents-md-initialization/references/agents-template.md +83 -0
- package/skills/agents-md-initialization/references/agents_md.py +215 -0
- package/skills/ai-regression-scout/SKILL.md +24 -0
- package/skills/aili-delivery-flow/SKILL.md +125 -0
- package/skills/aili-delivery-flow/references/artifact-contracts.md +138 -0
- package/skills/aili-delivery-flow/references/backend-routing.md +40 -0
- package/skills/aili-delivery-flow/references/build-execution-loop.md +113 -0
- package/skills/aili-delivery-flow/references/build-goal-mode.md +3 -0
- package/skills/aili-delivery-flow/references/direct-vs-delegated-work.md +38 -0
- package/skills/aili-delivery-flow/references/implementation-packages.md +54 -0
- package/skills/aili-delivery-flow/references/lifecycle.md +127 -0
- package/skills/aili-delivery-flow/references/protocols/acceptance-test-plan.md +18 -0
- package/skills/aili-delivery-flow/references/protocols/alignment-questionnaire.md +10 -0
- package/skills/aili-delivery-flow/references/protocols/closeout-report.md +101 -0
- package/skills/aili-delivery-flow/references/protocols/compact-evidence-pack.md +46 -0
- package/skills/aili-delivery-flow/references/protocols/idea-brief.md +10 -0
- package/skills/aili-delivery-flow/references/protocols/implementation-package.md +53 -0
- package/skills/aili-delivery-flow/references/protocols/research-evidence-pack.md +19 -0
- package/skills/aili-delivery-flow/references/protocols/review-report.md +7 -0
- package/skills/aili-delivery-flow/references/protocols/spec-draft.md +12 -0
- package/skills/aili-delivery-flow/references/protocols/subagent-result.md +60 -0
- package/skills/aili-delivery-flow/references/protocols/subagent-task-packet.md +29 -0
- package/skills/aili-delivery-flow/references/protocols/worktree-context.md +109 -0
- package/skills/aili-delivery-flow/references/questionnaire-policy.md +62 -0
- package/skills/aili-delivery-flow/references/review-repair-loop.md +16 -0
- package/skills/aili-delivery-flow/references/test-document-policy.md +35 -0
- package/skills/android-native-dev/SKILL.md +722 -0
- package/skills/android-native-dev/references/accessibility.md +209 -0
- package/skills/android-native-dev/references/adaptive-screens.md +231 -0
- package/skills/android-native-dev/references/design-style-guide.md +365 -0
- package/skills/android-native-dev/references/functional-requirements.md +229 -0
- package/skills/android-native-dev/references/motion-system.md +203 -0
- package/skills/android-native-dev/references/performance-stability.md +223 -0
- package/skills/android-native-dev/references/privacy-security.md +244 -0
- package/skills/android-native-dev/references/testing.md +554 -0
- package/skills/android-native-dev/references/visual-design.md +246 -0
- package/skills/api-and-interface-design/SKILL.md +318 -0
- package/skills/browser-qa/SKILL.md +32 -0
- package/skills/browser-testing-with-devtools/SKILL.md +323 -0
- package/skills/build-failure-repair/SKILL.md +49 -0
- package/skills/chart-visualization/SKILL.md +73 -0
- package/skills/ci-cd-and-automation/SKILL.md +353 -0
- package/skills/code-review-and-quality/SKILL.md +375 -0
- package/skills/code-review-quality-gates/SKILL.md +132 -0
- package/skills/code-simplification/SKILL.md +371 -0
- package/skills/comment-accuracy-review/SKILL.md +37 -0
- package/skills/consulting-analysis/SKILL.md +69 -0
- package/skills/context-engineering/SKILL.md +375 -0
- package/skills/coverage-review/SKILL.md +24 -0
- package/skills/data-analysis/SKILL.md +74 -0
- package/skills/deprecation-and-migration/SKILL.md +222 -0
- package/skills/documentation-and-adrs/SKILL.md +330 -0
- package/skills/e2e-artifact-handling/SKILL.md +30 -0
- package/skills/evidence-scoped-retrospective/SKILL.md +156 -0
- package/skills/explain-by-allegory/SKILL.md +99 -0
- package/skills/flutter-dev/SKILL.md +162 -0
- package/skills/flutter-dev/references/animations.md +497 -0
- package/skills/flutter-dev/references/bloc-state.md +281 -0
- package/skills/flutter-dev/references/forms.md +656 -0
- package/skills/flutter-dev/references/gorouter-navigation.md +257 -0
- package/skills/flutter-dev/references/localization.md +510 -0
- package/skills/flutter-dev/references/networking.md +566 -0
- package/skills/flutter-dev/references/performance.md +305 -0
- package/skills/flutter-dev/references/platform-specific.md +417 -0
- package/skills/flutter-dev/references/project-structure.md +273 -0
- package/skills/flutter-dev/references/riverpod-state.md +232 -0
- package/skills/flutter-dev/references/testing.md +364 -0
- package/skills/flutter-dev/references/widget-patterns.md +233 -0
- package/skills/frontend-dev/SKILL.md +468 -0
- package/skills/frontend-dev/canvas-fonts/ArsenalSC-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/ArsenalSC-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/BigShoulders-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/BigShoulders-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/BigShoulders-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Boldonse-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/Boldonse-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/BricolageGrotesque-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/CrimsonPro-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/CrimsonPro-Italic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/CrimsonPro-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/CrimsonPro-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/DMMono-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/DMMono-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/EricaOne-OFL.txt +94 -0
- package/skills/frontend-dev/canvas-fonts/EricaOne-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/GeistMono-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/GeistMono-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/GeistMono-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Gloock-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/Gloock-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/IBMPlexMono-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/IBMPlexMono-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/IBMPlexMono-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/IBMPlexSerif-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/IBMPlexSerif-BoldItalic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/IBMPlexSerif-Italic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/IBMPlexSerif-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/InstrumentSans-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Italiana-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/Italiana-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/JetBrainsMono-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Jura-Light.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Jura-Medium.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Jura-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/LibreBaskerville-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/LibreBaskerville-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Lora-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Lora-BoldItalic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Lora-Italic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Lora-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/Lora-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/NationalPark-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/NationalPark-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/NationalPark-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/NothingYouCouldDo-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Outfit-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Outfit-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/Outfit-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/PixelifySans-Medium.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/PixelifySans-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/PoiretOne-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/PoiretOne-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/RedHatMono-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/RedHatMono-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/RedHatMono-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Silkscreen-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/Silkscreen-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/SmoochSans-Medium.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/SmoochSans-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/Tektur-Medium.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Tektur-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/Tektur-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/WorkSans-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/WorkSans-BoldItalic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/WorkSans-Italic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/WorkSans-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/WorkSans-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/YoungSerif-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/YoungSerif-Regular.ttf +0 -0
- package/skills/frontend-dev/references/asset-prompt-guide.md +43 -0
- package/skills/frontend-dev/references/env-setup.md +33 -0
- package/skills/frontend-dev/references/minimax-cli-reference.md +133 -0
- package/skills/frontend-dev/references/minimax-image-guide.md +65 -0
- package/skills/frontend-dev/references/minimax-music-guide.md +216 -0
- package/skills/frontend-dev/references/minimax-tts-guide.md +78 -0
- package/skills/frontend-dev/references/minimax-video-guide.md +82 -0
- package/skills/frontend-dev/references/minimax-voice-catalog.md +685 -0
- package/skills/frontend-dev/references/motion-recipes.md +407 -0
- package/skills/frontend-dev/references/troubleshooting.md +85 -0
- package/skills/frontend-dev/scripts/minimax_image.py +137 -0
- package/skills/frontend-dev/scripts/minimax_music.py +157 -0
- package/skills/frontend-dev/scripts/minimax_tts.py +127 -0
- package/skills/frontend-dev/scripts/minimax_video.py +187 -0
- package/skills/frontend-dev/templates/generator_template.js +223 -0
- package/skills/frontend-dev/templates/viewer.html +599 -0
- package/skills/frontend-ui-engineering/SKILL.md +367 -0
- package/skills/fullstack-dev/SKILL.md +819 -0
- package/skills/fullstack-dev/references/api-design.md +444 -0
- package/skills/fullstack-dev/references/auth-flow.md +165 -0
- package/skills/fullstack-dev/references/db-schema.md +706 -0
- package/skills/fullstack-dev/references/django-best-practices.md +466 -0
- package/skills/fullstack-dev/references/environment-management.md +78 -0
- package/skills/fullstack-dev/references/release-checklist.md +278 -0
- package/skills/fullstack-dev/references/technology-selection.md +254 -0
- package/skills/fullstack-dev/references/testing-strategy.md +404 -0
- package/skills/git-workflow-and-versioning/SKILL.md +446 -0
- package/skills/github-evidence-triage/SKILL.md +115 -0
- package/skills/harness-evolution/SKILL.md +59 -0
- package/skills/harness-evolution/references/activation-matrix.md +13 -0
- package/skills/harness-evolution/references/approval-policy.md +20 -0
- package/skills/harness-evolution/references/change-report-template.md +33 -0
- package/skills/harness-evolution/references/component-taxonomy.md +19 -0
- package/skills/harness-evolution/references/verdict-policy.md +13 -0
- package/skills/harness-issue-triage/SKILL.md +72 -0
- package/skills/harness-issue-triage/references/component-diagnosis.md +25 -0
- package/skills/harness-issue-triage/references/triage-report-template.md +34 -0
- package/skills/harness-optimization-audit/SKILL.md +125 -0
- package/skills/idea-refine/SKILL.md +191 -0
- package/skills/idea-refine/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/LICENSE +21 -0
- package/skills/idea-refine/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/NOTICE.md +9 -0
- package/skills/idea-refine/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/idea-refine/SKILL.upstream.md +178 -0
- package/skills/idea-refine/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/idea-refine/examples.md +238 -0
- package/skills/idea-refine/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/idea-refine/frameworks.md +99 -0
- package/skills/idea-refine/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/idea-refine/refinement-criteria.md +113 -0
- package/skills/idea-refine/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/idea-refine/scripts/idea-refine.upstream.sh +15 -0
- package/skills/incremental-implementation/SKILL.md +252 -0
- package/skills/ios-application-dev/SKILL.md +212 -0
- package/skills/ios-application-dev/references/accessibility.md +259 -0
- package/skills/ios-application-dev/references/graphics-animation.md +350 -0
- package/skills/ios-application-dev/references/layout-system.md +199 -0
- package/skills/ios-application-dev/references/metal-shader.md +178 -0
- package/skills/ios-application-dev/references/navigation-patterns.md +175 -0
- package/skills/ios-application-dev/references/swift-coding-standards.md +757 -0
- package/skills/ios-application-dev/references/swiftui-design-guidelines.md +1167 -0
- package/skills/ios-application-dev/references/system-integration.md +401 -0
- package/skills/ios-application-dev/references/uikit-components.md +297 -0
- package/skills/local-review-gate/SKILL.md +207 -0
- package/skills/local-review-gate/references/addyosmani-code-review-rubric.md +33 -0
- package/skills/local-review-gate/references/codex-github-compatibility.md +26 -0
- package/skills/local-review-gate/references/ecc-code-review-adaptation.md +40 -0
- package/skills/local-review-gate/references/graphify-local-review.md +33 -0
- package/skills/local-review-gate/references/orchestration-adaptation.md +51 -0
- package/skills/local-review-gate/references/review-repair-lane-adaptation.md +46 -0
- package/skills/local-review-gate/references/upstream-provenance.md +61 -0
- package/skills/mature-project-pattern-research/SKILL.md +155 -0
- package/skills/mature-project-pattern-research/references/research-rubric.md +45 -0
- package/skills/minimax-docx/LICENSE +21 -0
- package/skills/minimax-docx/SKILL.md +273 -0
- package/skills/minimax-docx/assets/styles/academic_styles.xml +250 -0
- package/skills/minimax-docx/assets/styles/corporate_styles.xml +284 -0
- package/skills/minimax-docx/assets/styles/default_styles.xml +449 -0
- package/skills/minimax-docx/assets/xsd/aesthetic-rules.xsd +470 -0
- package/skills/minimax-docx/assets/xsd/business-rules.xsd +130 -0
- package/skills/minimax-docx/assets/xsd/common-types.xsd +159 -0
- package/skills/minimax-docx/assets/xsd/wml-subset.xsd +589 -0
- package/skills/minimax-docx/references/cjk_typography.md +357 -0
- package/skills/minimax-docx/references/cjk_university_template_guide.md +184 -0
- package/skills/minimax-docx/references/comments_guide.md +191 -0
- package/skills/minimax-docx/references/design_good_bad_examples.md +829 -0
- package/skills/minimax-docx/references/design_principles.md +819 -0
- package/skills/minimax-docx/references/openxml_element_order.md +308 -0
- package/skills/minimax-docx/references/openxml_encyclopedia_part1.md +4061 -0
- package/skills/minimax-docx/references/openxml_encyclopedia_part2.md +2820 -0
- package/skills/minimax-docx/references/openxml_encyclopedia_part3.md +3381 -0
- package/skills/minimax-docx/references/openxml_namespaces.md +82 -0
- package/skills/minimax-docx/references/openxml_units.md +72 -0
- package/skills/minimax-docx/references/scenario_a_create.md +284 -0
- package/skills/minimax-docx/references/scenario_b_edit_content.md +295 -0
- package/skills/minimax-docx/references/scenario_c_apply_template.md +456 -0
- package/skills/minimax-docx/references/track_changes_guide.md +200 -0
- package/skills/minimax-docx/references/troubleshooting.md +506 -0
- package/skills/minimax-docx/references/typography_guide.md +294 -0
- package/skills/minimax-docx/references/xsd_validation_guide.md +158 -0
- package/skills/minimax-docx/scripts/doc_to_docx.sh +40 -0
- package/skills/minimax-docx/scripts/docx_preview.sh +37 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Cli/MiniMaxAIDocx.Cli.csproj +19 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Cli/Program.cs +18 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/AnalyzeCommand.cs +147 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/ApplyTemplateCommand.cs +322 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/CreateCommand.cs +324 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/DiffCommand.cs +155 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/EditContentCommand.cs +487 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/FixOrderCommand.cs +108 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/MergeRunsCommand.cs +122 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/ValidateCommand.cs +107 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/MiniMaxAIDocx.Core.csproj +15 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/CommentSynchronizer.cs +169 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/ElementOrder.cs +80 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/NamespaceConstants.cs +42 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/RunMerger.cs +81 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/StyleAnalyzer.cs +81 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/TrackChangesHelper.cs +99 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/UnitConverter.cs +23 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples.cs +1832 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples_Batch1.cs +910 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples_Batch2.cs +999 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples_Batch3.cs +1048 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples_Batch4.cs +1038 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/CharacterFormattingSamples.cs +1020 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/DocumentCreationSamples.cs +1121 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/FieldAndTocSamples.cs +624 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/FootnoteAndCommentSamples.cs +675 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/HeaderFooterSamples.cs +838 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/ImageSamples.cs +917 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/ListAndNumberingSamples.cs +826 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/ParagraphFormattingSamples.cs +1199 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/StyleSystemSamples.cs +1487 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/TableSamples.cs +1163 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/TrackChangesSamples.cs +595 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Typography/CjkHelper.cs +39 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Typography/FontDefaults.cs +24 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Typography/PageSizes.cs +20 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Validation/BusinessRuleValidator.cs +224 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Validation/GateCheckValidator.cs +148 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Validation/ValidationResult.cs +23 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Validation/XsdValidator.cs +69 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.slnx +4 -0
- package/skills/minimax-docx/scripts/env_check.sh +196 -0
- package/skills/minimax-docx/scripts/setup.ps1 +274 -0
- package/skills/minimax-docx/scripts/setup.sh +504 -0
- package/skills/minimax-pdf/README.md +222 -0
- package/skills/minimax-pdf/SKILL.md +218 -0
- package/skills/minimax-pdf/design/design.md +381 -0
- package/skills/minimax-pdf/scripts/cover.py +1579 -0
- package/skills/minimax-pdf/scripts/fill_inspect.py +200 -0
- package/skills/minimax-pdf/scripts/fill_write.py +242 -0
- package/skills/minimax-pdf/scripts/make.sh +491 -0
- package/skills/minimax-pdf/scripts/merge.py +112 -0
- package/skills/minimax-pdf/scripts/palette.py +521 -0
- package/skills/minimax-pdf/scripts/reformat_parse.py +374 -0
- package/skills/minimax-pdf/scripts/render_body.py +1052 -0
- package/skills/minimax-pdf/scripts/render_cover.js +111 -0
- package/skills/minimax-xlsx/SKILL.md +156 -0
- package/skills/minimax-xlsx/references/create.md +691 -0
- package/skills/minimax-xlsx/references/edit.md +684 -0
- package/skills/minimax-xlsx/references/fix.md +37 -0
- package/skills/minimax-xlsx/references/format.md +768 -0
- package/skills/minimax-xlsx/references/ooxml-cheatsheet.md +231 -0
- package/skills/minimax-xlsx/references/read-analyze.md +97 -0
- package/skills/minimax-xlsx/references/validate.md +772 -0
- package/skills/minimax-xlsx/scripts/formula_check.py +422 -0
- package/skills/minimax-xlsx/scripts/libreoffice_recalc.py +248 -0
- package/skills/minimax-xlsx/scripts/shared_strings_builder.py +163 -0
- package/skills/minimax-xlsx/scripts/style_audit.py +575 -0
- package/skills/minimax-xlsx/scripts/xlsx_add_column.py +395 -0
- package/skills/minimax-xlsx/scripts/xlsx_insert_row.py +274 -0
- package/skills/minimax-xlsx/scripts/xlsx_pack.py +87 -0
- package/skills/minimax-xlsx/scripts/xlsx_reader.py +362 -0
- package/skills/minimax-xlsx/scripts/xlsx_shift_rows.py +396 -0
- package/skills/minimax-xlsx/scripts/xlsx_unpack.py +130 -0
- package/skills/minimax-xlsx/templates/minimal_xlsx/[Content_Types].xml +9 -0
- package/skills/minimax-xlsx/templates/minimal_xlsx/_rels/.rels +6 -0
- package/skills/minimax-xlsx/templates/minimal_xlsx/xl/_rels/workbook.xml.rels +19 -0
- package/skills/minimax-xlsx/templates/minimal_xlsx/xl/sharedStrings.xml +33 -0
- package/skills/minimax-xlsx/templates/minimal_xlsx/xl/styles.xml +160 -0
- package/skills/minimax-xlsx/templates/minimal_xlsx/xl/workbook.xml +30 -0
- package/skills/minimax-xlsx/templates/minimal_xlsx/xl/worksheets/sheet1.xml +70 -0
- package/skills/newsletter-generation/SKILL.md +71 -0
- package/skills/oss-release-readiness/SKILL.md +47 -0
- package/skills/parallel-subagent-dispatch/SKILL.md +58 -0
- package/skills/performance-optimization/SKILL.md +364 -0
- package/skills/planning-and-task-breakdown/SKILL.md +290 -0
- package/skills/pptx-generator/SKILL.md +275 -0
- package/skills/pptx-generator/references/design-system.md +392 -0
- package/skills/pptx-generator/references/editing.md +162 -0
- package/skills/pptx-generator/references/pitfalls.md +112 -0
- package/skills/pptx-generator/references/pptxgenjs.md +420 -0
- package/skills/pptx-generator/references/slide-types.md +413 -0
- package/skills/pr-test-analysis/SKILL.md +24 -0
- package/skills/react-native-dev/SKILL.md +180 -0
- package/skills/react-native-dev/references/animations.md +254 -0
- package/skills/react-native-dev/references/components.md +124 -0
- package/skills/react-native-dev/references/engineering.md +527 -0
- package/skills/react-native-dev/references/forms.md +300 -0
- package/skills/react-native-dev/references/native-capabilities.md +163 -0
- package/skills/react-native-dev/references/navigation.md +271 -0
- package/skills/react-native-dev/references/networking.md +346 -0
- package/skills/react-native-dev/references/performance.md +215 -0
- package/skills/react-native-dev/references/state-management.md +230 -0
- package/skills/react-native-dev/references/styling.md +117 -0
- package/skills/react-native-dev/references/testing.md +341 -0
- package/skills/requirements-grilling/SKILL.md +447 -0
- package/skills/requirements-grilling/references/ADR-FORMAT.md +46 -0
- package/skills/requirements-grilling/references/CONTEXT-FORMAT.md +41 -0
- package/skills/requirements-grilling/references/INTERVIEW-PACKET-FORMAT.md +62 -0
- package/skills/requirements-grilling/references/MIT-LICENSE-MATT-POCOCK.md +25 -0
- package/skills/requirements-grilling/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/LICENSE +21 -0
- package/skills/requirements-grilling/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/NOTICE.md +9 -0
- package/skills/requirements-grilling/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/interview-me/SKILL.upstream.md +225 -0
- package/skills/requirements-grilling/references/upstream/mattpocock-skills/9603c1cc8118d08bc1b3bf34cf714f62178dea3b/LICENSE +21 -0
- package/skills/requirements-grilling/references/upstream/mattpocock-skills/9603c1cc8118d08bc1b3bf34cf714f62178dea3b/NOTICE.md +12 -0
- package/skills/requirements-grilling/references/upstream/mattpocock-skills/9603c1cc8118d08bc1b3bf34cf714f62178dea3b/batch-grill-me/SKILL.upstream.md +15 -0
- package/skills/requirements-grilling/references/upstream/mattpocock-skills/9603c1cc8118d08bc1b3bf34cf714f62178dea3b/grill-me/SKILL.upstream.md +7 -0
- package/skills/requirements-grilling/references/upstream/mattpocock-skills/9603c1cc8118d08bc1b3bf34cf714f62178dea3b/grilling/SKILL.upstream.md +12 -0
- package/skills/review-pipeline/SKILL.md +38 -0
- package/skills/rose-memory/SKILL.md +210 -0
- package/skills/rose-memory/references/README.md +48 -0
- package/skills/rose-memory/references/memory_cli.py +2384 -0
- package/skills/rose-memory/references/schema.sql +315 -0
- package/skills/security-and-hardening/SKILL.md +369 -0
- package/skills/session-handoff/SKILL.md +88 -0
- package/skills/session-handoff/references/upstream/mattpocock-skills/391a2701dd948f94f56a39f7533f8eea9a859c87/LICENSE +21 -0
- package/skills/session-handoff/references/upstream/mattpocock-skills/391a2701dd948f94f56a39f7533f8eea9a859c87/NOTICE.md +9 -0
- package/skills/session-handoff/references/upstream/mattpocock-skills/391a2701dd948f94f56a39f7533f8eea9a859c87/productivity/handoff/SKILL.upstream.md +16 -0
- package/skills/session-handoff/scripts/session_handoff.py +764 -0
- package/skills/shader-dev/SKILL.md +316 -0
- package/skills/shader-dev/reference/ambient-occlusion.md +382 -0
- package/skills/shader-dev/reference/analytic-ray-tracing.md +651 -0
- package/skills/shader-dev/reference/anti-aliasing.md +71 -0
- package/skills/shader-dev/reference/atmospheric-scattering.md +571 -0
- package/skills/shader-dev/reference/camera-effects.md +80 -0
- package/skills/shader-dev/reference/cellular-automata.md +635 -0
- package/skills/shader-dev/reference/color-palette.md +481 -0
- package/skills/shader-dev/reference/csg-boolean-operations.md +466 -0
- package/skills/shader-dev/reference/domain-repetition.md +436 -0
- package/skills/shader-dev/reference/domain-warping.md +419 -0
- package/skills/shader-dev/reference/fluid-simulation.md +425 -0
- package/skills/shader-dev/reference/fractal-rendering.md +525 -0
- package/skills/shader-dev/reference/lighting-model.md +639 -0
- package/skills/shader-dev/reference/matrix-transform.md +535 -0
- package/skills/shader-dev/reference/multipass-buffer.md +571 -0
- package/skills/shader-dev/reference/normal-estimation.md +418 -0
- package/skills/shader-dev/reference/particle-system.md +589 -0
- package/skills/shader-dev/reference/path-tracing-gi.md +602 -0
- package/skills/shader-dev/reference/polar-uv-manipulation.md +521 -0
- package/skills/shader-dev/reference/post-processing.md +375 -0
- package/skills/shader-dev/reference/procedural-2d-pattern.md +439 -0
- package/skills/shader-dev/reference/procedural-noise.md +551 -0
- package/skills/shader-dev/reference/ray-marching.md +396 -0
- package/skills/shader-dev/reference/sdf-2d.md +724 -0
- package/skills/shader-dev/reference/sdf-3d.md +805 -0
- package/skills/shader-dev/reference/sdf-tricks.md +63 -0
- package/skills/shader-dev/reference/shadow-techniques.md +476 -0
- package/skills/shader-dev/reference/simulation-physics.md +644 -0
- package/skills/shader-dev/reference/sound-synthesis.md +578 -0
- package/skills/shader-dev/reference/terrain-rendering.md +839 -0
- package/skills/shader-dev/reference/texture-mapping-advanced.md +87 -0
- package/skills/shader-dev/reference/texture-sampling.md +553 -0
- package/skills/shader-dev/reference/volumetric-rendering.md +608 -0
- package/skills/shader-dev/reference/voronoi-cellular-noise.md +486 -0
- package/skills/shader-dev/reference/voxel-rendering.md +701 -0
- package/skills/shader-dev/reference/water-ocean.md +445 -0
- package/skills/shader-dev/reference/webgl-pitfalls.md +41 -0
- package/skills/shader-dev/techniques/ambient-occlusion.md +364 -0
- package/skills/shader-dev/techniques/analytic-ray-tracing.md +542 -0
- package/skills/shader-dev/techniques/anti-aliasing.md +124 -0
- package/skills/shader-dev/techniques/atmospheric-scattering.md +522 -0
- package/skills/shader-dev/techniques/camera-effects.md +115 -0
- package/skills/shader-dev/techniques/cellular-automata.md +531 -0
- package/skills/shader-dev/techniques/color-palette.md +380 -0
- package/skills/shader-dev/techniques/csg-boolean-operations.md +491 -0
- package/skills/shader-dev/techniques/domain-repetition.md +333 -0
- package/skills/shader-dev/techniques/domain-warping.md +414 -0
- package/skills/shader-dev/techniques/fluid-simulation.md +1175 -0
- package/skills/shader-dev/techniques/fractal-rendering.md +436 -0
- package/skills/shader-dev/techniques/lighting-model.md +527 -0
- package/skills/shader-dev/techniques/matrix-transform.md +455 -0
- package/skills/shader-dev/techniques/multipass-buffer.md +922 -0
- package/skills/shader-dev/techniques/normal-estimation.md +318 -0
- package/skills/shader-dev/techniques/particle-system.md +1203 -0
- package/skills/shader-dev/techniques/path-tracing-gi.md +623 -0
- package/skills/shader-dev/techniques/polar-uv-manipulation.md +373 -0
- package/skills/shader-dev/techniques/post-processing.md +788 -0
- package/skills/shader-dev/techniques/procedural-2d-pattern.md +346 -0
- package/skills/shader-dev/techniques/procedural-noise.md +554 -0
- package/skills/shader-dev/techniques/ray-marching.md +467 -0
- package/skills/shader-dev/techniques/sdf-2d.md +631 -0
- package/skills/shader-dev/techniques/sdf-3d.md +589 -0
- package/skills/shader-dev/techniques/sdf-tricks.md +100 -0
- package/skills/shader-dev/techniques/shadow-techniques.md +776 -0
- package/skills/shader-dev/techniques/simulation-physics.md +1542 -0
- package/skills/shader-dev/techniques/sound-synthesis.md +490 -0
- package/skills/shader-dev/techniques/terrain-rendering.md +408 -0
- package/skills/shader-dev/techniques/texture-mapping-advanced.md +121 -0
- package/skills/shader-dev/techniques/texture-sampling.md +382 -0
- package/skills/shader-dev/techniques/volumetric-rendering.md +375 -0
- package/skills/shader-dev/techniques/voronoi-cellular-noise.md +458 -0
- package/skills/shader-dev/techniques/voxel-rendering.md +985 -0
- package/skills/shader-dev/techniques/water-ocean.md +490 -0
- package/skills/shader-dev/techniques/webgl-pitfalls.md +170 -0
- package/skills/shipping-and-launch/SKILL.md +334 -0
- package/skills/silent-failure-hunting/SKILL.md +24 -0
- package/skills/source-driven-development/SKILL.md +223 -0
- package/skills/spec-driven-development/SKILL.md +235 -0
- package/skills/spec-driven-development/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/LICENSE +21 -0
- package/skills/spec-driven-development/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/NOTICE.md +9 -0
- package/skills/spec-driven-development/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/spec-driven-development/SKILL.upstream.md +206 -0
- package/skills/strategy-stress-test/SKILL.md +185 -0
- package/skills/systematic-literature-review/SKILL.md +77 -0
- package/skills/test-document-generator/SKILL.md +152 -0
- package/skills/test-document-generator/references/test-document-template.md +45 -0
- package/skills/test-driven-development/SKILL.md +399 -0
- package/skills/write-skills/GLOSSARY.md +113 -0
- package/skills/write-skills/SKILL.md +133 -0
- package/skills/write-skills/references/upstream/mattpocock-skills/391a2701dd948f94f56a39f7533f8eea9a859c87/LICENSE +21 -0
- package/skills/write-skills/references/upstream/mattpocock-skills/391a2701dd948f94f56a39f7533f8eea9a859c87/NOTICE.md +9 -0
- package/skills/write-skills/references/upstream/mattpocock-skills/391a2701dd948f94f56a39f7533f8eea9a859c87/productivity/writing-great-skills/GLOSSARY.md +201 -0
- package/skills/write-skills/references/upstream/mattpocock-skills/391a2701dd948f94f56a39f7533f8eea9a859c87/productivity/writing-great-skills/SKILL.upstream.md +83 -0
- package/src/runtime/child-guard.ts +70 -0
- package/src/runtime/conflicts.ts +25 -0
- package/src/runtime/contracts.ts +9 -0
- package/src/runtime/doctor.ts +134 -0
- package/src/runtime/global-resources.ts +152 -0
- package/src/runtime/index.ts +23 -0
- package/src/runtime/lifecycle.ts +19 -0
- package/src/runtime/native-integrations.ts +44 -0
- package/src/runtime/path-boundaries.ts +69 -0
- package/src/runtime/registry.ts +213 -0
- package/src/runtime/roles.ts +64 -0
- package/src/runtime/rose-context.ts +24 -0
- package/src/runtime/subagents.ts +426 -0
- package/templates/APPEND_SYSTEM.md +12 -0
- package/upstream/aili-workflows.lock.json +3226 -0
|
@@ -0,0 +1,375 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: code-review-and-quality
|
|
3
|
+
description: Conduct one bounded evidence-grounded code review when the user explicitly requests review or ROSE names a concrete unresolved correctness/quality risk; do not trigger automatically after implementation, before every merge, for every bug fix/refactor, or as a completion gate.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Code Review and Quality
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
Perform a risk-proportional review of the requested scope. Direct ROSE diff inspection remains the ordinary completion default; this skill is not mandatory merely because code changed or a merge may follow.
|
|
11
|
+
|
|
12
|
+
**Recommendation standard:** Report whether the reviewed evidence supports approval, conditional disposition, or changes. ROSE/user owns the final verdict; this skill creates no merge or completion authority.
|
|
13
|
+
|
|
14
|
+
## When to Use
|
|
15
|
+
|
|
16
|
+
- The user explicitly asks to review a diff, PR, commit, file set, or generated change.
|
|
17
|
+
- ROSE identifies one concrete unresolved quality risk that direct inspection cannot cover adequately.
|
|
18
|
+
- A formal SHIP claim explicitly selects a bounded review of affected scope.
|
|
19
|
+
|
|
20
|
+
Near misses: implementation completion, a pending merge, multi-file work, a bug fix, or a refactor does not select this skill by itself.
|
|
21
|
+
|
|
22
|
+
ROSE/`aili-delivery-flow` owns lifecycle state, repair authorization, specialist selection, and final verification/verdict. This skill runs one bounded review pass and returns `complete`, `need-user`, `need-evidence`, `material-delta`, `blocked`, or `Unverified`. It does not invoke stress-test, security, performance, testing, review-pipeline, or another process skill; return one named specialist gap to ROSE. Canonical approval and claim-matched verification rules win.
|
|
23
|
+
|
|
24
|
+
## The Five-Axis Review
|
|
25
|
+
|
|
26
|
+
Select only dimensions relevant to the requested scope and credible risk:
|
|
27
|
+
|
|
28
|
+
### 1. Correctness
|
|
29
|
+
|
|
30
|
+
Does the code do what it claims to do?
|
|
31
|
+
|
|
32
|
+
- Does it match the spec or task requirements?
|
|
33
|
+
- Are edge cases handled (null, empty, boundary values)?
|
|
34
|
+
- Are error paths handled (not just the happy path)?
|
|
35
|
+
- Does fresh verification support the changed behavior, and do any inspected tests actually test the right things?
|
|
36
|
+
- Are there off-by-one errors, race conditions, or state inconsistencies?
|
|
37
|
+
|
|
38
|
+
### 2. Readability & Simplicity
|
|
39
|
+
|
|
40
|
+
Can another engineer (or agent) understand this code without the author explaining it?
|
|
41
|
+
|
|
42
|
+
- Are names descriptive and consistent with project conventions? (No `temp`, `data`, `result` without context)
|
|
43
|
+
- Is the control flow straightforward (avoid nested ternaries, deep callbacks)?
|
|
44
|
+
- Is the code organized logically (related code grouped, clear module boundaries)?
|
|
45
|
+
- Are there any "clever" tricks that should be simplified?
|
|
46
|
+
- **Could this be done in fewer lines?** (1000 lines where 100 suffice is a failure)
|
|
47
|
+
- **Are abstractions earning their complexity?** (Don't generalize until the third use case)
|
|
48
|
+
- Would comments help clarify non-obvious intent? (But don't comment obvious code.)
|
|
49
|
+
- Are there dead code artifacts: no-op variables (`_unused`), backwards-compat shims, or `// removed` comments?
|
|
50
|
+
|
|
51
|
+
### 3. Architecture
|
|
52
|
+
|
|
53
|
+
Does the change fit the system's design?
|
|
54
|
+
|
|
55
|
+
- Does it follow existing patterns or introduce a new one? If new, is it justified?
|
|
56
|
+
- Does it maintain clean module boundaries?
|
|
57
|
+
- Is there code duplication that should be shared?
|
|
58
|
+
- Are dependencies flowing in the right direction (no circular dependencies)?
|
|
59
|
+
- Is the abstraction level appropriate (not over-engineered, not too coupled)?
|
|
60
|
+
|
|
61
|
+
Architecture review should also ask:
|
|
62
|
+
|
|
63
|
+
- Does this deepen a useful module, or add a shallow pass-through?
|
|
64
|
+
- Is the public interface smaller than the implementation complexity it hides?
|
|
65
|
+
- Are invariants concentrated behind an interface instead of scattered across callers?
|
|
66
|
+
- Do tests target public behavior through the interface rather than internals?
|
|
67
|
+
- Does the change improve locality and leverage for future changes?
|
|
68
|
+
- Are new seams justified by at least two real adapters or a concrete near-term need?
|
|
69
|
+
- Does this contradict an ADR, and if so, is the friction strong enough to revisit the ADR?
|
|
70
|
+
|
|
71
|
+
### 4. Security
|
|
72
|
+
|
|
73
|
+
For detailed security guidance, see `security-and-hardening`. Does the change introduce vulnerabilities?
|
|
74
|
+
|
|
75
|
+
- Is user input validated and sanitized?
|
|
76
|
+
- Are secrets kept out of code, logs, and version control?
|
|
77
|
+
- Is authentication/authorization checked where needed?
|
|
78
|
+
- Are SQL queries parameterized (no string concatenation)?
|
|
79
|
+
- Are outputs encoded to prevent XSS?
|
|
80
|
+
- Are dependencies from trusted sources with no known vulnerabilities?
|
|
81
|
+
- Is data from external sources (APIs, logs, user content, config files) treated as untrusted?
|
|
82
|
+
- Are external data flows validated at system boundaries before use in logic or rendering?
|
|
83
|
+
|
|
84
|
+
### 5. Performance
|
|
85
|
+
|
|
86
|
+
For detailed profiling and optimization, see `performance-optimization`. Does the change introduce performance problems?
|
|
87
|
+
|
|
88
|
+
- Any N+1 query patterns?
|
|
89
|
+
- Any unbounded loops or unconstrained data fetching?
|
|
90
|
+
- Any synchronous operations that should be async?
|
|
91
|
+
- Any unnecessary re-renders in UI components?
|
|
92
|
+
- Any missing pagination on list endpoints?
|
|
93
|
+
- Any large objects created in hot paths?
|
|
94
|
+
|
|
95
|
+
## Change Sizing
|
|
96
|
+
|
|
97
|
+
Small, focused changes are easier to review, faster to merge, and safer to deploy. Target these sizes:
|
|
98
|
+
|
|
99
|
+
```
|
|
100
|
+
~100 lines changed → Good. Reviewable in one sitting.
|
|
101
|
+
~300 lines changed → Acceptable if it's a single logical change.
|
|
102
|
+
~1000 lines changed → Too large. Split it.
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
**What counts as "one change":** A single self-contained modification that addresses one thing, includes related tests, and keeps the system functional after submission. One part of a feature — not the whole feature.
|
|
106
|
+
|
|
107
|
+
**Splitting strategies when a change is too large:**
|
|
108
|
+
|
|
109
|
+
| Strategy | How | When |
|
|
110
|
+
|----------|-----|------|
|
|
111
|
+
| **Stack** | Submit a small change, start the next one based on it | Sequential dependencies |
|
|
112
|
+
| **By file group** | Separate changes for groups needing different reviewers | Cross-cutting concerns |
|
|
113
|
+
| **Horizontal** | Create shared code/stubs first, then consumers | Layered architecture |
|
|
114
|
+
| **Vertical** | Break into smaller full-stack slices of the feature | Feature work |
|
|
115
|
+
|
|
116
|
+
**When large changes are acceptable:** Complete file deletions and automated refactoring where the reviewer only needs to verify intent, not every line.
|
|
117
|
+
|
|
118
|
+
**Separate refactoring from feature work.** A change that refactors existing code and adds new behavior is two changes — submit them separately. Small cleanups (variable renaming) can be included at reviewer discretion.
|
|
119
|
+
|
|
120
|
+
## Change Descriptions
|
|
121
|
+
|
|
122
|
+
Every change needs a description that stands alone in version control history.
|
|
123
|
+
|
|
124
|
+
**First line:** Short, imperative, standalone. "Delete the FizzBuzz RPC" not "Deleting the FizzBuzz RPC." Must be informative enough that someone searching history can understand the change without reading the diff.
|
|
125
|
+
|
|
126
|
+
**Body:** What is changing and why. Include context, decisions, and reasoning not visible in the code itself. Link to bug numbers, benchmark results, or design docs where relevant. Acknowledge approach shortcomings when they exist.
|
|
127
|
+
|
|
128
|
+
**Anti-patterns:** "Fix bug," "Fix build," "Add patch," "Moving code from A to B," "Phase 1," "Add convenience functions."
|
|
129
|
+
|
|
130
|
+
## Review Process
|
|
131
|
+
|
|
132
|
+
### Step 1: Understand the Context
|
|
133
|
+
|
|
134
|
+
Before looking at code, understand the intent:
|
|
135
|
+
|
|
136
|
+
```
|
|
137
|
+
- What is this change trying to accomplish?
|
|
138
|
+
- What spec or task does it implement?
|
|
139
|
+
- What is the expected behavior change?
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
### Step 2: Review the Tests First
|
|
143
|
+
|
|
144
|
+
Tests reveal intent and coverage:
|
|
145
|
+
|
|
146
|
+
```
|
|
147
|
+
- Do tests exist for the change?
|
|
148
|
+
- Do they test behavior (not implementation details)?
|
|
149
|
+
- Are edge cases covered?
|
|
150
|
+
- Do tests have descriptive names?
|
|
151
|
+
- Would the tests catch a regression if the code changed?
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
### Step 3: Review the Implementation
|
|
155
|
+
|
|
156
|
+
Walk through the code with the five axes in mind:
|
|
157
|
+
|
|
158
|
+
```
|
|
159
|
+
For each file changed:
|
|
160
|
+
1. Correctness: Does this code do what the test says it should?
|
|
161
|
+
2. Readability: Can I understand this without help?
|
|
162
|
+
3. Architecture: Does this fit the system?
|
|
163
|
+
4. Security: Any vulnerabilities?
|
|
164
|
+
5. Performance: Any bottlenecks?
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
### Step 4: Categorize Findings
|
|
168
|
+
|
|
169
|
+
Label every comment with its severity so the author knows what's required vs optional:
|
|
170
|
+
|
|
171
|
+
| Prefix | Meaning | Author Action |
|
|
172
|
+
|--------|---------|---------------|
|
|
173
|
+
| *(no prefix)* | Required change | Must address before merge |
|
|
174
|
+
| **Critical:** | Blocks merge | Security vulnerability, data loss, broken functionality |
|
|
175
|
+
| **Nit:** | Minor, optional | Author may ignore — formatting, style preferences |
|
|
176
|
+
| **Optional:** / **Consider:** | Suggestion | Worth considering but not required |
|
|
177
|
+
| **FYI** | Informational only | No action needed — context for future reference |
|
|
178
|
+
|
|
179
|
+
This prevents authors from treating all feedback as mandatory and wasting time on optional suggestions.
|
|
180
|
+
|
|
181
|
+
### Step 5: Verify the Verification
|
|
182
|
+
|
|
183
|
+
Check the author's verification story:
|
|
184
|
+
|
|
185
|
+
```
|
|
186
|
+
- What tests were run?
|
|
187
|
+
- Did the build pass?
|
|
188
|
+
- Was the change tested manually?
|
|
189
|
+
- Are there screenshots for UI changes?
|
|
190
|
+
- Is there a before/after comparison?
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
### Step 6: Direct Evidence Check
|
|
194
|
+
|
|
195
|
+
Before the bounded review result, inspect the evidence directly. Do not invoke a separate stress-test merely because review is ending.
|
|
196
|
+
|
|
197
|
+
Check whether:
|
|
198
|
+
|
|
199
|
+
- the review conclusion depends on uninspected files, partial diffs, stale logs, or inferred behavior
|
|
200
|
+
- any Critical or Important finding lacks a concrete evidence anchor
|
|
201
|
+
- tests pass but do not prove the changed behavior
|
|
202
|
+
- security, privacy, performance, migration, rollout, or compatibility risk needs a specialist pass
|
|
203
|
+
- the verdict should be downgraded because evidence is partial
|
|
204
|
+
|
|
205
|
+
Mark anything not proven by repository evidence as `Unverified`.
|
|
206
|
+
|
|
207
|
+
Do not approve if a remaining evidence gap could hide a Critical or Important issue. Use a conditional or request-changes verdict until the gap is fixed, deferred with owner/date when an external tracker exists, or explicitly accepted by the caller/supervisor in local workflow.
|
|
208
|
+
|
|
209
|
+
### Step 7: Verdict Gate
|
|
210
|
+
|
|
211
|
+
🔴 **CHECKPOINT · Verdict:** Stop before approving. The verdict must match the worst unresolved finding and the strength of the verification evidence.
|
|
212
|
+
|
|
213
|
+
| Verdict | Use when | Hard blockers |
|
|
214
|
+
|---|---|---|
|
|
215
|
+
| **Approve** | No Critical or Important issues remain, verification is fresh, and evidence covers the change | Any unresolved Critical/Important finding, unverified risky behavior, or missing required test |
|
|
216
|
+
| **Conditional** | Remaining gaps are low risk and explicitly accepted or deferred with owner/date | Security/privacy risk, data loss risk, public API break, failed required check, or unclear ownership |
|
|
217
|
+
| **Request changes** | The change is incorrect, unsafe, unverified, too broad, or incompatible with project rules | N/A — this is the safe verdict for unresolved blockers |
|
|
218
|
+
|
|
219
|
+
**Failure escalation:**
|
|
220
|
+
|
|
221
|
+
| Trigger | First action | If still unresolved |
|
|
222
|
+
|---|---|---|
|
|
223
|
+
| Diff is too large to review confidently | Return the exact decomposition/evidence need to ROSE | Do not recommend approval from partial evidence |
|
|
224
|
+
| Required verification is missing or stale | Return the exact targeted-check need to ROSE | Recommend Conditional only with explicit caller acceptance; otherwise Request changes |
|
|
225
|
+
| Security, privacy, migration, or rollout risk appears | Return one named specialist/evidence gap to ROSE | Do not recommend approval until the risk is resolved or formally accepted |
|
|
226
|
+
| Reviewer and author disagree on a blocker | Re-anchor on facts, spec, tests, and project rules | Return both positions and evidence to ROSE/user; do not rubber-stamp |
|
|
227
|
+
|
|
228
|
+
## Optional Independent Perspective
|
|
229
|
+
|
|
230
|
+
Only ROSE may select an independent reviewer when a concrete capability/evidence gap passes the delegation gate. This skill does not dispatch or create a multi-model sequence.
|
|
231
|
+
|
|
232
|
+
## Dead Code Hygiene
|
|
233
|
+
|
|
234
|
+
When dead-code risk is relevant to the requested review scope, check for orphaned code:
|
|
235
|
+
|
|
236
|
+
1. Identify code that is now unreachable or unused
|
|
237
|
+
2. List it explicitly
|
|
238
|
+
3. Return task-related removal candidates to ROSE; this review skill neither deletes them nor creates a separate deletion question
|
|
239
|
+
|
|
240
|
+
Do not expand the review into adjacent cleanup. ROSE decides whether a reported removal is already in scope or needs a material scope decision.
|
|
241
|
+
|
|
242
|
+
```
|
|
243
|
+
DEAD CODE IDENTIFIED:
|
|
244
|
+
- formatLegacyDate() in src/utils/date.ts — replaced by formatDate()
|
|
245
|
+
- OldTaskCard component in src/components/ — replaced by TaskCard
|
|
246
|
+
- LEGACY_API_URL constant in src/config.ts — no remaining references
|
|
247
|
+
→ Removal disposition: return to ROSE
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
## Review Speed
|
|
251
|
+
|
|
252
|
+
Return one bounded pass promptly. This skill does not manage review-service SLAs or require multiple rounds; any later review is a fresh ROSE/user decision based on changed evidence.
|
|
253
|
+
|
|
254
|
+
## Handling Disagreements
|
|
255
|
+
|
|
256
|
+
When resolving review disputes, apply this hierarchy:
|
|
257
|
+
|
|
258
|
+
1. **Technical facts and data** override opinions and preferences
|
|
259
|
+
2. **Style guides** are the absolute authority on style matters
|
|
260
|
+
3. **Software design** must be evaluated on engineering principles, not personal preference
|
|
261
|
+
4. **Codebase consistency** is acceptable if it doesn't degrade overall health
|
|
262
|
+
|
|
263
|
+
Do not hide a current blocker behind “clean it up later.” Report out-of-scope findings and their risk without requiring a new tracker; ROSE/user owns disposition.
|
|
264
|
+
|
|
265
|
+
## Honesty in Review
|
|
266
|
+
|
|
267
|
+
When reviewing code — whether written by you, another agent, or a human:
|
|
268
|
+
|
|
269
|
+
- **Don't rubber-stamp.** "LGTM" without evidence of review helps no one.
|
|
270
|
+
- **Don't soften real issues.** "This might be a minor concern" when it's a bug that will hit production is dishonest.
|
|
271
|
+
- **Quantify problems when possible.** "This N+1 query will add ~50ms per item in the list" is better than "this could be slow."
|
|
272
|
+
- **Push back on approaches with clear problems.** Sycophancy is a failure mode in reviews. If the implementation has issues, say so directly and propose alternatives.
|
|
273
|
+
- **Accept override gracefully.** If the author has full context and disagrees, defer to their judgment. Comment on code, not people — reframe personal critiques to focus on the code itself.
|
|
274
|
+
|
|
275
|
+
## Dependency Discipline
|
|
276
|
+
|
|
277
|
+
Part of code review is dependency review:
|
|
278
|
+
|
|
279
|
+
**Before adding any dependency:**
|
|
280
|
+
1. Does the existing stack solve this? (Often it does.)
|
|
281
|
+
2. How large is the dependency? (Check bundle impact.)
|
|
282
|
+
3. Is it actively maintained? (Check last commit, open issues.)
|
|
283
|
+
4. Does current approved evidence show known vulnerabilities? Do not run a network-capable audit automatically.
|
|
284
|
+
5. What's the license? (Must be compatible with the project.)
|
|
285
|
+
|
|
286
|
+
**Rule:** Prefer standard library and existing utilities over new dependencies. Every dependency is a liability.
|
|
287
|
+
|
|
288
|
+
## The Review Checklist
|
|
289
|
+
|
|
290
|
+
```markdown
|
|
291
|
+
## Review: [PR/Change title]
|
|
292
|
+
|
|
293
|
+
### Context
|
|
294
|
+
- [ ] I understand what this change does and why
|
|
295
|
+
|
|
296
|
+
### Correctness
|
|
297
|
+
- [ ] Change matches spec/task requirements
|
|
298
|
+
- [ ] Edge cases handled
|
|
299
|
+
- [ ] Error paths handled
|
|
300
|
+
- [ ] Tests cover the change adequately
|
|
301
|
+
|
|
302
|
+
### Readability
|
|
303
|
+
- [ ] Names are clear and consistent
|
|
304
|
+
- [ ] Logic is straightforward
|
|
305
|
+
- [ ] No unnecessary complexity
|
|
306
|
+
|
|
307
|
+
### Architecture
|
|
308
|
+
- [ ] Follows existing patterns
|
|
309
|
+
- [ ] No unnecessary coupling or dependencies
|
|
310
|
+
- [ ] Appropriate abstraction level
|
|
311
|
+
|
|
312
|
+
### Security
|
|
313
|
+
- [ ] No secrets in code
|
|
314
|
+
- [ ] Input validated at boundaries
|
|
315
|
+
- [ ] No injection vulnerabilities
|
|
316
|
+
- [ ] Auth checks in place
|
|
317
|
+
- [ ] External data sources treated as untrusted
|
|
318
|
+
|
|
319
|
+
### Performance
|
|
320
|
+
- [ ] No N+1 patterns
|
|
321
|
+
- [ ] No unbounded operations
|
|
322
|
+
- [ ] Pagination on list endpoints
|
|
323
|
+
|
|
324
|
+
### Verification
|
|
325
|
+
- [ ] Tests pass
|
|
326
|
+
- [ ] Build succeeds
|
|
327
|
+
- [ ] Manual verification done (if applicable)
|
|
328
|
+
|
|
329
|
+
### Stress-Test Notes
|
|
330
|
+
- [ ] Remaining evidence gaps are listed
|
|
331
|
+
- [ ] Unverified assumptions are marked `Unverified`
|
|
332
|
+
- [ ] Any needed specialist pass is named
|
|
333
|
+
|
|
334
|
+
### Verdict
|
|
335
|
+
- [ ] **Approve** — Reviewed evidence supports approval; ROSE/user decides merge
|
|
336
|
+
- [ ] **Conditional** — Remaining evidence gaps are accepted or deferred with owner/date when available, or with explicit caller/supervisor acceptance in local workflow
|
|
337
|
+
- [ ] **Request changes** — Issues must be addressed
|
|
338
|
+
- [ ] Verdict matches the worst unresolved finding from the Verdict Gate
|
|
339
|
+
```
|
|
340
|
+
## See Also
|
|
341
|
+
|
|
342
|
+
- Return a concrete security or performance specialist need to ROSE rather than invoking another skill.
|
|
343
|
+
|
|
344
|
+
## Common Rationalizations
|
|
345
|
+
|
|
346
|
+
| Rationalization | Reality |
|
|
347
|
+
|---|---|
|
|
348
|
+
| "It works, that's good enough" | Working code that's unreadable, insecure, or architecturally wrong creates debt that compounds. |
|
|
349
|
+
| "I wrote it, so I know it's correct" | Authors can be blind to their own assumptions. When this review is selected, anchor it in independent evidence rather than confidence. |
|
|
350
|
+
| "We'll clean it up later" | Do not hide a current blocker. This review is a bounded evidence pass, not the merge or completion gate. |
|
|
351
|
+
| "AI-generated code is probably fine" | AI code needs more scrutiny, not less. It's confident and plausible, even when wrong. |
|
|
352
|
+
| "The tests pass, so it's good" | Tests are necessary but not sufficient. They don't catch architecture problems, security issues, or readability concerns. |
|
|
353
|
+
|
|
354
|
+
## Red Flags
|
|
355
|
+
|
|
356
|
+
- Explicitly requested review omitted from the claimed evidence
|
|
357
|
+
- Review that only checks if tests pass (ignoring other axes)
|
|
358
|
+
- "LGTM" without evidence of actual review
|
|
359
|
+
- Security-sensitive changes without security-focused review
|
|
360
|
+
- Large PRs that are "too big to review properly" (split them)
|
|
361
|
+
- No regression tests with bug fix PRs
|
|
362
|
+
- Review comments without severity labels — makes it unclear what's required vs optional
|
|
363
|
+
- Accepting "I'll fix it later" — it never happens
|
|
364
|
+
- Approving despite unresolved Critical/Important findings or stale verification
|
|
365
|
+
- Using Conditional to bypass security, privacy, migration, rollout, or data-loss blockers
|
|
366
|
+
|
|
367
|
+
## Verification
|
|
368
|
+
|
|
369
|
+
After the bounded review is complete:
|
|
370
|
+
|
|
371
|
+
- [ ] All Critical issues are resolved
|
|
372
|
+
- [ ] All Important issues are resolved or explicitly deferred with justification
|
|
373
|
+
- [ ] Fresh evidence supports only the reviewed claims
|
|
374
|
+
- [ ] The canonical owner selects any required test/build check
|
|
375
|
+
- [ ] Remaining scope and `Unverified` risks are documented
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: code-review-quality-gates
|
|
3
|
+
description: Code-review quality gate and test-enhancement rubric. Use when ROSE needs sharper review output contracts, severity and risk prioritization, evidence anchors, negative review cases, fixture or golden-output drift guidance, or a Chinese review report profile; do not use as a duplicate code-review agent or final PASS authority.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Code Review Quality Gates
|
|
7
|
+
|
|
8
|
+
## Purpose
|
|
9
|
+
|
|
10
|
+
Use this skill as one bounded rubric auxiliary for an already selected review/test/fixture question.
|
|
11
|
+
|
|
12
|
+
It does not create a reviewer persona, select another skill, dispatch a lane, or become a final gate. ROSE may pass its compact rubric to an already justified reviewer/tester.
|
|
13
|
+
|
|
14
|
+
ROSE still decides the final acceptance status.
|
|
15
|
+
|
|
16
|
+
## Trigger
|
|
17
|
+
|
|
18
|
+
- A code review needs a concrete severity rubric, risk ranking, or file review order.
|
|
19
|
+
- Review output is too vague, lacks file/line evidence, or says “LGTM” without residual risk.
|
|
20
|
+
- A test-engineering pass needs negative cases for false success, swallowed errors, stale logs, fake secrets, or unsupported verification claims.
|
|
21
|
+
- Harness fixtures, snapshots, golden outputs, or generated reports changed and drift needs classification.
|
|
22
|
+
- The user asks for a Chinese review report while preserving AILI fields such as evidence anchors, `Unverified`, skipped checks, and residual risk.
|
|
23
|
+
|
|
24
|
+
## Near Misses
|
|
25
|
+
|
|
26
|
+
- General review execution, review routing, coverage-only analysis, PR/CI triage, false-success hunting, or security exploitability are different primary questions. Return the exact mismatch to ROSE; do not invoke another skill or agent here.
|
|
27
|
+
|
|
28
|
+
## Required Routing
|
|
29
|
+
|
|
30
|
+
- Owner: ROSE/`aili-delivery-flow`; this rubric may accompany one already justified review or test assignment.
|
|
31
|
+
- Agent use remains fresh, single-use, trigger-gated, and ROSE-owned; this skill does not select or resume the agent. ROSE dispatches when the current Task trigger is met and otherwise uses the direct fallback.
|
|
32
|
+
- Read-only by default: recommendations may request fixes, tests, or fixture updates, but this skill does not edit implementation or fixture files.
|
|
33
|
+
- Final authority: reviewers provide evidence and recommendations; ROSE owns final PASS/blocked decisions.
|
|
34
|
+
|
|
35
|
+
## Review Priority Model
|
|
36
|
+
|
|
37
|
+
Review in this order unless the user supplies a stricter priority:
|
|
38
|
+
|
|
39
|
+
1. Files that can break safety or trust: auth, permissions, secrets, shell execution, install scripts, migrations, release, network, storage, and external input boundaries.
|
|
40
|
+
2. Files that define contracts: public APIs, schemas, prompts, agents, skills, commands, fixtures, generated-output templates, and test harness gates.
|
|
41
|
+
3. Files that changed behavior: logic, error handling, async flow, state transitions, retries, and fallbacks.
|
|
42
|
+
4. Tests and fixtures that claim coverage: regression tests, snapshots, golden files, CI scripts, and manual runbooks.
|
|
43
|
+
5. Pure documentation or comments, after confirming they do not make a behavior or verification claim false.
|
|
44
|
+
|
|
45
|
+
## Severity and Risk Rubric
|
|
46
|
+
|
|
47
|
+
Classify every finding by worst credible impact, not by how easy it is to fix.
|
|
48
|
+
|
|
49
|
+
| Severity | Use when | Required action |
|
|
50
|
+
|---|---|---|
|
|
51
|
+
| Critical | Data loss, security exposure, broken accepted behavior, destructive action, false PASS on a required gate, or irreversible harness damage is plausible. | Block acceptance until fixed, disproven with evidence, or explicitly accepted by the user when policy allows. |
|
|
52
|
+
| Important | Accepted behavior, verification credibility, maintainability, fixture reliability, or future review quality is materially weakened. | Fix before acceptance unless ROSE records explicit risk acceptance. |
|
|
53
|
+
| Suggestion | Improvement that does not affect accepted scope or evidence credibility. | Optional; do not block. |
|
|
54
|
+
| Nit | Local style/readability preference with no behavior or gate impact. | Optional; keep concise. |
|
|
55
|
+
|
|
56
|
+
Add a risk tag when useful: `security`, `correctness`, `verification`, `silent-failure`, `fixture-drift`, `maintainability`, `performance`, `scope`, or `docs-claim`.
|
|
57
|
+
|
|
58
|
+
## Evidence Anchor Rules
|
|
59
|
+
|
|
60
|
+
- Required findings need a concrete anchor: `path:line`, command output excerpt, fixture name, golden file name, spec/test requirement, or exact user instruction.
|
|
61
|
+
- If the reviewer cannot inspect enough context, write `Unverified` and name the missing evidence instead of approving.
|
|
62
|
+
- Do not cite stale logs, old screenshots, generated summaries, or another agent’s conclusion as proof unless the evidence was freshly reconciled.
|
|
63
|
+
- A clean review must still state residual risk: what was inspected, what was not inspected, what verification was run or skipped, and why remaining risk is acceptable.
|
|
64
|
+
|
|
65
|
+
## Negative Cases to Demand
|
|
66
|
+
|
|
67
|
+
When reviewing tests, fixtures, harness behavior, or verification claims, look for at least these failure examples when relevant:
|
|
68
|
+
|
|
69
|
+
- Swallowed error: command fails internally but wrapper exits 0 or reports PASS.
|
|
70
|
+
- Stale log: report reuses old output after files or commands changed.
|
|
71
|
+
- Fake secret: scanner/test treats placeholder strings as real secrets, or misses realistic secret-like patterns that policy says to catch.
|
|
72
|
+
- Unsupported verification claim: completion says “verified”, “passing”, or “ready” without a fresh command, manual runbook, diff inspection, or accepted skip reason.
|
|
73
|
+
- Fixture drift: golden output changed because prompts/routing drifted, not because accepted behavior changed.
|
|
74
|
+
- Over-broad fix: review comment asks for unrelated cleanup or wider refactor outside accepted scope.
|
|
75
|
+
|
|
76
|
+
## Fixture and Golden-Output Drift Guidance
|
|
77
|
+
|
|
78
|
+
Classify fixture/golden changes before accepting them:
|
|
79
|
+
|
|
80
|
+
| Drift type | Meaning | Review response |
|
|
81
|
+
|---|---|---|
|
|
82
|
+
| Intended contract update | Output changed to match accepted requirements. | Require requirement anchor plus focused verification. |
|
|
83
|
+
| Benign wording drift | Text changed without changing routing, gates, permissions, or evidence semantics. | Usually Suggestion or no finding; record residual risk if snapshots are brittle. |
|
|
84
|
+
| Gate drift | PASS/blocked/Unverified, severity, evidence, or routing semantics changed. | Important or Critical; require explicit acceptance and regression coverage. |
|
|
85
|
+
| Fixture masking | Golden file changed to hide a regression, skipped check, or lost evidence. | Critical; block until root cause and test are fixed. |
|
|
86
|
+
| Unexplained churn | Diff has no clear requirement or tool-version cause. | Mark `Unverified`; do not approve as routine update. |
|
|
87
|
+
|
|
88
|
+
## Chinese Report Profile
|
|
89
|
+
|
|
90
|
+
When the caller requests Chinese output, keep AILI evidence fields intact instead of replacing them with prose.
|
|
91
|
+
|
|
92
|
+
```text
|
|
93
|
+
评审状态: PASS | NEEDS_FIXES | BLOCKED | NEEDS_REVIEW
|
|
94
|
+
|
|
95
|
+
评审范围:
|
|
96
|
+
- 目标:
|
|
97
|
+
- 文件/差异:
|
|
98
|
+
- 已运行验证:
|
|
99
|
+
- 未验证项/跳过项:
|
|
100
|
+
|
|
101
|
+
发现:
|
|
102
|
+
- [Critical|Important|Suggestion|Nit][risk-tag] path:line - 问题 - 证据 - 必须动作
|
|
103
|
+
|
|
104
|
+
干净评审残余风险:
|
|
105
|
+
- 已检查:
|
|
106
|
+
- 未检查/Unverified:
|
|
107
|
+
- 为什么当前风险可接受或不可接受:
|
|
108
|
+
|
|
109
|
+
测试/夹具增强建议:
|
|
110
|
+
- <negative case, fixture/golden drift check, or N/A>
|
|
111
|
+
|
|
112
|
+
最终建议:
|
|
113
|
+
- 允许 ROSE 声称 PASS: yes | no | conditional
|
|
114
|
+
- 理由:
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
## Boundaries
|
|
118
|
+
|
|
119
|
+
- Do not produce a final PASS verdict for the task; only say whether the review evidence supports ROSE claiming PASS.
|
|
120
|
+
- Do not ask for broad rewrites, dependency changes, schema changes, or public API changes unless they are directly required by the accepted scope or a Critical/Important finding.
|
|
121
|
+
- Do not edit manifests, prompts, fixtures, or tests from this skill unless a separate implementation task explicitly authorizes edits.
|
|
122
|
+
- Do not copy upstream review rubrics verbatim; write in this repository’s AILI evidence-first vocabulary.
|
|
123
|
+
|
|
124
|
+
## Verification
|
|
125
|
+
|
|
126
|
+
Before returning a review-quality-gate result:
|
|
127
|
+
|
|
128
|
+
- Confirm each Critical/Important finding has an evidence anchor or is marked `Unverified`.
|
|
129
|
+
- Confirm the verdict recommendation matches the worst unresolved finding.
|
|
130
|
+
- Confirm clean reviews name residual risk and skipped checks.
|
|
131
|
+
- Confirm any fixture/golden update is classified as intended contract update, benign wording drift, gate drift, fixture masking, or unexplained churn.
|
|
132
|
+
- Confirm Chinese reports preserve `Unverified`, evidence anchors, skipped verification, and residual-risk fields.
|