claude-code-templates 1.21.13 → 1.21.14
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/.claude/settings.local.json +8 -2
- package/.claude-plugin/marketplace.json +251 -0
- package/.github/workflows/component-security-validation.yml +129 -0
- package/README.md +13 -6
- package/cli-tool/README.md +56 -0
- package/cli-tool/bin/create-claude-config.js +2 -0
- package/cli-tool/components/.claude-plugin/marketplace.json +92 -0
- package/cli-tool/components/agents/development-tools/flutter-go-reviewer.md +163 -0
- package/cli-tool/components/agents/development-tools/unused-code-cleaner.md +194 -0
- package/cli-tool/components/commands/git-workflow/gemini-review.md +293 -0
- package/cli-tool/components/commands/testing/add-mutation-testing.md +2 -2
- package/cli-tool/components/commands/testing/add-property-based-testing.md +2 -2
- package/cli-tool/components/commands/testing/e2e-setup.md +2 -2
- package/cli-tool/components/commands/testing/generate-test-cases.md +2 -2
- package/cli-tool/components/commands/testing/generate-tests.md +8 -3
- package/cli-tool/components/commands/testing/setup-comprehensive-testing.md +2 -2
- package/cli-tool/components/commands/testing/setup-load-testing.md +2 -2
- package/cli-tool/components/commands/testing/setup-visual-testing.md +2 -2
- package/cli-tool/components/commands/testing/test-automation-orchestrator.md +2 -2
- package/cli-tool/components/commands/testing/test-changelog-automation.md +2 -2
- package/cli-tool/components/commands/testing/test-coverage.md +2 -2
- package/cli-tool/components/commands/testing/test-quality-analyzer.md +2 -2
- package/cli-tool/components/commands/testing/testing_plan_integration.md +2 -2
- package/cli-tool/components/commands/testing/write-tests.md +2 -2
- package/cli-tool/components/commands/utilities/ultra-think.md +10 -5
- package/cli-tool/components/hooks/git/validate-branch-name.json +1 -1
- package/cli-tool/components/mcps/devtools/chrome-devtools.json +9 -0
- package/cli-tool/components/mcps/devtools/grafana.json +15 -0
- package/cli-tool/components/mcps/devtools/pulumi.json +9 -0
- package/cli-tool/components/mcps/devtools/terraform.json +1 -1
- package/cli-tool/components/settings/statusline/context-monitor.py +1 -1
- package/cli-tool/components/skills/ANTHROPIC_ATTRIBUTION.md +81 -0
- package/cli-tool/components/skills/creative-design/algorithmic-art/LICENSE.txt +202 -0
- package/cli-tool/components/skills/creative-design/algorithmic-art/SKILL.md +405 -0
- package/cli-tool/components/skills/creative-design/algorithmic-art/templates/generator_template.js +223 -0
- package/cli-tool/components/skills/creative-design/algorithmic-art/templates/viewer.html +599 -0
- package/cli-tool/components/skills/creative-design/canvas-design/LICENSE.txt +202 -0
- package/cli-tool/components/skills/creative-design/canvas-design/SKILL.md +130 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/ArsenalSC-OFL.txt +93 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/ArsenalSC-Regular.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/BigShoulders-Bold.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/BigShoulders-OFL.txt +93 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/BigShoulders-Regular.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/Boldonse-OFL.txt +93 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/Boldonse-Regular.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/BricolageGrotesque-OFL.txt +93 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/CrimsonPro-Bold.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/CrimsonPro-Italic.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/CrimsonPro-OFL.txt +93 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/CrimsonPro-Regular.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/DMMono-OFL.txt +93 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/DMMono-Regular.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/EricaOne-OFL.txt +94 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/EricaOne-Regular.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/GeistMono-Bold.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/GeistMono-OFL.txt +93 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/GeistMono-Regular.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/Gloock-OFL.txt +93 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/Gloock-Regular.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/IBMPlexMono-Bold.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/IBMPlexMono-OFL.txt +93 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/IBMPlexMono-Regular.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/IBMPlexSerif-Bold.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/IBMPlexSerif-BoldItalic.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/IBMPlexSerif-Italic.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/IBMPlexSerif-Regular.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/InstrumentSans-OFL.txt +93 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/Italiana-OFL.txt +93 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/Italiana-Regular.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/JetBrainsMono-OFL.txt +93 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/Jura-Light.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/Jura-Medium.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/Jura-OFL.txt +93 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/LibreBaskerville-OFL.txt +93 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/LibreBaskerville-Regular.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/Lora-Bold.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/Lora-BoldItalic.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/Lora-Italic.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/Lora-OFL.txt +93 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/Lora-Regular.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/NationalPark-Bold.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/NationalPark-OFL.txt +93 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/NationalPark-Regular.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/NothingYouCouldDo-OFL.txt +93 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/Outfit-Bold.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/Outfit-OFL.txt +93 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/Outfit-Regular.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/PixelifySans-Medium.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/PixelifySans-OFL.txt +93 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/PoiretOne-OFL.txt +93 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/PoiretOne-Regular.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/RedHatMono-Bold.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/RedHatMono-OFL.txt +93 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/RedHatMono-Regular.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/Silkscreen-OFL.txt +93 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/Silkscreen-Regular.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/SmoochSans-Medium.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/SmoochSans-OFL.txt +93 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/Tektur-Medium.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/Tektur-OFL.txt +93 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/Tektur-Regular.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/WorkSans-Bold.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/WorkSans-BoldItalic.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/WorkSans-Italic.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/WorkSans-OFL.txt +93 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/WorkSans-Regular.ttf +0 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/YoungSerif-OFL.txt +93 -0
- package/cli-tool/components/skills/creative-design/canvas-design/canvas-fonts/YoungSerif-Regular.ttf +0 -0
- package/cli-tool/components/skills/creative-design/slack-gif-creator/LICENSE.txt +202 -0
- package/cli-tool/components/skills/creative-design/slack-gif-creator/SKILL.md +646 -0
- package/cli-tool/components/skills/creative-design/slack-gif-creator/core/color_palettes.py +302 -0
- package/cli-tool/components/skills/creative-design/slack-gif-creator/core/easing.py +230 -0
- package/cli-tool/components/skills/creative-design/slack-gif-creator/core/frame_composer.py +469 -0
- package/cli-tool/components/skills/creative-design/slack-gif-creator/core/gif_builder.py +246 -0
- package/cli-tool/components/skills/creative-design/slack-gif-creator/core/typography.py +357 -0
- package/cli-tool/components/skills/creative-design/slack-gif-creator/core/validators.py +264 -0
- package/cli-tool/components/skills/creative-design/slack-gif-creator/core/visual_effects.py +494 -0
- package/cli-tool/components/skills/creative-design/slack-gif-creator/requirements.txt +4 -0
- package/cli-tool/components/skills/creative-design/slack-gif-creator/templates/bounce.py +106 -0
- package/cli-tool/components/skills/creative-design/slack-gif-creator/templates/explode.py +331 -0
- package/cli-tool/components/skills/creative-design/slack-gif-creator/templates/fade.py +329 -0
- package/cli-tool/components/skills/creative-design/slack-gif-creator/templates/flip.py +291 -0
- package/cli-tool/components/skills/creative-design/slack-gif-creator/templates/kaleidoscope.py +211 -0
- package/cli-tool/components/skills/creative-design/slack-gif-creator/templates/morph.py +329 -0
- package/cli-tool/components/skills/creative-design/slack-gif-creator/templates/move.py +293 -0
- package/cli-tool/components/skills/creative-design/slack-gif-creator/templates/pulse.py +268 -0
- package/cli-tool/components/skills/creative-design/slack-gif-creator/templates/shake.py +127 -0
- package/cli-tool/components/skills/creative-design/slack-gif-creator/templates/slide.py +291 -0
- package/cli-tool/components/skills/creative-design/slack-gif-creator/templates/spin.py +269 -0
- package/cli-tool/components/skills/creative-design/slack-gif-creator/templates/wiggle.py +300 -0
- package/cli-tool/components/skills/creative-design/slack-gif-creator/templates/zoom.py +312 -0
- package/cli-tool/components/skills/creative-design/theme-factory/LICENSE.txt +202 -0
- package/cli-tool/components/skills/creative-design/theme-factory/SKILL.md +59 -0
- package/cli-tool/components/skills/creative-design/theme-factory/theme-showcase.pdf +0 -0
- package/cli-tool/components/skills/creative-design/theme-factory/themes/arctic-frost.md +19 -0
- package/cli-tool/components/skills/creative-design/theme-factory/themes/botanical-garden.md +19 -0
- package/cli-tool/components/skills/creative-design/theme-factory/themes/desert-rose.md +19 -0
- package/cli-tool/components/skills/creative-design/theme-factory/themes/forest-canopy.md +19 -0
- package/cli-tool/components/skills/creative-design/theme-factory/themes/golden-hour.md +19 -0
- package/cli-tool/components/skills/creative-design/theme-factory/themes/midnight-galaxy.md +19 -0
- package/cli-tool/components/skills/creative-design/theme-factory/themes/modern-minimalist.md +19 -0
- package/cli-tool/components/skills/creative-design/theme-factory/themes/ocean-depths.md +19 -0
- package/cli-tool/components/skills/creative-design/theme-factory/themes/sunset-boulevard.md +19 -0
- package/cli-tool/components/skills/creative-design/theme-factory/themes/tech-innovation.md +19 -0
- package/cli-tool/components/skills/development/artifacts-builder/LICENSE.txt +202 -0
- package/cli-tool/components/skills/development/artifacts-builder/SKILL.md +74 -0
- package/cli-tool/components/skills/development/artifacts-builder/scripts/bundle-artifact.sh +54 -0
- package/cli-tool/components/skills/development/artifacts-builder/scripts/init-artifact.sh +322 -0
- package/cli-tool/components/skills/development/artifacts-builder/scripts/shadcn-components.tar.gz +0 -0
- package/cli-tool/components/skills/development/git-commit-helper/SKILL.md +203 -0
- package/cli-tool/components/skills/development/mcp-builder/LICENSE.txt +202 -0
- package/cli-tool/components/skills/development/mcp-builder/SKILL.md +328 -0
- package/cli-tool/components/skills/development/mcp-builder/reference/evaluation.md +602 -0
- package/cli-tool/components/skills/development/mcp-builder/reference/mcp_best_practices.md +915 -0
- package/cli-tool/components/skills/development/mcp-builder/reference/node_mcp_server.md +916 -0
- package/cli-tool/components/skills/development/mcp-builder/reference/python_mcp_server.md +752 -0
- package/cli-tool/components/skills/development/mcp-builder/scripts/connections.py +151 -0
- package/cli-tool/components/skills/development/mcp-builder/scripts/evaluation.py +373 -0
- package/cli-tool/components/skills/development/mcp-builder/scripts/example_evaluation.xml +22 -0
- package/cli-tool/components/skills/development/mcp-builder/scripts/requirements.txt +2 -0
- package/cli-tool/components/skills/development/skill-creator/LICENSE.txt +202 -0
- package/cli-tool/components/skills/development/skill-creator/SKILL.md +209 -0
- package/cli-tool/components/skills/development/skill-creator/scripts/init_skill.py +303 -0
- package/cli-tool/components/skills/development/skill-creator/scripts/package_skill.py +110 -0
- package/cli-tool/components/skills/development/skill-creator/scripts/quick_validate.py +65 -0
- package/cli-tool/components/skills/development/webapp-testing/LICENSE.txt +202 -0
- package/cli-tool/components/skills/development/webapp-testing/SKILL.md +96 -0
- package/cli-tool/components/skills/development/webapp-testing/examples/console_logging.py +35 -0
- package/cli-tool/components/skills/development/webapp-testing/examples/element_discovery.py +40 -0
- package/cli-tool/components/skills/development/webapp-testing/examples/static_html_automation.py +33 -0
- package/cli-tool/components/skills/development/webapp-testing/scripts/with_server.py +106 -0
- package/cli-tool/components/skills/document-processing/docx/LICENSE.txt +30 -0
- package/cli-tool/components/skills/document-processing/docx/SKILL.md +197 -0
- package/cli-tool/components/skills/document-processing/docx/docx-js.md +350 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/mce/mc.xsd +75 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/microsoft/wml-2010.xsd +560 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/microsoft/wml-2012.xsd +67 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/microsoft/wml-2018.xsd +14 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/microsoft/wml-cex-2018.xsd +20 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/microsoft/wml-cid-2016.xsd +13 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/schemas/microsoft/wml-symex-2015.xsd +8 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/scripts/pack.py +159 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/scripts/unpack.py +29 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/scripts/validate.py +69 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/scripts/validation/__init__.py +15 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/scripts/validation/base.py +951 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/scripts/validation/docx.py +274 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/scripts/validation/pptx.py +315 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml/scripts/validation/redlining.py +279 -0
- package/cli-tool/components/skills/document-processing/docx/ooxml.md +610 -0
- package/cli-tool/components/skills/document-processing/docx/scripts/__init__.py +1 -0
- package/cli-tool/components/skills/document-processing/docx/scripts/document.py +1276 -0
- package/cli-tool/components/skills/document-processing/docx/scripts/templates/comments.xml +3 -0
- package/cli-tool/components/skills/document-processing/docx/scripts/templates/commentsExtended.xml +3 -0
- package/cli-tool/components/skills/document-processing/docx/scripts/templates/commentsExtensible.xml +3 -0
- package/cli-tool/components/skills/document-processing/docx/scripts/templates/commentsIds.xml +3 -0
- package/cli-tool/components/skills/document-processing/docx/scripts/templates/people.xml +3 -0
- package/cli-tool/components/skills/document-processing/docx/scripts/utilities.py +374 -0
- package/cli-tool/components/skills/document-processing/pdf-anthropic/LICENSE.txt +30 -0
- package/cli-tool/components/skills/document-processing/pdf-anthropic/SKILL.md +294 -0
- package/cli-tool/components/skills/document-processing/pdf-anthropic/forms.md +205 -0
- package/cli-tool/components/skills/document-processing/pdf-anthropic/reference.md +612 -0
- package/cli-tool/components/skills/document-processing/pdf-anthropic/scripts/check_bounding_boxes.py +70 -0
- package/cli-tool/components/skills/document-processing/pdf-anthropic/scripts/check_bounding_boxes_test.py +226 -0
- package/cli-tool/components/skills/document-processing/pdf-anthropic/scripts/check_fillable_fields.py +12 -0
- package/cli-tool/components/skills/document-processing/pdf-anthropic/scripts/convert_pdf_to_images.py +35 -0
- package/cli-tool/components/skills/document-processing/pdf-anthropic/scripts/create_validation_image.py +41 -0
- package/cli-tool/components/skills/document-processing/pdf-anthropic/scripts/extract_form_field_info.py +152 -0
- package/cli-tool/components/skills/document-processing/pdf-anthropic/scripts/fill_fillable_fields.py +114 -0
- package/cli-tool/components/skills/document-processing/pdf-anthropic/scripts/fill_pdf_form_with_annotations.py +108 -0
- package/cli-tool/components/skills/document-processing/pdf-processing/FORMS.md +143 -0
- package/cli-tool/components/skills/document-processing/pdf-processing/SKILL.md +149 -0
- package/cli-tool/components/skills/document-processing/pdf-processing-pro/FORMS.md +610 -0
- package/cli-tool/components/skills/document-processing/pdf-processing-pro/OCR.md +137 -0
- package/cli-tool/components/skills/document-processing/pdf-processing-pro/SKILL.md +296 -0
- package/cli-tool/components/skills/document-processing/pdf-processing-pro/TABLES.md +626 -0
- package/cli-tool/components/skills/document-processing/pdf-processing-pro/scripts/analyze_form.py +307 -0
- package/cli-tool/components/skills/document-processing/pptx/LICENSE.txt +30 -0
- package/cli-tool/components/skills/document-processing/pptx/SKILL.md +484 -0
- package/cli-tool/components/skills/document-processing/pptx/html2pptx.md +625 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/mce/mc.xsd +75 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/microsoft/wml-2010.xsd +560 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/microsoft/wml-2012.xsd +67 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/microsoft/wml-2018.xsd +14 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/microsoft/wml-cex-2018.xsd +20 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/microsoft/wml-cid-2016.xsd +13 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/schemas/microsoft/wml-symex-2015.xsd +8 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/scripts/pack.py +159 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/scripts/unpack.py +29 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/scripts/validate.py +69 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/scripts/validation/__init__.py +15 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/scripts/validation/base.py +951 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/scripts/validation/docx.py +274 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/scripts/validation/pptx.py +315 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml/scripts/validation/redlining.py +279 -0
- package/cli-tool/components/skills/document-processing/pptx/ooxml.md +427 -0
- package/cli-tool/components/skills/document-processing/pptx/scripts/html2pptx.js +979 -0
- package/cli-tool/components/skills/document-processing/pptx/scripts/inventory.py +1020 -0
- package/cli-tool/components/skills/document-processing/pptx/scripts/rearrange.py +231 -0
- package/cli-tool/components/skills/document-processing/pptx/scripts/replace.py +385 -0
- package/cli-tool/components/skills/document-processing/pptx/scripts/thumbnail.py +450 -0
- package/cli-tool/components/skills/document-processing/xlsx/LICENSE.txt +30 -0
- package/cli-tool/components/skills/document-processing/xlsx/SKILL.md +289 -0
- package/cli-tool/components/skills/document-processing/xlsx/recalc.py +178 -0
- package/cli-tool/components/skills/enterprise-communication/brand-guidelines/LICENSE.txt +202 -0
- package/cli-tool/components/skills/enterprise-communication/brand-guidelines/SKILL.md +73 -0
- package/cli-tool/components/skills/enterprise-communication/email-composer/SKILL.md +317 -0
- package/cli-tool/components/skills/enterprise-communication/excel-analysis/SKILL.md +247 -0
- package/cli-tool/components/skills/enterprise-communication/internal-comms/LICENSE.txt +202 -0
- package/cli-tool/components/skills/enterprise-communication/internal-comms/SKILL.md +32 -0
- package/cli-tool/components/skills/enterprise-communication/internal-comms/examples/3p-updates.md +47 -0
- package/cli-tool/components/skills/enterprise-communication/internal-comms/examples/company-newsletter.md +65 -0
- package/cli-tool/components/skills/enterprise-communication/internal-comms/examples/faq-answers.md +30 -0
- package/cli-tool/components/skills/enterprise-communication/internal-comms/examples/general-comms.md +16 -0
- package/cli-tool/package-lock.json +39 -16
- package/cli-tool/package.json +7 -2
- package/cli-tool/security-report.json +62361 -0
- package/cli-tool/src/analytics-web/chats_mobile.html +17 -16
- package/cli-tool/src/console-bridge.js +3 -3
- package/cli-tool/src/index.js +157 -10
- package/cli-tool/src/plugin-dashboard-web/app.js +806 -0
- package/cli-tool/src/plugin-dashboard-web/index.html +292 -0
- package/cli-tool/src/plugin-dashboard-web/styles.css +1781 -0
- package/cli-tool/src/plugin-dashboard.js +689 -0
- package/cli-tool/src/security-audit.js +164 -0
- package/cli-tool/src/validation/ARCHITECTURE.md +309 -0
- package/cli-tool/src/validation/BaseValidator.js +152 -0
- package/cli-tool/src/validation/README.md +543 -0
- package/cli-tool/src/validation/ValidationOrchestrator.js +305 -0
- package/cli-tool/src/validation/validators/IntegrityValidator.js +338 -0
- package/cli-tool/src/validation/validators/ProvenanceValidator.js +399 -0
- package/cli-tool/src/validation/validators/ReferenceValidator.js +373 -0
- package/cli-tool/src/validation/validators/SemanticValidator.js +449 -0
- package/cli-tool/src/validation/validators/StructuralValidator.js +376 -0
- package/docs/CLAUDE.md +363 -0
- package/docs/api/README.md +297 -0
- package/docs/api/package.json +7 -0
- package/docs/api/track-download-supabase.js +150 -0
- package/docs/blog/README.md +199 -0
- package/docs/blog/blog-articles.json +133 -0
- package/docs/blog/css/blog-controls.css +254 -0
- package/docs/blog/e2b-claude-code-sandbox/index.html +8 -0
- package/docs/blog/index.html +81 -124
- package/docs/blog/js/blog-loader.js +602 -0
- package/docs/blog/nextjs-vercel-claude-code-integration/index.html +8 -0
- package/docs/blog/supabase-claude-code-integration/index.html +8 -0
- package/docs/component.html +226 -48
- package/docs/components.json +61610 -604
- package/docs/css/blog.css +292 -0
- package/docs/css/component-page.css +840 -3
- package/docs/css/plugin-page.css +648 -0
- package/docs/css/styles.css +504 -1
- package/docs/css/trending.css +110 -6
- package/docs/download-stats.html +8 -0
- package/docs/index.html +48 -22
- package/docs/jobs.html +8 -0
- package/docs/js/cart-manager.js +21 -8
- package/docs/js/component-page.js +1013 -12
- package/docs/js/data-loader.js +11 -8
- package/docs/js/index-events.js +305 -53
- package/docs/js/plugin-page.js +390 -0
- package/docs/js/script.js +50 -3
- package/docs/js/search-functionality.js +19 -16
- package/docs/js/trending.js +55 -20
- package/docs/plugin.html +262 -0
- package/docs/sandbox-interface.html +8 -0
- package/docs/static/favicon/about.txt +6 -0
- package/docs/static/favicon/android-chrome-192x192.png +0 -0
- package/docs/static/favicon/android-chrome-512x512.png +0 -0
- package/docs/static/favicon/apple-touch-icon.png +0 -0
- package/docs/static/favicon/favicon-16x16.png +0 -0
- package/docs/static/favicon/favicon-32x32.png +0 -0
- package/docs/static/favicon/favicon.ico +0 -0
- package/docs/static/favicon/site.webmanifest +1 -0
- package/docs/trending-data.json +616 -579
- package/docs/trending.html +24 -3
- package/docs/vercel.json +12 -0
- package/docs/workflows.html +8 -0
- package/generate_components_json.py +386 -11
- package/package.json +1 -1
- package/sync-api.sh +50 -0
- package/vercel.json +10 -75
- package/ROADMAP.md +0 -278
- package/test_serpapi.py +0 -36
- /package/cli-tool/components/commands/svelte/{svelte:a11y.md → svelte-a11y.md} +0 -0
- /package/cli-tool/components/commands/svelte/{svelte:component.md → svelte-component.md} +0 -0
- /package/cli-tool/components/commands/svelte/{svelte:debug.md → svelte-debug.md} +0 -0
- /package/cli-tool/components/commands/svelte/{svelte:migrate.md → svelte-migrate.md} +0 -0
- /package/cli-tool/components/commands/svelte/{svelte:optimize.md → svelte-optimize.md} +0 -0
- /package/cli-tool/components/commands/svelte/{svelte:scaffold.md → svelte-scaffold.md} +0 -0
- /package/cli-tool/components/commands/svelte/{svelte:storybook-migrate.md → svelte-storybook-migrate.md} +0 -0
- /package/cli-tool/components/commands/svelte/{svelte:storybook-mock.md → svelte-storybook-mock.md} +0 -0
- /package/cli-tool/components/commands/svelte/{svelte:storybook-setup.md → svelte-storybook-setup.md} +0 -0
- /package/cli-tool/components/commands/svelte/{svelte:storybook-story.md → svelte-storybook-story.md} +0 -0
- /package/cli-tool/components/commands/svelte/{svelte:storybook-troubleshoot.md → svelte-storybook-troubleshoot.md} +0 -0
- /package/cli-tool/components/commands/svelte/{svelte:storybook.md → svelte-storybook.md} +0 -0
- /package/cli-tool/components/commands/svelte/{svelte:test-coverage.md → svelte-test-coverage.md} +0 -0
- /package/cli-tool/components/commands/svelte/{svelte:test-fix.md → svelte-test-fix.md} +0 -0
- /package/cli-tool/components/commands/svelte/{svelte:test-setup.md → svelte-test-setup.md} +0 -0
- /package/cli-tool/components/commands/svelte/{svelte:test.md → svelte-test.md} +0 -0
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: flutter-go-reviewer
|
|
3
|
+
description: |
|
|
4
|
+
Use this agent when you need to review code changes in a pull request or after writing/modifying code. The agent performs comprehensive code review following established team standards, categorizing findings as Critical Issues, Suggestions, or Praise. It's particularly suited for reviewing backend (Golang/Protobuf/Postgres) and frontend (Flutter/Riverpod/GetX) code. Examples:
|
|
5
|
+
|
|
6
|
+
<example>
|
|
7
|
+
Context: After implementing a new API endpoint
|
|
8
|
+
user: "I've added a new user profile update endpoint"
|
|
9
|
+
assistant: "I'll review the code changes for the new endpoint"
|
|
10
|
+
<commentary>
|
|
11
|
+
Since new code was written, use the flutter-go-reviewer agent to ensure it meets quality standards.
|
|
12
|
+
</commentary>
|
|
13
|
+
assistant: "Let me use the flutter-go-reviewer agent to review this implementation"
|
|
14
|
+
</example>
|
|
15
|
+
|
|
16
|
+
<example>
|
|
17
|
+
Context: After modifying database schema
|
|
18
|
+
user: "I've updated the schema to add a new column to the users table"
|
|
19
|
+
assistant: "I'll review these database changes"
|
|
20
|
+
<commentary>
|
|
21
|
+
Database schema changes require careful review for backward compatibility and migration safety.
|
|
22
|
+
</commentary>
|
|
23
|
+
assistant: "I'll launch the flutter-go-reviewer agent to check these schema modifications"
|
|
24
|
+
</example>
|
|
25
|
+
|
|
26
|
+
<example>
|
|
27
|
+
Context: After refactoring existing code
|
|
28
|
+
user: "I've refactored the payment processing module to improve performance"
|
|
29
|
+
assistant: "Let me review the refactored code"
|
|
30
|
+
<commentary>
|
|
31
|
+
Refactoring requires review to ensure functionality is preserved while improvements are validated.
|
|
32
|
+
</commentary>
|
|
33
|
+
assistant: "I'll use the flutter-go-reviewer agent to review this refactoring"
|
|
34
|
+
</example>
|
|
35
|
+
tools: Glob, Grep, Read, WebFetch, TodoWrite, WebSearch, BashOutput, KillBash, ListMcpResourcesTool, ReadMcpResourceTool
|
|
36
|
+
model: opus
|
|
37
|
+
color: purple
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
You are an expert code reviewer specializing in backend (Golang, Protobuf, PostgreSQL) and frontend (Flutter, Riverpod, GetX) development. Your role is to provide thorough, constructive code reviews that ensure high quality, maintainability, and operational safety.
|
|
41
|
+
|
|
42
|
+
## Review Framework
|
|
43
|
+
|
|
44
|
+
For every code review, you will categorize findings into three types:
|
|
45
|
+
- **🔴 Critical Issue**: Must be fixed before merge (blocks deployment)
|
|
46
|
+
- **🟡 Suggestion**: Improvement opportunity (not blocking)
|
|
47
|
+
- **🟢 Praise**: Recognition for excellent code practices
|
|
48
|
+
|
|
49
|
+
Always provide specific examples and line references when identifying issues.
|
|
50
|
+
|
|
51
|
+
## Review Checklist
|
|
52
|
+
|
|
53
|
+
### 1. Code Quality
|
|
54
|
+
**Readability**
|
|
55
|
+
- Verify code is clean, self-explanatory, and follows consistent style
|
|
56
|
+
- Check variable/function/struct/class names are descriptive and meaningful
|
|
57
|
+
- Flag clever hacks that reduce clarity
|
|
58
|
+
|
|
59
|
+
**Small & Simple Functions**
|
|
60
|
+
- Ensure functions are under 30 lines and single-purpose
|
|
61
|
+
- Check for minimal nesting (max 3 levels) and clear control flow
|
|
62
|
+
- Identify opportunities to split complex functions
|
|
63
|
+
|
|
64
|
+
**Comments & Documentation**
|
|
65
|
+
- Verify comments explain 'why' not 'what'
|
|
66
|
+
- Ensure public APIs have proper docstrings
|
|
67
|
+
- Check complex algorithms have explanatory comments
|
|
68
|
+
|
|
69
|
+
**Modularization**
|
|
70
|
+
- Verify proper organization into structs/methods (avoid scattered helpers)
|
|
71
|
+
- Check for appropriate code reuse and DRY principles
|
|
72
|
+
- Ensure proper layering (UI → Service → DB)
|
|
73
|
+
|
|
74
|
+
### 2. Testing
|
|
75
|
+
- Verify new/changed logic has unit test coverage
|
|
76
|
+
- Check edge cases and error paths are tested
|
|
77
|
+
- Ensure bug fixes include regression tests
|
|
78
|
+
- Flag if PR reduces overall test coverage
|
|
79
|
+
- Verify integration tests for new external dependencies
|
|
80
|
+
|
|
81
|
+
### 3. Feature Protection
|
|
82
|
+
**Backward Compatibility**
|
|
83
|
+
- Check API changes maintain backward compatibility
|
|
84
|
+
- Verify database migrations support zero-downtime deployment
|
|
85
|
+
- Flag breaking changes that lack versioning strategy
|
|
86
|
+
|
|
87
|
+
**Feature Flags**
|
|
88
|
+
- Ensure new features are behind feature flags
|
|
89
|
+
- Verify flags have documented removal paths
|
|
90
|
+
- Check no behavior changes occur without toggles
|
|
91
|
+
|
|
92
|
+
### 4. Operational Safety
|
|
93
|
+
- Verify critical paths have appropriate logging (without sensitive data)
|
|
94
|
+
- Check all errors are handled explicitly (no silent failures)
|
|
95
|
+
- Ensure monitoring/metrics hooks are updated for new features
|
|
96
|
+
- Verify graceful degradation for external service failures
|
|
97
|
+
|
|
98
|
+
### 5. Security & Performance
|
|
99
|
+
- Flag any hardcoded secrets or credentials
|
|
100
|
+
- Check for SQL injection vulnerabilities
|
|
101
|
+
- Review query efficiency and potential N+1 problems
|
|
102
|
+
- Verify proper input validation and sanitization
|
|
103
|
+
- Check for memory leaks or inefficient loops
|
|
104
|
+
|
|
105
|
+
### 6. Platform-Specific Guidelines
|
|
106
|
+
|
|
107
|
+
**Backend (Golang + Protobuf + PostgreSQL)**
|
|
108
|
+
- Protobuf changes:
|
|
109
|
+
- Verify backward compatibility of .proto modifications
|
|
110
|
+
- Check field documentation and justification
|
|
111
|
+
- Flag breaking changes for human review
|
|
112
|
+
- Database:
|
|
113
|
+
- Ensure schema.sql changes have migrations
|
|
114
|
+
- Verify query.sql changes are safe and efficient
|
|
115
|
+
- Check additive-before-destructive pattern for schema changes
|
|
116
|
+
- Code structure:
|
|
117
|
+
- Verify business logic is in structs/methods, not helper functions
|
|
118
|
+
- Check package boundaries and module cohesion
|
|
119
|
+
|
|
120
|
+
**Frontend (Flutter + Riverpod + GetX)**
|
|
121
|
+
- State Management:
|
|
122
|
+
- Verify correct Riverpod usage and testable controllers
|
|
123
|
+
- Check proper GetX localization (no hardcoded strings)
|
|
124
|
+
- Flag complex state changes for human review
|
|
125
|
+
- Component Structure:
|
|
126
|
+
- Ensure proper widget modularization (no god widgets)
|
|
127
|
+
- Verify components are in separate files for reusability
|
|
128
|
+
- Check for proper composition patterns
|
|
129
|
+
|
|
130
|
+
## Review Process
|
|
131
|
+
|
|
132
|
+
1. Start with a high-level assessment of the change's purpose and scope
|
|
133
|
+
2. Review files in logical order (interfaces → implementation → tests)
|
|
134
|
+
3. For each finding:
|
|
135
|
+
- Quote the specific code
|
|
136
|
+
- Explain the issue clearly
|
|
137
|
+
- Provide a concrete fix or improvement
|
|
138
|
+
- Categorize appropriately (Critical/Suggestion/Praise)
|
|
139
|
+
4. End with a summary including:
|
|
140
|
+
- Count of each finding type
|
|
141
|
+
- Overall assessment
|
|
142
|
+
- Merge recommendation (Ready/Needs Changes/Needs Discussion)
|
|
143
|
+
|
|
144
|
+
## Communication Style
|
|
145
|
+
|
|
146
|
+
- Be specific and actionable in all feedback
|
|
147
|
+
- Explain the 'why' behind each issue (impact on users/system/team)
|
|
148
|
+
- Balance criticism with recognition of good practices
|
|
149
|
+
- Use respectful, constructive language
|
|
150
|
+
- Provide code examples for suggested improvements
|
|
151
|
+
- Ask clarifying questions when intent is unclear
|
|
152
|
+
|
|
153
|
+
## Special Attention Areas
|
|
154
|
+
|
|
155
|
+
- **Flag for human review**:
|
|
156
|
+
- Major architectural changes
|
|
157
|
+
- Security-sensitive code
|
|
158
|
+
- Business logic modifications
|
|
159
|
+
- Performance-critical paths
|
|
160
|
+
- Complex state management changes
|
|
161
|
+
- Database schema changes affecting core entities
|
|
162
|
+
|
|
163
|
+
Remember: Your goal is to improve code quality while maintaining team velocity. Be thorough but pragmatic, focusing on issues that truly matter for system reliability, maintainability, and user experience.
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: unused-code-cleaner
|
|
3
|
+
description: Detects and removes unused code (imports, functions, classes) across multiple languages. Use PROACTIVELY after refactoring, when removing features, or before production deployment.
|
|
4
|
+
tools: Read, Write, Edit, Bash, Grep, Glob
|
|
5
|
+
model: sonnet
|
|
6
|
+
color: orange
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
You are an expert in static code analysis and safe dead code removal across multiple programming languages.
|
|
10
|
+
|
|
11
|
+
When invoked:
|
|
12
|
+
|
|
13
|
+
1. Identify project languages and structure
|
|
14
|
+
2. Map entry points and critical paths
|
|
15
|
+
3. Build dependency graph and usage patterns
|
|
16
|
+
4. Detect unused elements with safety checks
|
|
17
|
+
5. Execute incremental removal with validation
|
|
18
|
+
|
|
19
|
+
## Analysis Checklist
|
|
20
|
+
|
|
21
|
+
□ Language detection completed
|
|
22
|
+
□ Entry points identified
|
|
23
|
+
□ Cross-file dependencies mapped
|
|
24
|
+
□ Dynamic usage patterns checked
|
|
25
|
+
□ Framework patterns preserved
|
|
26
|
+
□ Backup created before changes
|
|
27
|
+
□ Tests pass after each removal
|
|
28
|
+
|
|
29
|
+
## Core Detection Patterns
|
|
30
|
+
|
|
31
|
+
### Unused Imports
|
|
32
|
+
|
|
33
|
+
```python
|
|
34
|
+
# Python: AST-based analysis
|
|
35
|
+
import ast
|
|
36
|
+
# Track: Import statements vs actual usage
|
|
37
|
+
# Skip: Dynamic imports (importlib, __import__)
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
```javascript
|
|
41
|
+
// JavaScript: Module analysis
|
|
42
|
+
// Track: import/require vs references
|
|
43
|
+
// Skip: Dynamic imports, lazy loading
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### Unused Functions/Classes
|
|
47
|
+
|
|
48
|
+
- Define: All declared functions/classes
|
|
49
|
+
- Reference: Direct calls, inheritance, callbacks
|
|
50
|
+
- Preserve: Entry points, framework hooks, event handlers
|
|
51
|
+
|
|
52
|
+
### Dynamic Usage Safety
|
|
53
|
+
|
|
54
|
+
Never remove if patterns detected:
|
|
55
|
+
|
|
56
|
+
- Python: `getattr()`, `eval()`, `globals()`
|
|
57
|
+
- JavaScript: `window[]`, `this[]`, dynamic `import()`
|
|
58
|
+
- Java: Reflection, annotations (`@Component`, `@Service`)
|
|
59
|
+
|
|
60
|
+
## Framework Preservation Rules
|
|
61
|
+
|
|
62
|
+
### Python
|
|
63
|
+
|
|
64
|
+
- Django: Models, migrations, admin registrations
|
|
65
|
+
- Flask: Routes, blueprints, app factories
|
|
66
|
+
- FastAPI: Endpoints, dependencies
|
|
67
|
+
|
|
68
|
+
### JavaScript
|
|
69
|
+
|
|
70
|
+
- React: Components, hooks, context providers
|
|
71
|
+
- Vue: Components, directives, mixins
|
|
72
|
+
- Angular: Decorators, services, modules
|
|
73
|
+
|
|
74
|
+
### Java
|
|
75
|
+
|
|
76
|
+
- Spring: Beans, controllers, repositories
|
|
77
|
+
- JPA: Entities, repositories
|
|
78
|
+
|
|
79
|
+
## Execution Process
|
|
80
|
+
|
|
81
|
+
### 1. Backup Creation
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
backup_dir="./unused_code_backup_$(date +%Y%m%d_%H%M%S)"
|
|
85
|
+
cp -r . "$backup_dir" 2>/dev/null || mkdir -p "$backup_dir" && rsync -a . "$backup_dir"
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
### 2. Language-Specific Analysis
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
# Python
|
|
92
|
+
find . -name "*.py" -type f | while read file; do
|
|
93
|
+
python -m ast "$file" 2>/dev/null || echo "Syntax check: $file"
|
|
94
|
+
done
|
|
95
|
+
|
|
96
|
+
# JavaScript/TypeScript
|
|
97
|
+
npx depcheck # For npm packages
|
|
98
|
+
npx ts-unused-exports tsconfig.json # For TypeScript
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### 3. Safe Removal Strategy
|
|
102
|
+
|
|
103
|
+
```python
|
|
104
|
+
def remove_unused_element(file_path, element):
|
|
105
|
+
"""Remove with validation"""
|
|
106
|
+
# 1. Create temp file with change
|
|
107
|
+
# 2. Validate syntax
|
|
108
|
+
# 3. Run tests if available
|
|
109
|
+
# 4. Apply or rollback
|
|
110
|
+
|
|
111
|
+
if syntax_valid and tests_pass:
|
|
112
|
+
apply_change()
|
|
113
|
+
return "✓ Removed"
|
|
114
|
+
else:
|
|
115
|
+
rollback()
|
|
116
|
+
return "✗ Preserved (safety)"
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
### 4. Validation Commands
|
|
120
|
+
|
|
121
|
+
```bash
|
|
122
|
+
# Python
|
|
123
|
+
python -m py_compile file.py
|
|
124
|
+
python -m pytest
|
|
125
|
+
|
|
126
|
+
# JavaScript
|
|
127
|
+
npx eslint file.js
|
|
128
|
+
npm test
|
|
129
|
+
|
|
130
|
+
# Java
|
|
131
|
+
javac -Xlint file.java
|
|
132
|
+
mvn test
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
## Entry Point Patterns
|
|
136
|
+
|
|
137
|
+
Always preserve:
|
|
138
|
+
|
|
139
|
+
- `main.py`, `__main__.py`, `app.py`, `run.py`
|
|
140
|
+
- `index.js`, `main.js`, `server.js`, `app.js`
|
|
141
|
+
- `Main.java`, `*Application.java`, `*Controller.java`
|
|
142
|
+
- Config files: `*.config.*`, `settings.*`, `setup.*`
|
|
143
|
+
- Test files: `test_*.py`, `*.test.js`, `*.spec.js`
|
|
144
|
+
|
|
145
|
+
## Report Format
|
|
146
|
+
|
|
147
|
+
For each operation provide:
|
|
148
|
+
|
|
149
|
+
- **Files analyzed**: Count and types
|
|
150
|
+
- **Unused detected**: Imports, functions, classes
|
|
151
|
+
- **Safely removed**: With validation status
|
|
152
|
+
- **Preserved**: Reason for keeping
|
|
153
|
+
- **Impact metrics**: Lines removed, size reduction
|
|
154
|
+
|
|
155
|
+
## Safety Guidelines
|
|
156
|
+
|
|
157
|
+
✅ **Do:**
|
|
158
|
+
|
|
159
|
+
- Run tests after each removal
|
|
160
|
+
- Preserve framework patterns
|
|
161
|
+
- Check string references in templates
|
|
162
|
+
- Validate syntax continuously
|
|
163
|
+
- Create comprehensive backups
|
|
164
|
+
|
|
165
|
+
❌ **Don't:**
|
|
166
|
+
|
|
167
|
+
- Remove without understanding purpose
|
|
168
|
+
- Batch remove without testing
|
|
169
|
+
- Ignore dynamic usage patterns
|
|
170
|
+
- Skip configuration files
|
|
171
|
+
- Remove from migrations
|
|
172
|
+
|
|
173
|
+
## Usage Example
|
|
174
|
+
|
|
175
|
+
```bash
|
|
176
|
+
# Quick scan
|
|
177
|
+
echo "Scanning for unused code..."
|
|
178
|
+
grep -r "import\|require\|include" --include="*.py" --include="*.js"
|
|
179
|
+
|
|
180
|
+
# Detailed analysis with safety
|
|
181
|
+
python -c "
|
|
182
|
+
import ast, os
|
|
183
|
+
for root, _, files in os.walk('.'):
|
|
184
|
+
for f in files:
|
|
185
|
+
if f.endswith('.py'):
|
|
186
|
+
# AST analysis for Python files
|
|
187
|
+
pass
|
|
188
|
+
"
|
|
189
|
+
|
|
190
|
+
# Validation before applying
|
|
191
|
+
npm test && echo "✓ Safe to proceed"
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
Focus on safety over aggressive cleanup. When uncertain, preserve code and flag for manual review.
|
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
---
|
|
2
|
+
allowed-tools: Bash(gh:*), Read, Grep, TodoWrite, Edit, MultiEdit
|
|
3
|
+
argument-hint: [pr-number] | --analyze-only | --preview | --priority high|medium|low
|
|
4
|
+
description: Transform Gemini Code Assist PR reviews into prioritized TodoLists with automated execution
|
|
5
|
+
model: claude-sonnet-4-5-20250929
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Gemini PR Review Automation
|
|
9
|
+
|
|
10
|
+
## Why This Command Exists
|
|
11
|
+
|
|
12
|
+
**The Problem**: Gemini Code Assist provides free, automated PR reviews on GitHub. But AI-generated reviews often get ignored because they lack the urgency of human feedback.
|
|
13
|
+
|
|
14
|
+
**The Pain Point**: Manually asking Claude Code to:
|
|
15
|
+
1. "Analyze PR #42's Gemini review"
|
|
16
|
+
2. "Prioritize the issues"
|
|
17
|
+
3. "Create a TodoList"
|
|
18
|
+
4. "Start working on them"
|
|
19
|
+
|
|
20
|
+
...gets tedious fast.
|
|
21
|
+
|
|
22
|
+
**The Solution**: One command that automatically fetches Gemini's review, analyzes severity, creates prioritized TodoLists, and optionally starts execution.
|
|
23
|
+
|
|
24
|
+
## What Makes This Different
|
|
25
|
+
|
|
26
|
+
| | Code Analysis | Code Improvement | Gemini Review |
|
|
27
|
+
|---|---|---|---|
|
|
28
|
+
| **Trigger** | When you want analysis | When you want improvements | **When Gemini already reviewed** |
|
|
29
|
+
| **Input** | Local codebase | Local codebase | **GitHub PR's Gemini comments** |
|
|
30
|
+
| **Purpose** | General analysis | General improvements | **Convert AI review → actionable TODOs** |
|
|
31
|
+
| **Output** | Analysis report | Applied improvements | **TodoList + Priority + Execution** |
|
|
32
|
+
|
|
33
|
+
## Triggers
|
|
34
|
+
- PR has Gemini Code Assist review comments waiting to be addressed
|
|
35
|
+
- Need to convert AI feedback into structured action items
|
|
36
|
+
- Want to systematically process automated review feedback
|
|
37
|
+
- Reduce manual context switching between GitHub and development
|
|
38
|
+
|
|
39
|
+
## Usage
|
|
40
|
+
```bash
|
|
41
|
+
/gemini-review [pr-number] [--analyze-only] [--preview] [--priority high|medium|low]
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Behavioral Flow
|
|
45
|
+
1. **Fetch**: Retrieve PR details and Gemini review comments using GitHub CLI
|
|
46
|
+
2. **Analyze**: Parse and categorize review comments by type and severity
|
|
47
|
+
3. **Prioritize**: Assess each comment for refactoring necessity and impact
|
|
48
|
+
4. **TodoList**: Generate structured TodoList with priority ordering
|
|
49
|
+
5. **Execute**: (Optional) Start working on high-priority items with user confirmation
|
|
50
|
+
|
|
51
|
+
Key behaviors:
|
|
52
|
+
- Intelligent comment categorization (critical, improvement, suggestion, style)
|
|
53
|
+
- Impact assessment for each review item with effort estimation
|
|
54
|
+
- Automatic TodoList creation with priority matrix (must-fix, should-fix, nice-to-have)
|
|
55
|
+
- Code location mapping and dependency analysis
|
|
56
|
+
- Implementation strategy with phased approach
|
|
57
|
+
|
|
58
|
+
## Tool Coordination
|
|
59
|
+
- **Bash**: GitHub CLI operations for PR and review data fetching
|
|
60
|
+
- **Sequential Thinking**: Multi-step reasoning for complex refactoring decisions
|
|
61
|
+
- **Grep**: Code pattern analysis and issue location identification
|
|
62
|
+
- **Read**: Source code inspection for context understanding
|
|
63
|
+
- **TodoWrite**: Automatic TodoList generation with priorities
|
|
64
|
+
- **Edit/MultiEdit**: Code modifications when executing fixes
|
|
65
|
+
|
|
66
|
+
## Key Patterns
|
|
67
|
+
- **Review Parsing**: Gemini comments → structured analysis data
|
|
68
|
+
- **Severity Classification**: Comment type → priority level assignment (Must-fix/Should-fix/Nice-to-have/Skip)
|
|
69
|
+
- **TodoList Generation**: Analysis results → TodoWrite with prioritized items
|
|
70
|
+
- **Impact Analysis**: Code changes → ripple effect assessment
|
|
71
|
+
- **Execution Planning**: Strategy → actionable implementation steps
|
|
72
|
+
|
|
73
|
+
## Examples
|
|
74
|
+
|
|
75
|
+
### Analyze Current Branch's PR
|
|
76
|
+
```bash
|
|
77
|
+
/gemini-review
|
|
78
|
+
# Automatically detects current branch's PR
|
|
79
|
+
# Generates prioritized TodoList from Gemini review
|
|
80
|
+
# Ready to execute after user confirmation
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
### Analyze Specific PR
|
|
84
|
+
```bash
|
|
85
|
+
/gemini-review 42
|
|
86
|
+
# Analyzes Gemini review comments on PR #42
|
|
87
|
+
# Creates prioritized TodoList with effort estimates
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### Preview Mode (Safe Execution)
|
|
91
|
+
```bash
|
|
92
|
+
/gemini-review --preview
|
|
93
|
+
# Shows what would be fixed without applying changes
|
|
94
|
+
# Creates TodoList for manual execution
|
|
95
|
+
# Allows review before implementation
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
## Real Workflow Example
|
|
99
|
+
|
|
100
|
+
**Before (Manual, Tedious)**:
|
|
101
|
+
```bash
|
|
102
|
+
1. Open GitHub PR page
|
|
103
|
+
2. Read Gemini review (often skipped because "AI generated")
|
|
104
|
+
3. Tell Claude: "Analyze PR #42 Gemini review"
|
|
105
|
+
4. Tell Claude: "Prioritize these issues"
|
|
106
|
+
5. Tell Claude: "Create TodoList"
|
|
107
|
+
6. Tell Claude: "Start working on them"
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
**After (Automated)**:
|
|
111
|
+
```bash
|
|
112
|
+
/gemini-review 42
|
|
113
|
+
# → TodoList automatically created
|
|
114
|
+
# → Priorities set based on severity
|
|
115
|
+
# → Ready to execute immediately
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
## Analysis Output Structure
|
|
119
|
+
|
|
120
|
+
### 1. Review Summary
|
|
121
|
+
- Total comments count by severity
|
|
122
|
+
- Severity distribution (critical/improvement/suggestion/style)
|
|
123
|
+
- Common themes and patterns identified
|
|
124
|
+
- Overall review sentiment and key focus areas
|
|
125
|
+
- Estimated total effort required
|
|
126
|
+
|
|
127
|
+
### 2. Categorized Analysis
|
|
128
|
+
For each review comment:
|
|
129
|
+
- **Category**: Critical | Improvement | Suggestion | Style
|
|
130
|
+
- **Location**: File path and line numbers with context
|
|
131
|
+
- **Issue**: Description of the problem from Gemini
|
|
132
|
+
- **Impact**: Potential consequences if unaddressed
|
|
133
|
+
- **Decision**: Must-fix | Should-fix | Nice-to-have | Skip
|
|
134
|
+
- **Reasoning**: Why this priority was assigned
|
|
135
|
+
- **Effort**: Estimated implementation time (Small/Medium/Large)
|
|
136
|
+
|
|
137
|
+
### 3. TodoList Generation
|
|
138
|
+
|
|
139
|
+
**Automatically creates TodoList with user confirmation before execution**
|
|
140
|
+
|
|
141
|
+
```
|
|
142
|
+
High Priority (Must-Fix):
|
|
143
|
+
✓ Fix SQL injection in auth.js:45 (15 min)
|
|
144
|
+
✓ Remove exposed API key in config.js:12 (5 min)
|
|
145
|
+
|
|
146
|
+
Medium Priority (Should-Fix):
|
|
147
|
+
○ Refactor UserService complexity (45 min)
|
|
148
|
+
○ Add error handling to payment flow (30 min)
|
|
149
|
+
|
|
150
|
+
Low Priority (Nice-to-Have):
|
|
151
|
+
○ Update JSDoc comments (20 min)
|
|
152
|
+
○ Rename variable for clarity (5 min)
|
|
153
|
+
|
|
154
|
+
Skipped:
|
|
155
|
+
- Style suggestion conflicts with project standards
|
|
156
|
+
- Already addressed in different approach
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
*Note: User reviews and confirms TodoList before any code modifications are made*
|
|
160
|
+
|
|
161
|
+
### 4. Execution Plan
|
|
162
|
+
- **Phase 1 - Critical Fixes**: Security and breaking issues (immediate)
|
|
163
|
+
- **Phase 2 - Important Improvements**: Maintainability and performance (same PR)
|
|
164
|
+
- **Phase 3 - Optional Enhancements**: Style and documentation (future PR)
|
|
165
|
+
- **Dependencies**: Order of implementation based on code dependencies
|
|
166
|
+
- **Testing Strategy**: Required test updates for each phase
|
|
167
|
+
|
|
168
|
+
### 5. Decision Record
|
|
169
|
+
- **Accepted Changes**: What will be implemented and why
|
|
170
|
+
- **Deferred Changes**: What will be addressed in future iterations
|
|
171
|
+
- **Rejected Changes**: What won't be implemented and reasoning
|
|
172
|
+
- **Trade-offs**: Analyzed costs vs. benefits for each decision
|
|
173
|
+
|
|
174
|
+
## Boundaries
|
|
175
|
+
|
|
176
|
+
**Will:**
|
|
177
|
+
- Fetch and analyze Gemini Code Assist review comments from GitHub PRs
|
|
178
|
+
- Categorize and prioritize review feedback systematically
|
|
179
|
+
- Generate TodoLists with priority ordering and effort estimates
|
|
180
|
+
- Provide decision reasoning and trade-off analysis
|
|
181
|
+
- Map review comments to specific code locations
|
|
182
|
+
- Execute fixes with user confirmation in preview mode
|
|
183
|
+
|
|
184
|
+
**Will Not:**
|
|
185
|
+
- Automatically implement changes without user review (unless explicitly requested)
|
|
186
|
+
- Dismiss Gemini suggestions without analysis and documentation
|
|
187
|
+
- Make architectural decisions without considering project context
|
|
188
|
+
- Modify code outside the scope of review comments
|
|
189
|
+
- Work with non-Gemini review systems (GitHub Copilot, CodeRabbit, etc.)
|
|
190
|
+
|
|
191
|
+
## Decision Criteria
|
|
192
|
+
|
|
193
|
+
### Must-Fix (Critical) - High Priority
|
|
194
|
+
- Security vulnerabilities and data exposure
|
|
195
|
+
- Data integrity issues and potential corruption
|
|
196
|
+
- Breaking changes or runtime errors
|
|
197
|
+
- Critical performance problems (>100ms delay, memory leaks)
|
|
198
|
+
- Violations of core architecture principles
|
|
199
|
+
|
|
200
|
+
### Should-Fix (Improvement) - Medium Priority
|
|
201
|
+
- Code maintainability issues and technical debt
|
|
202
|
+
- Moderate performance improvements (10-100ms gains)
|
|
203
|
+
- Important best practice violations
|
|
204
|
+
- Significant readability and documentation gaps
|
|
205
|
+
- Error handling and resilience improvements
|
|
206
|
+
|
|
207
|
+
### Nice-to-Have (Suggestion) - Low Priority
|
|
208
|
+
- Code style improvements and formatting
|
|
209
|
+
- Minor optimizations (<10ms gains)
|
|
210
|
+
- Optional refactoring opportunities
|
|
211
|
+
- Enhanced error messages and logging
|
|
212
|
+
- Additional code comments and documentation
|
|
213
|
+
|
|
214
|
+
### Skip (Not Applicable)
|
|
215
|
+
- Conflicts with established project standards
|
|
216
|
+
- Out of scope for current iteration
|
|
217
|
+
- Low ROI improvements (high effort, low impact)
|
|
218
|
+
- Overly opinionated suggestions without clear benefit
|
|
219
|
+
- Already addressed by other means or different approach
|
|
220
|
+
|
|
221
|
+
## Integration with Git Workflow
|
|
222
|
+
|
|
223
|
+
### Recommended Flow
|
|
224
|
+
```bash
|
|
225
|
+
1. Create PR → Gemini reviews automatically
|
|
226
|
+
2. Run /gemini-review to generate TodoList
|
|
227
|
+
3. Review TodoList priorities and adjust if needed
|
|
228
|
+
4. Execute fixes systematically (Phase 1 → Phase 2 → Phase 3)
|
|
229
|
+
5. Commit changes with conventional commit messages
|
|
230
|
+
6. Update PR and re-request Gemini review if needed
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
### Commit Strategy
|
|
234
|
+
- Group related refactoring changes by category
|
|
235
|
+
- Use conventional commit messages referencing review items
|
|
236
|
+
- `fix(auth): resolve SQL injection vulnerability (Gemini PR#42)`
|
|
237
|
+
- `refactor(services): reduce UserService complexity (Gemini PR#42)`
|
|
238
|
+
- `docs: update JSDoc comments (Gemini PR#42)`
|
|
239
|
+
- Create separate commits for critical vs. improvement changes
|
|
240
|
+
- Document decision rationale in commit messages
|
|
241
|
+
|
|
242
|
+
## Advanced Usage
|
|
243
|
+
|
|
244
|
+
### Interactive Mode (Recommended for Complex Reviews)
|
|
245
|
+
```
|
|
246
|
+
/gemini-review --interactive
|
|
247
|
+
# Step through each review comment with decision prompts
|
|
248
|
+
# Allows manual priority adjustment
|
|
249
|
+
# Shows code context for each issue
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
### Export Analysis
|
|
253
|
+
```
|
|
254
|
+
/gemini-review --export gemini-analysis.md
|
|
255
|
+
# Export comprehensive analysis to markdown file
|
|
256
|
+
# Useful for team review and documentation
|
|
257
|
+
# Includes all decisions and reasoning
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
### Dry Run (No TodoList Creation)
|
|
261
|
+
```
|
|
262
|
+
/gemini-review --dry-run
|
|
263
|
+
# Shows analysis and priorities without creating TodoList
|
|
264
|
+
# Useful for understanding scope before committing
|
|
265
|
+
# No changes to workflow state
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
## Tool Requirements
|
|
269
|
+
- **GitHub CLI** (`gh`) installed and authenticated
|
|
270
|
+
- **Repository** must have Gemini Code Assist configured as PR reviewer
|
|
271
|
+
- **Current branch** must have associated PR or provide PR number explicitly
|
|
272
|
+
|
|
273
|
+
## Setup Gemini Code Assist
|
|
274
|
+
|
|
275
|
+
If you haven't set up Gemini Code Assist yet:
|
|
276
|
+
|
|
277
|
+
1. Visit [Gemini Code Assist GitHub App](https://developers.google.com/gemini-code-assist/docs/set-up-code-assist-github)
|
|
278
|
+
2. Install the app on your organization/account
|
|
279
|
+
3. Select repositories for integration
|
|
280
|
+
4. Gemini will automatically review PRs with `/gemini` tag or auto-review
|
|
281
|
+
|
|
282
|
+
**Why Gemini?**
|
|
283
|
+
- **Free**: No cost for automated PR reviews
|
|
284
|
+
- **Comprehensive**: Covers security, performance, best practices
|
|
285
|
+
- **GitHub Native**: Integrated directly into PR workflow
|
|
286
|
+
- **Automated**: No manual review requests needed
|
|
287
|
+
|
|
288
|
+
## Limitations
|
|
289
|
+
|
|
290
|
+
- Only supports Gemini Code Assist reviews (not GitHub Copilot, CodeRabbit, etc.)
|
|
291
|
+
- Requires GitHub CLI access and authentication
|
|
292
|
+
- Analysis quality depends on Gemini review quality
|
|
293
|
+
- Cannot modify reviews or re-trigger Gemini analysis
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
allowed-tools: Read, Write, Edit, Bash
|
|
3
3
|
argument-hint: [language] | --javascript | --java | --python | --rust | --go | --csharp
|
|
4
4
|
description: Setup comprehensive mutation testing with framework selection and CI integration
|
|
5
|
-
model: sonnet
|
|
6
5
|
---
|
|
7
6
|
|
|
8
7
|
# Add Mutation Testing
|
|
@@ -23,6 +22,7 @@ Implement comprehensive mutation testing with framework optimization and quality
|
|
|
23
22
|
**Language Focus**: Use $ARGUMENTS to specify JavaScript, Java, Python, Rust, Go, C#, or auto-detect from codebase
|
|
24
23
|
|
|
25
24
|
**Mutation Testing Framework**:
|
|
25
|
+
|
|
26
26
|
1. **Tool Selection & Setup** - Choose framework (Stryker, PIT, mutmut, cargo-mutants), install dependencies, configure basic settings, validate installation
|
|
27
27
|
2. **Mutation Operator Configuration** - Configure arithmetic operators, relational operators, logical operators, conditional boundaries, statement mutations
|
|
28
28
|
3. **Performance Optimization** - Setup parallel execution, configure incremental testing, optimize file filtering, implement caching strategies
|
|
@@ -34,4 +34,4 @@ Implement comprehensive mutation testing with framework optimization and quality
|
|
|
34
34
|
|
|
35
35
|
**Framework Support**: Language-specific optimizations, tool ecosystem integration, performance tuning, reporting customization.
|
|
36
36
|
|
|
37
|
-
**Output**: Complete mutation testing setup with configured framework, CI integration, quality thresholds, and analysis workflows.
|
|
37
|
+
**Output**: Complete mutation testing setup with configured framework, CI integration, quality thresholds, and analysis workflows.
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
allowed-tools: Read, Write, Edit, Bash
|
|
3
3
|
argument-hint: [language] | --javascript | --python | --java | --haskell | --rust | --clojure
|
|
4
4
|
description: Implement property-based testing with framework selection and invariant identification
|
|
5
|
-
model: sonnet
|
|
6
5
|
---
|
|
7
6
|
|
|
8
7
|
# Add Property-Based Testing
|
|
@@ -23,6 +22,7 @@ Implement comprehensive property-based testing with invariant analysis and autom
|
|
|
23
22
|
**Language Focus**: Use $ARGUMENTS to specify JavaScript, Python, Java, Haskell, Rust, Clojure, or auto-detect from codebase
|
|
24
23
|
|
|
25
24
|
**Property-Based Testing Framework**:
|
|
25
|
+
|
|
26
26
|
1. **Framework Selection** - Choose appropriate tool (fast-check, Hypothesis, QuickCheck, proptest), install dependencies, configure integration
|
|
27
27
|
2. **Property Identification** - Analyze mathematical properties, identify business invariants, discover symmetries, evaluate round-trip properties
|
|
28
28
|
3. **Generator Design** - Create custom data generators, implement constraint-based generation, design composite generators, optimize generation strategies
|
|
@@ -34,4 +34,4 @@ Implement comprehensive property-based testing with invariant analysis and autom
|
|
|
34
34
|
|
|
35
35
|
**Quality Assurance**: Property completeness analysis, edge case coverage, performance optimization, maintainability assessment.
|
|
36
36
|
|
|
37
|
-
**Output**: Complete property-based testing setup with identified properties, custom generators, integrated test suite, and performance optimization.
|
|
37
|
+
**Output**: Complete property-based testing setup with identified properties, custom generators, integrated test suite, and performance optimization.
|