@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,334 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: shipping-and-launch
|
|
3
|
+
description: Prepare an explicit production launch, staged rollout, launch-monitoring, or rollback plan; do not trigger from AILI SHIP, implementation completion, packaging, review, or release wording that lacks a concrete launch/rollout target.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Shipping and Launch
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
Ship with confidence. The goal is not just to deploy — it's to deploy safely, with monitoring in place, a rollback plan ready, and a clear understanding of what success looks like. Every launch should be reversible, observable, and incremental.
|
|
11
|
+
|
|
12
|
+
## When to Use
|
|
13
|
+
|
|
14
|
+
- Deploying a feature to production for the first time
|
|
15
|
+
- Releasing a significant change to users
|
|
16
|
+
- Migrating data or infrastructure
|
|
17
|
+
- Opening a beta or early access program
|
|
18
|
+
- Explicitly planning monitoring, rollout thresholds, launch ownership, or rollback for a named release
|
|
19
|
+
|
|
20
|
+
Near misses: `/ship` closeout, preparing a package/PR, ordinary deployment discussion, or completing implementation does not select this skill without concrete launch/rollout intent.
|
|
21
|
+
|
|
22
|
+
ROSE/`aili-delivery-flow` owns lifecycle SHIP, material decisions, exact external/Git/release/deployment approvals, and verification. This skill performs one bounded launch-planning loop and returns `complete`, `need-user`, `need-evidence`, `material-delta`, `blocked`, or `Unverified`. It does not invoke review, security, performance, documentation, deployment, or another process skill. Checklists are risk prompts, not automatic suites or second readiness authority; canonical claim-matched verification wins.
|
|
23
|
+
|
|
24
|
+
## The Pre-Launch Checklist
|
|
25
|
+
|
|
26
|
+
Apply only rows relevant to the accepted launch claim and current project. Do not automatically run every test/review/security/performance/accessibility lane.
|
|
27
|
+
|
|
28
|
+
### Code Quality
|
|
29
|
+
|
|
30
|
+
- [ ] Claim-matched tests selected by the canonical owner pass
|
|
31
|
+
- [ ] Build succeeds with no warnings
|
|
32
|
+
- [ ] Lint and type checking pass
|
|
33
|
+
- [ ] Code reviewed and approved
|
|
34
|
+
- [ ] No TODO comments that should be resolved before launch
|
|
35
|
+
- [ ] No `console.log` debugging statements in production code
|
|
36
|
+
- [ ] Error handling covers expected failure modes
|
|
37
|
+
|
|
38
|
+
### Security
|
|
39
|
+
|
|
40
|
+
- [ ] No secrets in code or version control
|
|
41
|
+
- [ ] `npm audit` shows no critical or high vulnerabilities
|
|
42
|
+
- [ ] Input validation on all user-facing endpoints
|
|
43
|
+
- [ ] Authentication and authorization checks in place
|
|
44
|
+
- [ ] Security headers configured (CSP, HSTS, etc.)
|
|
45
|
+
- [ ] Rate limiting on authentication endpoints
|
|
46
|
+
- [ ] CORS configured to specific origins (not wildcard)
|
|
47
|
+
|
|
48
|
+
### Performance
|
|
49
|
+
|
|
50
|
+
- [ ] Core Web Vitals within "Good" thresholds
|
|
51
|
+
- [ ] No N+1 queries in critical paths
|
|
52
|
+
- [ ] Images optimized (compression, responsive sizes, lazy loading)
|
|
53
|
+
- [ ] Bundle size within budget
|
|
54
|
+
- [ ] Database queries have appropriate indexes
|
|
55
|
+
- [ ] Caching configured for static assets and repeated queries
|
|
56
|
+
|
|
57
|
+
### Accessibility
|
|
58
|
+
|
|
59
|
+
- [ ] Keyboard navigation works for all interactive elements
|
|
60
|
+
- [ ] Screen reader can convey page content and structure
|
|
61
|
+
- [ ] Color contrast meets WCAG 2.1 AA (4.5:1 for text)
|
|
62
|
+
- [ ] Focus management correct for modals and dynamic content
|
|
63
|
+
- [ ] Error messages are descriptive and associated with form fields
|
|
64
|
+
- [ ] No accessibility warnings in axe-core or Lighthouse
|
|
65
|
+
|
|
66
|
+
### Infrastructure
|
|
67
|
+
|
|
68
|
+
- [ ] Environment variables set in production
|
|
69
|
+
- [ ] Database migrations applied (or ready to apply)
|
|
70
|
+
- [ ] DNS and SSL configured
|
|
71
|
+
- [ ] CDN configured for static assets
|
|
72
|
+
- [ ] Logging and error reporting configured
|
|
73
|
+
- [ ] Health check endpoint exists and responds
|
|
74
|
+
|
|
75
|
+
### Documentation
|
|
76
|
+
|
|
77
|
+
- [ ] README updated with any new setup requirements
|
|
78
|
+
- [ ] API documentation current
|
|
79
|
+
- [ ] ADRs written for any architectural decisions
|
|
80
|
+
- [ ] Changelog updated
|
|
81
|
+
- [ ] User-facing documentation updated (if applicable)
|
|
82
|
+
|
|
83
|
+
## Feature Flag Strategy
|
|
84
|
+
|
|
85
|
+
Ship behind feature flags to decouple deployment from release:
|
|
86
|
+
|
|
87
|
+
```typescript
|
|
88
|
+
// Feature flag check
|
|
89
|
+
const flags = await getFeatureFlags(userId);
|
|
90
|
+
|
|
91
|
+
if (flags.taskSharing) {
|
|
92
|
+
// New feature: task sharing
|
|
93
|
+
return <TaskSharingPanel task={task} />;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
// Default: existing behavior
|
|
97
|
+
return null;
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
**Feature flag lifecycle:**
|
|
101
|
+
|
|
102
|
+
```
|
|
103
|
+
1. DEPLOY with flag OFF → Code is in production but inactive
|
|
104
|
+
2. ENABLE for team/beta → Internal testing in production environment
|
|
105
|
+
3. GRADUAL ROLLOUT → 5% → 25% → 50% → 100% of users
|
|
106
|
+
4. MONITOR at each stage → Watch error rates, performance, user feedback
|
|
107
|
+
5. CLEAN UP → Remove flag and dead code path after full rollout
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
**Rules:**
|
|
111
|
+
- Every feature flag has an owner and an expiration date
|
|
112
|
+
- Clean up flags within 2 weeks of full rollout
|
|
113
|
+
- Don't nest feature flags (creates exponential combinations)
|
|
114
|
+
- Test both flag states (on and off) in CI
|
|
115
|
+
|
|
116
|
+
## Staged Rollout
|
|
117
|
+
|
|
118
|
+
### The Rollout Sequence
|
|
119
|
+
|
|
120
|
+
```
|
|
121
|
+
1. DEPLOY to staging
|
|
122
|
+
└── Run only affected integration/smoke checks required by the launch claim
|
|
123
|
+
└── Check critical flows when they are in scope
|
|
124
|
+
|
|
125
|
+
2. DEPLOY to production (feature flag OFF)
|
|
126
|
+
└── Verify deployment succeeded (health check)
|
|
127
|
+
└── Check error monitoring (no new errors)
|
|
128
|
+
|
|
129
|
+
3. ENABLE for team (flag ON for internal users)
|
|
130
|
+
└── Team uses the feature in production
|
|
131
|
+
└── 24-hour monitoring window
|
|
132
|
+
|
|
133
|
+
4. CANARY rollout (flag ON for 5% of users)
|
|
134
|
+
└── Monitor error rates, latency, user behavior
|
|
135
|
+
└── Compare metrics: canary vs. baseline
|
|
136
|
+
└── 24-48 hour monitoring window
|
|
137
|
+
└── Advance only if all thresholds pass (see table below)
|
|
138
|
+
|
|
139
|
+
5. GRADUAL increase (25% -> 50% -> 100%)
|
|
140
|
+
└── Same monitoring at each step
|
|
141
|
+
└── Ability to roll back to previous percentage at any point
|
|
142
|
+
|
|
143
|
+
6. FULL rollout (flag ON for all users)
|
|
144
|
+
└── Monitor for 1 week
|
|
145
|
+
└── Clean up feature flag
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
### Rollout Decision Thresholds
|
|
149
|
+
|
|
150
|
+
Use these thresholds to decide whether to advance, hold, or roll back at each stage:
|
|
151
|
+
|
|
152
|
+
| Metric | Advance (green) | Hold and investigate (yellow) | Roll back (red) |
|
|
153
|
+
|--------|-----------------|-------------------------------|-----------------|
|
|
154
|
+
| Error rate | Within 10% of baseline | 10-100% above baseline | >2x baseline |
|
|
155
|
+
| P95 latency | Within 20% of baseline | 20-50% above baseline | >50% above baseline |
|
|
156
|
+
| Client JS errors | No new error types | New errors at <0.1% of sessions | New errors at >0.1% of sessions |
|
|
157
|
+
| Business metrics | Neutral or positive | Decline <5% (may be noise) | Decline >5% |
|
|
158
|
+
|
|
159
|
+
### 🔴 CHECKPOINT / 🛑 STOP: Deploy Gate
|
|
160
|
+
|
|
161
|
+
Do not execute a deployment without exact operation approval. For a requested readiness plan, resolve only the applicable launch-owner evidence:
|
|
162
|
+
|
|
163
|
+
- production owner, monitoring owner, and rollback owner are named
|
|
164
|
+
- health check, error-rate dashboard, latency dashboard, and critical-flow smoke test are ready
|
|
165
|
+
- rollback trigger thresholds and exact rollback command/path are documented
|
|
166
|
+
- the user or release owner has approved the launch window
|
|
167
|
+
|
|
168
|
+
If any item is missing, stop and return `BLOCKED_LAUNCH_READINESS` with the missing evidence instead of continuing.
|
|
169
|
+
|
|
170
|
+
### When to Roll Back
|
|
171
|
+
|
|
172
|
+
Roll back immediately if:
|
|
173
|
+
- Error rate increases by more than 2x baseline
|
|
174
|
+
- P95 latency increases by more than 50%
|
|
175
|
+
- User-reported issues spike
|
|
176
|
+
- Data integrity issues detected
|
|
177
|
+
- Security vulnerability discovered
|
|
178
|
+
|
|
179
|
+
## Monitoring and Observability
|
|
180
|
+
|
|
181
|
+
### What to Monitor
|
|
182
|
+
|
|
183
|
+
```
|
|
184
|
+
Application metrics:
|
|
185
|
+
├── Error rate (total and by endpoint)
|
|
186
|
+
├── Response time (p50, p95, p99)
|
|
187
|
+
├── Request volume
|
|
188
|
+
├── Active users
|
|
189
|
+
└── Key business metrics (conversion, engagement)
|
|
190
|
+
|
|
191
|
+
Infrastructure metrics:
|
|
192
|
+
├── CPU and memory utilization
|
|
193
|
+
├── Database connection pool usage
|
|
194
|
+
├── Disk space
|
|
195
|
+
├── Network latency
|
|
196
|
+
└── Queue depth (if applicable)
|
|
197
|
+
|
|
198
|
+
Client metrics:
|
|
199
|
+
├── Core Web Vitals (LCP, INP, CLS)
|
|
200
|
+
├── JavaScript errors
|
|
201
|
+
├── API error rates from client perspective
|
|
202
|
+
└── Page load time
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
### Error Reporting
|
|
206
|
+
|
|
207
|
+
```typescript
|
|
208
|
+
// Set up error boundary with reporting
|
|
209
|
+
class ErrorBoundary extends React.Component {
|
|
210
|
+
componentDidCatch(error: Error, info: React.ErrorInfo) {
|
|
211
|
+
// Report to error tracking service
|
|
212
|
+
reportError(error, {
|
|
213
|
+
componentStack: info.componentStack,
|
|
214
|
+
userId: getCurrentUser()?.id,
|
|
215
|
+
page: window.location.pathname,
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
render() {
|
|
220
|
+
if (this.state.hasError) {
|
|
221
|
+
return <ErrorFallback onRetry={() => this.setState({ hasError: false })} />;
|
|
222
|
+
}
|
|
223
|
+
return this.props.children;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
// Server-side error reporting
|
|
228
|
+
app.use((err: Error, req: Request, res: Response, next: NextFunction) => {
|
|
229
|
+
reportError(err, {
|
|
230
|
+
method: req.method,
|
|
231
|
+
url: req.url,
|
|
232
|
+
userId: req.user?.id,
|
|
233
|
+
});
|
|
234
|
+
|
|
235
|
+
// Don't expose internals to users
|
|
236
|
+
res.status(500).json({
|
|
237
|
+
error: { code: 'INTERNAL_ERROR', message: 'Something went wrong' },
|
|
238
|
+
});
|
|
239
|
+
});
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
### Post-Launch Verification
|
|
243
|
+
|
|
244
|
+
In the first hour after launch:
|
|
245
|
+
|
|
246
|
+
```
|
|
247
|
+
1. Check health endpoint returns 200
|
|
248
|
+
2. Check error monitoring dashboard (no new error types)
|
|
249
|
+
3. Check latency dashboard (no regression)
|
|
250
|
+
4. Test the critical user flow manually
|
|
251
|
+
5. Verify logs are flowing and readable
|
|
252
|
+
6. Confirm rollback mechanism works (dry run if possible)
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
## Rollback Strategy
|
|
256
|
+
|
|
257
|
+
Every deployment needs a rollback plan before it happens:
|
|
258
|
+
|
|
259
|
+
### 🔴 CHECKPOINT / 🛑 STOP: Rollback Gate
|
|
260
|
+
|
|
261
|
+
Do not start or claim a rollback is ready until the rollback path is known and evidence-backed. If the rollback command, feature-flag kill switch, database rollback path, or verification owner is unknown, stop and ask for the missing release-specific detail.
|
|
262
|
+
|
|
263
|
+
```markdown
|
|
264
|
+
## Rollback Plan for [Feature/Release]
|
|
265
|
+
|
|
266
|
+
### Trigger Conditions
|
|
267
|
+
- Error rate > 2x baseline
|
|
268
|
+
- P95 latency > [X]ms
|
|
269
|
+
- User reports of [specific issue]
|
|
270
|
+
|
|
271
|
+
### Rollback Steps
|
|
272
|
+
1. Disable feature flag (if applicable)
|
|
273
|
+
OR
|
|
274
|
+
1. Deploy previous version: `git revert <commit> && git push`
|
|
275
|
+
2. Verify rollback: health check, error monitoring
|
|
276
|
+
3. Communicate: notify team of rollback
|
|
277
|
+
|
|
278
|
+
### Database Considerations
|
|
279
|
+
- Migration [X] has a rollback: `npx prisma migrate rollback`
|
|
280
|
+
- Data inserted by new feature: [preserved / cleaned up]
|
|
281
|
+
|
|
282
|
+
### Time to Rollback
|
|
283
|
+
- Feature flag: < 1 minute
|
|
284
|
+
- Redeploy previous version: < 5 minutes
|
|
285
|
+
- Database rollback: < 15 minutes
|
|
286
|
+
```
|
|
287
|
+
## Missing Evidence Fallbacks
|
|
288
|
+
|
|
289
|
+
| Trigger | First action | If still unresolved |
|
|
290
|
+
|---|---|---|
|
|
291
|
+
| Monitoring dashboard unavailable | Use health check, logs, and error tracker as temporary evidence | Hold rollout; do not increase exposure |
|
|
292
|
+
| Rollback path untested | Run a dry run in staging or confirm the exact production-safe command | Do not deploy until rollback readiness is confirmed |
|
|
293
|
+
| Security, performance, or accessibility evidence missing | Use the relevant checklist sections in this file as the source of truth | Block launch or mark the launch risk explicitly for release-owner approval |
|
|
294
|
+
|
|
295
|
+
## Common Rationalizations
|
|
296
|
+
|
|
297
|
+
| Rationalization | Reality |
|
|
298
|
+
|---|---|
|
|
299
|
+
| "It works in staging, it'll work in production" | Production has different data, traffic patterns, and edge cases. Monitor after deploy. |
|
|
300
|
+
| "We don't need feature flags for this" | Every feature benefits from a kill switch. Even "simple" changes can break things. |
|
|
301
|
+
| "Monitoring is overhead" | Not having monitoring means you discover problems from user complaints instead of dashboards. |
|
|
302
|
+
| "We'll add monitoring later" | Add it before launch. You can't debug what you can't see. |
|
|
303
|
+
| "Rolling back is admitting failure" | Rolling back is responsible engineering. Shipping a broken feature is the failure. |
|
|
304
|
+
|
|
305
|
+
## Red Flags
|
|
306
|
+
|
|
307
|
+
- Deploying without a rollback plan
|
|
308
|
+
- No monitoring or error reporting in production
|
|
309
|
+
- Big-bang releases (everything at once, no staging)
|
|
310
|
+
- Feature flags with no expiration or owner
|
|
311
|
+
- No one monitoring the deploy for the first hour
|
|
312
|
+
- Production environment configuration done by memory, not code
|
|
313
|
+
- "It's Friday afternoon, let's ship it"
|
|
314
|
+
|
|
315
|
+
## Verification
|
|
316
|
+
|
|
317
|
+
The canonical lifecycle/ordinary-task owner selects the smallest fresh deploy, monitoring, health-check, or rollback evidence supporting the exact claim; this skill creates no additional completion gate.
|
|
318
|
+
|
|
319
|
+
Before deploying:
|
|
320
|
+
|
|
321
|
+
- [ ] Pre-launch checklist completed (all sections green)
|
|
322
|
+
- [ ] Feature flag configured (if applicable)
|
|
323
|
+
- [ ] Rollback plan documented
|
|
324
|
+
- [ ] Monitoring dashboards set up
|
|
325
|
+
- [ ] Team notified of deployment
|
|
326
|
+
|
|
327
|
+
After deploying:
|
|
328
|
+
|
|
329
|
+
- [ ] Health check returns 200
|
|
330
|
+
- [ ] Error rate is normal
|
|
331
|
+
- [ ] Latency is normal
|
|
332
|
+
- [ ] Critical user flow works
|
|
333
|
+
- [ ] Logs are flowing
|
|
334
|
+
- [ ] Rollback tested or verified ready
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: silent-failure-hunting
|
|
3
|
+
description: Silent failure hunting routing. Use when a change might pass while skipping work, swallowing errors, losing evidence, weakening gates, or reporting false success; do not use for broad code review.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Silent Failure Hunting
|
|
7
|
+
|
|
8
|
+
Use this skill for one bounded read-only false-success question. ROSE may assign it to one fresh `silent-failure-reviewer` context after the delegation gate; this skill does not dispatch or invoke another process skill.
|
|
9
|
+
|
|
10
|
+
## Trigger
|
|
11
|
+
|
|
12
|
+
- Installer, packaging, verification, review, memory, artifact, CLI, or workflow gate changed.
|
|
13
|
+
- Logs/reports may hide skipped checks, stale evidence, partial writes, or ignored exit codes.
|
|
14
|
+
- Acceptance depends on distinguishing PASS, partial, skipped, blocked, and `Unverified`.
|
|
15
|
+
|
|
16
|
+
## Near Misses
|
|
17
|
+
|
|
18
|
+
- Security exploitability, coverage adequacy, or executing a failing command are different primary intents; return the exact mismatch to ROSE.
|
|
19
|
+
|
|
20
|
+
## Required Routing
|
|
21
|
+
|
|
22
|
+
- Canonical owner: ROSE/`aili-delivery-flow`; direct read-only inspection is the default.
|
|
23
|
+
- Optional agent: one fresh, terminal `silent-failure-reviewer` assignment after a new benefit decision.
|
|
24
|
+
- Read-only; return fix/negative-test needs to ROSE and stop without retrying or owning the final verdict.
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: source-driven-development
|
|
3
|
+
description: Resolve one exact official/current documentation gap when the user requests source verification or a version-sensitive API/SDK/provider/framework question can materially change the current decision; do not trigger for every implementation decision, ordinary framework code, local business logic, or broad research.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Source-Driven Development
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
Use a narrow official source to resolve the named version-sensitive question. This is evidence for the current primary loop, not a second implementation or acceptance workflow.
|
|
11
|
+
|
|
12
|
+
## When to Use
|
|
13
|
+
|
|
14
|
+
- The user explicitly asks to verify or cite current official/API behavior.
|
|
15
|
+
- One unresolved version-sensitive API, SDK, provider, framework, packaging, runtime, platform, or changelog question can materially change the current design or implementation.
|
|
16
|
+
- Existing official docs and installed types/source conflict on the exact behavior being used.
|
|
17
|
+
|
|
18
|
+
**When NOT to use:**
|
|
19
|
+
|
|
20
|
+
- Correctness does not depend on a specific version (renaming variables, fixing typos, moving files)
|
|
21
|
+
- Pure logic that works the same across all versions (loops, conditionals, data structures)
|
|
22
|
+
- The user explicitly wants speed over verification ("just do it quickly") and the task does not involve version-sensitive framework/API/library behavior
|
|
23
|
+
- The task merely uses a library/framework and local evidence already establishes the needed API.
|
|
24
|
+
- The user asks for mature-project prior art, local repository facts, implementation, or review rather than one official-source answer.
|
|
25
|
+
|
|
26
|
+
## Planning Evidence Gate Ownership
|
|
27
|
+
|
|
28
|
+
ROSE/`aili-delivery-flow` owns lifecycle timing, local evidence, material questions, approvals, implementation, and verification. This skill performs one bounded lookup, cites the exact source, and returns `complete`, `need-user`, `need-evidence`, `material-delta`, `blocked`, or `Unverified`. It must not invoke local/prior-art/requirements/test-plan/review skills or turn a source summary into scheme acceptance. Use external web or Context7 only when current policy allows the exact lookup; never send secrets or sensitive context. Lifecycle approval and verification rules win conflicts.
|
|
29
|
+
|
|
30
|
+
## The Process
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
DETECT ──→ FETCH ──→ RETURN ──→ CITE
|
|
34
|
+
│ │ │ │
|
|
35
|
+
â–¼ â–¼ â–¼ â–¼
|
|
36
|
+
What Get the Return the Show the
|
|
37
|
+
gap? relevant bounded exact source
|
|
38
|
+
docs answer
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Step 1: Detect Stack and Versions
|
|
42
|
+
|
|
43
|
+
Read the project's dependency file to identify exact versions:
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
package.json → Node/React/Vue/Angular/Svelte
|
|
47
|
+
composer.json → PHP/Symfony/Laravel
|
|
48
|
+
requirements.txt / pyproject.toml → Python/Django/Flask
|
|
49
|
+
go.mod → Go
|
|
50
|
+
Cargo.toml → Rust
|
|
51
|
+
Gemfile → Ruby/Rails
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
State what you found explicitly:
|
|
55
|
+
|
|
56
|
+
```
|
|
57
|
+
STACK DETECTED:
|
|
58
|
+
- React 19.1.0 (from package.json)
|
|
59
|
+
- Vite 6.2.0
|
|
60
|
+
- Tailwind CSS 4.0.3
|
|
61
|
+
→ Fetching official docs for the relevant patterns.
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
If the version is missing or materially ambiguous, return that exact decision/evidence gap to ROSE. Do not guess or ask a second workflow-owned question here.
|
|
65
|
+
|
|
66
|
+
### Step 2: Fetch Official Documentation
|
|
67
|
+
|
|
68
|
+
Fetch the specific documentation page for the feature you're implementing. Not the homepage, not the full docs — the relevant page.
|
|
69
|
+
|
|
70
|
+
For library/API documentation, setup commands, framework examples, provider behavior such as DeepSeek APIs, SDK references, packaging/runtime/platform constraints, changelog-sensitive behavior, or version-sensitive code, prefer Context7 when it is installed in the current OpenCode environment. Do not require the user to manually say "use context7" each time. Do not assume Context7 is installed; if it is unavailable, fall back to official docs, package documentation, and source references. Do not add or rely on a repository-local Context7 skill.
|
|
71
|
+
|
|
72
|
+
Speed requests may reduce citation verbosity, but they do not remove the required source/evidence check for version-sensitive framework, API, or library behavior. If correctness depends on the detected version, verify the source first and then summarize citations briefly.
|
|
73
|
+
|
|
74
|
+
**Source-fetch fallback ladder:**
|
|
75
|
+
|
|
76
|
+
| Trigger | Next source | If still unavailable |
|
|
77
|
+
|---|---|---|
|
|
78
|
+
| Context7 is unavailable or has no matching library/version | Fetch the official documentation URL directly | Use the package's official README/changelog/release notes from the upstream repository |
|
|
79
|
+
| Official docs page is unavailable, moved, or lacks the needed pattern | Check official blog, migration guide, API reference, or versioned docs | Mark the pattern `UNVERIFIED` and return the dependent implementation decision to ROSE |
|
|
80
|
+
| Package docs and source disagree | Prefer versioned docs, then inspect installed package types/source for the detected version | Surface the discrepancy as a conflict; do not silently choose |
|
|
81
|
+
| Network/tooling prevents source access | Use only already-present local docs/types/package files | Report `BLOCKED_VERIFICATION` or `NEEDS_REVIEW` for framework-specific code that cannot be sourced |
|
|
82
|
+
|
|
83
|
+
🔴 CHECKPOINT / 🛑 STOP: If no authoritative source can confirm a version-sensitive API, return `need-user` or `need-evidence` to ROSE before dependent coding. Only ROSE records explicit acceptance of an `UNVERIFIED` implementation.
|
|
84
|
+
|
|
85
|
+
**Source hierarchy (in order of authority):**
|
|
86
|
+
|
|
87
|
+
| Priority | Source | Example |
|
|
88
|
+
|----------|--------|---------|
|
|
89
|
+
| 1 | Official documentation | react.dev, docs.djangoproject.com, symfony.com/doc |
|
|
90
|
+
| 2 | Official blog / changelog | react.dev/blog, nextjs.org/blog |
|
|
91
|
+
| 3 | Web standards references | MDN, web.dev, html.spec.whatwg.org |
|
|
92
|
+
| 4 | Browser/runtime compatibility | caniuse.com, node.green |
|
|
93
|
+
|
|
94
|
+
**Not authoritative — never cite as primary sources:**
|
|
95
|
+
|
|
96
|
+
- Stack Overflow answers
|
|
97
|
+
- Blog posts or tutorials (even popular ones)
|
|
98
|
+
- AI-generated documentation or summaries
|
|
99
|
+
- Your own training data (that is the whole point — verify it)
|
|
100
|
+
|
|
101
|
+
**Be precise with what you fetch:**
|
|
102
|
+
|
|
103
|
+
```
|
|
104
|
+
BAD: Fetch the React homepage
|
|
105
|
+
GOOD: Fetch react.dev/reference/react/useActionState
|
|
106
|
+
|
|
107
|
+
BAD: Search "django authentication best practices"
|
|
108
|
+
GOOD: Fetch docs.djangoproject.com/en/6.0/topics/auth/
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
After fetching, extract the key patterns and note any deprecation warnings or migration guidance.
|
|
112
|
+
|
|
113
|
+
When official sources conflict with each other (e.g. a migration guide contradicts the API reference), surface the discrepancy to the user and verify which pattern actually works against the detected version.
|
|
114
|
+
|
|
115
|
+
### Step 3: Return the Documented Pattern
|
|
116
|
+
|
|
117
|
+
Return the exact supported pattern and constraints to the primary owner. If implementation is already in scope, ROSE may apply it directly; this skill does not start another implementation loop.
|
|
118
|
+
|
|
119
|
+
- Use the API signatures from the docs, not from memory
|
|
120
|
+
- If the docs show a new way to do something, use the new way
|
|
121
|
+
- If the docs deprecate a pattern, don't use the deprecated version
|
|
122
|
+
- If the docs don't cover something, flag it as unverified
|
|
123
|
+
|
|
124
|
+
**When docs conflict with existing project code:**
|
|
125
|
+
|
|
126
|
+
```
|
|
127
|
+
CONFLICT DETECTED:
|
|
128
|
+
The existing codebase uses useState for form loading state,
|
|
129
|
+
but React 19 docs recommend useActionState for this pattern.
|
|
130
|
+
(Source: react.dev/reference/react/useActionState)
|
|
131
|
+
|
|
132
|
+
Options:
|
|
133
|
+
A) Use the modern pattern (useActionState) — consistent with current docs
|
|
134
|
+
B) Match existing code (useState) — consistent with codebase
|
|
135
|
+
→ Which approach do you prefer?
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
Surface the conflict. Don't silently pick one.
|
|
139
|
+
|
|
140
|
+
🔴 CHECKPOINT / 🛑 STOP: If documented best practice conflicts with existing project conventions, compatibility constraints, or tests, pause with options before editing. The user must choose whether to follow current docs, preserve local patterns, or defer the change.
|
|
141
|
+
|
|
142
|
+
### Step 4: Cite Your Sources
|
|
143
|
+
|
|
144
|
+
Every framework-specific pattern gets a citation. The user must be able to verify every decision.
|
|
145
|
+
|
|
146
|
+
**In code comments:**
|
|
147
|
+
|
|
148
|
+
```typescript
|
|
149
|
+
// React 19 form handling with useActionState
|
|
150
|
+
// Source: https://react.dev/reference/react/useActionState#usage
|
|
151
|
+
const [state, formAction, isPending] = useActionState(submitOrder, initialState);
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
**In conversation:**
|
|
155
|
+
|
|
156
|
+
```
|
|
157
|
+
I'm using useActionState instead of manual useState for the
|
|
158
|
+
form submission state. React 19 replaced the manual
|
|
159
|
+
isPending/setIsPending pattern with this hook.
|
|
160
|
+
|
|
161
|
+
Source: https://react.dev/blog/2024/12/05/react-19#actions
|
|
162
|
+
"useTransition now supports async functions [...] to handle
|
|
163
|
+
pending states automatically"
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
**Citation rules:**
|
|
167
|
+
|
|
168
|
+
- Full URLs, not shortened
|
|
169
|
+
- Prefer deep links with anchors where possible (e.g. `/useActionState#usage` over `/useActionState`) — anchors survive doc restructuring better than top-level pages
|
|
170
|
+
- Quote the relevant passage when it supports a non-obvious decision
|
|
171
|
+
- Include browser/runtime support data when recommending platform features
|
|
172
|
+
- If you cannot find documentation for a pattern, say so explicitly:
|
|
173
|
+
|
|
174
|
+
```
|
|
175
|
+
UNVERIFIED: I could not find official documentation for this
|
|
176
|
+
pattern. This is based on training data and may be outdated.
|
|
177
|
+
Verify before using in production.
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
Honesty about what you couldn't verify is more valuable than false confidence.
|
|
181
|
+
|
|
182
|
+
## Common Rationalizations
|
|
183
|
+
|
|
184
|
+
| Rationalization | Reality |
|
|
185
|
+
|---|---|
|
|
186
|
+
| "I'm confident about this API" | Confidence is not evidence. Training data contains outdated patterns that look correct but break against current versions. Verify. |
|
|
187
|
+
| "Fetching docs wastes tokens" | Hallucinating an API wastes more. The user debugs for an hour, then discovers the function signature changed. One fetch prevents hours of rework. |
|
|
188
|
+
| "The docs won't have what I need" | If the docs don't cover it, that's valuable information — the pattern may not be officially recommended. |
|
|
189
|
+
| "I'll just mention it might be outdated" | A disclaimer doesn't help. Either verify and cite, or clearly flag it as unverified. Hedging is the worst option. |
|
|
190
|
+
| "This is a simple task, no need to check" | Simple tasks with wrong patterns become templates. The user copies your deprecated form handler into ten components before discovering the modern approach exists. |
|
|
191
|
+
|
|
192
|
+
## Red Flags
|
|
193
|
+
|
|
194
|
+
- Answering the selected version-sensitive gap without checking the applicable official source
|
|
195
|
+
- Using "I believe" or "I think" about the selected API instead of citing the source
|
|
196
|
+
- Returning a pattern without knowing which applicable version it describes
|
|
197
|
+
- Citing Stack Overflow or blog posts instead of official documentation
|
|
198
|
+
- Using deprecated APIs because they appear in training data
|
|
199
|
+
- Ignoring the current dependency/version evidence when it controls the selected question
|
|
200
|
+
- Returning a non-trivial framework/API conclusion without its source citation
|
|
201
|
+
- Fetching an entire docs site when only one page is relevant
|
|
202
|
+
|
|
203
|
+
## Do Not Do
|
|
204
|
+
|
|
205
|
+
- Do not use Stack Overflow, tutorials, AI summaries, or memory as the primary authority for framework-specific code.
|
|
206
|
+
- Do not hide missing docs behind hedging language like "probably" or "should work"; label it `UNVERIFIED`.
|
|
207
|
+
- Do not keep coding through a docs/code conflict without a visible checkpoint and user decision.
|
|
208
|
+
- Do not add a repository-local docs tool or Context7 skill as a workaround for unavailable documentation tooling.
|
|
209
|
+
- Do not cite a source you did not actually read for the detected version or feature.
|
|
210
|
+
|
|
211
|
+
## Verification
|
|
212
|
+
|
|
213
|
+
Before returning the bounded source result:
|
|
214
|
+
|
|
215
|
+
- [ ] The applicable version was identified when the question is version-sensitive
|
|
216
|
+
- [ ] The smallest relevant official/API source was read for the selected gap
|
|
217
|
+
- [ ] Primary authority is official documentation rather than a blog post, tutorial, or training-memory claim
|
|
218
|
+
- [ ] The exact decision/source gap is answered or marked `UNVERIFIED`
|
|
219
|
+
- [ ] Any implementation need is returned to ROSE without an extra scheme approval
|
|
220
|
+
- [ ] Non-trivial decisions include source citations with full URLs
|
|
221
|
+
- [ ] Deprecation/migration guidance was checked when the selected gap involves an API transition
|
|
222
|
+
- [ ] Conflicts between docs and existing code were surfaced to the user
|
|
223
|
+
- [ ] Anything that could not be verified is explicitly flagged as unverified
|