@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,313 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Skill System Utilities
|
|
4
|
+
*
|
|
5
|
+
* Manages skill file structure, storage, and validation.
|
|
6
|
+
*/
|
|
7
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
8
|
+
if (k2 === undefined) k2 = k;
|
|
9
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
10
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
11
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
12
|
+
}
|
|
13
|
+
Object.defineProperty(o, k2, desc);
|
|
14
|
+
}) : (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
o[k2] = m[k];
|
|
17
|
+
}));
|
|
18
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
19
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
20
|
+
}) : function(o, v) {
|
|
21
|
+
o["default"] = v;
|
|
22
|
+
});
|
|
23
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
24
|
+
var ownKeys = function(o) {
|
|
25
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
26
|
+
var ar = [];
|
|
27
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
28
|
+
return ar;
|
|
29
|
+
};
|
|
30
|
+
return ownKeys(o);
|
|
31
|
+
};
|
|
32
|
+
return function (mod) {
|
|
33
|
+
if (mod && mod.__esModule) return mod;
|
|
34
|
+
var result = {};
|
|
35
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
36
|
+
__setModuleDefault(result, mod);
|
|
37
|
+
return result;
|
|
38
|
+
};
|
|
39
|
+
})();
|
|
40
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41
|
+
exports.SKILL_CATEGORIES = void 0;
|
|
42
|
+
exports.getSkillsDir = getSkillsDir;
|
|
43
|
+
exports.getSkillPath = getSkillPath;
|
|
44
|
+
exports.parseSkill = parseSkill;
|
|
45
|
+
exports.validateSkillMetadata = validateSkillMetadata;
|
|
46
|
+
exports.discoverSkills = discoverSkills;
|
|
47
|
+
exports.findSkill = findSkill;
|
|
48
|
+
exports.registerSkillInCoordination = registerSkillInCoordination;
|
|
49
|
+
exports.loadSkillDynamic = loadSkillDynamic;
|
|
50
|
+
exports.loadSkillsBatch = loadSkillsBatch;
|
|
51
|
+
exports.getSkillContentForInjection = getSkillContentForInjection;
|
|
52
|
+
exports.clearSkillCache = clearSkillCache;
|
|
53
|
+
exports.getSkillCacheStats = getSkillCacheStats;
|
|
54
|
+
const fs = __importStar(require("fs"));
|
|
55
|
+
const path = __importStar(require("path"));
|
|
56
|
+
const yaml = __importStar(require("js-yaml"));
|
|
57
|
+
exports.SKILL_CATEGORIES = [
|
|
58
|
+
'retrieval',
|
|
59
|
+
'transformation',
|
|
60
|
+
'analysis',
|
|
61
|
+
'generation',
|
|
62
|
+
'integration',
|
|
63
|
+
'utility'
|
|
64
|
+
];
|
|
65
|
+
/**
|
|
66
|
+
* Get the skills directory path
|
|
67
|
+
*/
|
|
68
|
+
function getSkillsDir(repoRoot) {
|
|
69
|
+
const root = repoRoot || process.cwd();
|
|
70
|
+
return path.join(root, 'skills');
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Get the path for a skill file
|
|
74
|
+
*/
|
|
75
|
+
function getSkillPath(skillId, category, repoRoot) {
|
|
76
|
+
const skillsDir = getSkillsDir(repoRoot);
|
|
77
|
+
return path.join(skillsDir, category, `${skillId}.md`);
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Parse skill frontmatter and content
|
|
81
|
+
*/
|
|
82
|
+
function parseSkill(filePath) {
|
|
83
|
+
const content = fs.readFileSync(filePath, 'utf-8');
|
|
84
|
+
// Extract frontmatter
|
|
85
|
+
const frontmatterMatch = content.match(/^---\n([\s\S]*?)\n---\n([\s\S]*)$/);
|
|
86
|
+
if (!frontmatterMatch) {
|
|
87
|
+
throw new Error(`Invalid skill file: ${filePath} - Missing frontmatter`);
|
|
88
|
+
}
|
|
89
|
+
const frontmatter = frontmatterMatch[1];
|
|
90
|
+
const body = frontmatterMatch[2];
|
|
91
|
+
// Parse YAML frontmatter
|
|
92
|
+
const metadata = yaml.load(frontmatter);
|
|
93
|
+
return {
|
|
94
|
+
metadata,
|
|
95
|
+
content: body,
|
|
96
|
+
filePath
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Validate skill metadata
|
|
101
|
+
*/
|
|
102
|
+
function validateSkillMetadata(metadata) {
|
|
103
|
+
const errors = [];
|
|
104
|
+
// Required fields
|
|
105
|
+
if (!metadata.id)
|
|
106
|
+
errors.push('Missing required field: id');
|
|
107
|
+
if (!metadata.name)
|
|
108
|
+
errors.push('Missing required field: name');
|
|
109
|
+
if (!metadata.version)
|
|
110
|
+
errors.push('Missing required field: version');
|
|
111
|
+
if (!metadata.category)
|
|
112
|
+
errors.push('Missing required field: category');
|
|
113
|
+
if (!metadata.tokenBudget)
|
|
114
|
+
errors.push('Missing required field: tokenBudget');
|
|
115
|
+
// Validate category
|
|
116
|
+
if (metadata.category && !exports.SKILL_CATEGORIES.includes(metadata.category)) {
|
|
117
|
+
errors.push(`Invalid category: ${metadata.category}. Must be one of: ${exports.SKILL_CATEGORIES.join(', ')}`);
|
|
118
|
+
}
|
|
119
|
+
// Validate version format (semantic versioning)
|
|
120
|
+
if (metadata.version && !/^\d+\.\d+\.\d+(-[a-zA-Z0-9.-]+)?(\+[a-zA-Z0-9.-]+)?$/.test(metadata.version)) {
|
|
121
|
+
errors.push(`Invalid version format: ${metadata.version}. Must follow semantic versioning (MAJOR.MINOR.PATCH)`);
|
|
122
|
+
}
|
|
123
|
+
// Validate token budget
|
|
124
|
+
if (metadata.tokenBudget) {
|
|
125
|
+
if (metadata.tokenBudget < 500) {
|
|
126
|
+
errors.push('Token budget too low: minimum 500 tokens');
|
|
127
|
+
}
|
|
128
|
+
if (metadata.tokenBudget > 10000) {
|
|
129
|
+
errors.push('Token budget too high: maximum 10000 tokens');
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
// Validate priority
|
|
133
|
+
if (metadata.priority && !['critical', 'high', 'medium', 'low'].includes(metadata.priority)) {
|
|
134
|
+
errors.push(`Invalid priority: ${metadata.priority}. Must be one of: critical, high, medium, low`);
|
|
135
|
+
}
|
|
136
|
+
return {
|
|
137
|
+
valid: errors.length === 0,
|
|
138
|
+
errors
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Discover all skills in the skills directory
|
|
143
|
+
*/
|
|
144
|
+
function discoverSkills(repoRoot) {
|
|
145
|
+
const skillsDir = getSkillsDir(repoRoot);
|
|
146
|
+
const skills = [];
|
|
147
|
+
if (!fs.existsSync(skillsDir)) {
|
|
148
|
+
return skills;
|
|
149
|
+
}
|
|
150
|
+
// Iterate through category directories
|
|
151
|
+
for (const category of exports.SKILL_CATEGORIES) {
|
|
152
|
+
const categoryDir = path.join(skillsDir, category);
|
|
153
|
+
if (!fs.existsSync(categoryDir)) {
|
|
154
|
+
continue;
|
|
155
|
+
}
|
|
156
|
+
// Find all .md files in category
|
|
157
|
+
const files = fs.readdirSync(categoryDir)
|
|
158
|
+
.filter(f => f.endsWith('.md') && f !== 'README.md');
|
|
159
|
+
for (const file of files) {
|
|
160
|
+
const filePath = path.join(categoryDir, file);
|
|
161
|
+
try {
|
|
162
|
+
const skill = parseSkill(filePath);
|
|
163
|
+
skills.push(skill);
|
|
164
|
+
}
|
|
165
|
+
catch (error) {
|
|
166
|
+
console.warn(`Warning: Failed to parse skill ${filePath}: ${error}`);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
return skills;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Find a skill by ID
|
|
174
|
+
*/
|
|
175
|
+
function findSkill(skillId, repoRoot) {
|
|
176
|
+
const skills = discoverSkills(repoRoot);
|
|
177
|
+
return skills.find(s => s.metadata.id === skillId) || null;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Register skill in coordination manifest
|
|
181
|
+
*/
|
|
182
|
+
function registerSkillInCoordination(skill, taskId) {
|
|
183
|
+
const coordPath = path.join(process.cwd(), '.augment', 'coordination.json');
|
|
184
|
+
if (!fs.existsSync(coordPath)) {
|
|
185
|
+
console.warn('Coordination manifest not found. Skipping skill registration.');
|
|
186
|
+
return;
|
|
187
|
+
}
|
|
188
|
+
const coordination = JSON.parse(fs.readFileSync(coordPath, 'utf-8'));
|
|
189
|
+
// Add skill to files section
|
|
190
|
+
if (!coordination.files) {
|
|
191
|
+
coordination.files = {};
|
|
192
|
+
}
|
|
193
|
+
const relativePath = path.relative(process.cwd(), skill.filePath).replace(/\\/g, '/');
|
|
194
|
+
coordination.files[relativePath] = {
|
|
195
|
+
createdBy: taskId || 'skill-system',
|
|
196
|
+
modifiedBy: [],
|
|
197
|
+
governedBy: ['augment-extensions/spec'],
|
|
198
|
+
rulesApplied: ['module-development.md']
|
|
199
|
+
};
|
|
200
|
+
// Update lastUpdated
|
|
201
|
+
coordination.lastUpdated = new Date().toISOString();
|
|
202
|
+
// Write back to file
|
|
203
|
+
fs.writeFileSync(coordPath, JSON.stringify(coordination, null, 2));
|
|
204
|
+
}
|
|
205
|
+
// Skill cache
|
|
206
|
+
const skillCache = new Map();
|
|
207
|
+
/**
|
|
208
|
+
* Load a skill with dependency resolution
|
|
209
|
+
*/
|
|
210
|
+
function loadSkillDynamic(skillId, options = {}) {
|
|
211
|
+
const { maxTokens = 50000, resolveDependencies = true, cache = true } = options;
|
|
212
|
+
// Check cache first
|
|
213
|
+
if (cache && skillCache.has(skillId)) {
|
|
214
|
+
return skillCache.get(skillId);
|
|
215
|
+
}
|
|
216
|
+
// Find the skill
|
|
217
|
+
const skill = findSkill(skillId);
|
|
218
|
+
if (!skill) {
|
|
219
|
+
return null;
|
|
220
|
+
}
|
|
221
|
+
// Load dependencies if requested
|
|
222
|
+
const dependencies = [];
|
|
223
|
+
let totalTokens = skill.metadata.tokenBudget;
|
|
224
|
+
if (resolveDependencies && skill.metadata.dependencies) {
|
|
225
|
+
for (const depId of skill.metadata.dependencies) {
|
|
226
|
+
const depLoaded = loadSkillDynamic(depId, {
|
|
227
|
+
...options,
|
|
228
|
+
cache: false // Don't cache dependencies during resolution
|
|
229
|
+
});
|
|
230
|
+
if (!depLoaded) {
|
|
231
|
+
console.warn(`Warning: Dependency ${depId} not found for skill ${skillId}`);
|
|
232
|
+
continue;
|
|
233
|
+
}
|
|
234
|
+
dependencies.push(depLoaded);
|
|
235
|
+
totalTokens += depLoaded.totalTokens;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
// Check token budget
|
|
239
|
+
if (totalTokens > maxTokens) {
|
|
240
|
+
throw new Error(`Token budget exceeded: ${totalTokens} > ${maxTokens} for skill ${skillId} with dependencies`);
|
|
241
|
+
}
|
|
242
|
+
const loaded = {
|
|
243
|
+
skill,
|
|
244
|
+
dependencies,
|
|
245
|
+
totalTokens
|
|
246
|
+
};
|
|
247
|
+
// Cache the result
|
|
248
|
+
if (cache) {
|
|
249
|
+
skillCache.set(skillId, loaded);
|
|
250
|
+
}
|
|
251
|
+
return loaded;
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* Load multiple skills with shared dependency resolution
|
|
255
|
+
*/
|
|
256
|
+
function loadSkillsBatch(skillIds, options = {}) {
|
|
257
|
+
const loaded = [];
|
|
258
|
+
const seen = new Set();
|
|
259
|
+
for (const skillId of skillIds) {
|
|
260
|
+
if (seen.has(skillId)) {
|
|
261
|
+
continue;
|
|
262
|
+
}
|
|
263
|
+
const loadedSkill = loadSkillDynamic(skillId, options);
|
|
264
|
+
if (loadedSkill) {
|
|
265
|
+
loaded.push(loadedSkill);
|
|
266
|
+
seen.add(skillId);
|
|
267
|
+
// Mark dependencies as seen to avoid duplicates
|
|
268
|
+
const markDeps = (ls) => {
|
|
269
|
+
for (const dep of ls.dependencies) {
|
|
270
|
+
seen.add(dep.skill.metadata.id);
|
|
271
|
+
markDeps(dep);
|
|
272
|
+
}
|
|
273
|
+
};
|
|
274
|
+
markDeps(loadedSkill);
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
return loaded;
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* Get skill content for injection (flattened with dependencies)
|
|
281
|
+
*/
|
|
282
|
+
function getSkillContentForInjection(loadedSkill) {
|
|
283
|
+
const parts = [];
|
|
284
|
+
// Add dependencies first (depth-first)
|
|
285
|
+
for (const dep of loadedSkill.dependencies) {
|
|
286
|
+
parts.push(getSkillContentForInjection(dep));
|
|
287
|
+
}
|
|
288
|
+
// Add main skill content
|
|
289
|
+
const { skill } = loadedSkill;
|
|
290
|
+
parts.push(`# Skill: ${skill.metadata.name} (${skill.metadata.id})`);
|
|
291
|
+
parts.push(`Category: ${skill.metadata.category}`);
|
|
292
|
+
parts.push(`Token Budget: ${skill.metadata.tokenBudget}`);
|
|
293
|
+
parts.push('');
|
|
294
|
+
parts.push(skill.content);
|
|
295
|
+
parts.push('');
|
|
296
|
+
return parts.join('\n');
|
|
297
|
+
}
|
|
298
|
+
/**
|
|
299
|
+
* Clear skill cache
|
|
300
|
+
*/
|
|
301
|
+
function clearSkillCache() {
|
|
302
|
+
skillCache.clear();
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* Get cache statistics
|
|
306
|
+
*/
|
|
307
|
+
function getSkillCacheStats() {
|
|
308
|
+
return {
|
|
309
|
+
size: skillCache.size,
|
|
310
|
+
skills: Array.from(skillCache.keys())
|
|
311
|
+
};
|
|
312
|
+
}
|
|
313
|
+
//# sourceMappingURL=skill-system.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill-system.js","sourceRoot":"","sources":["../../src/utils/skill-system.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCH,oCAGC;AAKD,oCAGC;AAKD,gCAqBC;AAKD,sDAuCC;AAKD,wCAgCC;AAKD,8BAGC;AAKD,kEA6BC;AA0BD,4CA6DC;AAKD,0CA6BC;AAKD,kEAkBC;AAKD,0CAEC;AAKD,gDAKC;AAtWD,uCAAyB;AACzB,2CAA6B;AAC7B,8CAAgC;AAuBnB,QAAA,gBAAgB,GAAG;IAC9B,WAAW;IACX,gBAAgB;IAChB,UAAU;IACV,YAAY;IACZ,aAAa;IACb,SAAS;CACD,CAAC;AAEX;;GAEG;AACH,SAAgB,YAAY,CAAC,QAAiB;IAC5C,MAAM,IAAI,GAAG,QAAQ,IAAI,OAAO,CAAC,GAAG,EAAE,CAAC;IACvC,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AACnC,CAAC;AAED;;GAEG;AACH,SAAgB,YAAY,CAAC,OAAe,EAAE,QAAgB,EAAE,QAAiB;IAC/E,MAAM,SAAS,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAC;IACzC,OAAO,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,QAAQ,EAAE,GAAG,OAAO,KA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