@mytechtoday/augment-extensions 0.1.2 → 0.4.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/README.md +614 -39
- package/augment-extensions/coding-standards/bash/README.md +196 -0
- package/augment-extensions/coding-standards/bash/module.json +163 -0
- package/augment-extensions/coding-standards/bash/rules/naming-conventions.md +336 -0
- package/augment-extensions/coding-standards/bash/rules/universal-standards.md +289 -0
- package/augment-extensions/coding-standards/css/README.md +40 -0
- package/augment-extensions/coding-standards/css/examples/css-examples.css +550 -0
- package/augment-extensions/coding-standards/css/module.json +44 -0
- package/augment-extensions/coding-standards/css/rules/css-modern-features.md +448 -0
- package/augment-extensions/coding-standards/css/rules/css-standards.md +492 -0
- package/augment-extensions/coding-standards/html/README.md +40 -0
- package/augment-extensions/coding-standards/html/examples/html-examples.html +267 -0
- package/augment-extensions/coding-standards/html/examples/responsive-layout.html +505 -0
- package/augment-extensions/coding-standards/html/module.json +44 -0
- package/augment-extensions/coding-standards/html/rules/html-standards.md +349 -0
- package/augment-extensions/coding-standards/html-css-js/README.md +194 -0
- package/augment-extensions/coding-standards/html-css-js/examples/async-examples.js +487 -0
- package/augment-extensions/coding-standards/html-css-js/examples/css-examples.css +550 -0
- package/augment-extensions/coding-standards/html-css-js/examples/dom-examples.js +667 -0
- package/augment-extensions/coding-standards/html-css-js/examples/html-examples.html +267 -0
- package/augment-extensions/coding-standards/html-css-js/examples/javascript-examples.js +612 -0
- package/augment-extensions/coding-standards/html-css-js/examples/responsive-layout.html +505 -0
- package/augment-extensions/coding-standards/html-css-js/module.json +48 -0
- package/augment-extensions/coding-standards/html-css-js/rules/async-patterns.md +515 -0
- package/augment-extensions/coding-standards/html-css-js/rules/css-modern-features.md +448 -0
- package/augment-extensions/coding-standards/html-css-js/rules/css-standards.md +492 -0
- package/augment-extensions/coding-standards/html-css-js/rules/dom-manipulation.md +439 -0
- package/augment-extensions/coding-standards/html-css-js/rules/html-standards.md +349 -0
- package/augment-extensions/coding-standards/html-css-js/rules/javascript-standards.md +486 -0
- package/augment-extensions/coding-standards/html-css-js/rules/performance.md +463 -0
- package/augment-extensions/coding-standards/html-css-js/rules/tooling.md +543 -0
- package/augment-extensions/coding-standards/js/README.md +46 -0
- package/augment-extensions/coding-standards/js/examples/async-examples.js +487 -0
- package/augment-extensions/coding-standards/js/examples/dom-examples.js +667 -0
- package/augment-extensions/coding-standards/js/examples/javascript-examples.js +612 -0
- package/augment-extensions/coding-standards/js/module.json +49 -0
- package/augment-extensions/coding-standards/js/rules/async-patterns.md +515 -0
- package/augment-extensions/coding-standards/js/rules/dom-manipulation.md +439 -0
- package/augment-extensions/coding-standards/js/rules/javascript-standards.md +486 -0
- package/augment-extensions/coding-standards/js/rules/performance.md +463 -0
- package/augment-extensions/coding-standards/js/rules/tooling.md +543 -0
- package/augment-extensions/coding-standards/php/README.md +248 -0
- package/augment-extensions/coding-standards/php/examples/api-endpoint-example.php +204 -0
- package/augment-extensions/coding-standards/php/examples/cli-command-example.php +206 -0
- package/augment-extensions/coding-standards/php/examples/legacy-refactoring-example.php +234 -0
- package/augment-extensions/coding-standards/php/examples/web-application-example.php +211 -0
- package/augment-extensions/coding-standards/php/examples/woocommerce-extension-example.php +215 -0
- package/augment-extensions/coding-standards/php/examples/wordpress-plugin-example.php +189 -0
- package/augment-extensions/coding-standards/php/module.json +166 -0
- package/augment-extensions/coding-standards/php/rules/api-development.md +480 -0
- package/augment-extensions/coding-standards/php/rules/category-configuration.md +332 -0
- package/augment-extensions/coding-standards/php/rules/cli-tools.md +472 -0
- package/augment-extensions/coding-standards/php/rules/cms-integration.md +561 -0
- package/augment-extensions/coding-standards/php/rules/code-quality.md +402 -0
- package/augment-extensions/coding-standards/php/rules/documentation.md +425 -0
- package/augment-extensions/coding-standards/php/rules/ecommerce.md +627 -0
- package/augment-extensions/coding-standards/php/rules/error-handling.md +336 -0
- package/augment-extensions/coding-standards/php/rules/legacy-migration.md +677 -0
- package/augment-extensions/coding-standards/php/rules/naming-conventions.md +279 -0
- package/augment-extensions/coding-standards/php/rules/performance.md +392 -0
- package/augment-extensions/coding-standards/php/rules/psr-standards.md +186 -0
- package/augment-extensions/coding-standards/php/rules/security.md +358 -0
- package/augment-extensions/coding-standards/php/rules/testing.md +403 -0
- package/augment-extensions/coding-standards/php/rules/type-declarations.md +331 -0
- package/augment-extensions/coding-standards/php/rules/web-applications.md +426 -0
- package/augment-extensions/coding-standards/powershell/README.md +154 -0
- package/augment-extensions/coding-standards/powershell/examples/admin-example.ps1 +272 -0
- package/augment-extensions/coding-standards/powershell/examples/automation-example.ps1 +173 -0
- package/augment-extensions/coding-standards/powershell/examples/cloud-example.ps1 +243 -0
- package/augment-extensions/coding-standards/powershell/examples/cross-platform-example.ps1 +297 -0
- package/augment-extensions/coding-standards/powershell/examples/dsc-example.ps1 +224 -0
- package/augment-extensions/coding-standards/powershell/examples/legacy-migration-example.ps1 +340 -0
- package/augment-extensions/coding-standards/powershell/examples/module-example.psm1 +255 -0
- package/augment-extensions/coding-standards/powershell/module.json +165 -0
- package/augment-extensions/coding-standards/powershell/rules/administrative-tools.md +439 -0
- package/augment-extensions/coding-standards/powershell/rules/automation-scripts.md +240 -0
- package/augment-extensions/coding-standards/powershell/rules/cloud-orchestration.md +384 -0
- package/augment-extensions/coding-standards/powershell/rules/configuration-schema.md +383 -0
- package/augment-extensions/coding-standards/powershell/rules/cross-platform-scripts.md +482 -0
- package/augment-extensions/coding-standards/powershell/rules/dsc-configurations.md +296 -0
- package/augment-extensions/coding-standards/powershell/rules/error-handling.md +314 -0
- package/augment-extensions/coding-standards/powershell/rules/legacy-migrations.md +466 -0
- package/augment-extensions/coding-standards/powershell/rules/modules-functions.md +244 -0
- package/augment-extensions/coding-standards/powershell/rules/naming-conventions.md +266 -0
- package/augment-extensions/coding-standards/powershell/rules/performance-optimization.md +209 -0
- package/augment-extensions/coding-standards/powershell/rules/security-practices.md +314 -0
- package/augment-extensions/coding-standards/powershell/rules/testing-guidelines.md +268 -0
- package/augment-extensions/coding-standards/powershell/rules/universal-standards.md +197 -0
- package/augment-extensions/coding-standards/python/README.md +12 -8
- package/augment-extensions/coding-standards/python/examples/best-practices.py +373 -0
- package/augment-extensions/coding-standards/python/module.json +8 -4
- package/augment-extensions/coding-standards/python/rules/async-patterns.md +884 -0
- package/augment-extensions/coding-standards/python/rules/documentation.md +831 -0
- package/augment-extensions/coding-standards/python/rules/error-handling.md +855 -68
- package/augment-extensions/coding-standards/python/rules/testing.md +409 -0
- package/augment-extensions/coding-standards/python/rules/tooling.md +446 -0
- package/augment-extensions/coding-standards/python/rules/type-hints.md +115 -50
- package/augment-extensions/collections/html-css-js/README.md +82 -0
- package/augment-extensions/collections/html-css-js/collection.json +41 -0
- package/augment-extensions/domain-rules/database/README.md +161 -0
- package/augment-extensions/domain-rules/database/examples/flat-database-example.md +793 -0
- package/augment-extensions/domain-rules/database/examples/hybrid-database-example.md +1132 -0
- package/augment-extensions/domain-rules/database/examples/nosql-document-example.md +868 -0
- package/augment-extensions/domain-rules/database/examples/nosql-graph-example.md +805 -0
- package/augment-extensions/domain-rules/database/examples/relational-schema-example.md +621 -0
- package/augment-extensions/domain-rules/database/examples/vector-database-example.md +965 -0
- package/augment-extensions/domain-rules/database/module.json +28 -0
- package/augment-extensions/domain-rules/database/rules/flat-databases.md +624 -0
- package/augment-extensions/domain-rules/database/rules/nosql-databases.md +588 -0
- package/augment-extensions/domain-rules/database/rules/nosql-document-stores.md +856 -0
- package/augment-extensions/domain-rules/database/rules/nosql-graph-databases.md +778 -0
- package/augment-extensions/domain-rules/database/rules/nosql-key-value-stores.md +963 -0
- package/augment-extensions/domain-rules/database/rules/performance-optimization.md +1076 -0
- package/augment-extensions/domain-rules/database/rules/relational-databases.md +697 -0
- package/augment-extensions/domain-rules/database/rules/relational-indexing.md +671 -0
- package/augment-extensions/domain-rules/database/rules/relational-query-optimization.md +607 -0
- package/augment-extensions/domain-rules/database/rules/relational-schema-design.md +907 -0
- package/augment-extensions/domain-rules/database/rules/relational-transactions.md +783 -0
- package/augment-extensions/domain-rules/database/rules/security-standards.md +980 -0
- package/augment-extensions/domain-rules/database/rules/universal-best-practices.md +485 -0
- package/augment-extensions/domain-rules/database/rules/vector-databases.md +521 -0
- package/augment-extensions/domain-rules/database/rules/vector-embeddings.md +858 -0
- package/augment-extensions/domain-rules/database/rules/vector-indexing.md +934 -0
- package/augment-extensions/domain-rules/mcp/README.md +150 -0
- package/augment-extensions/domain-rules/mcp/examples/compressed-example.md +522 -0
- package/augment-extensions/domain-rules/mcp/examples/graph-augmented-example.md +520 -0
- package/augment-extensions/domain-rules/mcp/examples/hybrid-example.md +570 -0
- package/augment-extensions/domain-rules/mcp/examples/state-based-example.md +427 -0
- package/augment-extensions/domain-rules/mcp/examples/token-based-example.md +435 -0
- package/augment-extensions/domain-rules/mcp/examples/vector-based-example.md +502 -0
- package/augment-extensions/domain-rules/mcp/module.json +49 -0
- package/augment-extensions/domain-rules/mcp/rules/compressed-mcp.md +595 -0
- package/augment-extensions/domain-rules/mcp/rules/configuration.md +345 -0
- package/augment-extensions/domain-rules/mcp/rules/graph-augmented-mcp.md +687 -0
- package/augment-extensions/domain-rules/mcp/rules/hybrid-mcp.md +636 -0
- package/augment-extensions/domain-rules/mcp/rules/state-based-mcp.md +484 -0
- package/augment-extensions/domain-rules/mcp/rules/testing-validation.md +360 -0
- package/augment-extensions/domain-rules/mcp/rules/token-based-mcp.md +393 -0
- package/augment-extensions/domain-rules/mcp/rules/universal-rules.md +194 -0
- package/augment-extensions/domain-rules/mcp/rules/vector-based-mcp.md +625 -0
- package/augment-extensions/domain-rules/wordpress/README.md +163 -0
- package/augment-extensions/domain-rules/wordpress/module.json +32 -0
- package/augment-extensions/domain-rules/wordpress/rules/coding-standards.md +617 -0
- package/augment-extensions/domain-rules/wordpress/rules/directory-structure.md +270 -0
- package/augment-extensions/domain-rules/wordpress/rules/file-patterns.md +423 -0
- package/augment-extensions/domain-rules/wordpress/rules/gutenberg-blocks.md +493 -0
- package/augment-extensions/domain-rules/wordpress/rules/performance.md +568 -0
- package/augment-extensions/domain-rules/wordpress/rules/plugin-development.md +510 -0
- package/augment-extensions/domain-rules/wordpress/rules/project-detection.md +251 -0
- package/augment-extensions/domain-rules/wordpress/rules/rest-api.md +501 -0
- package/augment-extensions/domain-rules/wordpress/rules/security.md +564 -0
- package/augment-extensions/domain-rules/wordpress/rules/theme-development.md +388 -0
- package/augment-extensions/domain-rules/wordpress/rules/woocommerce.md +441 -0
- package/augment-extensions/domain-rules/wordpress-plugin/README.md +139 -0
- package/augment-extensions/domain-rules/wordpress-plugin/examples/ajax-plugin.md +1599 -0
- package/augment-extensions/domain-rules/wordpress-plugin/examples/custom-post-type-plugin.md +1727 -0
- package/augment-extensions/domain-rules/wordpress-plugin/examples/gutenberg-block-plugin.md +428 -0
- package/augment-extensions/domain-rules/wordpress-plugin/examples/gutenberg-block.md +422 -0
- package/augment-extensions/domain-rules/wordpress-plugin/examples/mvc-plugin.md +1623 -0
- package/augment-extensions/domain-rules/wordpress-plugin/examples/object-oriented-plugin.md +1343 -0
- package/augment-extensions/domain-rules/wordpress-plugin/examples/rest-endpoint.md +734 -0
- package/augment-extensions/domain-rules/wordpress-plugin/examples/settings-page-plugin.md +1350 -0
- package/augment-extensions/domain-rules/wordpress-plugin/examples/simple-procedural-plugin.md +503 -0
- package/augment-extensions/domain-rules/wordpress-plugin/examples/singleton-plugin.md +971 -0
- package/augment-extensions/domain-rules/wordpress-plugin/module.json +53 -0
- package/augment-extensions/domain-rules/wordpress-plugin/rules/activation-hooks.md +770 -0
- package/augment-extensions/domain-rules/wordpress-plugin/rules/admin-interface.md +874 -0
- package/augment-extensions/domain-rules/wordpress-plugin/rules/ajax-handlers.md +629 -0
- package/augment-extensions/domain-rules/wordpress-plugin/rules/asset-management.md +559 -0
- package/augment-extensions/domain-rules/wordpress-plugin/rules/context-providers.md +709 -0
- package/augment-extensions/domain-rules/wordpress-plugin/rules/cron-jobs.md +736 -0
- package/augment-extensions/domain-rules/wordpress-plugin/rules/database-management.md +1057 -0
- package/augment-extensions/domain-rules/wordpress-plugin/rules/documentation-standards.md +463 -0
- package/augment-extensions/domain-rules/wordpress-plugin/rules/frontend-functionality.md +478 -0
- package/augment-extensions/domain-rules/wordpress-plugin/rules/gutenberg-blocks.md +818 -0
- package/augment-extensions/domain-rules/wordpress-plugin/rules/internationalization.md +416 -0
- package/augment-extensions/domain-rules/wordpress-plugin/rules/migration.md +667 -0
- package/augment-extensions/domain-rules/wordpress-plugin/rules/performance-optimization.md +878 -0
- package/augment-extensions/domain-rules/wordpress-plugin/rules/plugin-architecture.md +693 -0
- package/augment-extensions/domain-rules/wordpress-plugin/rules/plugin-structure.md +352 -0
- package/augment-extensions/domain-rules/wordpress-plugin/rules/rest-api.md +818 -0
- package/augment-extensions/domain-rules/wordpress-plugin/rules/scaffolding-workflow.md +624 -0
- package/augment-extensions/domain-rules/wordpress-plugin/rules/security-best-practices.md +866 -0
- package/augment-extensions/domain-rules/wordpress-plugin/rules/testing-patterns.md +1165 -0
- package/augment-extensions/domain-rules/wordpress-plugin/rules/testing.md +414 -0
- package/augment-extensions/domain-rules/wordpress-plugin/rules/vscode-integration.md +751 -0
- package/augment-extensions/domain-rules/wordpress-plugin/rules/woocommerce-integration.md +949 -0
- package/augment-extensions/domain-rules/wordpress-plugin/rules/wordpress-org-submission.md +458 -0
- package/augment-extensions/examples/gutenberg-block-plugin/README.md +101 -0
- package/augment-extensions/examples/gutenberg-block-plugin/examples/testimonial-block.md +428 -0
- package/augment-extensions/examples/gutenberg-block-plugin/module.json +40 -0
- package/augment-extensions/examples/rest-api-plugin/README.md +98 -0
- package/augment-extensions/examples/rest-api-plugin/examples/task-manager-api.md +1299 -0
- package/augment-extensions/examples/rest-api-plugin/module.json +40 -0
- package/augment-extensions/examples/woocommerce-extension/README.md +98 -0
- package/augment-extensions/examples/woocommerce-extension/examples/product-customizer.md +763 -0
- package/augment-extensions/examples/woocommerce-extension/module.json +40 -0
- package/augment-extensions/workflows/beads/module.json +4 -3
- package/augment-extensions/workflows/database/README.md +195 -0
- package/augment-extensions/workflows/database/ai-prompt-testing.md +295 -0
- package/augment-extensions/workflows/database/examples/migration-example.md +498 -0
- package/augment-extensions/workflows/database/examples/optimization-example.md +496 -0
- package/augment-extensions/workflows/database/examples/schema-design-example.md +444 -0
- package/augment-extensions/workflows/database/module.json +42 -0
- package/augment-extensions/workflows/database/rules/data-migration.md +249 -0
- package/augment-extensions/workflows/database/rules/documentation-standards.md +339 -0
- package/augment-extensions/workflows/database/rules/migration-workflow.md +352 -0
- package/augment-extensions/workflows/database/rules/optimization-workflow.md +435 -0
- package/augment-extensions/workflows/database/rules/schema-design-workflow.md +535 -0
- package/augment-extensions/workflows/database/rules/testing-patterns.md +305 -0
- package/augment-extensions/workflows/database/rules/workflow.md +458 -0
- package/augment-extensions/workflows/openspec/module.json +4 -3
- package/augment-extensions/workflows/wordpress-plugin/README.md +232 -0
- package/augment-extensions/workflows/wordpress-plugin/ai-prompts.md +839 -0
- package/augment-extensions/workflows/wordpress-plugin/bead-decomposition-patterns.md +854 -0
- package/augment-extensions/workflows/wordpress-plugin/examples/complete-plugin-example.md +540 -0
- package/augment-extensions/workflows/wordpress-plugin/examples/custom-post-type-example.md +1083 -0
- package/augment-extensions/workflows/wordpress-plugin/examples/feature-addition-workflow.md +669 -0
- package/augment-extensions/workflows/wordpress-plugin/examples/plugin-creation-workflow.md +597 -0
- package/augment-extensions/workflows/wordpress-plugin/examples/secure-form-handler-example.md +925 -0
- package/augment-extensions/workflows/wordpress-plugin/examples/security-audit-workflow.md +752 -0
- package/augment-extensions/workflows/wordpress-plugin/examples/wordpress-org-submission-workflow.md +773 -0
- package/augment-extensions/workflows/wordpress-plugin/module.json +49 -0
- package/augment-extensions/workflows/wordpress-plugin/rules/best-practices.md +942 -0
- package/augment-extensions/workflows/wordpress-plugin/rules/development-workflow.md +702 -0
- package/augment-extensions/workflows/wordpress-plugin/rules/submission-workflow.md +728 -0
- package/augment-extensions/workflows/wordpress-plugin/rules/testing-workflow.md +775 -0
- package/augment-extensions/writing-standards/screenplay/README.md +171 -0
- package/augment-extensions/writing-standards/screenplay/examples/aaa-hollywood-scene.fountain +164 -0
- package/augment-extensions/writing-standards/screenplay/module.json +124 -0
- package/augment-extensions/writing-standards/screenplay/rules/universal-formatting.md +339 -0
- package/cli/MODULES.md +302 -0
- package/cli/dist/cli.js +142 -9
- package/cli/dist/cli.js.map +1 -1
- package/cli/dist/commands/catalog.d.ts +13 -0
- package/cli/dist/commands/catalog.d.ts.map +1 -0
- package/cli/dist/commands/catalog.js +104 -0
- package/cli/dist/commands/catalog.js.map +1 -0
- package/cli/dist/commands/gui.d.ts +6 -0
- package/cli/dist/commands/gui.d.ts.map +1 -0
- package/cli/dist/commands/gui.js +211 -0
- package/cli/dist/commands/gui.js.map +1 -0
- package/cli/dist/commands/init.d.ts.map +1 -1
- package/cli/dist/commands/init.js +12 -0
- package/cli/dist/commands/init.js.map +1 -1
- package/cli/dist/commands/install-rules.d.ts +14 -0
- package/cli/dist/commands/install-rules.d.ts.map +1 -0
- package/cli/dist/commands/install-rules.js +127 -0
- package/cli/dist/commands/install-rules.js.map +1 -0
- package/cli/dist/commands/link.d.ts.map +1 -1
- package/cli/dist/commands/link.js +9 -11
- package/cli/dist/commands/link.js.map +1 -1
- package/cli/dist/commands/list.d.ts.map +1 -1
- package/cli/dist/commands/list.js +11 -28
- package/cli/dist/commands/list.js.map +1 -1
- package/cli/dist/commands/mcp.d.ts +48 -0
- package/cli/dist/commands/mcp.d.ts.map +1 -0
- package/cli/dist/commands/mcp.js +229 -0
- package/cli/dist/commands/mcp.js.map +1 -0
- package/cli/dist/commands/self-remove.d.ts +7 -0
- package/cli/dist/commands/self-remove.d.ts.map +1 -0
- package/cli/dist/commands/self-remove.js +179 -0
- package/cli/dist/commands/self-remove.js.map +1 -0
- package/cli/dist/commands/show.d.ts.map +1 -1
- package/cli/dist/commands/show.js +42 -71
- package/cli/dist/commands/show.js.map +1 -1
- package/cli/dist/commands/skill.d.ts +67 -0
- package/cli/dist/commands/skill.d.ts.map +1 -0
- package/cli/dist/commands/skill.js +513 -0
- package/cli/dist/commands/skill.js.map +1 -0
- package/cli/dist/commands/unlink.d.ts +6 -0
- package/cli/dist/commands/unlink.d.ts.map +1 -0
- package/cli/dist/commands/unlink.js +115 -0
- package/cli/dist/commands/unlink.js.map +1 -0
- package/cli/dist/commands/validate.d.ts +6 -0
- package/cli/dist/commands/validate.d.ts.map +1 -0
- package/cli/dist/commands/validate.js +159 -0
- package/cli/dist/commands/validate.js.map +1 -0
- package/cli/dist/utils/catalog-sync.d.ts +22 -0
- package/cli/dist/utils/catalog-sync.d.ts.map +1 -0
- package/cli/dist/utils/catalog-sync.js +157 -0
- package/cli/dist/utils/catalog-sync.js.map +1 -0
- package/cli/dist/utils/character-count.d.ts +56 -0
- package/cli/dist/utils/character-count.d.ts.map +1 -0
- package/cli/dist/utils/character-count.js +190 -0
- package/cli/dist/utils/character-count.js.map +1 -0
- package/cli/dist/utils/documentation-validator.d.ts +18 -0
- package/cli/dist/utils/documentation-validator.d.ts.map +1 -0
- package/cli/dist/utils/documentation-validator.js +233 -0
- package/cli/dist/utils/documentation-validator.js.map +1 -0
- package/cli/dist/utils/install-rules.d.ts +32 -0
- package/cli/dist/utils/install-rules.d.ts.map +1 -0
- package/cli/dist/utils/install-rules.js +375 -0
- package/cli/dist/utils/install-rules.js.map +1 -0
- package/cli/dist/utils/mcp-integration.d.ts +70 -0
- package/cli/dist/utils/mcp-integration.d.ts.map +1 -0
- package/cli/dist/utils/mcp-integration.js +292 -0
- package/cli/dist/utils/mcp-integration.js.map +1 -0
- package/cli/dist/utils/module-system.d.ts +153 -0
- package/cli/dist/utils/module-system.d.ts.map +1 -0
- package/cli/dist/utils/module-system.js +528 -0
- package/cli/dist/utils/module-system.js.map +1 -0
- package/cli/dist/utils/modules-catalog.d.ts +33 -0
- package/cli/dist/utils/modules-catalog.d.ts.map +1 -0
- package/cli/dist/utils/modules-catalog.js +163 -0
- package/cli/dist/utils/modules-catalog.js.map +1 -0
- package/cli/dist/utils/rule-install-hooks.d.ts +19 -0
- package/cli/dist/utils/rule-install-hooks.d.ts.map +1 -0
- package/cli/dist/utils/rule-install-hooks.js +224 -0
- package/cli/dist/utils/rule-install-hooks.js.map +1 -0
- package/cli/dist/utils/skill-system.d.ts +95 -0
- package/cli/dist/utils/skill-system.d.ts.map +1 -0
- package/cli/dist/utils/skill-system.js +313 -0
- package/cli/dist/utils/skill-system.js.map +1 -0
- package/modules.md +534 -70
- package/package.json +12 -3
|
@@ -0,0 +1,444 @@
|
|
|
1
|
+
# Schema Design Example: E-commerce Platform
|
|
2
|
+
|
|
3
|
+
## Scenario
|
|
4
|
+
|
|
5
|
+
Design a database schema for an e-commerce platform with the following requirements:
|
|
6
|
+
|
|
7
|
+
**Requirements**:
|
|
8
|
+
- Users can browse products and place orders
|
|
9
|
+
- Products belong to categories and have multiple images
|
|
10
|
+
- Orders contain multiple items with quantities
|
|
11
|
+
- Track order status (pending, processing, shipped, delivered)
|
|
12
|
+
- Support product reviews and ratings
|
|
13
|
+
- Track inventory levels
|
|
14
|
+
- Support multiple payment methods
|
|
15
|
+
|
|
16
|
+
**Expected Scale**:
|
|
17
|
+
- 100,000 users
|
|
18
|
+
- 10,000 products
|
|
19
|
+
- 50,000 orders per month
|
|
20
|
+
- Read-heavy workload (90% reads, 10% writes)
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## Step 1: Requirements Analysis
|
|
25
|
+
|
|
26
|
+
### Functional Requirements
|
|
27
|
+
|
|
28
|
+
1. **User Management**: Registration, authentication, profile management
|
|
29
|
+
2. **Product Catalog**: Browse products, search, filter by category
|
|
30
|
+
3. **Shopping Cart**: Add/remove items, update quantities
|
|
31
|
+
4. **Order Processing**: Place orders, track status, view history
|
|
32
|
+
5. **Reviews**: Submit reviews, view product ratings
|
|
33
|
+
6. **Inventory**: Track stock levels, prevent overselling
|
|
34
|
+
|
|
35
|
+
### Non-Functional Requirements
|
|
36
|
+
|
|
37
|
+
1. **Performance**: Product listing < 100ms, order placement < 500ms
|
|
38
|
+
2. **Scalability**: Handle 1000 concurrent users
|
|
39
|
+
3. **Consistency**: Strong consistency for inventory, eventual for reviews
|
|
40
|
+
4. **Availability**: 99.9% uptime
|
|
41
|
+
|
|
42
|
+
### Access Patterns
|
|
43
|
+
|
|
44
|
+
**High-Frequency Queries**:
|
|
45
|
+
- List products by category (with pagination)
|
|
46
|
+
- Get product details with images and reviews
|
|
47
|
+
- Get user's order history
|
|
48
|
+
- Check product inventory
|
|
49
|
+
- Search products by name
|
|
50
|
+
|
|
51
|
+
**Low-Frequency Queries**:
|
|
52
|
+
- Generate sales reports
|
|
53
|
+
- Calculate average ratings
|
|
54
|
+
- Track inventory changes
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## Step 2: Database Selection
|
|
59
|
+
|
|
60
|
+
**Decision**: PostgreSQL (Relational Database)
|
|
61
|
+
|
|
62
|
+
**Rationale**:
|
|
63
|
+
- ✅ Strong ACID guarantees (critical for orders and inventory)
|
|
64
|
+
- ✅ Complex queries with JOINs (orders, products, reviews)
|
|
65
|
+
- ✅ JSON support for flexible product attributes
|
|
66
|
+
- ✅ Full-text search for product search
|
|
67
|
+
- ✅ Mature ecosystem and tooling
|
|
68
|
+
- ✅ Good performance for read-heavy workloads
|
|
69
|
+
|
|
70
|
+
**Alternatives Considered**:
|
|
71
|
+
- **MongoDB**: Good for flexible schemas, but lacks ACID for multi-document transactions
|
|
72
|
+
- **MySQL**: Similar to PostgreSQL, but weaker JSON support
|
|
73
|
+
- **DynamoDB**: Excellent scalability, but limited query capabilities
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## Step 3: Schema Design
|
|
78
|
+
|
|
79
|
+
### Entity-Relationship Diagram
|
|
80
|
+
|
|
81
|
+
```
|
|
82
|
+
Users (1) ──── (M) Orders (1) ──── (M) OrderItems (M) ──── (1) Products
|
|
83
|
+
│
|
|
84
|
+
│
|
|
85
|
+
(M) ──┴── (1) Categories
|
|
86
|
+
│
|
|
87
|
+
(M) ──┴── ProductImages
|
|
88
|
+
│
|
|
89
|
+
(M) ──┴── Reviews (M) ──── (1) Users
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### Table Definitions
|
|
93
|
+
|
|
94
|
+
#### Users Table
|
|
95
|
+
|
|
96
|
+
```sql
|
|
97
|
+
CREATE TABLE users (
|
|
98
|
+
id SERIAL PRIMARY KEY,
|
|
99
|
+
email VARCHAR(255) UNIQUE NOT NULL,
|
|
100
|
+
password_hash VARCHAR(255) NOT NULL,
|
|
101
|
+
first_name VARCHAR(100),
|
|
102
|
+
last_name VARCHAR(100),
|
|
103
|
+
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
|
104
|
+
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
|
105
|
+
);
|
|
106
|
+
|
|
107
|
+
-- Indexes
|
|
108
|
+
CREATE INDEX idx_users_email ON users(email);
|
|
109
|
+
|
|
110
|
+
-- Comments
|
|
111
|
+
COMMENT ON TABLE users IS 'User accounts for authentication and profile management';
|
|
112
|
+
COMMENT ON COLUMN users.email IS 'Unique email address for login';
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
#### Categories Table
|
|
116
|
+
|
|
117
|
+
```sql
|
|
118
|
+
CREATE TABLE categories (
|
|
119
|
+
id SERIAL PRIMARY KEY,
|
|
120
|
+
name VARCHAR(100) NOT NULL,
|
|
121
|
+
slug VARCHAR(100) UNIQUE NOT NULL,
|
|
122
|
+
description TEXT,
|
|
123
|
+
parent_id INTEGER REFERENCES categories(id),
|
|
124
|
+
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
|
125
|
+
);
|
|
126
|
+
|
|
127
|
+
-- Indexes
|
|
128
|
+
CREATE INDEX idx_categories_slug ON categories(slug);
|
|
129
|
+
CREATE INDEX idx_categories_parent ON categories(parent_id);
|
|
130
|
+
|
|
131
|
+
-- Comments
|
|
132
|
+
COMMENT ON TABLE categories IS 'Product categories with hierarchical support';
|
|
133
|
+
COMMENT ON COLUMN categories.parent_id IS 'Parent category for nested categories';
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
#### Products Table
|
|
137
|
+
|
|
138
|
+
```sql
|
|
139
|
+
CREATE TABLE products (
|
|
140
|
+
id SERIAL PRIMARY KEY,
|
|
141
|
+
category_id INTEGER REFERENCES categories(id),
|
|
142
|
+
name VARCHAR(255) NOT NULL,
|
|
143
|
+
slug VARCHAR(255) UNIQUE NOT NULL,
|
|
144
|
+
description TEXT,
|
|
145
|
+
price DECIMAL(10, 2) NOT NULL,
|
|
146
|
+
inventory_count INTEGER DEFAULT 0,
|
|
147
|
+
attributes JSONB, -- Flexible product attributes
|
|
148
|
+
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
|
149
|
+
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
|
150
|
+
|
|
151
|
+
CONSTRAINT price_positive CHECK (price >= 0),
|
|
152
|
+
CONSTRAINT inventory_non_negative CHECK (inventory_count >= 0)
|
|
153
|
+
);
|
|
154
|
+
|
|
155
|
+
-- Indexes
|
|
156
|
+
CREATE INDEX idx_products_category ON products(category_id);
|
|
157
|
+
CREATE INDEX idx_products_slug ON products(slug);
|
|
158
|
+
CREATE INDEX idx_products_name_search ON products USING gin(to_tsvector('english', name));
|
|
159
|
+
CREATE INDEX idx_products_attributes ON products USING gin(attributes);
|
|
160
|
+
|
|
161
|
+
-- Comments
|
|
162
|
+
COMMENT ON TABLE products IS 'Product catalog with inventory tracking';
|
|
163
|
+
COMMENT ON COLUMN products.attributes IS 'Flexible JSON attributes (color, size, etc.)';
|
|
164
|
+
COMMENT ON COLUMN products.inventory_count IS 'Current stock level';
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
#### Product Images Table
|
|
168
|
+
|
|
169
|
+
```sql
|
|
170
|
+
CREATE TABLE product_images (
|
|
171
|
+
id SERIAL PRIMARY KEY,
|
|
172
|
+
product_id INTEGER REFERENCES products(id) ON DELETE CASCADE,
|
|
173
|
+
url VARCHAR(500) NOT NULL,
|
|
174
|
+
alt_text VARCHAR(255),
|
|
175
|
+
display_order INTEGER DEFAULT 0,
|
|
176
|
+
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
|
177
|
+
);
|
|
178
|
+
|
|
179
|
+
-- Indexes
|
|
180
|
+
CREATE INDEX idx_product_images_product ON product_images(product_id, display_order);
|
|
181
|
+
|
|
182
|
+
-- Comments
|
|
183
|
+
COMMENT ON TABLE product_images IS 'Product images with display ordering';
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
#### Orders Table
|
|
187
|
+
|
|
188
|
+
```sql
|
|
189
|
+
CREATE TABLE orders (
|
|
190
|
+
id SERIAL PRIMARY KEY,
|
|
191
|
+
user_id INTEGER REFERENCES users(id),
|
|
192
|
+
status VARCHAR(20) DEFAULT 'pending',
|
|
193
|
+
total_amount DECIMAL(10, 2) NOT NULL,
|
|
194
|
+
payment_method VARCHAR(50),
|
|
195
|
+
shipping_address JSONB,
|
|
196
|
+
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
|
197
|
+
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
|
198
|
+
|
|
199
|
+
CONSTRAINT valid_status CHECK (status IN ('pending', 'processing', 'shipped', 'delivered', 'cancelled'))
|
|
200
|
+
);
|
|
201
|
+
|
|
202
|
+
-- Indexes
|
|
203
|
+
CREATE INDEX idx_orders_user ON orders(user_id, created_at DESC);
|
|
204
|
+
CREATE INDEX idx_orders_status ON orders(status) WHERE status != 'delivered';
|
|
205
|
+
|
|
206
|
+
-- Comments
|
|
207
|
+
COMMENT ON TABLE orders IS 'Customer orders with status tracking';
|
|
208
|
+
COMMENT ON COLUMN orders.shipping_address IS 'JSON object with address details';
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
#### Order Items Table
|
|
212
|
+
|
|
213
|
+
```sql
|
|
214
|
+
CREATE TABLE order_items (
|
|
215
|
+
id SERIAL PRIMARY KEY,
|
|
216
|
+
order_id INTEGER REFERENCES orders(id) ON DELETE CASCADE,
|
|
217
|
+
product_id INTEGER REFERENCES products(id),
|
|
218
|
+
quantity INTEGER NOT NULL,
|
|
219
|
+
price_at_purchase DECIMAL(10, 2) NOT NULL,
|
|
220
|
+
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
|
221
|
+
|
|
222
|
+
CONSTRAINT quantity_positive CHECK (quantity > 0)
|
|
223
|
+
);
|
|
224
|
+
|
|
225
|
+
-- Indexes
|
|
226
|
+
CREATE INDEX idx_order_items_order ON order_items(order_id);
|
|
227
|
+
CREATE INDEX idx_order_items_product ON order_items(product_id);
|
|
228
|
+
|
|
229
|
+
-- Comments
|
|
230
|
+
COMMENT ON TABLE order_items IS 'Line items for each order';
|
|
231
|
+
COMMENT ON COLUMN order_items.price_at_purchase IS 'Price at time of purchase (historical record)';
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
#### Reviews Table
|
|
235
|
+
|
|
236
|
+
```sql
|
|
237
|
+
CREATE TABLE reviews (
|
|
238
|
+
id SERIAL PRIMARY KEY,
|
|
239
|
+
product_id INTEGER REFERENCES products(id) ON DELETE CASCADE,
|
|
240
|
+
user_id INTEGER REFERENCES users(id),
|
|
241
|
+
rating INTEGER NOT NULL,
|
|
242
|
+
title VARCHAR(255),
|
|
243
|
+
comment TEXT,
|
|
244
|
+
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
|
245
|
+
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
|
246
|
+
|
|
247
|
+
CONSTRAINT rating_range CHECK (rating >= 1 AND rating <= 5),
|
|
248
|
+
CONSTRAINT unique_user_product UNIQUE (product_id, user_id)
|
|
249
|
+
);
|
|
250
|
+
|
|
251
|
+
-- Indexes
|
|
252
|
+
CREATE INDEX idx_reviews_product ON reviews(product_id, created_at DESC);
|
|
253
|
+
CREATE INDEX idx_reviews_user ON reviews(user_id);
|
|
254
|
+
|
|
255
|
+
-- Comments
|
|
256
|
+
COMMENT ON TABLE reviews IS 'Product reviews and ratings';
|
|
257
|
+
COMMENT ON CONSTRAINT unique_user_product ON reviews IS 'One review per user per product';
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
---
|
|
261
|
+
|
|
262
|
+
## Step 4: Optimization Considerations
|
|
263
|
+
|
|
264
|
+
### Denormalization for Performance
|
|
265
|
+
|
|
266
|
+
**Add average rating to products table**:
|
|
267
|
+
```sql
|
|
268
|
+
ALTER TABLE products ADD COLUMN average_rating DECIMAL(3, 2);
|
|
269
|
+
ALTER TABLE products ADD COLUMN review_count INTEGER DEFAULT 0;
|
|
270
|
+
|
|
271
|
+
-- Update with trigger or scheduled job
|
|
272
|
+
CREATE OR REPLACE FUNCTION update_product_rating()
|
|
273
|
+
RETURNS TRIGGER AS $$
|
|
274
|
+
BEGIN
|
|
275
|
+
UPDATE products
|
|
276
|
+
SET
|
|
277
|
+
average_rating = (SELECT AVG(rating) FROM reviews WHERE product_id = NEW.product_id),
|
|
278
|
+
review_count = (SELECT COUNT(*) FROM reviews WHERE product_id = NEW.product_id)
|
|
279
|
+
WHERE id = NEW.product_id;
|
|
280
|
+
RETURN NEW;
|
|
281
|
+
END;
|
|
282
|
+
$$ LANGUAGE plpgsql;
|
|
283
|
+
|
|
284
|
+
CREATE TRIGGER trigger_update_product_rating
|
|
285
|
+
AFTER INSERT OR UPDATE OR DELETE ON reviews
|
|
286
|
+
FOR EACH ROW EXECUTE FUNCTION update_product_rating();
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
### Materialized View for Reports
|
|
290
|
+
|
|
291
|
+
```sql
|
|
292
|
+
CREATE MATERIALIZED VIEW daily_sales_summary AS
|
|
293
|
+
SELECT
|
|
294
|
+
DATE(created_at) as sale_date,
|
|
295
|
+
COUNT(*) as order_count,
|
|
296
|
+
SUM(total_amount) as total_revenue,
|
|
297
|
+
AVG(total_amount) as average_order_value
|
|
298
|
+
FROM orders
|
|
299
|
+
WHERE status = 'delivered'
|
|
300
|
+
GROUP BY DATE(created_at);
|
|
301
|
+
|
|
302
|
+
-- Refresh daily
|
|
303
|
+
CREATE INDEX idx_daily_sales_date ON daily_sales_summary(sale_date);
|
|
304
|
+
```
|
|
305
|
+
|
|
306
|
+
---
|
|
307
|
+
|
|
308
|
+
## Step 5: Sample Queries
|
|
309
|
+
|
|
310
|
+
### Get Product Listing with Category
|
|
311
|
+
|
|
312
|
+
```sql
|
|
313
|
+
SELECT
|
|
314
|
+
p.id,
|
|
315
|
+
p.name,
|
|
316
|
+
p.price,
|
|
317
|
+
p.inventory_count,
|
|
318
|
+
p.average_rating,
|
|
319
|
+
p.review_count,
|
|
320
|
+
c.name as category_name,
|
|
321
|
+
(SELECT url FROM product_images WHERE product_id = p.id ORDER BY display_order LIMIT 1) as thumbnail
|
|
322
|
+
FROM products p
|
|
323
|
+
JOIN categories c ON p.category_id = c.id
|
|
324
|
+
WHERE c.slug = 'electronics'
|
|
325
|
+
AND p.inventory_count > 0
|
|
326
|
+
ORDER BY p.average_rating DESC NULLS LAST
|
|
327
|
+
LIMIT 20 OFFSET 0;
|
|
328
|
+
```
|
|
329
|
+
|
|
330
|
+
### Get Product Details with Images and Reviews
|
|
331
|
+
|
|
332
|
+
```sql
|
|
333
|
+
-- Product details
|
|
334
|
+
SELECT * FROM products WHERE slug = 'wireless-headphones';
|
|
335
|
+
|
|
336
|
+
-- Product images
|
|
337
|
+
SELECT url, alt_text
|
|
338
|
+
FROM product_images
|
|
339
|
+
WHERE product_id = (SELECT id FROM products WHERE slug = 'wireless-headphones')
|
|
340
|
+
ORDER BY display_order;
|
|
341
|
+
|
|
342
|
+
-- Recent reviews
|
|
343
|
+
SELECT r.rating, r.title, r.comment, r.created_at, u.first_name
|
|
344
|
+
FROM reviews r
|
|
345
|
+
JOIN users u ON r.user_id = u.id
|
|
346
|
+
WHERE r.product_id = (SELECT id FROM products WHERE slug = 'wireless-headphones')
|
|
347
|
+
ORDER BY r.created_at DESC
|
|
348
|
+
LIMIT 10;
|
|
349
|
+
```
|
|
350
|
+
|
|
351
|
+
### Get User Order History
|
|
352
|
+
|
|
353
|
+
```sql
|
|
354
|
+
SELECT
|
|
355
|
+
o.id,
|
|
356
|
+
o.status,
|
|
357
|
+
o.total_amount,
|
|
358
|
+
o.created_at,
|
|
359
|
+
COUNT(oi.id) as item_count
|
|
360
|
+
FROM orders o
|
|
361
|
+
LEFT JOIN order_items oi ON o.id = oi.order_id
|
|
362
|
+
WHERE o.user_id = 123
|
|
363
|
+
GROUP BY o.id
|
|
364
|
+
ORDER BY o.created_at DESC;
|
|
365
|
+
```
|
|
366
|
+
|
|
367
|
+
### Place Order (Transaction)
|
|
368
|
+
|
|
369
|
+
```sql
|
|
370
|
+
BEGIN;
|
|
371
|
+
|
|
372
|
+
-- Create order
|
|
373
|
+
INSERT INTO orders (user_id, total_amount, payment_method, shipping_address)
|
|
374
|
+
VALUES (123, 299.99, 'credit_card', '{"street": "123 Main St", "city": "New York"}')
|
|
375
|
+
RETURNING id;
|
|
376
|
+
|
|
377
|
+
-- Add order items and update inventory
|
|
378
|
+
INSERT INTO order_items (order_id, product_id, quantity, price_at_purchase)
|
|
379
|
+
VALUES (456, 789, 2, 149.99);
|
|
380
|
+
|
|
381
|
+
UPDATE products
|
|
382
|
+
SET inventory_count = inventory_count - 2
|
|
383
|
+
WHERE id = 789 AND inventory_count >= 2;
|
|
384
|
+
|
|
385
|
+
-- Verify inventory was updated (prevent overselling)
|
|
386
|
+
SELECT inventory_count FROM products WHERE id = 789;
|
|
387
|
+
|
|
388
|
+
COMMIT;
|
|
389
|
+
```
|
|
390
|
+
|
|
391
|
+
---
|
|
392
|
+
|
|
393
|
+
## Step 6: Testing and Validation
|
|
394
|
+
|
|
395
|
+
### Data Integrity Tests
|
|
396
|
+
|
|
397
|
+
```sql
|
|
398
|
+
-- Verify no negative inventory
|
|
399
|
+
SELECT * FROM products WHERE inventory_count < 0;
|
|
400
|
+
|
|
401
|
+
-- Verify all order items have valid products
|
|
402
|
+
SELECT oi.* FROM order_items oi
|
|
403
|
+
LEFT JOIN products p ON oi.product_id = p.id
|
|
404
|
+
WHERE p.id IS NULL;
|
|
405
|
+
|
|
406
|
+
-- Verify rating constraints
|
|
407
|
+
SELECT * FROM reviews WHERE rating < 1 OR rating > 5;
|
|
408
|
+
```
|
|
409
|
+
|
|
410
|
+
### Performance Tests
|
|
411
|
+
|
|
412
|
+
```sql
|
|
413
|
+
-- Test product listing query performance
|
|
414
|
+
EXPLAIN ANALYZE
|
|
415
|
+
SELECT p.*, c.name as category_name
|
|
416
|
+
FROM products p
|
|
417
|
+
JOIN categories c ON p.category_id = c.id
|
|
418
|
+
WHERE c.slug = 'electronics'
|
|
419
|
+
LIMIT 20;
|
|
420
|
+
|
|
421
|
+
-- Should use index scan, not sequential scan
|
|
422
|
+
```
|
|
423
|
+
|
|
424
|
+
---
|
|
425
|
+
|
|
426
|
+
## Key Takeaways
|
|
427
|
+
|
|
428
|
+
1. **ACID Guarantees**: Used PostgreSQL for strong consistency in orders and inventory
|
|
429
|
+
2. **Normalization**: Normalized schema to 3NF, with strategic denormalization (average_rating)
|
|
430
|
+
3. **Indexes**: Added indexes on foreign keys and frequently queried columns
|
|
431
|
+
4. **Constraints**: Used CHECK constraints to enforce business rules
|
|
432
|
+
5. **JSON Support**: Used JSONB for flexible attributes and addresses
|
|
433
|
+
6. **Performance**: Denormalized ratings and created materialized views for reports
|
|
434
|
+
7. **Transactions**: Used transactions for order placement to prevent overselling
|
|
435
|
+
|
|
436
|
+
---
|
|
437
|
+
|
|
438
|
+
## Next Steps
|
|
439
|
+
|
|
440
|
+
- See `migration-example.md` for adding new features to this schema
|
|
441
|
+
- See `optimization-example.md` for optimizing slow queries
|
|
442
|
+
- See `../rules/testing-patterns.md` for comprehensive testing strategies
|
|
443
|
+
|
|
444
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "database-workflow",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"displayName": "Database Design and Development Workflow",
|
|
5
|
+
"description": "Comprehensive workflow for database design, schema development, migration management, optimization, and testing. Covers relational, NoSQL, vector, and flat databases.",
|
|
6
|
+
"type": "workflow",
|
|
7
|
+
"author": "Augment Extensions",
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"keywords": [
|
|
10
|
+
"database",
|
|
11
|
+
"schema-design",
|
|
12
|
+
"migration",
|
|
13
|
+
"optimization",
|
|
14
|
+
"testing",
|
|
15
|
+
"workflow",
|
|
16
|
+
"sql",
|
|
17
|
+
"nosql",
|
|
18
|
+
"vector-database",
|
|
19
|
+
"flat-database"
|
|
20
|
+
],
|
|
21
|
+
"augment": {
|
|
22
|
+
"characterCount": 124548,
|
|
23
|
+
"priority": "high",
|
|
24
|
+
"category": "workflow",
|
|
25
|
+
"compatibleWith": [
|
|
26
|
+
"Claude Code",
|
|
27
|
+
"CodeBuddy",
|
|
28
|
+
"Cursor",
|
|
29
|
+
"GitHub Copilot",
|
|
30
|
+
"Continue",
|
|
31
|
+
"Windsurf",
|
|
32
|
+
"All AGENTS.md compatible tools"
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
"dependencies": {},
|
|
36
|
+
"installation": {
|
|
37
|
+
"required": false,
|
|
38
|
+
"optional": false,
|
|
39
|
+
"notes": "This workflow module provides guidelines and best practices for database design and development. No CLI installation required."
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|