kiro-kit 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2067 -0
- package/dist/index.js.map +1 -0
- package/dist/presets/_template/.env.example +15 -0
- package/dist/presets/_template/.mcp.json.example +30 -0
- package/dist/presets/_template/README.md +71 -0
- package/dist/presets/_template/agents/.gitkeep +1 -0
- package/dist/presets/_template/agents/brainstormer.md +47 -0
- package/dist/presets/_template/agents/code-reviewer.md +56 -0
- package/dist/presets/_template/agents/copywriter.md +47 -0
- package/dist/presets/_template/agents/database-admin.md +48 -0
- package/dist/presets/_template/agents/debugger.md +47 -0
- package/dist/presets/_template/agents/docs-manager.md +46 -0
- package/dist/presets/_template/agents/git-manager.md +49 -0
- package/dist/presets/_template/agents/journal-writer.md +58 -0
- package/dist/presets/_template/agents/mcp-manager.md +46 -0
- package/dist/presets/_template/agents/planner.md +44 -0
- package/dist/presets/_template/agents/project-manager.md +54 -0
- package/dist/presets/_template/agents/researcher.md +47 -0
- package/dist/presets/_template/agents/scout-external.md +50 -0
- package/dist/presets/_template/agents/scout.md +51 -0
- package/dist/presets/_template/agents/tester.md +55 -0
- package/dist/presets/_template/agents/ui-ux-designer.md +47 -0
- package/dist/presets/_template/commands/bootstrap.md +15 -0
- package/dist/presets/_template/commands/clean.md +14 -0
- package/dist/presets/_template/commands/design/figma.md +14 -0
- package/dist/presets/_template/commands/design/system.md +14 -0
- package/dist/presets/_template/commands/design/wireframe.md +14 -0
- package/dist/presets/_template/commands/docs/architecture.md +14 -0
- package/dist/presets/_template/commands/docs/summarize.md +14 -0
- package/dist/presets/_template/commands/docs/update.md +14 -0
- package/dist/presets/_template/commands/fix/build.md +14 -0
- package/dist/presets/_template/commands/fix/lint.md +13 -0
- package/dist/presets/_template/commands/fix/tests.md +14 -0
- package/dist/presets/_template/commands/git/branch.md +15 -0
- package/dist/presets/_template/commands/git/commit.md +15 -0
- package/dist/presets/_template/commands/git/pr.md +14 -0
- package/dist/presets/_template/commands/lint.md +14 -0
- package/dist/presets/_template/commands/plan/feature.md +15 -0
- package/dist/presets/_template/commands/plan/refactor.md +15 -0
- package/dist/presets/_template/commands/release.md +16 -0
- package/dist/presets/_template/commands/review/code.md +14 -0
- package/dist/presets/_template/commands/review/security.md +14 -0
- package/dist/presets/_template/commands/scout/ext.md +15 -0
- package/dist/presets/_template/commands/scout.md +15 -0
- package/dist/presets/_template/commands/skill/add.md +15 -0
- package/dist/presets/_template/commands/skill/create.md +15 -0
- package/dist/presets/_template/commands/skill/optimize.md +14 -0
- package/dist/presets/_template/commands/test.md +15 -0
- package/dist/presets/_template/docs/.gitkeep +1 -0
- package/dist/presets/_template/hooks/.env.example +9 -0
- package/dist/presets/_template/hooks/README.md +28 -0
- package/dist/presets/_template/hooks/discord-notify.js +31 -0
- package/dist/presets/_template/hooks/discord-notify.ps1 +19 -0
- package/dist/presets/_template/hooks/discord-notify.sh +15 -0
- package/dist/presets/_template/hooks/git-status-tracker.js +26 -0
- package/dist/presets/_template/hooks/modularization-hook.js +36 -0
- package/dist/presets/_template/hooks/pre-commit-lint.js +15 -0
- package/dist/presets/_template/hooks/scout-block.js +30 -0
- package/dist/presets/_template/hooks/scout-block.ps1 +26 -0
- package/dist/presets/_template/hooks/scout-block.sh +31 -0
- package/dist/presets/_template/hooks/telegram-notify.js +30 -0
- package/dist/presets/_template/hooks/telegram-notify.ps1 +22 -0
- package/dist/presets/_template/hooks/telegram-notify.sh +16 -0
- package/dist/presets/_template/manifest.json +17 -0
- package/dist/presets/_template/settings.json +31 -0
- package/dist/presets/_template/skills/.env.example +12 -0
- package/dist/presets/_template/skills/INSTALLATION.md +37 -0
- package/dist/presets/_template/skills/README.md +34 -0
- package/dist/presets/_template/skills/THIRD_PARTY_NOTICES.md +24 -0
- package/dist/presets/_template/skills/agent_skills_spec.md +41 -0
- package/dist/presets/_template/skills/template-skill/SKILL.md +20 -0
- package/dist/presets/_template/skills/template-skill/assets/.gitkeep +1 -0
- package/dist/presets/_template/skills/template-skill/references/.gitkeep +1 -0
- package/dist/presets/_template/skills/template-skill/scripts/.gitkeep +1 -0
- package/dist/presets/_template/specs/_templates/_template/.gitkeep +1 -0
- package/dist/presets/_template/statusline.js +22 -0
- package/dist/presets/_template/statusline.ps1 +16 -0
- package/dist/presets/_template/statusline.sh +17 -0
- package/dist/presets/_template/steering/.gitkeep +1 -0
- package/dist/presets/_template/workflows/development-rules.md +33 -0
- package/dist/presets/_template/workflows/documentation-management.md +29 -0
- package/dist/presets/_template/workflows/orchestration-protocol.md +25 -0
- package/dist/presets/_template/workflows/primary-workflow.md +33 -0
- package/dist/presets/backend/.env.example +24 -0
- package/dist/presets/backend/.mcp.json.example +34 -0
- package/dist/presets/backend/README.md +58 -0
- package/dist/presets/backend/agents/api-developer.md +45 -0
- package/dist/presets/backend/agents/brainstormer.md +42 -0
- package/dist/presets/backend/agents/code-reviewer.md +56 -0
- package/dist/presets/backend/agents/copywriter.md +40 -0
- package/dist/presets/backend/agents/database-admin.md +41 -0
- package/dist/presets/backend/agents/database-architect.md +58 -0
- package/dist/presets/backend/agents/debugger.md +40 -0
- package/dist/presets/backend/agents/devops-engineer.md +58 -0
- package/dist/presets/backend/agents/docs-manager.md +39 -0
- package/dist/presets/backend/agents/git-manager.md +47 -0
- package/dist/presets/backend/agents/journal-writer.md +58 -0
- package/dist/presets/backend/agents/mcp-manager.md +39 -0
- package/dist/presets/backend/agents/planner.md +39 -0
- package/dist/presets/backend/agents/project-manager.md +54 -0
- package/dist/presets/backend/agents/researcher.md +41 -0
- package/dist/presets/backend/agents/scout-external.md +43 -0
- package/dist/presets/backend/agents/scout.md +46 -0
- package/dist/presets/backend/agents/security-auditor.md +59 -0
- package/dist/presets/backend/agents/tester.md +55 -0
- package/dist/presets/backend/commands/backend/middleware.md +29 -0
- package/dist/presets/backend/commands/backend/migration.md +27 -0
- package/dist/presets/backend/commands/backend/route.md +27 -0
- package/dist/presets/backend/commands/bootstrap.md +16 -0
- package/dist/presets/backend/commands/clean.md +12 -0
- package/dist/presets/backend/commands/design/figma.md +15 -0
- package/dist/presets/backend/commands/design/system.md +17 -0
- package/dist/presets/backend/commands/design/wireframe.md +15 -0
- package/dist/presets/backend/commands/docs/architecture.md +13 -0
- package/dist/presets/backend/commands/docs/summarize.md +15 -0
- package/dist/presets/backend/commands/docs/update.md +12 -0
- package/dist/presets/backend/commands/fix/build.md +11 -0
- package/dist/presets/backend/commands/fix/lint.md +10 -0
- package/dist/presets/backend/commands/fix/tests.md +16 -0
- package/dist/presets/backend/commands/git/branch.md +16 -0
- package/dist/presets/backend/commands/git/commit.md +17 -0
- package/dist/presets/backend/commands/git/pr.md +16 -0
- package/dist/presets/backend/commands/lint.md +11 -0
- package/dist/presets/backend/commands/plan/feature.md +16 -0
- package/dist/presets/backend/commands/plan/refactor.md +16 -0
- package/dist/presets/backend/commands/release.md +17 -0
- package/dist/presets/backend/commands/review/code.md +16 -0
- package/dist/presets/backend/commands/review/security.md +17 -0
- package/dist/presets/backend/commands/scout/ext.md +17 -0
- package/dist/presets/backend/commands/scout.md +16 -0
- package/dist/presets/backend/commands/skill/add.md +16 -0
- package/dist/presets/backend/commands/skill/create.md +17 -0
- package/dist/presets/backend/commands/skill/optimize.md +16 -0
- package/dist/presets/backend/commands/test.md +15 -0
- package/dist/presets/backend/docs/code-standards.md +84 -0
- package/dist/presets/backend/docs/project-roadmap.md +60 -0
- package/dist/presets/backend/docs/system-architecture.md +81 -0
- package/dist/presets/backend/hooks/.env.example +9 -0
- package/dist/presets/backend/hooks/README.md +28 -0
- package/dist/presets/backend/hooks/discord-notify.js +31 -0
- package/dist/presets/backend/hooks/discord-notify.ps1 +19 -0
- package/dist/presets/backend/hooks/discord-notify.sh +15 -0
- package/dist/presets/backend/hooks/git-status-tracker.js +26 -0
- package/dist/presets/backend/hooks/modularization-hook.js +36 -0
- package/dist/presets/backend/hooks/pre-commit-lint.js +15 -0
- package/dist/presets/backend/hooks/scout-block.js +30 -0
- package/dist/presets/backend/hooks/scout-block.ps1 +26 -0
- package/dist/presets/backend/hooks/scout-block.sh +31 -0
- package/dist/presets/backend/hooks/telegram-notify.js +30 -0
- package/dist/presets/backend/hooks/telegram-notify.ps1 +22 -0
- package/dist/presets/backend/hooks/telegram-notify.sh +16 -0
- package/dist/presets/backend/manifest.json +152 -0
- package/dist/presets/backend/settings.json +31 -0
- package/dist/presets/backend/skills/.env.example +9 -0
- package/dist/presets/backend/skills/INSTALLATION.md +47 -0
- package/dist/presets/backend/skills/README.md +43 -0
- package/dist/presets/backend/skills/THIRD_PARTY_NOTICES.md +16 -0
- package/dist/presets/backend/skills/agent_skills_spec.md +40 -0
- package/dist/presets/backend/skills/ai-multimodal/SKILL.md +32 -0
- package/dist/presets/backend/skills/backend-development/SKILL.md +50 -0
- package/dist/presets/backend/skills/better-auth/SKILL.md +57 -0
- package/dist/presets/backend/skills/chrome-devtools/SKILL.md +43 -0
- package/dist/presets/backend/skills/code-review/SKILL.md +45 -0
- package/dist/presets/backend/skills/databases/SKILL.md +50 -0
- package/dist/presets/backend/skills/debugging/SKILL.md +34 -0
- package/dist/presets/backend/skills/devops/SKILL.md +53 -0
- package/dist/presets/backend/skills/docs-seeker/SKILL.md +40 -0
- package/dist/presets/backend/skills/frontend-design/SKILL.md +39 -0
- package/dist/presets/backend/skills/mcp-builder/SKILL.md +53 -0
- package/dist/presets/backend/skills/mcp-management/SKILL.md +40 -0
- package/dist/presets/backend/skills/media-processing/SKILL.md +55 -0
- package/dist/presets/backend/skills/planning/SKILL.md +39 -0
- package/dist/presets/backend/skills/problem-solving/SKILL.md +41 -0
- package/dist/presets/backend/skills/repomix/SKILL.md +42 -0
- package/dist/presets/backend/skills/research/SKILL.md +34 -0
- package/dist/presets/backend/skills/sequential-thinking/SKILL.md +33 -0
- package/dist/presets/backend/skills/skill-creator/SKILL.md +56 -0
- package/dist/presets/backend/skills/template-skill/SKILL.md +25 -0
- package/dist/presets/backend/specs/_templates/backend/design.md +87 -0
- package/dist/presets/backend/specs/_templates/backend/requirements.md +55 -0
- package/dist/presets/backend/specs/_templates/backend/tasks.md +46 -0
- package/dist/presets/backend/statusline.js +22 -0
- package/dist/presets/backend/statusline.ps1 +16 -0
- package/dist/presets/backend/statusline.sh +17 -0
- package/dist/presets/backend/steering/api-design-conventions.md +105 -0
- package/dist/presets/backend/steering/security-best-practices.md +85 -0
- package/dist/presets/backend/workflows/development-rules.md +33 -0
- package/dist/presets/backend/workflows/documentation-management.md +29 -0
- package/dist/presets/backend/workflows/orchestration-protocol.md +25 -0
- package/dist/presets/backend/workflows/primary-workflow.md +33 -0
- package/dist/presets/data-ai/.env.example +35 -0
- package/dist/presets/data-ai/.mcp.json.example +31 -0
- package/dist/presets/data-ai/README.md +58 -0
- package/dist/presets/data-ai/agents/brainstormer.md +46 -0
- package/dist/presets/data-ai/agents/code-reviewer.md +59 -0
- package/dist/presets/data-ai/agents/copywriter.md +46 -0
- package/dist/presets/data-ai/agents/data-pipeline-architect.md +45 -0
- package/dist/presets/data-ai/agents/data-scientist.md +45 -0
- package/dist/presets/data-ai/agents/database-admin.md +43 -0
- package/dist/presets/data-ai/agents/debugger.md +44 -0
- package/dist/presets/data-ai/agents/docs-manager.md +41 -0
- package/dist/presets/data-ai/agents/git-manager.md +49 -0
- package/dist/presets/data-ai/agents/journal-writer.md +58 -0
- package/dist/presets/data-ai/agents/mcp-manager.md +40 -0
- package/dist/presets/data-ai/agents/ml-engineer.md +45 -0
- package/dist/presets/data-ai/agents/model-evaluator.md +45 -0
- package/dist/presets/data-ai/agents/planner.md +42 -0
- package/dist/presets/data-ai/agents/project-manager.md +54 -0
- package/dist/presets/data-ai/agents/researcher.md +46 -0
- package/dist/presets/data-ai/agents/scout-external.md +45 -0
- package/dist/presets/data-ai/agents/scout.md +48 -0
- package/dist/presets/data-ai/agents/tester.md +56 -0
- package/dist/presets/data-ai/agents/ui-ux-designer.md +45 -0
- package/dist/presets/data-ai/commands/bootstrap.md +17 -0
- package/dist/presets/data-ai/commands/clean.md +17 -0
- package/dist/presets/data-ai/commands/data/clean.md +20 -0
- package/dist/presets/data-ai/commands/data/explore.md +18 -0
- package/dist/presets/data-ai/commands/data/profile.md +18 -0
- package/dist/presets/data-ai/commands/data/validate.md +18 -0
- package/dist/presets/data-ai/commands/docs/architecture.md +17 -0
- package/dist/presets/data-ai/commands/docs/summarize.md +17 -0
- package/dist/presets/data-ai/commands/docs/update.md +17 -0
- package/dist/presets/data-ai/commands/fix/build.md +17 -0
- package/dist/presets/data-ai/commands/fix/lint.md +16 -0
- package/dist/presets/data-ai/commands/fix/tests.md +17 -0
- package/dist/presets/data-ai/commands/git/branch.md +16 -0
- package/dist/presets/data-ai/commands/git/commit.md +17 -0
- package/dist/presets/data-ai/commands/git/pr.md +17 -0
- package/dist/presets/data-ai/commands/lint.md +16 -0
- package/dist/presets/data-ai/commands/ml/compare.md +17 -0
- package/dist/presets/data-ai/commands/ml/deploy.md +18 -0
- package/dist/presets/data-ai/commands/ml/evaluate.md +19 -0
- package/dist/presets/data-ai/commands/ml/train.md +20 -0
- package/dist/presets/data-ai/commands/ml/tune.md +18 -0
- package/dist/presets/data-ai/commands/pipeline/build.md +18 -0
- package/dist/presets/data-ai/commands/pipeline/run.md +18 -0
- package/dist/presets/data-ai/commands/pipeline/validate.md +17 -0
- package/dist/presets/data-ai/commands/plan/feature.md +18 -0
- package/dist/presets/data-ai/commands/plan/refactor.md +18 -0
- package/dist/presets/data-ai/commands/release.md +17 -0
- package/dist/presets/data-ai/commands/review/code.md +17 -0
- package/dist/presets/data-ai/commands/review/security.md +18 -0
- package/dist/presets/data-ai/commands/scout/ext.md +17 -0
- package/dist/presets/data-ai/commands/scout.md +17 -0
- package/dist/presets/data-ai/commands/skill/add.md +17 -0
- package/dist/presets/data-ai/commands/skill/create.md +19 -0
- package/dist/presets/data-ai/commands/skill/optimize.md +18 -0
- package/dist/presets/data-ai/commands/test.md +17 -0
- package/dist/presets/data-ai/docs/code-standards.md +89 -0
- package/dist/presets/data-ai/docs/project-roadmap.md +79 -0
- package/dist/presets/data-ai/docs/system-architecture.md +97 -0
- package/dist/presets/data-ai/hooks/.env.example +9 -0
- package/dist/presets/data-ai/hooks/README.md +28 -0
- package/dist/presets/data-ai/hooks/discord-notify.js +31 -0
- package/dist/presets/data-ai/hooks/discord-notify.ps1 +19 -0
- package/dist/presets/data-ai/hooks/discord-notify.sh +15 -0
- package/dist/presets/data-ai/hooks/git-status-tracker.js +26 -0
- package/dist/presets/data-ai/hooks/modularization-hook.js +36 -0
- package/dist/presets/data-ai/hooks/pre-commit-lint.js +15 -0
- package/dist/presets/data-ai/hooks/scout-block.js +30 -0
- package/dist/presets/data-ai/hooks/scout-block.ps1 +26 -0
- package/dist/presets/data-ai/hooks/scout-block.sh +31 -0
- package/dist/presets/data-ai/hooks/telegram-notify.js +30 -0
- package/dist/presets/data-ai/hooks/telegram-notify.ps1 +22 -0
- package/dist/presets/data-ai/hooks/telegram-notify.sh +16 -0
- package/dist/presets/data-ai/manifest.json +167 -0
- package/dist/presets/data-ai/settings.json +31 -0
- package/dist/presets/data-ai/skills/.env.example +16 -0
- package/dist/presets/data-ai/skills/INSTALLATION.md +35 -0
- package/dist/presets/data-ai/skills/README.md +35 -0
- package/dist/presets/data-ai/skills/THIRD_PARTY_NOTICES.md +32 -0
- package/dist/presets/data-ai/skills/agent_skills_spec.md +46 -0
- package/dist/presets/data-ai/skills/ai-multimodal/SKILL.md +41 -0
- package/dist/presets/data-ai/skills/code-review/SKILL.md +49 -0
- package/dist/presets/data-ai/skills/data-engineering/SKILL.md +47 -0
- package/dist/presets/data-ai/skills/data-visualization/SKILL.md +46 -0
- package/dist/presets/data-ai/skills/debugging/SKILL.md +42 -0
- package/dist/presets/data-ai/skills/docs-seeker/SKILL.md +41 -0
- package/dist/presets/data-ai/skills/document-skills/docx/SKILL.md +49 -0
- package/dist/presets/data-ai/skills/document-skills/pdf/SKILL.md +51 -0
- package/dist/presets/data-ai/skills/document-skills/pptx/SKILL.md +51 -0
- package/dist/presets/data-ai/skills/document-skills/xlsx/SKILL.md +54 -0
- package/dist/presets/data-ai/skills/experiment-tracking/SKILL.md +52 -0
- package/dist/presets/data-ai/skills/feature-store/SKILL.md +56 -0
- package/dist/presets/data-ai/skills/google-adk-python/SKILL.md +56 -0
- package/dist/presets/data-ai/skills/jupyter-notebooks/SKILL.md +60 -0
- package/dist/presets/data-ai/skills/mcp-builder/SKILL.md +40 -0
- package/dist/presets/data-ai/skills/mcp-management/SKILL.md +41 -0
- package/dist/presets/data-ai/skills/ml-ops/SKILL.md +45 -0
- package/dist/presets/data-ai/skills/nlp-text-processing/SKILL.md +48 -0
- package/dist/presets/data-ai/skills/pandas-analysis/SKILL.md +49 -0
- package/dist/presets/data-ai/skills/planning/SKILL.md +44 -0
- package/dist/presets/data-ai/skills/problem-solving/SKILL.md +42 -0
- package/dist/presets/data-ai/skills/pytorch-training/SKILL.md +55 -0
- package/dist/presets/data-ai/skills/repomix/SKILL.md +40 -0
- package/dist/presets/data-ai/skills/research/SKILL.md +35 -0
- package/dist/presets/data-ai/skills/scikit-learn/SKILL.md +47 -0
- package/dist/presets/data-ai/skills/sequential-thinking/SKILL.md +34 -0
- package/dist/presets/data-ai/skills/skill-creator/SKILL.md +56 -0
- package/dist/presets/data-ai/skills/template-skill/SKILL.md +23 -0
- package/dist/presets/data-ai/skills/template-skill/assets/.gitkeep +1 -0
- package/dist/presets/data-ai/skills/template-skill/references/.gitkeep +1 -0
- package/dist/presets/data-ai/skills/template-skill/scripts/.gitkeep +1 -0
- package/dist/presets/data-ai/skills/tensorflow-keras/SKILL.md +54 -0
- package/dist/presets/data-ai/specs/_templates/data-ai/design.md +81 -0
- package/dist/presets/data-ai/specs/_templates/data-ai/requirements.md +49 -0
- package/dist/presets/data-ai/specs/_templates/data-ai/tasks.md +50 -0
- package/dist/presets/data-ai/statusline.js +22 -0
- package/dist/presets/data-ai/statusline.ps1 +16 -0
- package/dist/presets/data-ai/statusline.sh +17 -0
- package/dist/presets/data-ai/steering/ml-patterns.md +75 -0
- package/dist/presets/data-ai/steering/python-conventions.md +78 -0
- package/dist/presets/data-ai/workflows/development-rules.md +34 -0
- package/dist/presets/data-ai/workflows/documentation-management.md +24 -0
- package/dist/presets/data-ai/workflows/orchestration-protocol.md +18 -0
- package/dist/presets/data-ai/workflows/primary-workflow.md +33 -0
- package/dist/presets/devops/.env.example +36 -0
- package/dist/presets/devops/.mcp.json.example +30 -0
- package/dist/presets/devops/README.md +57 -0
- package/dist/presets/devops/agents/brainstormer.md +46 -0
- package/dist/presets/devops/agents/ci-cd-specialist.md +54 -0
- package/dist/presets/devops/agents/code-reviewer.md +59 -0
- package/dist/presets/devops/agents/copywriter.md +46 -0
- package/dist/presets/devops/agents/database-admin.md +43 -0
- package/dist/presets/devops/agents/debugger.md +44 -0
- package/dist/presets/devops/agents/docs-manager.md +41 -0
- package/dist/presets/devops/agents/git-manager.md +49 -0
- package/dist/presets/devops/agents/infrastructure-engineer.md +53 -0
- package/dist/presets/devops/agents/journal-writer.md +58 -0
- package/dist/presets/devops/agents/mcp-manager.md +40 -0
- package/dist/presets/devops/agents/monitoring-engineer.md +54 -0
- package/dist/presets/devops/agents/planner.md +42 -0
- package/dist/presets/devops/agents/project-manager.md +54 -0
- package/dist/presets/devops/agents/researcher.md +46 -0
- package/dist/presets/devops/agents/scout-external.md +45 -0
- package/dist/presets/devops/agents/scout.md +48 -0
- package/dist/presets/devops/agents/security-auditor.md +60 -0
- package/dist/presets/devops/agents/tester.md +56 -0
- package/dist/presets/devops/agents/ui-ux-designer.md +45 -0
- package/dist/presets/devops/commands/bootstrap.md +16 -0
- package/dist/presets/devops/commands/clean.md +13 -0
- package/dist/presets/devops/commands/design/figma.md +15 -0
- package/dist/presets/devops/commands/design/system.md +11 -0
- package/dist/presets/devops/commands/design/wireframe.md +15 -0
- package/dist/presets/devops/commands/devops/container.md +16 -0
- package/dist/presets/devops/commands/devops/deploy.md +17 -0
- package/dist/presets/devops/commands/devops/infra.md +17 -0
- package/dist/presets/devops/commands/devops/monitor.md +16 -0
- package/dist/presets/devops/commands/docs/architecture.md +11 -0
- package/dist/presets/devops/commands/docs/summarize.md +15 -0
- package/dist/presets/devops/commands/docs/update.md +11 -0
- package/dist/presets/devops/commands/fix/build.md +11 -0
- package/dist/presets/devops/commands/fix/lint.md +10 -0
- package/dist/presets/devops/commands/fix/tests.md +16 -0
- package/dist/presets/devops/commands/git/branch.md +16 -0
- package/dist/presets/devops/commands/git/commit.md +15 -0
- package/dist/presets/devops/commands/git/pr.md +16 -0
- package/dist/presets/devops/commands/lint.md +13 -0
- package/dist/presets/devops/commands/plan/feature.md +15 -0
- package/dist/presets/devops/commands/plan/refactor.md +16 -0
- package/dist/presets/devops/commands/release.md +17 -0
- package/dist/presets/devops/commands/review/code.md +15 -0
- package/dist/presets/devops/commands/review/security.md +16 -0
- package/dist/presets/devops/commands/scout/ext.md +16 -0
- package/dist/presets/devops/commands/scout.md +16 -0
- package/dist/presets/devops/commands/skill/add.md +16 -0
- package/dist/presets/devops/commands/skill/create.md +16 -0
- package/dist/presets/devops/commands/skill/optimize.md +16 -0
- package/dist/presets/devops/commands/test.md +15 -0
- package/dist/presets/devops/docs/code-standards.md +82 -0
- package/dist/presets/devops/docs/project-roadmap.md +58 -0
- package/dist/presets/devops/docs/system-architecture.md +85 -0
- package/dist/presets/devops/hooks/.env.example +9 -0
- package/dist/presets/devops/hooks/README.md +30 -0
- package/dist/presets/devops/hooks/build-verify.js +44 -0
- package/dist/presets/devops/hooks/discord-notify.js +31 -0
- package/dist/presets/devops/hooks/discord-notify.ps1 +19 -0
- package/dist/presets/devops/hooks/discord-notify.sh +15 -0
- package/dist/presets/devops/hooks/git-status-tracker.js +26 -0
- package/dist/presets/devops/hooks/image-scan.js +27 -0
- package/dist/presets/devops/hooks/modularization-hook.js +36 -0
- package/dist/presets/devops/hooks/pre-commit-lint.js +15 -0
- package/dist/presets/devops/hooks/scout-block.js +30 -0
- package/dist/presets/devops/hooks/scout-block.ps1 +26 -0
- package/dist/presets/devops/hooks/scout-block.sh +31 -0
- package/dist/presets/devops/hooks/telegram-notify.js +30 -0
- package/dist/presets/devops/hooks/telegram-notify.ps1 +22 -0
- package/dist/presets/devops/hooks/telegram-notify.sh +16 -0
- package/dist/presets/devops/manifest.json +156 -0
- package/dist/presets/devops/settings.json +39 -0
- package/dist/presets/devops/skills/.env.example +14 -0
- package/dist/presets/devops/skills/INSTALLATION.md +29 -0
- package/dist/presets/devops/skills/README.md +48 -0
- package/dist/presets/devops/skills/THIRD_PARTY_NOTICES.md +19 -0
- package/dist/presets/devops/skills/agent_skills_spec.md +28 -0
- package/dist/presets/devops/skills/ai-multimodal/SKILL.md +32 -0
- package/dist/presets/devops/skills/backend-development/SKILL.md +36 -0
- package/dist/presets/devops/skills/chrome-devtools/SKILL.md +35 -0
- package/dist/presets/devops/skills/ci-cd-patterns/SKILL.md +45 -0
- package/dist/presets/devops/skills/code-review/SKILL.md +30 -0
- package/dist/presets/devops/skills/container-security/SKILL.md +44 -0
- package/dist/presets/devops/skills/databases/SKILL.md +34 -0
- package/dist/presets/devops/skills/debugging/SKILL.md +35 -0
- package/dist/presets/devops/skills/devops/SKILL.md +53 -0
- package/dist/presets/devops/skills/docs-seeker/SKILL.md +32 -0
- package/dist/presets/devops/skills/frontend-design/SKILL.md +32 -0
- package/dist/presets/devops/skills/kubernetes-ops/SKILL.md +54 -0
- package/dist/presets/devops/skills/mcp-builder/SKILL.md +33 -0
- package/dist/presets/devops/skills/mcp-management/SKILL.md +33 -0
- package/dist/presets/devops/skills/media-processing/SKILL.md +30 -0
- package/dist/presets/devops/skills/planning/SKILL.md +39 -0
- package/dist/presets/devops/skills/problem-solving/SKILL.md +32 -0
- package/dist/presets/devops/skills/repomix/SKILL.md +39 -0
- package/dist/presets/devops/skills/research/SKILL.md +34 -0
- package/dist/presets/devops/skills/sequential-thinking/SKILL.md +33 -0
- package/dist/presets/devops/skills/skill-creator/SKILL.md +35 -0
- package/dist/presets/devops/skills/template-skill/SKILL.md +24 -0
- package/dist/presets/devops/skills/terraform-modules/SKILL.md +47 -0
- package/dist/presets/devops/skills/web-frameworks/SKILL.md +31 -0
- package/dist/presets/devops/specs/_templates/devops/design.md +87 -0
- package/dist/presets/devops/specs/_templates/devops/requirements.md +42 -0
- package/dist/presets/devops/specs/_templates/devops/tasks.md +46 -0
- package/dist/presets/devops/statusline.js +22 -0
- package/dist/presets/devops/statusline.ps1 +16 -0
- package/dist/presets/devops/statusline.sh +17 -0
- package/dist/presets/devops/steering/docker-conventions.md +45 -0
- package/dist/presets/devops/steering/infrastructure-patterns.md +58 -0
- package/dist/presets/devops/workflows/development-rules.md +34 -0
- package/dist/presets/devops/workflows/documentation-management.md +24 -0
- package/dist/presets/devops/workflows/orchestration-protocol.md +18 -0
- package/dist/presets/devops/workflows/primary-workflow.md +33 -0
- package/dist/presets/frontend/.env.example +19 -0
- package/dist/presets/frontend/.mcp.json.example +30 -0
- package/dist/presets/frontend/README.md +55 -0
- package/dist/presets/frontend/agents/accessibility-auditor.md +56 -0
- package/dist/presets/frontend/agents/brainstormer.md +46 -0
- package/dist/presets/frontend/agents/code-reviewer.md +59 -0
- package/dist/presets/frontend/agents/component-architect.md +59 -0
- package/dist/presets/frontend/agents/copywriter.md +46 -0
- package/dist/presets/frontend/agents/database-admin.md +43 -0
- package/dist/presets/frontend/agents/debugger.md +44 -0
- package/dist/presets/frontend/agents/docs-manager.md +41 -0
- package/dist/presets/frontend/agents/frontend-developer.md +47 -0
- package/dist/presets/frontend/agents/git-manager.md +49 -0
- package/dist/presets/frontend/agents/journal-writer.md +58 -0
- package/dist/presets/frontend/agents/mcp-manager.md +40 -0
- package/dist/presets/frontend/agents/performance-optimizer.md +57 -0
- package/dist/presets/frontend/agents/planner.md +42 -0
- package/dist/presets/frontend/agents/project-manager.md +54 -0
- package/dist/presets/frontend/agents/researcher.md +46 -0
- package/dist/presets/frontend/agents/scout-external.md +45 -0
- package/dist/presets/frontend/agents/scout.md +48 -0
- package/dist/presets/frontend/agents/tester.md +56 -0
- package/dist/presets/frontend/agents/ui-ux-designer.md +45 -0
- package/dist/presets/frontend/commands/bootstrap.md +15 -0
- package/dist/presets/frontend/commands/clean.md +12 -0
- package/dist/presets/frontend/commands/design/figma.md +15 -0
- package/dist/presets/frontend/commands/design/system.md +11 -0
- package/dist/presets/frontend/commands/design/wireframe.md +15 -0
- package/dist/presets/frontend/commands/docs/architecture.md +11 -0
- package/dist/presets/frontend/commands/docs/summarize.md +15 -0
- package/dist/presets/frontend/commands/docs/update.md +11 -0
- package/dist/presets/frontend/commands/fix/build.md +11 -0
- package/dist/presets/frontend/commands/fix/lint.md +10 -0
- package/dist/presets/frontend/commands/fix/tests.md +15 -0
- package/dist/presets/frontend/commands/frontend/component.md +31 -0
- package/dist/presets/frontend/commands/frontend/hook.md +29 -0
- package/dist/presets/frontend/commands/frontend/layout.md +29 -0
- package/dist/presets/frontend/commands/frontend/page.md +31 -0
- package/dist/presets/frontend/commands/git/branch.md +14 -0
- package/dist/presets/frontend/commands/git/commit.md +15 -0
- package/dist/presets/frontend/commands/git/pr.md +16 -0
- package/dist/presets/frontend/commands/lint.md +11 -0
- package/dist/presets/frontend/commands/plan/feature.md +15 -0
- package/dist/presets/frontend/commands/plan/refactor.md +15 -0
- package/dist/presets/frontend/commands/release.md +17 -0
- package/dist/presets/frontend/commands/review/code.md +15 -0
- package/dist/presets/frontend/commands/review/security.md +12 -0
- package/dist/presets/frontend/commands/scout/ext.md +17 -0
- package/dist/presets/frontend/commands/scout.md +16 -0
- package/dist/presets/frontend/commands/skill/add.md +16 -0
- package/dist/presets/frontend/commands/skill/create.md +16 -0
- package/dist/presets/frontend/commands/skill/optimize.md +16 -0
- package/dist/presets/frontend/commands/test.md +15 -0
- package/dist/presets/frontend/docs/code-standards.md +79 -0
- package/dist/presets/frontend/docs/project-roadmap.md +78 -0
- package/dist/presets/frontend/docs/system-architecture.md +90 -0
- package/dist/presets/frontend/hooks/.env.example +9 -0
- package/dist/presets/frontend/hooks/README.md +28 -0
- package/dist/presets/frontend/hooks/discord-notify.js +31 -0
- package/dist/presets/frontend/hooks/discord-notify.ps1 +19 -0
- package/dist/presets/frontend/hooks/discord-notify.sh +15 -0
- package/dist/presets/frontend/hooks/git-status-tracker.js +26 -0
- package/dist/presets/frontend/hooks/modularization-hook.js +36 -0
- package/dist/presets/frontend/hooks/pre-commit-lint.js +15 -0
- package/dist/presets/frontend/hooks/scout-block.js +30 -0
- package/dist/presets/frontend/hooks/scout-block.ps1 +26 -0
- package/dist/presets/frontend/hooks/scout-block.sh +31 -0
- package/dist/presets/frontend/hooks/telegram-notify.js +30 -0
- package/dist/presets/frontend/hooks/telegram-notify.ps1 +22 -0
- package/dist/presets/frontend/hooks/telegram-notify.sh +16 -0
- package/dist/presets/frontend/manifest.json +151 -0
- package/dist/presets/frontend/settings.json +31 -0
- package/dist/presets/frontend/skills/.env.example +8 -0
- package/dist/presets/frontend/skills/INSTALLATION.md +34 -0
- package/dist/presets/frontend/skills/README.md +32 -0
- package/dist/presets/frontend/skills/THIRD_PARTY_NOTICES.md +18 -0
- package/dist/presets/frontend/skills/aesthetic/SKILL.md +60 -0
- package/dist/presets/frontend/skills/agent_skills_spec.md +37 -0
- package/dist/presets/frontend/skills/ai-multimodal/SKILL.md +32 -0
- package/dist/presets/frontend/skills/chrome-devtools/SKILL.md +51 -0
- package/dist/presets/frontend/skills/code-review/SKILL.md +42 -0
- package/dist/presets/frontend/skills/debugging/SKILL.md +34 -0
- package/dist/presets/frontend/skills/docs-seeker/SKILL.md +38 -0
- package/dist/presets/frontend/skills/frontend-design/SKILL.md +43 -0
- package/dist/presets/frontend/skills/frontend-development/SKILL.md +50 -0
- package/dist/presets/frontend/skills/mcp-builder/SKILL.md +41 -0
- package/dist/presets/frontend/skills/mcp-management/SKILL.md +40 -0
- package/dist/presets/frontend/skills/media-processing/SKILL.md +41 -0
- package/dist/presets/frontend/skills/planning/SKILL.md +39 -0
- package/dist/presets/frontend/skills/problem-solving/SKILL.md +37 -0
- package/dist/presets/frontend/skills/repomix/SKILL.md +39 -0
- package/dist/presets/frontend/skills/research/SKILL.md +34 -0
- package/dist/presets/frontend/skills/sequential-thinking/SKILL.md +33 -0
- package/dist/presets/frontend/skills/skill-creator/SKILL.md +55 -0
- package/dist/presets/frontend/skills/template-skill/SKILL.md +20 -0
- package/dist/presets/frontend/skills/template-skill/assets/.gitkeep +0 -0
- package/dist/presets/frontend/skills/template-skill/references/.gitkeep +0 -0
- package/dist/presets/frontend/skills/template-skill/scripts/.gitkeep +0 -0
- package/dist/presets/frontend/skills/threejs/SKILL.md +65 -0
- package/dist/presets/frontend/skills/ui-styling/SKILL.md +49 -0
- package/dist/presets/frontend/skills/web-frameworks/SKILL.md +56 -0
- package/dist/presets/frontend/specs/_templates/frontend/design.md +66 -0
- package/dist/presets/frontend/specs/_templates/frontend/requirements.md +41 -0
- package/dist/presets/frontend/specs/_templates/frontend/tasks.md +44 -0
- package/dist/presets/frontend/statusline.js +22 -0
- package/dist/presets/frontend/statusline.ps1 +16 -0
- package/dist/presets/frontend/statusline.sh +17 -0
- package/dist/presets/frontend/steering/nextjs-patterns.md +77 -0
- package/dist/presets/frontend/steering/react-conventions.md +59 -0
- package/dist/presets/frontend/workflows/development-rules.md +34 -0
- package/dist/presets/frontend/workflows/documentation-management.md +24 -0
- package/dist/presets/frontend/workflows/orchestration-protocol.md +18 -0
- package/dist/presets/frontend/workflows/primary-workflow.md +33 -0
- package/dist/presets/fullstack/.env.example +37 -0
- package/dist/presets/fullstack/.mcp.json.example +37 -0
- package/dist/presets/fullstack/README.md +40 -0
- package/dist/presets/fullstack/agents/api-developer.md +45 -0
- package/dist/presets/fullstack/agents/brainstormer.md +33 -0
- package/dist/presets/fullstack/agents/code-reviewer.md +32 -0
- package/dist/presets/fullstack/agents/copywriter.md +34 -0
- package/dist/presets/fullstack/agents/database-admin.md +34 -0
- package/dist/presets/fullstack/agents/database-architect.md +45 -0
- package/dist/presets/fullstack/agents/debugger.md +33 -0
- package/dist/presets/fullstack/agents/docs-manager.md +30 -0
- package/dist/presets/fullstack/agents/fullstack-developer.md +45 -0
- package/dist/presets/fullstack/agents/git-manager.md +32 -0
- package/dist/presets/fullstack/agents/journal-writer.md +32 -0
- package/dist/presets/fullstack/agents/mcp-manager.md +30 -0
- package/dist/presets/fullstack/agents/performance-optimizer.md +52 -0
- package/dist/presets/fullstack/agents/planner.md +31 -0
- package/dist/presets/fullstack/agents/project-manager.md +31 -0
- package/dist/presets/fullstack/agents/researcher.md +30 -0
- package/dist/presets/fullstack/agents/scout-external.md +29 -0
- package/dist/presets/fullstack/agents/scout.md +29 -0
- package/dist/presets/fullstack/agents/tester.md +32 -0
- package/dist/presets/fullstack/agents/ui-ux-designer.md +33 -0
- package/dist/presets/fullstack/commands/bootstrap.md +16 -0
- package/dist/presets/fullstack/commands/clean.md +12 -0
- package/dist/presets/fullstack/commands/design/figma.md +15 -0
- package/dist/presets/fullstack/commands/design/system.md +11 -0
- package/dist/presets/fullstack/commands/design/wireframe.md +15 -0
- package/dist/presets/fullstack/commands/docs/architecture.md +11 -0
- package/dist/presets/fullstack/commands/docs/summarize.md +15 -0
- package/dist/presets/fullstack/commands/docs/update.md +15 -0
- package/dist/presets/fullstack/commands/fix/build.md +11 -0
- package/dist/presets/fullstack/commands/fix/lint.md +10 -0
- package/dist/presets/fullstack/commands/fix/tests.md +16 -0
- package/dist/presets/fullstack/commands/fullstack/api-route.md +17 -0
- package/dist/presets/fullstack/commands/fullstack/component.md +17 -0
- package/dist/presets/fullstack/commands/fullstack/deploy.md +17 -0
- package/dist/presets/fullstack/commands/fullstack/migration.md +16 -0
- package/dist/presets/fullstack/commands/git/branch.md +15 -0
- package/dist/presets/fullstack/commands/git/commit.md +16 -0
- package/dist/presets/fullstack/commands/git/pr.md +16 -0
- package/dist/presets/fullstack/commands/lint.md +11 -0
- package/dist/presets/fullstack/commands/plan/feature.md +15 -0
- package/dist/presets/fullstack/commands/plan/refactor.md +15 -0
- package/dist/presets/fullstack/commands/release.md +17 -0
- package/dist/presets/fullstack/commands/review/code.md +15 -0
- package/dist/presets/fullstack/commands/review/security.md +16 -0
- package/dist/presets/fullstack/commands/scout/ext.md +17 -0
- package/dist/presets/fullstack/commands/scout.md +16 -0
- package/dist/presets/fullstack/commands/skill/add.md +16 -0
- package/dist/presets/fullstack/commands/skill/create.md +16 -0
- package/dist/presets/fullstack/commands/skill/optimize.md +16 -0
- package/dist/presets/fullstack/commands/test.md +15 -0
- package/dist/presets/fullstack/docs/code-standards.md +74 -0
- package/dist/presets/fullstack/docs/project-roadmap.md +78 -0
- package/dist/presets/fullstack/docs/system-architecture.md +97 -0
- package/dist/presets/fullstack/hooks/.env.example +9 -0
- package/dist/presets/fullstack/hooks/README.md +28 -0
- package/dist/presets/fullstack/hooks/discord-notify.js +31 -0
- package/dist/presets/fullstack/hooks/discord-notify.ps1 +19 -0
- package/dist/presets/fullstack/hooks/discord-notify.sh +15 -0
- package/dist/presets/fullstack/hooks/git-status-tracker.js +26 -0
- package/dist/presets/fullstack/hooks/modularization-hook.js +36 -0
- package/dist/presets/fullstack/hooks/pre-commit-lint.js +15 -0
- package/dist/presets/fullstack/hooks/scout-block.js +30 -0
- package/dist/presets/fullstack/hooks/scout-block.ps1 +26 -0
- package/dist/presets/fullstack/hooks/scout-block.sh +31 -0
- package/dist/presets/fullstack/hooks/telegram-notify.js +30 -0
- package/dist/presets/fullstack/hooks/telegram-notify.ps1 +22 -0
- package/dist/presets/fullstack/hooks/telegram-notify.sh +16 -0
- package/dist/presets/fullstack/manifest.json +156 -0
- package/dist/presets/fullstack/settings.json +31 -0
- package/dist/presets/fullstack/skills/.env.example +10 -0
- package/dist/presets/fullstack/skills/INSTALLATION.md +28 -0
- package/dist/presets/fullstack/skills/README.md +38 -0
- package/dist/presets/fullstack/skills/THIRD_PARTY_NOTICES.md +22 -0
- package/dist/presets/fullstack/skills/agent_skills_spec.md +39 -0
- package/dist/presets/fullstack/skills/ai-multimodal/SKILL.md +32 -0
- package/dist/presets/fullstack/skills/backend-development/SKILL.md +40 -0
- package/dist/presets/fullstack/skills/better-auth/SKILL.md +45 -0
- package/dist/presets/fullstack/skills/code-review/SKILL.md +28 -0
- package/dist/presets/fullstack/skills/databases/SKILL.md +39 -0
- package/dist/presets/fullstack/skills/debugging/SKILL.md +46 -0
- package/dist/presets/fullstack/skills/devops/SKILL.md +42 -0
- package/dist/presets/fullstack/skills/docs-seeker/SKILL.md +30 -0
- package/dist/presets/fullstack/skills/frontend-design/SKILL.md +32 -0
- package/dist/presets/fullstack/skills/frontend-development/SKILL.md +33 -0
- package/dist/presets/fullstack/skills/mcp-builder/SKILL.md +37 -0
- package/dist/presets/fullstack/skills/payment-integration/SKILL.md +50 -0
- package/dist/presets/fullstack/skills/planning/SKILL.md +41 -0
- package/dist/presets/fullstack/skills/problem-solving/SKILL.md +32 -0
- package/dist/presets/fullstack/skills/repomix/SKILL.md +40 -0
- package/dist/presets/fullstack/skills/research/SKILL.md +32 -0
- package/dist/presets/fullstack/skills/sequential-thinking/SKILL.md +32 -0
- package/dist/presets/fullstack/skills/shopify/SKILL.md +44 -0
- package/dist/presets/fullstack/skills/skill-creator/SKILL.md +36 -0
- package/dist/presets/fullstack/skills/template-skill/SKILL.md +26 -0
- package/dist/presets/fullstack/skills/ui-styling/SKILL.md +39 -0
- package/dist/presets/fullstack/skills/web-frameworks/SKILL.md +39 -0
- package/dist/presets/fullstack/specs/_templates/fullstack/design.md +87 -0
- package/dist/presets/fullstack/specs/_templates/fullstack/requirements.md +54 -0
- package/dist/presets/fullstack/specs/_templates/fullstack/tasks.md +40 -0
- package/dist/presets/fullstack/statusline.js +15 -0
- package/dist/presets/fullstack/statusline.ps1 +5 -0
- package/dist/presets/fullstack/statusline.sh +5 -0
- package/dist/presets/fullstack/steering/fullstack-conventions.md +77 -0
- package/dist/presets/fullstack/steering/nextjs-app-router.md +92 -0
- package/dist/presets/fullstack/workflows/development-rules.md +34 -0
- package/dist/presets/fullstack/workflows/documentation-management.md +24 -0
- package/dist/presets/fullstack/workflows/orchestration-protocol.md +18 -0
- package/dist/presets/fullstack/workflows/primary-workflow.md +33 -0
- package/dist/presets/mobile/.env.example +28 -0
- package/dist/presets/mobile/.mcp.json.example +30 -0
- package/dist/presets/mobile/README.md +56 -0
- package/dist/presets/mobile/agents/accessibility-auditor.md +73 -0
- package/dist/presets/mobile/agents/brainstormer.md +45 -0
- package/dist/presets/mobile/agents/code-reviewer.md +53 -0
- package/dist/presets/mobile/agents/copywriter.md +34 -0
- package/dist/presets/mobile/agents/database-admin.md +36 -0
- package/dist/presets/mobile/agents/debugger.md +44 -0
- package/dist/presets/mobile/agents/docs-manager.md +41 -0
- package/dist/presets/mobile/agents/git-manager.md +47 -0
- package/dist/presets/mobile/agents/journal-writer.md +46 -0
- package/dist/presets/mobile/agents/mcp-manager.md +30 -0
- package/dist/presets/mobile/agents/mobile-developer.md +57 -0
- package/dist/presets/mobile/agents/navigation-architect.md +50 -0
- package/dist/presets/mobile/agents/performance-optimizer.md +75 -0
- package/dist/presets/mobile/agents/planner.md +40 -0
- package/dist/presets/mobile/agents/platform-specialist.md +55 -0
- package/dist/presets/mobile/agents/project-manager.md +41 -0
- package/dist/presets/mobile/agents/researcher.md +41 -0
- package/dist/presets/mobile/agents/scout-external.md +35 -0
- package/dist/presets/mobile/agents/scout.md +36 -0
- package/dist/presets/mobile/agents/state-manager.md +50 -0
- package/dist/presets/mobile/agents/tester.md +60 -0
- package/dist/presets/mobile/agents/ui-ux-designer.md +46 -0
- package/dist/presets/mobile/agents/widget-architect.md +52 -0
- package/dist/presets/mobile/commands/bootstrap.md +16 -0
- package/dist/presets/mobile/commands/clean.md +15 -0
- package/dist/presets/mobile/commands/design/figma.md +15 -0
- package/dist/presets/mobile/commands/design/system.md +15 -0
- package/dist/presets/mobile/commands/design/wireframe.md +16 -0
- package/dist/presets/mobile/commands/docs/architecture.md +16 -0
- package/dist/presets/mobile/commands/docs/summarize.md +15 -0
- package/dist/presets/mobile/commands/docs/update.md +15 -0
- package/dist/presets/mobile/commands/fix/build.md +15 -0
- package/dist/presets/mobile/commands/fix/lint.md +14 -0
- package/dist/presets/mobile/commands/fix/tests.md +16 -0
- package/dist/presets/mobile/commands/git/branch.md +16 -0
- package/dist/presets/mobile/commands/git/commit.md +16 -0
- package/dist/presets/mobile/commands/git/pr.md +16 -0
- package/dist/presets/mobile/commands/lint.md +15 -0
- package/dist/presets/mobile/commands/mobile/navigation.md +34 -0
- package/dist/presets/mobile/commands/mobile/platform.md +42 -0
- package/dist/presets/mobile/commands/mobile/screen.md +46 -0
- package/dist/presets/mobile/commands/mobile/widget.md +42 -0
- package/dist/presets/mobile/commands/plan/feature.md +16 -0
- package/dist/presets/mobile/commands/plan/refactor.md +17 -0
- package/dist/presets/mobile/commands/release.md +17 -0
- package/dist/presets/mobile/commands/review/code.md +16 -0
- package/dist/presets/mobile/commands/review/security.md +16 -0
- package/dist/presets/mobile/commands/scout/ext.md +16 -0
- package/dist/presets/mobile/commands/scout.md +16 -0
- package/dist/presets/mobile/commands/skill/add.md +16 -0
- package/dist/presets/mobile/commands/skill/create.md +16 -0
- package/dist/presets/mobile/commands/skill/optimize.md +16 -0
- package/dist/presets/mobile/commands/test.md +17 -0
- package/dist/presets/mobile/docs/code-standards.md +74 -0
- package/dist/presets/mobile/docs/project-roadmap.md +48 -0
- package/dist/presets/mobile/docs/system-architecture.md +70 -0
- package/dist/presets/mobile/hooks/.env.example +9 -0
- package/dist/presets/mobile/hooks/README.md +28 -0
- package/dist/presets/mobile/hooks/discord-notify.js +31 -0
- package/dist/presets/mobile/hooks/discord-notify.ps1 +19 -0
- package/dist/presets/mobile/hooks/discord-notify.sh +15 -0
- package/dist/presets/mobile/hooks/git-status-tracker.js +26 -0
- package/dist/presets/mobile/hooks/modularization-hook.js +36 -0
- package/dist/presets/mobile/hooks/pre-commit-lint.js +26 -0
- package/dist/presets/mobile/hooks/scout-block.js +30 -0
- package/dist/presets/mobile/hooks/scout-block.ps1 +26 -0
- package/dist/presets/mobile/hooks/scout-block.sh +31 -0
- package/dist/presets/mobile/hooks/telegram-notify.js +30 -0
- package/dist/presets/mobile/hooks/telegram-notify.ps1 +22 -0
- package/dist/presets/mobile/hooks/telegram-notify.sh +16 -0
- package/dist/presets/mobile/manifest.json +158 -0
- package/dist/presets/mobile/settings.json +31 -0
- package/dist/presets/mobile/skills/.env.example +12 -0
- package/dist/presets/mobile/skills/INSTALLATION.md +28 -0
- package/dist/presets/mobile/skills/README.md +46 -0
- package/dist/presets/mobile/skills/THIRD_PARTY_NOTICES.md +12 -0
- package/dist/presets/mobile/skills/agent_skills_spec.md +37 -0
- package/dist/presets/mobile/skills/ai-multimodal/SKILL.md +41 -0
- package/dist/presets/mobile/skills/app-deployment/SKILL.md +50 -0
- package/dist/presets/mobile/skills/chrome-devtools/SKILL.md +39 -0
- package/dist/presets/mobile/skills/code-review/SKILL.md +30 -0
- package/dist/presets/mobile/skills/debugging/SKILL.md +36 -0
- package/dist/presets/mobile/skills/docs-seeker/SKILL.md +39 -0
- package/dist/presets/mobile/skills/flutter-state/SKILL.md +42 -0
- package/dist/presets/mobile/skills/frontend-design/SKILL.md +42 -0
- package/dist/presets/mobile/skills/frontend-development/SKILL.md +42 -0
- package/dist/presets/mobile/skills/mcp-builder/SKILL.md +32 -0
- package/dist/presets/mobile/skills/mcp-management/SKILL.md +32 -0
- package/dist/presets/mobile/skills/media-processing/SKILL.md +38 -0
- package/dist/presets/mobile/skills/mobile-development/SKILL.md +48 -0
- package/dist/presets/mobile/skills/mobile-testing/SKILL.md +43 -0
- package/dist/presets/mobile/skills/native-integration/SKILL.md +41 -0
- package/dist/presets/mobile/skills/offline-first/SKILL.md +41 -0
- package/dist/presets/mobile/skills/planning/SKILL.md +39 -0
- package/dist/presets/mobile/skills/problem-solving/SKILL.md +32 -0
- package/dist/presets/mobile/skills/repomix/SKILL.md +36 -0
- package/dist/presets/mobile/skills/research/SKILL.md +34 -0
- package/dist/presets/mobile/skills/sequential-thinking/SKILL.md +33 -0
- package/dist/presets/mobile/skills/skill-creator/SKILL.md +40 -0
- package/dist/presets/mobile/skills/template-skill/SKILL.md +23 -0
- package/dist/presets/mobile/skills/ui-styling/SKILL.md +51 -0
- package/dist/presets/mobile/skills/web-frameworks/SKILL.md +37 -0
- package/dist/presets/mobile/specs/_templates/mobile/design.md +62 -0
- package/dist/presets/mobile/specs/_templates/mobile/requirements.md +47 -0
- package/dist/presets/mobile/specs/_templates/mobile/tasks.md +52 -0
- package/dist/presets/mobile/statusline.js +22 -0
- package/dist/presets/mobile/statusline.ps1 +16 -0
- package/dist/presets/mobile/statusline.sh +17 -0
- package/dist/presets/mobile/steering/flutter-conventions.md +60 -0
- package/dist/presets/mobile/steering/mobile-patterns.md +54 -0
- package/dist/presets/mobile/workflows/development-rules.md +36 -0
- package/dist/presets/mobile/workflows/documentation-management.md +25 -0
- package/dist/presets/mobile/workflows/orchestration-protocol.md +19 -0
- package/dist/presets/mobile/workflows/primary-workflow.md +36 -0
- package/package.json +65 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Prepare and execute a release with version bump and changelog
|
|
3
|
+
inclusion: manual
|
|
4
|
+
argument-hint: "[version-type]"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Arguments
|
|
8
|
+
VERSION_TYPE: $1 (default: patch, options: major, minor, patch)
|
|
9
|
+
|
|
10
|
+
## Workflow
|
|
11
|
+
1. Verify working tree is clean
|
|
12
|
+
2. Run full test suite
|
|
13
|
+
3. Bump version in package.json
|
|
14
|
+
4. Update CHANGELOG.md with new entries
|
|
15
|
+
5. Create git commit and tag
|
|
16
|
+
6. Push to remote with tags
|
|
17
|
+
7. Report release summary
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Perform a code review on recent changes
|
|
3
|
+
inclusion: manual
|
|
4
|
+
argument-hint: "[scope]"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Arguments
|
|
8
|
+
SCOPE: $1 (default: staged changes, options: staged, branch, file path)
|
|
9
|
+
|
|
10
|
+
## Workflow
|
|
11
|
+
1. Identify files to review based on scope
|
|
12
|
+
2. Check code quality, readability, and standards compliance
|
|
13
|
+
3. Identify security vulnerabilities
|
|
14
|
+
4. Assess performance implications
|
|
15
|
+
5. Verify error handling and edge cases
|
|
16
|
+
6. Produce review report with categorized findings
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Perform a security-focused review of the codebase
|
|
3
|
+
inclusion: manual
|
|
4
|
+
argument-hint: "[scope]"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Arguments
|
|
8
|
+
SCOPE: $1 (default: all, options: auth, api, database, dependencies)
|
|
9
|
+
|
|
10
|
+
## Workflow
|
|
11
|
+
1. Run dependency audit (npm audit / pip-audit)
|
|
12
|
+
2. Check for OWASP Top 10 vulnerabilities
|
|
13
|
+
3. Review authentication and authorization logic
|
|
14
|
+
4. Verify input validation and output encoding
|
|
15
|
+
5. Check for secrets in code or config files
|
|
16
|
+
6. Assess security headers and transport configuration
|
|
17
|
+
7. Produce security report with severity ratings
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Scout codebase using external agentic tools for faster parallel search
|
|
3
|
+
inclusion: manual
|
|
4
|
+
argument-hint: "[search-query] [scale]"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Arguments
|
|
8
|
+
QUERY: $1 (required)
|
|
9
|
+
SCALE: $2 (default: 3)
|
|
10
|
+
|
|
11
|
+
## Workflow
|
|
12
|
+
1. Analyze search query and determine agent count
|
|
13
|
+
2. Divide codebase into logical sections
|
|
14
|
+
3. Launch parallel searches via external tools (Gemini, OpenCode)
|
|
15
|
+
4. Collect results within 3-minute timeout per agent
|
|
16
|
+
5. Deduplicate and organize findings
|
|
17
|
+
6. Report results with coverage gaps
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Scout the codebase for files relevant to a task
|
|
3
|
+
inclusion: manual
|
|
4
|
+
argument-hint: "[search-query] [scale]"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Arguments
|
|
8
|
+
QUERY: $1 (required)
|
|
9
|
+
SCALE: $2 (default: 3)
|
|
10
|
+
|
|
11
|
+
## Workflow
|
|
12
|
+
1. Analyze the search query and identify key directories
|
|
13
|
+
2. Divide codebase into logical sections for parallel searching
|
|
14
|
+
3. Search each section for files matching the query
|
|
15
|
+
4. Deduplicate and organize results by category
|
|
16
|
+
5. Present file list with any coverage gaps noted
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Add new reference files or scripts to a skill
|
|
3
|
+
inclusion: manual
|
|
4
|
+
argument-hint: "[skill-name] [reference-or-script-prompt]"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Arguments
|
|
8
|
+
SKILL: $1 (required, skill name)
|
|
9
|
+
PROMPT: $2 (required, what to add)
|
|
10
|
+
|
|
11
|
+
## Workflow
|
|
12
|
+
1. Locate skill directory at `.kiro/skills/$1`
|
|
13
|
+
2. Analyze existing skill content
|
|
14
|
+
3. Create new reference files or scripts based on prompt
|
|
15
|
+
4. Update SKILL.md if activation triggers change
|
|
16
|
+
5. Verify skill structure is valid
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Create a new skill from scratch
|
|
3
|
+
inclusion: manual
|
|
4
|
+
argument-hint: "[skill-name] [description]"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Arguments
|
|
8
|
+
NAME: $1 (required, kebab-case skill name)
|
|
9
|
+
DESCRIPTION: $2 (required, what the skill does)
|
|
10
|
+
|
|
11
|
+
## Workflow
|
|
12
|
+
1. Create skill directory at `.kiro/skills/$1/`
|
|
13
|
+
2. Generate SKILL.md with front-matter and content
|
|
14
|
+
3. Create references/ directory if detailed docs needed
|
|
15
|
+
4. Create scripts/ directory if automation needed
|
|
16
|
+
5. Verify skill structure matches specification
|
|
17
|
+
6. Test activation with representative scenario
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Optimize an existing skill for token efficiency and effectiveness
|
|
3
|
+
inclusion: manual
|
|
4
|
+
argument-hint: "[skill-name]"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Arguments
|
|
8
|
+
SKILL: $1 (required, skill name)
|
|
9
|
+
|
|
10
|
+
## Workflow
|
|
11
|
+
1. Read current skill content and structure
|
|
12
|
+
2. Analyze token usage and identify redundancy
|
|
13
|
+
3. Propose optimizations (consolidate, restructure, trim)
|
|
14
|
+
4. Present plan for user approval
|
|
15
|
+
5. Implement approved changes
|
|
16
|
+
6. Verify skill still activates correctly
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Run the test suite with coverage reporting
|
|
3
|
+
inclusion: manual
|
|
4
|
+
argument-hint: "[pattern]"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Arguments
|
|
8
|
+
PATTERN: $1 (default: all tests)
|
|
9
|
+
|
|
10
|
+
## Workflow
|
|
11
|
+
1. Run test suite with coverage: `npm test -- --coverage`
|
|
12
|
+
2. If pattern provided, filter tests: `npm test -- $1`
|
|
13
|
+
3. Report test results summary (passed, failed, skipped)
|
|
14
|
+
4. Report coverage metrics (lines, branches, functions)
|
|
15
|
+
5. Highlight any failing tests with error details
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# Code Standards
|
|
2
|
+
|
|
3
|
+
## Language and Runtime
|
|
4
|
+
|
|
5
|
+
- Node.js 18+ with TypeScript strict mode
|
|
6
|
+
- Python 3.10+ with type hints
|
|
7
|
+
- Go 1.21+ with standard project layout
|
|
8
|
+
|
|
9
|
+
## Architecture
|
|
10
|
+
|
|
11
|
+
- Layered architecture: Controller -> Service -> Repository
|
|
12
|
+
- Dependency injection for testability
|
|
13
|
+
- Single responsibility per module
|
|
14
|
+
- Maximum 200 lines per file
|
|
15
|
+
|
|
16
|
+
## File Organization
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
src/
|
|
20
|
+
config/ Configuration and environment
|
|
21
|
+
controllers/ Route handlers (thin, delegation only)
|
|
22
|
+
services/ Business logic
|
|
23
|
+
repositories/ Data access layer
|
|
24
|
+
middleware/ Request processing pipeline
|
|
25
|
+
models/ Data models and schemas
|
|
26
|
+
validators/ Input validation schemas
|
|
27
|
+
errors/ Custom error classes
|
|
28
|
+
utils/ Shared utilities
|
|
29
|
+
types/ TypeScript type definitions
|
|
30
|
+
tests/
|
|
31
|
+
unit/ Unit tests (no I/O)
|
|
32
|
+
integration/ Database and API tests
|
|
33
|
+
fixtures/ Test data and helpers
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Naming
|
|
37
|
+
|
|
38
|
+
- Files: kebab-case (`user-service.ts`, `auth-middleware.ts`)
|
|
39
|
+
- Classes: PascalCase (`UserService`, `AuthMiddleware`)
|
|
40
|
+
- Functions: camelCase (`createUser`, `validateToken`)
|
|
41
|
+
- Constants: UPPER_SNAKE_CASE (`MAX_RETRIES`, `DB_POOL_SIZE`)
|
|
42
|
+
- Database tables: snake_case plural (`user_accounts`)
|
|
43
|
+
- Database columns: snake_case (`created_at`, `email_verified`)
|
|
44
|
+
- API paths: kebab-case plural (`/api/v1/user-accounts`)
|
|
45
|
+
- Environment variables: UPPER_SNAKE_CASE (`DATABASE_URL`)
|
|
46
|
+
|
|
47
|
+
## Error Handling
|
|
48
|
+
|
|
49
|
+
- Use typed error classes with error codes
|
|
50
|
+
- Never swallow errors silently
|
|
51
|
+
- Log errors with context (correlation ID, user ID, operation)
|
|
52
|
+
- Return structured error responses to clients
|
|
53
|
+
- Use try-catch at service boundaries
|
|
54
|
+
|
|
55
|
+
## Database
|
|
56
|
+
|
|
57
|
+
- Use parameterized queries exclusively (no string concatenation)
|
|
58
|
+
- Implement connection pooling
|
|
59
|
+
- Add indexes based on query patterns
|
|
60
|
+
- Use transactions for multi-statement operations
|
|
61
|
+
- Include created_at/updated_at on all tables
|
|
62
|
+
|
|
63
|
+
## Testing
|
|
64
|
+
|
|
65
|
+
- Colocate test files or use parallel test directory
|
|
66
|
+
- Unit tests for business logic (no database, no network)
|
|
67
|
+
- Integration tests for API endpoints and database operations
|
|
68
|
+
- Use factories for test data (not raw fixtures)
|
|
69
|
+
- Test error paths, not just happy paths
|
|
70
|
+
|
|
71
|
+
## Security
|
|
72
|
+
|
|
73
|
+
- Validate all input at the boundary
|
|
74
|
+
- Hash passwords with bcrypt or argon2id
|
|
75
|
+
- Use parameterized queries (prevent SQL injection)
|
|
76
|
+
- Set security headers on all responses
|
|
77
|
+
- Never log sensitive data (passwords, tokens, PII)
|
|
78
|
+
|
|
79
|
+
## Git Conventions
|
|
80
|
+
|
|
81
|
+
- Conventional commits: `type(scope): description`
|
|
82
|
+
- Branch naming: `feature/description`, `fix/description`
|
|
83
|
+
- PR titles under 72 characters
|
|
84
|
+
- Squash merge to main
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# Project Roadmap
|
|
2
|
+
|
|
3
|
+
## Current Version: 0.1.0
|
|
4
|
+
|
|
5
|
+
## Phase 1: Foundation (In Progress)
|
|
6
|
+
|
|
7
|
+
- [ ] Project scaffolding and configuration
|
|
8
|
+
- [ ] Database schema design and initial migrations
|
|
9
|
+
- [ ] Authentication system (JWT + refresh tokens)
|
|
10
|
+
- [ ] Core API endpoints (CRUD operations)
|
|
11
|
+
- [ ] Error handling and logging infrastructure
|
|
12
|
+
- [ ] Unit and integration test setup
|
|
13
|
+
|
|
14
|
+
## Phase 2: Core Features
|
|
15
|
+
|
|
16
|
+
- [ ] Business logic implementation
|
|
17
|
+
- [ ] Input validation and sanitization
|
|
18
|
+
- [ ] Rate limiting and abuse prevention
|
|
19
|
+
- [ ] Background job processing
|
|
20
|
+
- [ ] Email/notification service integration
|
|
21
|
+
- [ ] API documentation (OpenAPI/Swagger)
|
|
22
|
+
|
|
23
|
+
## Phase 3: Security and Performance
|
|
24
|
+
|
|
25
|
+
- [ ] Security audit and hardening
|
|
26
|
+
- [ ] Performance profiling and optimization
|
|
27
|
+
- [ ] Database query optimization
|
|
28
|
+
- [ ] Caching strategy implementation
|
|
29
|
+
- [ ] Load testing and capacity planning
|
|
30
|
+
- [ ] Monitoring and alerting setup
|
|
31
|
+
|
|
32
|
+
## Phase 4: Deployment and Operations
|
|
33
|
+
|
|
34
|
+
- [ ] Docker containerization
|
|
35
|
+
- [ ] CI/CD pipeline configuration
|
|
36
|
+
- [ ] Staging environment setup
|
|
37
|
+
- [ ] Production deployment
|
|
38
|
+
- [ ] Runbook documentation
|
|
39
|
+
- [ ] Disaster recovery procedures
|
|
40
|
+
|
|
41
|
+
## Phase 5: Scale and Iterate
|
|
42
|
+
|
|
43
|
+
- [ ] Horizontal scaling implementation
|
|
44
|
+
- [ ] Advanced features based on user feedback
|
|
45
|
+
- [ ] API versioning strategy
|
|
46
|
+
- [ ] Performance monitoring and optimization
|
|
47
|
+
- [ ] Documentation updates
|
|
48
|
+
|
|
49
|
+
## Success Metrics
|
|
50
|
+
|
|
51
|
+
- API response time: p95 under 200ms
|
|
52
|
+
- Uptime: 99.9% availability
|
|
53
|
+
- Test coverage: 80%+ on critical paths
|
|
54
|
+
- Zero critical security vulnerabilities
|
|
55
|
+
- Deployment frequency: multiple times per week
|
|
56
|
+
|
|
57
|
+
## Changelog
|
|
58
|
+
|
|
59
|
+
### [Unreleased]
|
|
60
|
+
- Initial project setup
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# System Architecture
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
Document the high-level system architecture, components, and their interactions.
|
|
6
|
+
|
|
7
|
+
## System Context
|
|
8
|
+
|
|
9
|
+
```mermaid
|
|
10
|
+
flowchart LR
|
|
11
|
+
Client[Client Apps] --> API[API Gateway]
|
|
12
|
+
API --> Auth[Auth Service]
|
|
13
|
+
API --> Core[Core Service]
|
|
14
|
+
Core --> DB[(Database)]
|
|
15
|
+
Core --> Cache[(Cache)]
|
|
16
|
+
Core --> Queue[Message Queue]
|
|
17
|
+
Queue --> Worker[Background Workers]
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Components
|
|
21
|
+
|
|
22
|
+
### API Layer
|
|
23
|
+
- Framework: [Express/Fastify/NestJS/FastAPI/Gin]
|
|
24
|
+
- Responsibilities: request routing, validation, response formatting
|
|
25
|
+
- Middleware: auth, rate limiting, logging, CORS
|
|
26
|
+
|
|
27
|
+
### Service Layer
|
|
28
|
+
- Business logic and domain rules
|
|
29
|
+
- Transaction management
|
|
30
|
+
- External service integration
|
|
31
|
+
- Event publishing
|
|
32
|
+
|
|
33
|
+
### Data Layer
|
|
34
|
+
- Primary database: [PostgreSQL/MongoDB]
|
|
35
|
+
- Cache: [Redis]
|
|
36
|
+
- Search: [Elasticsearch] (if applicable)
|
|
37
|
+
- File storage: [S3/GCS] (if applicable)
|
|
38
|
+
|
|
39
|
+
### Infrastructure
|
|
40
|
+
- Container runtime: Docker
|
|
41
|
+
- Orchestration: [Docker Compose/Kubernetes]
|
|
42
|
+
- CI/CD: GitHub Actions
|
|
43
|
+
- Monitoring: [Prometheus/Datadog/CloudWatch]
|
|
44
|
+
|
|
45
|
+
## Data Flow
|
|
46
|
+
|
|
47
|
+
### Request Lifecycle
|
|
48
|
+
1. Client sends HTTP request
|
|
49
|
+
2. Load balancer routes to available instance
|
|
50
|
+
3. Middleware pipeline: CORS -> Rate Limit -> Auth -> Validation
|
|
51
|
+
4. Controller delegates to service layer
|
|
52
|
+
5. Service executes business logic
|
|
53
|
+
6. Repository handles data persistence
|
|
54
|
+
7. Response formatted and returned
|
|
55
|
+
|
|
56
|
+
### Background Processing
|
|
57
|
+
1. Service publishes event to message queue
|
|
58
|
+
2. Worker consumes event
|
|
59
|
+
3. Worker executes long-running task
|
|
60
|
+
4. Result stored or notification sent
|
|
61
|
+
|
|
62
|
+
## Deployment
|
|
63
|
+
|
|
64
|
+
### Environments
|
|
65
|
+
- Development: local Docker Compose
|
|
66
|
+
- Staging: [cloud provider] with production-like config
|
|
67
|
+
- Production: [cloud provider] with HA configuration
|
|
68
|
+
|
|
69
|
+
### Scaling Strategy
|
|
70
|
+
- Horizontal scaling for stateless API instances
|
|
71
|
+
- Read replicas for database read scaling
|
|
72
|
+
- Cache layer for frequently accessed data
|
|
73
|
+
- Queue-based processing for async workloads
|
|
74
|
+
|
|
75
|
+
## Security Architecture
|
|
76
|
+
|
|
77
|
+
- TLS termination at load balancer
|
|
78
|
+
- JWT-based authentication
|
|
79
|
+
- Role-based access control (RBAC)
|
|
80
|
+
- Network segmentation (public/private subnets)
|
|
81
|
+
- Secrets managed via environment variables or secret manager
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Hook environment variables
|
|
2
|
+
# Copy this file to .env and fill in your values.
|
|
3
|
+
|
|
4
|
+
# Discord webhook URL for notifications
|
|
5
|
+
DISCORD_WEBHOOK_URL=<your-discord-webhook-url>
|
|
6
|
+
|
|
7
|
+
# Telegram bot token and chat ID for notifications
|
|
8
|
+
TELEGRAM_BOT_TOKEN=<your-telegram-bot-token>
|
|
9
|
+
TELEGRAM_CHAT_ID=<your-telegram-chat-id>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Hooks
|
|
2
|
+
|
|
3
|
+
Cross-platform hook scripts for Kiro IDE automation.
|
|
4
|
+
|
|
5
|
+
## Available Hooks
|
|
6
|
+
|
|
7
|
+
| Hook | Trigger | Description |
|
|
8
|
+
|------|---------|-------------|
|
|
9
|
+
| scout-block | PreToolUse | Blocks dangerous commands (rm -rf, drop database, etc.) |
|
|
10
|
+
| modularization-hook | PostToolUse | Warns when files exceed 200 lines |
|
|
11
|
+
| discord-notify | agentStop | Sends notification via Discord webhook |
|
|
12
|
+
| telegram-notify | agentStop | Sends notification via Telegram bot |
|
|
13
|
+
| pre-commit-lint | PreToolUse | Runs linter before commit |
|
|
14
|
+
| git-status-tracker | PostToolUse | Logs git working tree status summary |
|
|
15
|
+
|
|
16
|
+
## Platform Support
|
|
17
|
+
|
|
18
|
+
Each hook has a primary `.js` (Node.js) version and platform-specific fallbacks:
|
|
19
|
+
- `.js` - Cross-platform (requires Node.js)
|
|
20
|
+
- `.sh` - Unix/macOS/Linux (bash)
|
|
21
|
+
- `.ps1` - Windows (PowerShell)
|
|
22
|
+
|
|
23
|
+
## Environment Variables
|
|
24
|
+
|
|
25
|
+
Copy `hooks/.env.example` to `hooks/.env` and configure:
|
|
26
|
+
- `DISCORD_WEBHOOK_URL` - Required for discord-notify
|
|
27
|
+
- `TELEGRAM_BOT_TOKEN` - Required for telegram-notify
|
|
28
|
+
- `TELEGRAM_CHAT_ID` - Required for telegram-notify
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// Sends a notification to Discord via webhook.
|
|
3
|
+
// Requires DISCORD_WEBHOOK_URL in hooks/.env or environment.
|
|
4
|
+
|
|
5
|
+
const https = require('https');
|
|
6
|
+
|
|
7
|
+
const WEBHOOK_URL = process.env.DISCORD_WEBHOOK_URL || '';
|
|
8
|
+
const message = process.argv.slice(2).join(' ') || 'Agent task completed.';
|
|
9
|
+
|
|
10
|
+
if (!WEBHOOK_URL) {
|
|
11
|
+
process.stderr.write('[discord-notify] DISCORD_WEBHOOK_URL not set. Skipping.\n');
|
|
12
|
+
process.exit(0);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
const url = new URL(WEBHOOK_URL);
|
|
16
|
+
const payload = JSON.stringify({ content: message });
|
|
17
|
+
|
|
18
|
+
const options = {
|
|
19
|
+
hostname: url.hostname,
|
|
20
|
+
path: url.pathname,
|
|
21
|
+
method: 'POST',
|
|
22
|
+
headers: { 'Content-Type': 'application/json', 'Content-Length': Buffer.byteLength(payload) },
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
const req = https.request(options, (res) => {
|
|
26
|
+
process.exit(res.statusCode >= 200 && res.statusCode < 300 ? 0 : 1);
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
req.on('error', () => process.exit(1));
|
|
30
|
+
req.write(payload);
|
|
31
|
+
req.end();
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Sends a notification to Discord via webhook.
|
|
2
|
+
# Requires DISCORD_WEBHOOK_URL in environment.
|
|
3
|
+
|
|
4
|
+
$Message = if ($args.Count -gt 0) { $args -join ' ' } else { 'Agent task completed.' }
|
|
5
|
+
|
|
6
|
+
$WebhookUrl = $env:DISCORD_WEBHOOK_URL
|
|
7
|
+
|
|
8
|
+
if (-not $WebhookUrl) {
|
|
9
|
+
Write-Error "[discord-notify] DISCORD_WEBHOOK_URL not set. Skipping."
|
|
10
|
+
exit 0
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
$Body = @{ content = $Message } | ConvertTo-Json
|
|
14
|
+
try {
|
|
15
|
+
Invoke-RestMethod -Uri $WebhookUrl -Method Post -Body $Body -ContentType 'application/json'
|
|
16
|
+
exit 0
|
|
17
|
+
} catch {
|
|
18
|
+
exit 1
|
|
19
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# Sends a notification to Discord via webhook.
|
|
3
|
+
# Requires DISCORD_WEBHOOK_URL in environment.
|
|
4
|
+
|
|
5
|
+
MESSAGE="${*:-Agent task completed.}"
|
|
6
|
+
|
|
7
|
+
if [ -z "$DISCORD_WEBHOOK_URL" ]; then
|
|
8
|
+
echo "[discord-notify] DISCORD_WEBHOOK_URL not set. Skipping." >&2
|
|
9
|
+
exit 0
|
|
10
|
+
fi
|
|
11
|
+
|
|
12
|
+
curl -s -o /dev/null -w "%{http_code}" \
|
|
13
|
+
-H "Content-Type: application/json" \
|
|
14
|
+
-d "{\"content\": \"$MESSAGE\"}" \
|
|
15
|
+
"$DISCORD_WEBHOOK_URL" | grep -q "^2" && exit 0 || exit 1
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// Tracks git status changes and logs summary.
|
|
3
|
+
// Useful as a PostToolUse or agentStop hook.
|
|
4
|
+
|
|
5
|
+
const { execSync } = require('child_process');
|
|
6
|
+
|
|
7
|
+
try {
|
|
8
|
+
const status = execSync('git status --porcelain', { encoding: 'utf8' }).trim();
|
|
9
|
+
if (!status) {
|
|
10
|
+
process.stdout.write('[git-status] Working tree clean.\n');
|
|
11
|
+
process.exit(0);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const lines = status.split('\n');
|
|
15
|
+
const added = lines.filter((l) => l.startsWith('A') || l.startsWith('?')).length;
|
|
16
|
+
const modified = lines.filter((l) => l.startsWith('M') || l.startsWith(' M')).length;
|
|
17
|
+
const deleted = lines.filter((l) => l.startsWith('D') || l.startsWith(' D')).length;
|
|
18
|
+
|
|
19
|
+
process.stdout.write(
|
|
20
|
+
`[git-status] ${lines.length} changes: +${added} ~${modified} -${deleted}\n`
|
|
21
|
+
);
|
|
22
|
+
} catch (err) {
|
|
23
|
+
process.stderr.write('[git-status] Not a git repository or git unavailable.\n');
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
process.exit(0);
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// PostToolUse hook: warns when a file exceeds 200 lines.
|
|
3
|
+
// Encourages splitting large files into smaller modules.
|
|
4
|
+
|
|
5
|
+
const fs = require('fs');
|
|
6
|
+
const path = require('path');
|
|
7
|
+
|
|
8
|
+
const MAX_LINES = 200;
|
|
9
|
+
const CODE_EXTENSIONS = ['.js', '.ts', '.jsx', '.tsx', '.py', '.go', '.rs', '.java'];
|
|
10
|
+
|
|
11
|
+
const filePath = process.argv[2] || '';
|
|
12
|
+
|
|
13
|
+
if (!filePath || !fs.existsSync(filePath)) {
|
|
14
|
+
process.exit(0);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
const ext = path.extname(filePath).toLowerCase();
|
|
18
|
+
if (!CODE_EXTENSIONS.includes(ext)) {
|
|
19
|
+
process.exit(0);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
try {
|
|
23
|
+
const content = fs.readFileSync(filePath, 'utf8');
|
|
24
|
+
const lineCount = content.split('\n').length;
|
|
25
|
+
|
|
26
|
+
if (lineCount > MAX_LINES) {
|
|
27
|
+
process.stderr.write(
|
|
28
|
+
`[modularization] Warning: ${filePath} has ${lineCount} lines (max ${MAX_LINES}). Consider splitting.\n`
|
|
29
|
+
);
|
|
30
|
+
process.exit(1);
|
|
31
|
+
}
|
|
32
|
+
} catch (err) {
|
|
33
|
+
// Silently ignore read errors
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
process.exit(0);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// Pre-commit hook: runs linter on staged files.
|
|
3
|
+
// Exits non-zero if lint fails, preventing commit.
|
|
4
|
+
|
|
5
|
+
const { execSync } = require('child_process');
|
|
6
|
+
|
|
7
|
+
try {
|
|
8
|
+
execSync('npm run lint --silent', { stdio: 'pipe' });
|
|
9
|
+
process.exit(0);
|
|
10
|
+
} catch (err) {
|
|
11
|
+
process.stderr.write('[pre-commit-lint] Lint failed. Fix errors before committing.\n');
|
|
12
|
+
if (err.stdout) process.stderr.write(err.stdout.toString());
|
|
13
|
+
if (err.stderr) process.stderr.write(err.stderr.toString());
|
|
14
|
+
process.exit(1);
|
|
15
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// Security guard: blocks dangerous commands before execution.
|
|
3
|
+
// Registered as PreToolUse hook.
|
|
4
|
+
|
|
5
|
+
const BLOCKED_PATTERNS = [
|
|
6
|
+
/rm\s+(-rf|-fr)\s+[\/~]/i,
|
|
7
|
+
/rm\s+(-rf|-fr)\s+\./i,
|
|
8
|
+
/drop\s+(database|table|schema)/i,
|
|
9
|
+
/truncate\s+table/i,
|
|
10
|
+
/delete\s+from\s+\w+\s*;?\s*$/i,
|
|
11
|
+
/format\s+[a-z]:/i,
|
|
12
|
+
/mkfs\./i,
|
|
13
|
+
/dd\s+if=.*of=\/dev/i,
|
|
14
|
+
/chmod\s+-R\s+777\s+\//i,
|
|
15
|
+
/>\s*\/dev\/sd[a-z]/i,
|
|
16
|
+
/:(){ :\|:& };:/,
|
|
17
|
+
/shutdown/i,
|
|
18
|
+
/reboot/i,
|
|
19
|
+
/init\s+0/i,
|
|
20
|
+
];
|
|
21
|
+
|
|
22
|
+
const input = process.argv.slice(2).join(' ') || '';
|
|
23
|
+
const blocked = BLOCKED_PATTERNS.some((p) => p.test(input));
|
|
24
|
+
|
|
25
|
+
if (blocked) {
|
|
26
|
+
process.stderr.write(`[scout-block] Blocked dangerous command: ${input}\n`);
|
|
27
|
+
process.exit(2);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
process.exit(0);
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Security guard: blocks dangerous commands before execution.
|
|
2
|
+
# Registered as PreToolUse hook.
|
|
3
|
+
|
|
4
|
+
$Input = $args -join ' '
|
|
5
|
+
|
|
6
|
+
$BlockedPatterns = @(
|
|
7
|
+
'rm\s+(-rf|-fr)\s+[\/~]'
|
|
8
|
+
'drop\s+(database|table|schema)'
|
|
9
|
+
'truncate\s+table'
|
|
10
|
+
'format\s+[a-z]:'
|
|
11
|
+
'mkfs\.'
|
|
12
|
+
'dd\s+if=.*of=\/dev'
|
|
13
|
+
'chmod\s+-R\s+777\s+\/'
|
|
14
|
+
'shutdown'
|
|
15
|
+
'reboot'
|
|
16
|
+
'init\s+0'
|
|
17
|
+
)
|
|
18
|
+
|
|
19
|
+
foreach ($pattern in $BlockedPatterns) {
|
|
20
|
+
if ($Input -match $pattern) {
|
|
21
|
+
Write-Error "[scout-block] Blocked dangerous command: $Input"
|
|
22
|
+
exit 2
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
exit 0
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# Security guard: blocks dangerous commands before execution.
|
|
3
|
+
# Registered as PreToolUse hook.
|
|
4
|
+
|
|
5
|
+
INPUT="$*"
|
|
6
|
+
|
|
7
|
+
BLOCKED_PATTERNS=(
|
|
8
|
+
"rm -rf /"
|
|
9
|
+
"rm -fr /"
|
|
10
|
+
"rm -rf ~"
|
|
11
|
+
"rm -rf ."
|
|
12
|
+
"drop database"
|
|
13
|
+
"drop table"
|
|
14
|
+
"truncate table"
|
|
15
|
+
"mkfs."
|
|
16
|
+
"dd if="
|
|
17
|
+
"chmod -R 777 /"
|
|
18
|
+
"shutdown"
|
|
19
|
+
"reboot"
|
|
20
|
+
"init 0"
|
|
21
|
+
"format c:"
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
for pattern in "${BLOCKED_PATTERNS[@]}"; do
|
|
25
|
+
if echo "$INPUT" | grep -qi "$pattern"; then
|
|
26
|
+
echo "[scout-block] Blocked dangerous command: $INPUT" >&2
|
|
27
|
+
exit 2
|
|
28
|
+
fi
|
|
29
|
+
done
|
|
30
|
+
|
|
31
|
+
exit 0
|