gkt-node 3.3.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 +89 -0
- package/assets/.agent/brain/agent_index.json +208 -0
- package/assets/.agent/brain/project_context.json +31 -0
- package/assets/.agent/skills/ab-test-setup/SKILL.md +232 -0
- package/assets/.agent/skills/agent-evaluation/SKILL.md +64 -0
- package/assets/.agent/skills/agent-memory-mcp/SKILL.md +82 -0
- package/assets/.agent/skills/agent-memory-systems/SKILL.md +67 -0
- package/assets/.agent/skills/agent-orchestration-multi-agent-optimize/SKILL.md +239 -0
- package/assets/.agent/skills/agent-tool-builder/SKILL.md +53 -0
- package/assets/.agent/skills/ai-agents-architect/SKILL.md +90 -0
- package/assets/.agent/skills/ai-engineer/SKILL.md +171 -0
- package/assets/.agent/skills/ai-product/SKILL.md +54 -0
- package/assets/.agent/skills/ai-wrapper-product/SKILL.md +273 -0
- package/assets/.agent/skills/airflow-dag-patterns/SKILL.md +41 -0
- package/assets/.agent/skills/airflow-dag-patterns/resources/implementation-playbook.md +509 -0
- package/assets/.agent/skills/airtable-automation/SKILL.md +170 -0
- package/assets/.agent/skills/analytics-tracking/SKILL.md +404 -0
- package/assets/.agent/skills/api-design-principles/SKILL.md +37 -0
- package/assets/.agent/skills/api-design-principles/assets/__pycache__/rest-api-template.cpython-314.pyc +0 -0
- package/assets/.agent/skills/api-design-principles/assets/api-design-checklist.md +155 -0
- package/assets/.agent/skills/api-design-principles/assets/rest-api-template.py +182 -0
- package/assets/.agent/skills/api-design-principles/references/graphql-schema-design.md +583 -0
- package/assets/.agent/skills/api-design-principles/references/rest-best-practices.md +408 -0
- package/assets/.agent/skills/api-design-principles/resources/implementation-playbook.md +513 -0
- package/assets/.agent/skills/api-designer/SKILL.md +22 -0
- package/assets/.agent/skills/api-designer/data/api_patterns.json +107 -0
- package/assets/.agent/skills/api-designer/scripts/__pycache__/api_gen.cpython-314.pyc +0 -0
- package/assets/.agent/skills/api-designer/scripts/api_gen.py +80 -0
- package/assets/.agent/skills/api-documentation-generator/SKILL.md +484 -0
- package/assets/.agent/skills/api-documenter/SKILL.md +184 -0
- package/assets/.agent/skills/api-fuzzing-bug-bounty/SKILL.md +433 -0
- package/assets/.agent/skills/api-patterns/SKILL.md +81 -0
- package/assets/.agent/skills/api-patterns/api-style.md +42 -0
- package/assets/.agent/skills/api-patterns/auth.md +24 -0
- package/assets/.agent/skills/api-patterns/documentation.md +26 -0
- package/assets/.agent/skills/api-patterns/graphql.md +41 -0
- package/assets/.agent/skills/api-patterns/rate-limiting.md +31 -0
- package/assets/.agent/skills/api-patterns/response.md +37 -0
- package/assets/.agent/skills/api-patterns/rest.md +40 -0
- package/assets/.agent/skills/api-patterns/scripts/__pycache__/api_validator.cpython-314.pyc +0 -0
- package/assets/.agent/skills/api-patterns/scripts/api_validator.py +211 -0
- package/assets/.agent/skills/api-patterns/security-testing.md +122 -0
- package/assets/.agent/skills/api-patterns/trpc.md +41 -0
- package/assets/.agent/skills/api-patterns/versioning.md +22 -0
- package/assets/.agent/skills/api-security-best-practices/SKILL.md +907 -0
- package/assets/.agent/skills/api-testing-observability-api-mock/SKILL.md +46 -0
- package/assets/.agent/skills/api-testing-observability-api-mock/resources/implementation-playbook.md +1327 -0
- package/assets/.agent/skills/app-store-optimization/HOW_TO_USE.md +281 -0
- package/assets/.agent/skills/app-store-optimization/README.md +430 -0
- package/assets/.agent/skills/app-store-optimization/SKILL.md +403 -0
- package/assets/.agent/skills/app-store-optimization/__pycache__/ab_test_planner.cpython-314.pyc +0 -0
- package/assets/.agent/skills/app-store-optimization/__pycache__/aso_scorer.cpython-314.pyc +0 -0
- package/assets/.agent/skills/app-store-optimization/__pycache__/competitor_analyzer.cpython-314.pyc +0 -0
- package/assets/.agent/skills/app-store-optimization/__pycache__/keyword_analyzer.cpython-314.pyc +0 -0
- package/assets/.agent/skills/app-store-optimization/__pycache__/launch_checklist.cpython-314.pyc +0 -0
- package/assets/.agent/skills/app-store-optimization/__pycache__/localization_helper.cpython-314.pyc +0 -0
- package/assets/.agent/skills/app-store-optimization/__pycache__/metadata_optimizer.cpython-314.pyc +0 -0
- package/assets/.agent/skills/app-store-optimization/__pycache__/review_analyzer.cpython-314.pyc +0 -0
- package/assets/.agent/skills/app-store-optimization/ab_test_planner.py +662 -0
- package/assets/.agent/skills/app-store-optimization/aso_scorer.py +482 -0
- package/assets/.agent/skills/app-store-optimization/competitor_analyzer.py +577 -0
- package/assets/.agent/skills/app-store-optimization/expected_output.json +170 -0
- package/assets/.agent/skills/app-store-optimization/keyword_analyzer.py +406 -0
- package/assets/.agent/skills/app-store-optimization/launch_checklist.py +739 -0
- package/assets/.agent/skills/app-store-optimization/localization_helper.py +588 -0
- package/assets/.agent/skills/app-store-optimization/metadata_optimizer.py +581 -0
- package/assets/.agent/skills/app-store-optimization/review_analyzer.py +714 -0
- package/assets/.agent/skills/app-store-optimization/sample_input.json +30 -0
- package/assets/.agent/skills/architecture-auditor/SKILL.md +35 -0
- package/assets/.agent/skills/architecture-auditor/data/standards.json +45 -0
- package/assets/.agent/skills/architecture-auditor/scripts/__pycache__/auditor.cpython-314.pyc +0 -0
- package/assets/.agent/skills/architecture-auditor/scripts/auditor.py +69 -0
- package/assets/.agent/skills/architecture-decision-records/SKILL.md +441 -0
- package/assets/.agent/skills/architecture-patterns/SKILL.md +37 -0
- package/assets/.agent/skills/architecture-patterns/resources/implementation-playbook.md +479 -0
- package/assets/.agent/skills/asana-automation/SKILL.md +171 -0
- package/assets/.agent/skills/attack-tree-construction/SKILL.md +38 -0
- package/assets/.agent/skills/attack-tree-construction/resources/implementation-playbook.md +671 -0
- package/assets/.agent/skills/auth-implementation-patterns/SKILL.md +39 -0
- package/assets/.agent/skills/auth-implementation-patterns/resources/implementation-playbook.md +618 -0
- package/assets/.agent/skills/autonomous-agent-patterns/SKILL.md +761 -0
- package/assets/.agent/skills/aws-penetration-testing/SKILL.md +405 -0
- package/assets/.agent/skills/aws-penetration-testing/references/advanced-aws-pentesting.md +469 -0
- package/assets/.agent/skills/aws-serverless/SKILL.md +323 -0
- package/assets/.agent/skills/backend-architect/SKILL.md +333 -0
- package/assets/.agent/skills/billing-automation/SKILL.md +42 -0
- package/assets/.agent/skills/billing-automation/resources/implementation-playbook.md +544 -0
- package/assets/.agent/skills/broken-authentication/SKILL.md +476 -0
- package/assets/.agent/skills/bullmq-specialist/SKILL.md +57 -0
- package/assets/.agent/skills/business-analyst/SKILL.md +182 -0
- package/assets/.agent/skills/cc-skill-backend-patterns/SKILL.md +584 -0
- package/assets/.agent/skills/cc-skill-clickhouse-io/SKILL.md +431 -0
- package/assets/.agent/skills/cc-skill-coding-standards/SKILL.md +522 -0
- package/assets/.agent/skills/cc-skill-continuous-learning/SKILL.md +10 -0
- package/assets/.agent/skills/cc-skill-continuous-learning/config.json +18 -0
- package/assets/.agent/skills/cc-skill-continuous-learning/evaluate-session.sh +60 -0
- package/assets/.agent/skills/cc-skill-frontend-patterns/SKILL.md +633 -0
- package/assets/.agent/skills/cc-skill-project-guidelines-example/SKILL.md +352 -0
- package/assets/.agent/skills/cc-skill-security-review/SKILL.md +496 -0
- package/assets/.agent/skills/cc-skill-strategic-compact/SKILL.md +10 -0
- package/assets/.agent/skills/cc-skill-strategic-compact/suggest-compact.sh +52 -0
- package/assets/.agent/skills/ci-cd-setup/SKILL.md +14 -0
- package/assets/.agent/skills/ci-cd-setup/data/pipeline_templates.json +42 -0
- package/assets/.agent/skills/ci-cd-setup/scripts/__pycache__/ci_gen.cpython-314.pyc +0 -0
- package/assets/.agent/skills/ci-cd-setup/scripts/ci_gen.py +75 -0
- package/assets/.agent/skills/claude-code-guide/SKILL.md +68 -0
- package/assets/.agent/skills/clean-code/SKILL.md +94 -0
- package/assets/.agent/skills/clickup-automation/SKILL.md +234 -0
- package/assets/.agent/skills/cloud-architect/SKILL.md +135 -0
- package/assets/.agent/skills/cloud-penetration-testing/SKILL.md +501 -0
- package/assets/.agent/skills/cloud-penetration-testing/references/advanced-cloud-scripts.md +318 -0
- package/assets/.agent/skills/code-reviewer/SKILL.md +31 -0
- package/assets/.agent/skills/code-reviewer/data/review_rules.json +172 -0
- package/assets/.agent/skills/code-reviewer/scripts/__pycache__/reviewer.cpython-314.pyc +0 -0
- package/assets/.agent/skills/code-reviewer/scripts/reviewer.py +192 -0
- package/assets/.agent/skills/codebase-navigator/SKILL.md +37 -0
- package/assets/.agent/skills/codebase-navigator/data/codebase_index.json +577 -0
- package/assets/.agent/skills/codebase-navigator/scripts/__pycache__/navigator.cpython-314.pyc +0 -0
- package/assets/.agent/skills/codebase-navigator/scripts/navigator.py +240 -0
- package/assets/.agent/skills/color-palette-generator/SKILL.md +26 -0
- package/assets/.agent/skills/color-palette-generator/data/palettes.json +37 -0
- package/assets/.agent/skills/color-palette-generator/scripts/__pycache__/palette.cpython-314.pyc +0 -0
- package/assets/.agent/skills/color-palette-generator/scripts/palette.py +57 -0
- package/assets/.agent/skills/competitive-landscape/SKILL.md +34 -0
- package/assets/.agent/skills/competitive-landscape/resources/implementation-playbook.md +494 -0
- package/assets/.agent/skills/competitor-alternatives/SKILL.md +750 -0
- package/assets/.agent/skills/computer-use-agents/SKILL.md +315 -0
- package/assets/.agent/skills/content-creator/SKILL.md +248 -0
- package/assets/.agent/skills/content-creator/assets/content_calendar_template.md +99 -0
- package/assets/.agent/skills/content-creator/references/brand_guidelines.md +199 -0
- package/assets/.agent/skills/content-creator/references/content_frameworks.md +534 -0
- package/assets/.agent/skills/content-creator/references/social_media_optimization.md +317 -0
- package/assets/.agent/skills/content-creator/scripts/__pycache__/brand_voice_analyzer.cpython-314.pyc +0 -0
- package/assets/.agent/skills/content-creator/scripts/__pycache__/seo_optimizer.cpython-314.pyc +0 -0
- package/assets/.agent/skills/content-creator/scripts/brand_voice_analyzer.py +185 -0
- package/assets/.agent/skills/content-creator/scripts/seo_optimizer.py +419 -0
- package/assets/.agent/skills/content-marketer/SKILL.md +170 -0
- package/assets/.agent/skills/context-compression/SKILL.md +266 -0
- package/assets/.agent/skills/context-degradation/SKILL.md +238 -0
- package/assets/.agent/skills/context-driven-development/SKILL.md +400 -0
- package/assets/.agent/skills/context-fundamentals/SKILL.md +192 -0
- package/assets/.agent/skills/context-manager/SKILL.md +26 -0
- package/assets/.agent/skills/context-manager/scripts/__pycache__/minify.cpython-314.pyc +0 -0
- package/assets/.agent/skills/context-manager/scripts/minify.py +82 -0
- package/assets/.agent/skills/context-optimization/SKILL.md +186 -0
- package/assets/.agent/skills/context-router/SKILL.md +42 -0
- package/assets/.agent/skills/context-router/scripts/__pycache__/context_router.cpython-314.pyc +0 -0
- package/assets/.agent/skills/context-router/scripts/context_router.py +185 -0
- package/assets/.agent/skills/context-window-management/SKILL.md +53 -0
- package/assets/.agent/skills/conversation-memory/SKILL.md +61 -0
- package/assets/.agent/skills/copywriting/SKILL.md +225 -0
- package/assets/.agent/skills/cost-optimization/SKILL.md +286 -0
- package/assets/.agent/skills/cqrs-implementation/SKILL.md +35 -0
- package/assets/.agent/skills/cqrs-implementation/resources/implementation-playbook.md +540 -0
- package/assets/.agent/skills/crewai/SKILL.md +243 -0
- package/assets/.agent/skills/daily-news-report/SKILL.md +356 -0
- package/assets/.agent/skills/daily-news-report/cache.json +41 -0
- package/assets/.agent/skills/daily-news-report/sources.json +183 -0
- package/assets/.agent/skills/data-engineer/SKILL.md +224 -0
- package/assets/.agent/skills/data-engineering-data-driven-feature/SKILL.md +182 -0
- package/assets/.agent/skills/data-engineering-data-pipeline/SKILL.md +201 -0
- package/assets/.agent/skills/data-quality-frameworks/SKILL.md +40 -0
- package/assets/.agent/skills/data-quality-frameworks/resources/implementation-playbook.md +573 -0
- package/assets/.agent/skills/data-scientist/SKILL.md +199 -0
- package/assets/.agent/skills/data-storytelling/SKILL.md +465 -0
- package/assets/.agent/skills/database-admin/SKILL.md +165 -0
- package/assets/.agent/skills/database-architect/SKILL.md +268 -0
- package/assets/.agent/skills/database-cloud-optimization-cost-optimize/SKILL.md +44 -0
- package/assets/.agent/skills/database-cloud-optimization-cost-optimize/resources/implementation-playbook.md +1441 -0
- package/assets/.agent/skills/database-design/SKILL.md +52 -0
- package/assets/.agent/skills/database-design/database-selection.md +43 -0
- package/assets/.agent/skills/database-design/indexing.md +39 -0
- package/assets/.agent/skills/database-design/migrations.md +48 -0
- package/assets/.agent/skills/database-design/optimization.md +36 -0
- package/assets/.agent/skills/database-design/orm-selection.md +30 -0
- package/assets/.agent/skills/database-design/schema-design.md +56 -0
- package/assets/.agent/skills/database-design/scripts/__pycache__/schema_validator.cpython-314.pyc +0 -0
- package/assets/.agent/skills/database-design/scripts/schema_validator.py +172 -0
- package/assets/.agent/skills/database-migration/SKILL.md +436 -0
- package/assets/.agent/skills/database-migrations-migration-observability/SKILL.md +420 -0
- package/assets/.agent/skills/database-migrations-sql-migrations/SKILL.md +53 -0
- package/assets/.agent/skills/database-migrations-sql-migrations/resources/implementation-playbook.md +499 -0
- package/assets/.agent/skills/database-optimizer/SKILL.md +167 -0
- package/assets/.agent/skills/datadog-automation/SKILL.md +235 -0
- package/assets/.agent/skills/db-designer/SKILL.md +22 -0
- package/assets/.agent/skills/db-designer/data/schema_patterns.json +156 -0
- package/assets/.agent/skills/db-designer/scripts/__pycache__/sql_gen.cpython-314.pyc +0 -0
- package/assets/.agent/skills/db-designer/scripts/sql_gen.py +90 -0
- package/assets/.agent/skills/dbt-transformation-patterns/SKILL.md +34 -0
- package/assets/.agent/skills/dbt-transformation-patterns/resources/implementation-playbook.md +547 -0
- package/assets/.agent/skills/debugger/SKILL.md +49 -0
- package/assets/.agent/skills/debugging-strategies/SKILL.md +34 -0
- package/assets/.agent/skills/debugging-strategies/resources/implementation-playbook.md +511 -0
- package/assets/.agent/skills/deep-research/SKILL.md +114 -0
- package/assets/.agent/skills/deployment-engineer/SKILL.md +170 -0
- package/assets/.agent/skills/deployment-pipeline-design/SKILL.md +371 -0
- package/assets/.agent/skills/deployment-procedures/SKILL.md +241 -0
- package/assets/.agent/skills/diff-applier/SKILL.md +34 -0
- package/assets/.agent/skills/diff-applier/scripts/__pycache__/apply_patch.cpython-314.pyc +0 -0
- package/assets/.agent/skills/diff-applier/scripts/apply_patch.py +137 -0
- package/assets/.agent/skills/discord-automation/SKILL.md +187 -0
- package/assets/.agent/skills/distributed-debugging-debug-trace/SKILL.md +44 -0
- package/assets/.agent/skills/distributed-debugging-debug-trace/resources/implementation-playbook.md +1307 -0
- package/assets/.agent/skills/distributed-tracing/SKILL.md +450 -0
- package/assets/.agent/skills/doc-generator/SKILL.md +14 -0
- package/assets/.agent/skills/doc-generator/data/doc_templates.json +40 -0
- package/assets/.agent/skills/doc-generator/scripts/__pycache__/doc_gen.cpython-314.pyc +0 -0
- package/assets/.agent/skills/doc-generator/scripts/doc_gen.py +48 -0
- package/assets/.agent/skills/docker-expert/SKILL.md +409 -0
- package/assets/.agent/skills/docker-wizard/SKILL.md +14 -0
- package/assets/.agent/skills/docker-wizard/data/docker_templates.json +93 -0
- package/assets/.agent/skills/docker-wizard/scripts/__pycache__/docker_gen.cpython-314.pyc +0 -0
- package/assets/.agent/skills/docker-wizard/scripts/docker_gen.py +86 -0
- package/assets/.agent/skills/docs-architect/SKILL.md +98 -0
- package/assets/.agent/skills/e2e-testing-patterns/SKILL.md +41 -0
- package/assets/.agent/skills/e2e-testing-patterns/resources/implementation-playbook.md +531 -0
- package/assets/.agent/skills/email-sequence/SKILL.md +925 -0
- package/assets/.agent/skills/embedding-strategies/SKILL.md +491 -0
- package/assets/.agent/skills/employment-contract-templates/SKILL.md +39 -0
- package/assets/.agent/skills/employment-contract-templates/resources/implementation-playbook.md +493 -0
- package/assets/.agent/skills/env-manager/SKILL.md +33 -0
- package/assets/.agent/skills/env-manager/scripts/__pycache__/env_scanner.cpython-314.pyc +0 -0
- package/assets/.agent/skills/env-manager/scripts/env_scanner.py +181 -0
- package/assets/.agent/skills/error-detective/SKILL.md +53 -0
- package/assets/.agent/skills/error-diagnostics-error-analysis/SKILL.md +47 -0
- package/assets/.agent/skills/error-diagnostics-error-analysis/resources/implementation-playbook.md +1143 -0
- package/assets/.agent/skills/error-diagnostics-error-trace/SKILL.md +48 -0
- package/assets/.agent/skills/error-diagnostics-error-trace/resources/implementation-playbook.md +1371 -0
- package/assets/.agent/skills/error-handling-patterns/SKILL.md +35 -0
- package/assets/.agent/skills/error-handling-patterns/resources/implementation-playbook.md +635 -0
- package/assets/.agent/skills/ethical-hacking-methodology/SKILL.md +466 -0
- package/assets/.agent/skills/event-sourcing-architect/SKILL.md +58 -0
- package/assets/.agent/skills/event-store-design/SKILL.md +449 -0
- package/assets/.agent/skills/exa-search/SKILL.md +36 -0
- package/assets/.agent/skills/fastapi-pro/SKILL.md +192 -0
- package/assets/.agent/skills/fastapi-router-py/SKILL.md +52 -0
- package/assets/.agent/skills/fastapi-templates/SKILL.md +32 -0
- package/assets/.agent/skills/fastapi-templates/resources/implementation-playbook.md +566 -0
- package/assets/.agent/skills/free-tool-strategy/SKILL.md +576 -0
- package/assets/.agent/skills/freshdesk-automation/SKILL.md +219 -0
- package/assets/.agent/skills/frontend-developer/SKILL.md +171 -0
- package/assets/.agent/skills/gcp-cloud-run/SKILL.md +288 -0
- package/assets/.agent/skills/gemini-api-dev/SKILL.md +127 -0
- package/assets/.agent/skills/geo-fundamentals/SKILL.md +156 -0
- package/assets/.agent/skills/geo-fundamentals/scripts/__pycache__/geo_checker.cpython-314.pyc +0 -0
- package/assets/.agent/skills/geo-fundamentals/scripts/geo_checker.py +289 -0
- package/assets/.agent/skills/git-advanced-workflows/SKILL.md +412 -0
- package/assets/.agent/skills/git-manager/SKILL.md +22 -0
- package/assets/.agent/skills/git-manager/data/git_conventions.json +84 -0
- package/assets/.agent/skills/git-manager/scripts/__pycache__/commit.cpython-314.pyc +0 -0
- package/assets/.agent/skills/git-manager/scripts/__pycache__/log.cpython-314.pyc +0 -0
- package/assets/.agent/skills/git-manager/scripts/commit.py +70 -0
- package/assets/.agent/skills/git-manager/scripts/log.py +29 -0
- package/assets/.agent/skills/github-actions-templates/SKILL.md +345 -0
- package/assets/.agent/skills/github-automation/SKILL.md +227 -0
- package/assets/.agent/skills/gitlab-ci-patterns/SKILL.md +283 -0
- package/assets/.agent/skills/gitops-workflow/SKILL.md +303 -0
- package/assets/.agent/skills/gitops-workflow/references/argocd-setup.md +134 -0
- package/assets/.agent/skills/gitops-workflow/references/sync-policies.md +131 -0
- package/assets/.agent/skills/gmail-automation/SKILL.md +270 -0
- package/assets/.agent/skills/google-calendar-automation/SKILL.md +176 -0
- package/assets/.agent/skills/google-drive-automation/SKILL.md +193 -0
- package/assets/.agent/skills/googlesheets-automation/SKILL.md +197 -0
- package/assets/.agent/skills/grafana-dashboards/SKILL.md +381 -0
- package/assets/.agent/skills/graphql/SKILL.md +68 -0
- package/assets/.agent/skills/graphql-architect/SKILL.md +182 -0
- package/assets/.agent/skills/helm-chart-scaffolding/SKILL.md +34 -0
- package/assets/.agent/skills/helm-chart-scaffolding/assets/Chart.yaml.template +42 -0
- package/assets/.agent/skills/helm-chart-scaffolding/assets/values.yaml.template +185 -0
- package/assets/.agent/skills/helm-chart-scaffolding/references/chart-structure.md +500 -0
- package/assets/.agent/skills/helm-chart-scaffolding/resources/implementation-playbook.md +543 -0
- package/assets/.agent/skills/helm-chart-scaffolding/scripts/validate-chart.sh +244 -0
- package/assets/.agent/skills/hr-pro/SKILL.md +126 -0
- package/assets/.agent/skills/hubspot-automation/SKILL.md +178 -0
- package/assets/.agent/skills/hubspot-integration/SKILL.md +42 -0
- package/assets/.agent/skills/hybrid-search-implementation/SKILL.md +32 -0
- package/assets/.agent/skills/hybrid-search-implementation/resources/implementation-playbook.md +567 -0
- package/assets/.agent/skills/incident-responder/SKILL.md +213 -0
- package/assets/.agent/skills/incident-response-incident-response/SKILL.md +168 -0
- package/assets/.agent/skills/incident-response-smart-fix/SKILL.md +29 -0
- package/assets/.agent/skills/incident-response-smart-fix/resources/implementation-playbook.md +838 -0
- package/assets/.agent/skills/incident-runbook-templates/SKILL.md +395 -0
- package/assets/.agent/skills/infinite-gratitude/SKILL.md +26 -0
- package/assets/.agent/skills/inngest/SKILL.md +55 -0
- package/assets/.agent/skills/instagram-automation/SKILL.md +192 -0
- package/assets/.agent/skills/intercom-automation/SKILL.md +248 -0
- package/assets/.agent/skills/javascript-mastery/SKILL.md +645 -0
- package/assets/.agent/skills/javascript-testing-patterns/SKILL.md +35 -0
- package/assets/.agent/skills/javascript-testing-patterns/resources/implementation-playbook.md +1024 -0
- package/assets/.agent/skills/jira-automation/SKILL.md +185 -0
- package/assets/.agent/skills/k8s-manifest-generator/SKILL.md +35 -0
- package/assets/.agent/skills/k8s-manifest-generator/assets/configmap-template.yaml +296 -0
- package/assets/.agent/skills/k8s-manifest-generator/assets/deployment-template.yaml +203 -0
- package/assets/.agent/skills/k8s-manifest-generator/assets/service-template.yaml +171 -0
- package/assets/.agent/skills/k8s-manifest-generator/references/deployment-spec.md +753 -0
- package/assets/.agent/skills/k8s-manifest-generator/references/service-spec.md +724 -0
- package/assets/.agent/skills/k8s-manifest-generator/resources/implementation-playbook.md +510 -0
- package/assets/.agent/skills/k8s-security-policies/SKILL.md +346 -0
- package/assets/.agent/skills/k8s-security-policies/assets/network-policy-template.yaml +177 -0
- package/assets/.agent/skills/k8s-security-policies/references/rbac-patterns.md +187 -0
- package/assets/.agent/skills/knowledge-guide/SKILL.md +34 -0
- package/assets/.agent/skills/knowledge-guide/scripts/__pycache__/note_taker.cpython-314.pyc +0 -0
- package/assets/.agent/skills/knowledge-guide/scripts/note_taker.py +50 -0
- package/assets/.agent/skills/kpi-dashboard-design/SKILL.md +440 -0
- package/assets/.agent/skills/kubernetes-architect/SKILL.md +170 -0
- package/assets/.agent/skills/langchain-architecture/SKILL.md +350 -0
- package/assets/.agent/skills/langfuse/SKILL.md +238 -0
- package/assets/.agent/skills/langgraph/SKILL.md +287 -0
- package/assets/.agent/skills/launch-strategy/SKILL.md +344 -0
- package/assets/.agent/skills/legal-advisor/SKILL.md +70 -0
- package/assets/.agent/skills/linkedin-automation/SKILL.md +175 -0
- package/assets/.agent/skills/linux-privilege-escalation/SKILL.md +504 -0
- package/assets/.agent/skills/llm-app-patterns/SKILL.md +760 -0
- package/assets/.agent/skills/llm-evaluation/SKILL.md +483 -0
- package/assets/.agent/skills/mailchimp-automation/SKILL.md +231 -0
- package/assets/.agent/skills/market-sizing-analysis/SKILL.md +425 -0
- package/assets/.agent/skills/market-sizing-analysis/examples/saas-market-sizing.md +349 -0
- package/assets/.agent/skills/market-sizing-analysis/references/data-sources.md +360 -0
- package/assets/.agent/skills/marketing-ideas/SKILL.md +221 -0
- package/assets/.agent/skills/marketing-psychology/SKILL.md +255 -0
- package/assets/.agent/skills/mcp-builder/LICENSE.txt +202 -0
- package/assets/.agent/skills/mcp-builder/SKILL.md +236 -0
- package/assets/.agent/skills/mcp-builder/reference/evaluation.md +602 -0
- package/assets/.agent/skills/mcp-builder/reference/mcp_best_practices.md +249 -0
- package/assets/.agent/skills/mcp-builder/reference/node_mcp_server.md +970 -0
- package/assets/.agent/skills/mcp-builder/reference/python_mcp_server.md +719 -0
- package/assets/.agent/skills/mcp-builder/scripts/__pycache__/connections.cpython-314.pyc +0 -0
- package/assets/.agent/skills/mcp-builder/scripts/__pycache__/evaluation.cpython-314.pyc +0 -0
- package/assets/.agent/skills/mcp-builder/scripts/connections.py +151 -0
- package/assets/.agent/skills/mcp-builder/scripts/evaluation.py +373 -0
- package/assets/.agent/skills/mcp-builder/scripts/example_evaluation.xml +22 -0
- package/assets/.agent/skills/mcp-builder/scripts/requirements.txt +2 -0
- package/assets/.agent/skills/mermaid-expert/SKILL.md +59 -0
- package/assets/.agent/skills/meta-thinker/SKILL.md +41 -0
- package/assets/.agent/skills/meta-thinker/data/brainstorm_frameworks.json +614 -0
- package/assets/.agent/skills/meta-thinker/data/feature_ideas.json +352 -0
- package/assets/.agent/skills/meta-thinker/data/industry_database.json +1693 -0
- package/assets/.agent/skills/meta-thinker/data/monetization_models.json +570 -0
- package/assets/.agent/skills/meta-thinker/data/platform_guide.json +361 -0
- package/assets/.agent/skills/meta-thinker/data/product_archetypes.json +998 -0
- package/assets/.agent/skills/meta-thinker/scripts/__pycache__/idea_engine.cpython-314.pyc +0 -0
- package/assets/.agent/skills/meta-thinker/scripts/idea_engine.py +246 -0
- package/assets/.agent/skills/metasploit-framework/SKILL.md +478 -0
- package/assets/.agent/skills/micro-saas-launcher/SKILL.md +212 -0
- package/assets/.agent/skills/monday-automation/SKILL.md +233 -0
- package/assets/.agent/skills/multi-agent-patterns/SKILL.md +262 -0
- package/assets/.agent/skills/n8n-code-python/SKILL.md +750 -0
- package/assets/.agent/skills/n8n-mcp-tools-expert/SKILL.md +654 -0
- package/assets/.agent/skills/n8n-node-configuration/SKILL.md +796 -0
- package/assets/.agent/skills/neon-postgres/SKILL.md +56 -0
- package/assets/.agent/skills/nestjs-expert/SKILL.md +552 -0
- package/assets/.agent/skills/nextjs-best-practices/SKILL.md +203 -0
- package/assets/.agent/skills/nocobase-plugin-developer/SKILL.md +1289 -0
- package/assets/.agent/skills/nodejs-backend-patterns/SKILL.md +35 -0
- package/assets/.agent/skills/nodejs-backend-patterns/resources/implementation-playbook.md +1019 -0
- package/assets/.agent/skills/nodejs-best-practices/SKILL.md +333 -0
- package/assets/.agent/skills/nosql-expert/SKILL.md +111 -0
- package/assets/.agent/skills/notion-automation/SKILL.md +215 -0
- package/assets/.agent/skills/observability-engineer/SKILL.md +237 -0
- package/assets/.agent/skills/observability-monitoring-monitor-setup/SKILL.md +48 -0
- package/assets/.agent/skills/observability-monitoring-monitor-setup/resources/implementation-playbook.md +505 -0
- package/assets/.agent/skills/observability-monitoring-slo-implement/SKILL.md +43 -0
- package/assets/.agent/skills/observability-monitoring-slo-implement/resources/implementation-playbook.md +1077 -0
- package/assets/.agent/skills/on-call-handoff-patterns/SKILL.md +453 -0
- package/assets/.agent/skills/onboarding-cro/SKILL.md +433 -0
- package/assets/.agent/skills/openapi-spec-generation/SKILL.md +33 -0
- package/assets/.agent/skills/openapi-spec-generation/resources/implementation-playbook.md +1027 -0
- package/assets/.agent/skills/page-cro/SKILL.md +343 -0
- package/assets/.agent/skills/paid-ads/SKILL.md +551 -0
- package/assets/.agent/skills/payment-integration/SKILL.md +77 -0
- package/assets/.agent/skills/paypal-integration/SKILL.md +479 -0
- package/assets/.agent/skills/paywall-upgrade-cro/SKILL.md +570 -0
- package/assets/.agent/skills/pentest-checklist/SKILL.md +334 -0
- package/assets/.agent/skills/pentest-commands/SKILL.md +438 -0
- package/assets/.agent/skills/pipedrive-automation/SKILL.md +224 -0
- package/assets/.agent/skills/plaid-fintech/SKILL.md +50 -0
- package/assets/.agent/skills/popup-cro/SKILL.md +346 -0
- package/assets/.agent/skills/postgresql/SKILL.md +230 -0
- package/assets/.agent/skills/postmortem-writing/SKILL.md +386 -0
- package/assets/.agent/skills/pricing-strategy/SKILL.md +356 -0
- package/assets/.agent/skills/prisma-expert/SKILL.md +355 -0
- package/assets/.agent/skills/product-manager-toolkit/SKILL.md +351 -0
- package/assets/.agent/skills/product-manager-toolkit/references/prd_templates.md +317 -0
- package/assets/.agent/skills/product-manager-toolkit/scripts/__pycache__/customer_interview_analyzer.cpython-314.pyc +0 -0
- package/assets/.agent/skills/product-manager-toolkit/scripts/__pycache__/rice_prioritizer.cpython-314.pyc +0 -0
- package/assets/.agent/skills/product-manager-toolkit/scripts/customer_interview_analyzer.py +441 -0
- package/assets/.agent/skills/product-manager-toolkit/scripts/rice_prioritizer.py +296 -0
- package/assets/.agent/skills/programmatic-seo/SKILL.md +351 -0
- package/assets/.agent/skills/project-scaffolder/SKILL.md +26 -0
- package/assets/.agent/skills/project-scaffolder/data/scaffold_templates.json +150 -0
- package/assets/.agent/skills/project-scaffolder/scripts/__pycache__/scaffold.cpython-314.pyc +0 -0
- package/assets/.agent/skills/project-scaffolder/scripts/scaffold.py +249 -0
- package/assets/.agent/skills/projection-patterns/SKILL.md +33 -0
- package/assets/.agent/skills/projection-patterns/resources/implementation-playbook.md +501 -0
- package/assets/.agent/skills/prometheus-configuration/SKILL.md +404 -0
- package/assets/.agent/skills/prompt-caching/SKILL.md +61 -0
- package/assets/.agent/skills/prompt-engineer/README.md +659 -0
- package/assets/.agent/skills/prompt-engineer/SKILL.md +252 -0
- package/assets/.agent/skills/prompt-engineering/SKILL.md +171 -0
- package/assets/.agent/skills/prompt-engineering-patterns/SKILL.md +213 -0
- package/assets/.agent/skills/prompt-engineering-patterns/assets/few-shot-examples.json +106 -0
- package/assets/.agent/skills/prompt-engineering-patterns/assets/prompt-template-library.md +246 -0
- package/assets/.agent/skills/prompt-engineering-patterns/references/chain-of-thought.md +399 -0
- package/assets/.agent/skills/prompt-engineering-patterns/references/few-shot-learning.md +369 -0
- package/assets/.agent/skills/prompt-engineering-patterns/references/prompt-optimization.md +414 -0
- package/assets/.agent/skills/prompt-engineering-patterns/references/prompt-templates.md +470 -0
- package/assets/.agent/skills/prompt-engineering-patterns/references/system-prompts.md +189 -0
- package/assets/.agent/skills/prompt-engineering-patterns/scripts/__pycache__/optimize-prompt.cpython-314.pyc +0 -0
- package/assets/.agent/skills/prompt-engineering-patterns/scripts/optimize-prompt.py +279 -0
- package/assets/.agent/skills/prompt-library/SKILL.md +322 -0
- package/assets/.agent/skills/rag-engineer/SKILL.md +90 -0
- package/assets/.agent/skills/rag-implementation/SKILL.md +421 -0
- package/assets/.agent/skills/react-patterns/SKILL.md +198 -0
- package/assets/.agent/skills/react-state-management/SKILL.md +441 -0
- package/assets/.agent/skills/react-ui-patterns/SKILL.md +289 -0
- package/assets/.agent/skills/readme-generator/SKILL.md +14 -0
- package/assets/.agent/skills/readme-generator/data/readme_templates.json +22 -0
- package/assets/.agent/skills/readme-generator/scripts/__pycache__/readme_gen.cpython-314.pyc +0 -0
- package/assets/.agent/skills/readme-generator/scripts/readme_gen.py +81 -0
- package/assets/.agent/skills/red-team-tactics/SKILL.md +199 -0
- package/assets/.agent/skills/red-team-tools/SKILL.md +310 -0
- package/assets/.agent/skills/reference-builder/SKILL.md +188 -0
- package/assets/.agent/skills/referral-program/SKILL.md +602 -0
- package/assets/.agent/skills/release-manager/SKILL.md +30 -0
- package/assets/.agent/skills/release-manager/scripts/__pycache__/release.cpython-314.pyc +0 -0
- package/assets/.agent/skills/release-manager/scripts/release.py +210 -0
- package/assets/.agent/skills/reliability-engineer/SKILL.md +30 -0
- package/assets/.agent/skills/reliability-engineer/data/reliability.json +57 -0
- package/assets/.agent/skills/reliability-engineer/scripts/__pycache__/sre.cpython-314.pyc +0 -0
- package/assets/.agent/skills/reliability-engineer/scripts/sre.py +94 -0
- package/assets/.agent/skills/saga-orchestration/SKILL.md +496 -0
- package/assets/.agent/skills/sales-automator/SKILL.md +55 -0
- package/assets/.agent/skills/salesforce-automation/SKILL.md +190 -0
- package/assets/.agent/skills/sast-configuration/SKILL.md +212 -0
- package/assets/.agent/skills/scanning-tools/SKILL.md +589 -0
- package/assets/.agent/skills/schema-markup/SKILL.md +360 -0
- package/assets/.agent/skills/search-specialist/SKILL.md +80 -0
- package/assets/.agent/skills/secrets-management/SKILL.md +364 -0
- package/assets/.agent/skills/security-auditor/SKILL.md +169 -0
- package/assets/.agent/skills/security-bluebook-builder/SKILL.md +22 -0
- package/assets/.agent/skills/security-requirement-extraction/SKILL.md +33 -0
- package/assets/.agent/skills/security-requirement-extraction/resources/implementation-playbook.md +676 -0
- package/assets/.agent/skills/security-scanner/SKILL.md +21 -0
- package/assets/.agent/skills/security-scanner/data/security_patterns.json +101 -0
- package/assets/.agent/skills/security-scanner/scripts/__pycache__/checklist_gen.cpython-314.pyc +0 -0
- package/assets/.agent/skills/security-scanner/scripts/__pycache__/vuln_scan.cpython-314.pyc +0 -0
- package/assets/.agent/skills/security-scanner/scripts/checklist_gen.py +49 -0
- package/assets/.agent/skills/security-scanner/scripts/vuln_scan.py +81 -0
- package/assets/.agent/skills/sendgrid-automation/SKILL.md +228 -0
- package/assets/.agent/skills/seo-audit/SKILL.md +487 -0
- package/assets/.agent/skills/seo-authority-builder/SKILL.md +136 -0
- package/assets/.agent/skills/seo-cannibalization-detector/SKILL.md +123 -0
- package/assets/.agent/skills/seo-content-auditor/SKILL.md +83 -0
- package/assets/.agent/skills/seo-content-planner/SKILL.md +108 -0
- package/assets/.agent/skills/seo-content-refresher/SKILL.md +118 -0
- package/assets/.agent/skills/seo-content-writer/SKILL.md +96 -0
- package/assets/.agent/skills/seo-fundamentals/SKILL.md +173 -0
- package/assets/.agent/skills/seo-fundamentals/scripts/__pycache__/seo_checker.cpython-314.pyc +0 -0
- package/assets/.agent/skills/seo-fundamentals/scripts/seo_checker.py +219 -0
- package/assets/.agent/skills/seo-keyword-strategist/SKILL.md +95 -0
- package/assets/.agent/skills/seo-meta-optimizer/SKILL.md +92 -0
- package/assets/.agent/skills/seo-snippet-hunter/SKILL.md +114 -0
- package/assets/.agent/skills/seo-structure-architect/SKILL.md +108 -0
- package/assets/.agent/skills/service-mesh-observability/SKILL.md +395 -0
- package/assets/.agent/skills/shodan-reconnaissance/SKILL.md +503 -0
- package/assets/.agent/skills/shopify-apps/SKILL.md +42 -0
- package/assets/.agent/skills/shopify-automation/SKILL.md +168 -0
- package/assets/.agent/skills/signup-flow-cro/SKILL.md +355 -0
- package/assets/.agent/skills/similarity-search-patterns/SKILL.md +33 -0
- package/assets/.agent/skills/similarity-search-patterns/resources/implementation-playbook.md +557 -0
- package/assets/.agent/skills/skill-creator/LICENSE.txt +202 -0
- package/assets/.agent/skills/skill-creator/README.md +270 -0
- package/assets/.agent/skills/skill-creator/SKILL.md +593 -0
- package/assets/.agent/skills/skill-creator/references/output-patterns.md +82 -0
- package/assets/.agent/skills/skill-creator/references/workflows.md +28 -0
- package/assets/.agent/skills/skill-creator/scripts/__pycache__/init_skill.cpython-314.pyc +0 -0
- package/assets/.agent/skills/skill-creator/scripts/__pycache__/package_skill.cpython-314.pyc +0 -0
- package/assets/.agent/skills/skill-creator/scripts/__pycache__/quick_validate.cpython-314.pyc +0 -0
- package/assets/.agent/skills/skill-creator/scripts/init_skill.py +303 -0
- package/assets/.agent/skills/skill-creator/scripts/package_skill.py +110 -0
- package/assets/.agent/skills/skill-creator/scripts/quick_validate.py +95 -0
- package/assets/.agent/skills/skill-developer/ADVANCED.md +197 -0
- package/assets/.agent/skills/skill-developer/HOOK_MECHANISMS.md +306 -0
- package/assets/.agent/skills/skill-developer/PATTERNS_LIBRARY.md +152 -0
- package/assets/.agent/skills/skill-developer/SKILL.md +426 -0
- package/assets/.agent/skills/skill-developer/SKILL_RULES_REFERENCE.md +315 -0
- package/assets/.agent/skills/skill-developer/TRIGGER_TYPES.md +305 -0
- package/assets/.agent/skills/skill-developer/TROUBLESHOOTING.md +514 -0
- package/assets/.agent/skills/slack-automation/SKILL.md +189 -0
- package/assets/.agent/skills/slo-implementation/SKILL.md +341 -0
- package/assets/.agent/skills/social-content/SKILL.md +807 -0
- package/assets/.agent/skills/spark-optimization/SKILL.md +427 -0
- package/assets/.agent/skills/sql-injection-testing/SKILL.md +448 -0
- package/assets/.agent/skills/sql-optimization-patterns/SKILL.md +35 -0
- package/assets/.agent/skills/sql-optimization-patterns/resources/implementation-playbook.md +504 -0
- package/assets/.agent/skills/sql-pro/SKILL.md +173 -0
- package/assets/.agent/skills/ssh-penetration-testing/SKILL.md +488 -0
- package/assets/.agent/skills/startup-analyst/SKILL.md +328 -0
- package/assets/.agent/skills/startup-business-analyst-business-case/SKILL.md +487 -0
- package/assets/.agent/skills/startup-business-analyst-financial-projections/SKILL.md +353 -0
- package/assets/.agent/skills/startup-business-analyst-market-opportunity/SKILL.md +240 -0
- package/assets/.agent/skills/startup-financial-modeling/SKILL.md +467 -0
- package/assets/.agent/skills/startup-metrics-framework/SKILL.md +34 -0
- package/assets/.agent/skills/startup-metrics-framework/resources/implementation-playbook.md +500 -0
- package/assets/.agent/skills/stride-analysis-patterns/SKILL.md +33 -0
- package/assets/.agent/skills/stride-analysis-patterns/resources/implementation-playbook.md +655 -0
- package/assets/.agent/skills/stripe-automation/SKILL.md +198 -0
- package/assets/.agent/skills/stripe-integration/SKILL.md +454 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/AGENTS.md +1490 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/README.md +119 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/SKILL.md +57 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/metadata.json +13 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/_contributing.md +171 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/_sections.md +39 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/_template.md +34 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/advanced-full-text-search.md +55 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/advanced-jsonb-indexing.md +49 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/conn-idle-timeout.md +46 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/conn-limits.md +44 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/conn-pooling.md +41 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/conn-prepared-statements.md +46 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/data-batch-inserts.md +54 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/data-n-plus-one.md +53 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/data-pagination.md +50 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/data-upsert.md +50 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/lock-advisory.md +56 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/lock-deadlock-prevention.md +68 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/lock-short-transactions.md +50 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/lock-skip-locked.md +54 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/monitor-explain-analyze.md +45 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/monitor-pg-stat-statements.md +55 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/monitor-vacuum-analyze.md +55 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/query-composite-indexes.md +44 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/query-covering-indexes.md +40 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/query-index-types.md +45 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/query-missing-indexes.md +43 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/query-partial-indexes.md +45 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/schema-data-types.md +46 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/schema-foreign-key-indexes.md +59 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/schema-lowercase-identifiers.md +55 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/schema-partitioning.md +55 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/schema-primary-keys.md +61 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/security-privileges.md +54 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/security-rls-basics.md +50 -0
- package/assets/.agent/skills/supabase-postgres-best-practices/rules/security-rls-performance.md +57 -0
- package/assets/.agent/skills/system-diagrammer/SKILL.md +25 -0
- package/assets/.agent/skills/system-diagrammer/data/diagram_templates.json +69 -0
- package/assets/.agent/skills/system-diagrammer/scripts/__pycache__/diagram.cpython-314.pyc +0 -0
- package/assets/.agent/skills/system-diagrammer/scripts/diagram.py +81 -0
- package/assets/.agent/skills/system-strategist/SKILL.md +35 -0
- package/assets/.agent/skills/system-strategist/data/strategy_patterns.json +170 -0
- package/assets/.agent/skills/system-strategist/scripts/__pycache__/strategist.cpython-314.pyc +0 -0
- package/assets/.agent/skills/system-strategist/scripts/strategist.py +136 -0
- package/assets/.agent/skills/tavily-web/SKILL.md +36 -0
- package/assets/.agent/skills/team-composition-analysis/SKILL.md +413 -0
- package/assets/.agent/skills/tech-stack-advisor/SKILL.md +59 -0
- package/assets/.agent/skills/tech-stack-advisor/data/stacks.json +727 -0
- package/assets/.agent/skills/tech-stack-advisor/data/tech_data.json +1297 -0
- package/assets/.agent/skills/tech-stack-advisor/scripts/__pycache__/advisor.cpython-314.pyc +0 -0
- package/assets/.agent/skills/tech-stack-advisor/scripts/__pycache__/scanner.cpython-314.pyc +0 -0
- package/assets/.agent/skills/tech-stack-advisor/scripts/advisor.py +211 -0
- package/assets/.agent/skills/tech-stack-advisor/scripts/scanner.py +102 -0
- package/assets/.agent/skills/terraform-module-library/SKILL.md +261 -0
- package/assets/.agent/skills/terraform-module-library/references/aws-modules.md +63 -0
- package/assets/.agent/skills/terraform-skill/SKILL.md +517 -0
- package/assets/.agent/skills/terraform-specialist/SKILL.md +166 -0
- package/assets/.agent/skills/test-generator/SKILL.md +14 -0
- package/assets/.agent/skills/test-generator/data/test_patterns.json +39 -0
- package/assets/.agent/skills/test-generator/scripts/__pycache__/gen_skeleton.cpython-314.pyc +0 -0
- package/assets/.agent/skills/test-generator/scripts/gen_skeleton.py +61 -0
- package/assets/.agent/skills/testing-patterns/SKILL.md +259 -0
- package/assets/.agent/skills/threat-mitigation-mapping/SKILL.md +33 -0
- package/assets/.agent/skills/threat-mitigation-mapping/resources/implementation-playbook.md +744 -0
- package/assets/.agent/skills/threat-modeling-expert/SKILL.md +60 -0
- package/assets/.agent/skills/tool-design/SKILL.md +318 -0
- package/assets/.agent/skills/top-web-vulnerabilities/SKILL.md +543 -0
- package/assets/.agent/skills/trello-automation/SKILL.md +181 -0
- package/assets/.agent/skills/trigger-dev/SKILL.md +67 -0
- package/assets/.agent/skills/tutorial-engineer/SKILL.md +139 -0
- package/assets/.agent/skills/twitter-automation/SKILL.md +231 -0
- package/assets/.agent/skills/typescript-pro/SKILL.md +55 -0
- package/assets/.agent/skills/ui-ux-pro-max/SKILL.md +30 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/charts.csv +26 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/colors.csv +97 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/icons.csv +101 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/landing.csv +31 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/products.csv +97 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/react-performance.csv +45 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/astro.csv +54 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/react.csv +54 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/vue.csv +50 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/styles.csv +68 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/typography.csv +58 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/web-interface.csv +31 -0
- package/assets/.agent/skills/ui-ux-pro-max/scripts/__pycache__/core.cpython-314.pyc +0 -0
- package/assets/.agent/skills/ui-ux-pro-max/scripts/__pycache__/design_system.cpython-314.pyc +0 -0
- package/assets/.agent/skills/ui-ux-pro-max/scripts/__pycache__/search.cpython-314.pyc +0 -0
- package/assets/.agent/skills/ui-ux-pro-max/scripts/core.py +253 -0
- package/assets/.agent/skills/ui-ux-pro-max/scripts/design_system.py +1110 -0
- package/assets/.agent/skills/ui-ux-pro-max/scripts/search.py +162 -0
- package/assets/.agent/skills/using-neon/SKILL.md +84 -0
- package/assets/.agent/skills/vector-database-engineer/SKILL.md +60 -0
- package/assets/.agent/skills/vector-index-tuning/SKILL.md +42 -0
- package/assets/.agent/skills/vector-index-tuning/resources/implementation-playbook.md +507 -0
- package/assets/.agent/skills/vercel-deployment/SKILL.md +79 -0
- package/assets/.agent/skills/voice-agents/SKILL.md +68 -0
- package/assets/.agent/skills/vulnerability-scanner/SKILL.md +276 -0
- package/assets/.agent/skills/vulnerability-scanner/checklists.md +121 -0
- package/assets/.agent/skills/vulnerability-scanner/scripts/__pycache__/security_scan.cpython-314.pyc +0 -0
- package/assets/.agent/skills/vulnerability-scanner/scripts/security_scan.py +458 -0
- package/assets/.agent/skills/whatsapp-automation/SKILL.md +214 -0
- package/assets/.agent/skills/wiki-architect/SKILL.md +60 -0
- package/assets/.agent/skills/wiki-onboarding/SKILL.md +77 -0
- package/assets/.agent/skills/wiki-page-writer/SKILL.md +65 -0
- package/assets/.agent/skills/wiki-researcher/SKILL.md +65 -0
- package/assets/.agent/skills/windows-privilege-escalation/SKILL.md +496 -0
- package/assets/.agent/skills/wireshark-analysis/SKILL.md +497 -0
- package/assets/.agent/skills/wordpress-penetration-testing/SKILL.md +485 -0
- package/assets/.agent/skills/workflow-automation/SKILL.md +68 -0
- package/assets/.agent/skills/xss-html-injection/SKILL.md +499 -0
- package/assets/.agent/skills/zapier-make-patterns/SKILL.md +67 -0
- package/assets/.agent/skills/zendesk-automation/SKILL.md +215 -0
- package/assets/.agent/workflows/ai-agent-builder.md +93 -0
- package/assets/.agent/workflows/api-graphql-dev.md +45 -0
- package/assets/.agent/workflows/architect.md +43 -0
- package/assets/.agent/workflows/backend-dev.md +43 -0
- package/assets/.agent/workflows/claude-code-dev.md +51 -0
- package/assets/.agent/workflows/cloud-deployer.md +422 -0
- package/assets/.agent/workflows/code-reviewer.md +62 -0
- package/assets/.agent/workflows/context-data-eng.md +58 -0
- package/assets/.agent/workflows/database-eng.md +60 -0
- package/assets/.agent/workflows/deep-researcher.md +175 -0
- package/assets/.agent/workflows/designer.md +36 -0
- package/assets/.agent/workflows/devops.md +37 -0
- package/assets/.agent/workflows/doc-writer.md +211 -0
- package/assets/.agent/workflows/frontend-dev.md +63 -0
- package/assets/.agent/workflows/fullstack-coder.md +141 -0
- package/assets/.agent/workflows/image-creator.md +186 -0
- package/assets/.agent/workflows/knowledge-guide.md +48 -0
- package/assets/.agent/workflows/leader.md +238 -0
- package/assets/.agent/workflows/meta-thinker.md +204 -0
- package/assets/.agent/workflows/mobile-dev.md +26 -0
- package/assets/.agent/workflows/n8n-automator.md +114 -0
- package/assets/.agent/workflows/nocobase-plugin-build.md +291 -0
- package/assets/.agent/workflows/nocobase-plugin-expert.md +250 -0
- package/assets/.agent/workflows/observability-eng.md +54 -0
- package/assets/.agent/workflows/planner.md +48 -0
- package/assets/.agent/workflows/prompt-engineer.md +303 -0
- package/assets/.agent/workflows/qa-engineer.md +65 -0
- package/assets/.agent/workflows/quality-guardian.md +126 -0
- package/assets/.agent/workflows/quickstart.md +107 -0
- package/assets/.agent/workflows/release-manager.md +56 -0
- package/assets/.agent/workflows/research-analyst.md +483 -0
- package/assets/.agent/workflows/researcher.md +98 -0
- package/assets/.agent/workflows/saas-connector.md +86 -0
- package/assets/.agent/workflows/security-auditor.md +82 -0
- package/assets/.agent/workflows/security-engineer.md +48 -0
- package/assets/.agent/workflows/seo-marketer.md +91 -0
- package/assets/.agent/workflows/seo-specialist.md +27 -0
- package/assets/.agent/workflows/solution-architect.md +164 -0
- package/assets/.agent/workflows/startup-advisor.md +94 -0
- package/assets/.agent/workflows/tech-writer.md +43 -0
- package/assets/ide-adapters/cline/architect.md +43 -0
- package/assets/ide-adapters/cline/backend-dev.md +43 -0
- package/assets/ide-adapters/cline/designer.md +36 -0
- package/assets/ide-adapters/cline/devops.md +37 -0
- package/assets/ide-adapters/cline/frontend-dev.md +63 -0
- package/assets/ide-adapters/cline/knowledge-guide.md +48 -0
- package/assets/ide-adapters/cline/leader.md +88 -0
- package/assets/ide-adapters/cline/meta-thinker.md +87 -0
- package/assets/ide-adapters/cline/mobile-dev.md +26 -0
- package/assets/ide-adapters/cline/planner.md +48 -0
- package/assets/ide-adapters/cline/qa-engineer.md +65 -0
- package/assets/ide-adapters/cline/security-engineer.md +48 -0
- package/assets/ide-adapters/cline/seo-specialist.md +27 -0
- package/assets/ide-adapters/cline/tech-writer.md +43 -0
- package/assets/ide-adapters/copilot/architect.instructions.md +43 -0
- package/assets/ide-adapters/copilot/backend-dev.instructions.md +43 -0
- package/assets/ide-adapters/copilot/designer.instructions.md +36 -0
- package/assets/ide-adapters/copilot/devops.instructions.md +37 -0
- package/assets/ide-adapters/copilot/frontend-dev.instructions.md +63 -0
- package/assets/ide-adapters/copilot/knowledge-guide.instructions.md +48 -0
- package/assets/ide-adapters/copilot/leader.instructions.md +88 -0
- package/assets/ide-adapters/copilot/meta-thinker.instructions.md +87 -0
- package/assets/ide-adapters/copilot/mobile-dev.instructions.md +26 -0
- package/assets/ide-adapters/copilot/planner.instructions.md +48 -0
- package/assets/ide-adapters/copilot/qa-engineer.instructions.md +65 -0
- package/assets/ide-adapters/copilot/security-engineer.instructions.md +48 -0
- package/assets/ide-adapters/copilot/seo-specialist.instructions.md +27 -0
- package/assets/ide-adapters/copilot/tech-writer.instructions.md +43 -0
- package/assets/ide-adapters/cursor/architect.mdc +44 -0
- package/assets/ide-adapters/cursor/backend-dev.mdc +44 -0
- package/assets/ide-adapters/cursor/designer.mdc +37 -0
- package/assets/ide-adapters/cursor/devops.mdc +38 -0
- package/assets/ide-adapters/cursor/frontend-dev.mdc +64 -0
- package/assets/ide-adapters/cursor/knowledge-guide.mdc +49 -0
- package/assets/ide-adapters/cursor/leader.mdc +89 -0
- package/assets/ide-adapters/cursor/meta-thinker.mdc +88 -0
- package/assets/ide-adapters/cursor/mobile-dev.mdc +27 -0
- package/assets/ide-adapters/cursor/planner.mdc +49 -0
- package/assets/ide-adapters/cursor/qa-engineer.mdc +66 -0
- package/assets/ide-adapters/cursor/security-engineer.mdc +49 -0
- package/assets/ide-adapters/cursor/seo-specialist.mdc +28 -0
- package/assets/ide-adapters/cursor/tech-writer.mdc +44 -0
- package/assets/ide-adapters/kilocode/architect.md +43 -0
- package/assets/ide-adapters/kilocode/backend-dev.md +43 -0
- package/assets/ide-adapters/kilocode/designer.md +36 -0
- package/assets/ide-adapters/kilocode/devops.md +37 -0
- package/assets/ide-adapters/kilocode/frontend-dev.md +63 -0
- package/assets/ide-adapters/kilocode/knowledge-guide.md +48 -0
- package/assets/ide-adapters/kilocode/leader.md +88 -0
- package/assets/ide-adapters/kilocode/meta-thinker.md +87 -0
- package/assets/ide-adapters/kilocode/mobile-dev.md +26 -0
- package/assets/ide-adapters/kilocode/planner.md +48 -0
- package/assets/ide-adapters/kilocode/qa-engineer.md +65 -0
- package/assets/ide-adapters/kilocode/security-engineer.md +48 -0
- package/assets/ide-adapters/kilocode/seo-specialist.md +27 -0
- package/assets/ide-adapters/kilocode/tech-writer.md +43 -0
- package/assets/ide-adapters/kiro/hooks/auto-lint.json +8 -0
- package/assets/ide-adapters/kiro/hooks/auto-test.json +8 -0
- package/assets/ide-adapters/kiro/specs/.gitkeep +0 -0
- package/assets/ide-adapters/kiro/steering/product.md +23 -0
- package/assets/ide-adapters/kiro/steering/structure.md +23 -0
- package/assets/ide-adapters/kiro/steering/tech.md +27 -0
- package/assets/ide-adapters/windsurf/architect.md +41 -0
- package/assets/ide-adapters/windsurf/backend-dev.md +41 -0
- package/assets/ide-adapters/windsurf/designer.md +34 -0
- package/assets/ide-adapters/windsurf/devops.md +35 -0
- package/assets/ide-adapters/windsurf/frontend-dev.md +61 -0
- package/assets/ide-adapters/windsurf/knowledge-guide.md +46 -0
- package/assets/ide-adapters/windsurf/leader.md +86 -0
- package/assets/ide-adapters/windsurf/meta-thinker.md +85 -0
- package/assets/ide-adapters/windsurf/mobile-dev.md +24 -0
- package/assets/ide-adapters/windsurf/planner.md +46 -0
- package/assets/ide-adapters/windsurf/qa-engineer.md +63 -0
- package/assets/ide-adapters/windsurf/security-engineer.md +46 -0
- package/assets/ide-adapters/windsurf/seo-specialist.md +25 -0
- package/assets/ide-adapters/windsurf/tech-writer.md +41 -0
- package/assets/skill_groups.json +574 -0
- package/bin/cli.js +101 -0
- package/lib/commands.js +133 -0
- package/lib/constants.js +76 -0
- package/lib/download.js +165 -0
- package/lib/init.js +294 -0
- package/package.json +45 -0
- package/scripts/build-assets.js +177 -0
package/assets/.agent/skills/security-requirement-extraction/resources/implementation-playbook.md
ADDED
|
@@ -0,0 +1,676 @@
|
|
|
1
|
+
# Security Requirement Extraction Implementation Playbook
|
|
2
|
+
|
|
3
|
+
This file contains detailed patterns, checklists, and code samples referenced by the skill.
|
|
4
|
+
|
|
5
|
+
# Security Requirement Extraction
|
|
6
|
+
|
|
7
|
+
Transform threat analysis into actionable security requirements.
|
|
8
|
+
|
|
9
|
+
## When to Use This Skill
|
|
10
|
+
|
|
11
|
+
- Converting threat models to requirements
|
|
12
|
+
- Writing security user stories
|
|
13
|
+
- Creating security test cases
|
|
14
|
+
- Building security acceptance criteria
|
|
15
|
+
- Compliance requirement mapping
|
|
16
|
+
- Security architecture documentation
|
|
17
|
+
|
|
18
|
+
## Core Concepts
|
|
19
|
+
|
|
20
|
+
### 1. Requirement Categories
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
Business Requirements → Security Requirements → Technical Controls
|
|
24
|
+
↓ ↓ ↓
|
|
25
|
+
"Protect customer "Encrypt PII at rest" "AES-256 encryption
|
|
26
|
+
data" with KMS key rotation"
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### 2. Security Requirement Types
|
|
30
|
+
|
|
31
|
+
| Type | Focus | Example |
|
|
32
|
+
|------|-------|---------|
|
|
33
|
+
| **Functional** | What system must do | "System must authenticate users" |
|
|
34
|
+
| **Non-functional** | How system must perform | "Authentication must complete in <2s" |
|
|
35
|
+
| **Constraint** | Limitations imposed | "Must use approved crypto libraries" |
|
|
36
|
+
|
|
37
|
+
### 3. Requirement Attributes
|
|
38
|
+
|
|
39
|
+
| Attribute | Description |
|
|
40
|
+
|-----------|-------------|
|
|
41
|
+
| **Traceability** | Links to threats/compliance |
|
|
42
|
+
| **Testability** | Can be verified |
|
|
43
|
+
| **Priority** | Business importance |
|
|
44
|
+
| **Risk Level** | Impact if not met |
|
|
45
|
+
|
|
46
|
+
## Templates
|
|
47
|
+
|
|
48
|
+
### Template 1: Security Requirement Model
|
|
49
|
+
|
|
50
|
+
```python
|
|
51
|
+
from dataclasses import dataclass, field
|
|
52
|
+
from enum import Enum
|
|
53
|
+
from typing import List, Dict, Optional, Set
|
|
54
|
+
from datetime import datetime
|
|
55
|
+
|
|
56
|
+
class RequirementType(Enum):
|
|
57
|
+
FUNCTIONAL = "functional"
|
|
58
|
+
NON_FUNCTIONAL = "non_functional"
|
|
59
|
+
CONSTRAINT = "constraint"
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
class Priority(Enum):
|
|
63
|
+
CRITICAL = 1
|
|
64
|
+
HIGH = 2
|
|
65
|
+
MEDIUM = 3
|
|
66
|
+
LOW = 4
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
class SecurityDomain(Enum):
|
|
70
|
+
AUTHENTICATION = "authentication"
|
|
71
|
+
AUTHORIZATION = "authorization"
|
|
72
|
+
DATA_PROTECTION = "data_protection"
|
|
73
|
+
AUDIT_LOGGING = "audit_logging"
|
|
74
|
+
INPUT_VALIDATION = "input_validation"
|
|
75
|
+
ERROR_HANDLING = "error_handling"
|
|
76
|
+
SESSION_MANAGEMENT = "session_management"
|
|
77
|
+
CRYPTOGRAPHY = "cryptography"
|
|
78
|
+
NETWORK_SECURITY = "network_security"
|
|
79
|
+
AVAILABILITY = "availability"
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
class ComplianceFramework(Enum):
|
|
83
|
+
PCI_DSS = "pci_dss"
|
|
84
|
+
HIPAA = "hipaa"
|
|
85
|
+
GDPR = "gdpr"
|
|
86
|
+
SOC2 = "soc2"
|
|
87
|
+
NIST_CSF = "nist_csf"
|
|
88
|
+
ISO_27001 = "iso_27001"
|
|
89
|
+
OWASP = "owasp"
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
@dataclass
|
|
93
|
+
class SecurityRequirement:
|
|
94
|
+
id: str
|
|
95
|
+
title: str
|
|
96
|
+
description: str
|
|
97
|
+
req_type: RequirementType
|
|
98
|
+
domain: SecurityDomain
|
|
99
|
+
priority: Priority
|
|
100
|
+
rationale: str = ""
|
|
101
|
+
acceptance_criteria: List[str] = field(default_factory=list)
|
|
102
|
+
test_cases: List[str] = field(default_factory=list)
|
|
103
|
+
threat_refs: List[str] = field(default_factory=list)
|
|
104
|
+
compliance_refs: List[str] = field(default_factory=list)
|
|
105
|
+
dependencies: List[str] = field(default_factory=list)
|
|
106
|
+
status: str = "draft"
|
|
107
|
+
owner: str = ""
|
|
108
|
+
created_date: datetime = field(default_factory=datetime.now)
|
|
109
|
+
|
|
110
|
+
def to_user_story(self) -> str:
|
|
111
|
+
"""Convert to user story format."""
|
|
112
|
+
return f"""
|
|
113
|
+
**{self.id}: {self.title}**
|
|
114
|
+
|
|
115
|
+
As a security-conscious system,
|
|
116
|
+
I need to {self.description.lower()},
|
|
117
|
+
So that {self.rationale.lower()}.
|
|
118
|
+
|
|
119
|
+
**Acceptance Criteria:**
|
|
120
|
+
{chr(10).join(f'- [ ] {ac}' for ac in self.acceptance_criteria)}
|
|
121
|
+
|
|
122
|
+
**Priority:** {self.priority.name}
|
|
123
|
+
**Domain:** {self.domain.value}
|
|
124
|
+
**Threat References:** {', '.join(self.threat_refs)}
|
|
125
|
+
"""
|
|
126
|
+
|
|
127
|
+
def to_test_spec(self) -> str:
|
|
128
|
+
"""Convert to test specification."""
|
|
129
|
+
return f"""
|
|
130
|
+
## Test Specification: {self.id}
|
|
131
|
+
|
|
132
|
+
### Requirement
|
|
133
|
+
{self.description}
|
|
134
|
+
|
|
135
|
+
### Test Cases
|
|
136
|
+
{chr(10).join(f'{i+1}. {tc}' for i, tc in enumerate(self.test_cases))}
|
|
137
|
+
|
|
138
|
+
### Acceptance Criteria Verification
|
|
139
|
+
{chr(10).join(f'- {ac}' for ac in self.acceptance_criteria)}
|
|
140
|
+
"""
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
@dataclass
|
|
144
|
+
class RequirementSet:
|
|
145
|
+
name: str
|
|
146
|
+
version: str
|
|
147
|
+
requirements: List[SecurityRequirement] = field(default_factory=list)
|
|
148
|
+
|
|
149
|
+
def add(self, req: SecurityRequirement) -> None:
|
|
150
|
+
self.requirements.append(req)
|
|
151
|
+
|
|
152
|
+
def get_by_domain(self, domain: SecurityDomain) -> List[SecurityRequirement]:
|
|
153
|
+
return [r for r in self.requirements if r.domain == domain]
|
|
154
|
+
|
|
155
|
+
def get_by_priority(self, priority: Priority) -> List[SecurityRequirement]:
|
|
156
|
+
return [r for r in self.requirements if r.priority == priority]
|
|
157
|
+
|
|
158
|
+
def get_by_threat(self, threat_id: str) -> List[SecurityRequirement]:
|
|
159
|
+
return [r for r in self.requirements if threat_id in r.threat_refs]
|
|
160
|
+
|
|
161
|
+
def get_critical_requirements(self) -> List[SecurityRequirement]:
|
|
162
|
+
return [r for r in self.requirements if r.priority == Priority.CRITICAL]
|
|
163
|
+
|
|
164
|
+
def export_markdown(self) -> str:
|
|
165
|
+
"""Export all requirements as markdown."""
|
|
166
|
+
lines = [f"# Security Requirements: {self.name}\n"]
|
|
167
|
+
lines.append(f"Version: {self.version}\n")
|
|
168
|
+
|
|
169
|
+
for domain in SecurityDomain:
|
|
170
|
+
domain_reqs = self.get_by_domain(domain)
|
|
171
|
+
if domain_reqs:
|
|
172
|
+
lines.append(f"\n## {domain.value.replace('_', ' ').title()}\n")
|
|
173
|
+
for req in domain_reqs:
|
|
174
|
+
lines.append(req.to_user_story())
|
|
175
|
+
|
|
176
|
+
return "\n".join(lines)
|
|
177
|
+
|
|
178
|
+
def traceability_matrix(self) -> Dict[str, List[str]]:
|
|
179
|
+
"""Generate threat-to-requirement traceability."""
|
|
180
|
+
matrix = {}
|
|
181
|
+
for req in self.requirements:
|
|
182
|
+
for threat_id in req.threat_refs:
|
|
183
|
+
if threat_id not in matrix:
|
|
184
|
+
matrix[threat_id] = []
|
|
185
|
+
matrix[threat_id].append(req.id)
|
|
186
|
+
return matrix
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
### Template 2: Threat-to-Requirement Extractor
|
|
190
|
+
|
|
191
|
+
```python
|
|
192
|
+
from dataclasses import dataclass
|
|
193
|
+
from typing import List, Dict, Tuple
|
|
194
|
+
|
|
195
|
+
@dataclass
|
|
196
|
+
class ThreatInput:
|
|
197
|
+
id: str
|
|
198
|
+
category: str # STRIDE category
|
|
199
|
+
title: str
|
|
200
|
+
description: str
|
|
201
|
+
target: str
|
|
202
|
+
impact: str
|
|
203
|
+
likelihood: str
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
class RequirementExtractor:
|
|
207
|
+
"""Extract security requirements from threats."""
|
|
208
|
+
|
|
209
|
+
# Mapping of STRIDE categories to security domains and requirement patterns
|
|
210
|
+
STRIDE_MAPPINGS = {
|
|
211
|
+
"SPOOFING": {
|
|
212
|
+
"domains": [SecurityDomain.AUTHENTICATION, SecurityDomain.SESSION_MANAGEMENT],
|
|
213
|
+
"patterns": [
|
|
214
|
+
("Implement strong authentication for {target}",
|
|
215
|
+
"Ensure {target} authenticates all users before granting access"),
|
|
216
|
+
("Validate identity tokens for {target}",
|
|
217
|
+
"All authentication tokens must be cryptographically verified"),
|
|
218
|
+
("Implement session management for {target}",
|
|
219
|
+
"Sessions must be securely managed with proper expiration"),
|
|
220
|
+
]
|
|
221
|
+
},
|
|
222
|
+
"TAMPERING": {
|
|
223
|
+
"domains": [SecurityDomain.INPUT_VALIDATION, SecurityDomain.DATA_PROTECTION],
|
|
224
|
+
"patterns": [
|
|
225
|
+
("Validate all input to {target}",
|
|
226
|
+
"All input must be validated against expected formats"),
|
|
227
|
+
("Implement integrity checks for {target}",
|
|
228
|
+
"Data integrity must be verified using cryptographic signatures"),
|
|
229
|
+
("Protect {target} from modification",
|
|
230
|
+
"Implement controls to prevent unauthorized data modification"),
|
|
231
|
+
]
|
|
232
|
+
},
|
|
233
|
+
"REPUDIATION": {
|
|
234
|
+
"domains": [SecurityDomain.AUDIT_LOGGING],
|
|
235
|
+
"patterns": [
|
|
236
|
+
("Log all security events for {target}",
|
|
237
|
+
"Security-relevant events must be logged for audit purposes"),
|
|
238
|
+
("Implement non-repudiation for {target}",
|
|
239
|
+
"Critical actions must have cryptographic proof of origin"),
|
|
240
|
+
("Protect audit logs for {target}",
|
|
241
|
+
"Audit logs must be tamper-evident and protected"),
|
|
242
|
+
]
|
|
243
|
+
},
|
|
244
|
+
"INFORMATION_DISCLOSURE": {
|
|
245
|
+
"domains": [SecurityDomain.DATA_PROTECTION, SecurityDomain.CRYPTOGRAPHY],
|
|
246
|
+
"patterns": [
|
|
247
|
+
("Encrypt sensitive data in {target}",
|
|
248
|
+
"Sensitive data must be encrypted at rest and in transit"),
|
|
249
|
+
("Implement access controls for {target}",
|
|
250
|
+
"Data access must be restricted based on need-to-know"),
|
|
251
|
+
("Prevent information leakage from {target}",
|
|
252
|
+
"Error messages and logs must not expose sensitive information"),
|
|
253
|
+
]
|
|
254
|
+
},
|
|
255
|
+
"DENIAL_OF_SERVICE": {
|
|
256
|
+
"domains": [SecurityDomain.AVAILABILITY, SecurityDomain.INPUT_VALIDATION],
|
|
257
|
+
"patterns": [
|
|
258
|
+
("Implement rate limiting for {target}",
|
|
259
|
+
"Requests must be rate-limited to prevent resource exhaustion"),
|
|
260
|
+
("Ensure availability of {target}",
|
|
261
|
+
"System must remain available under high load conditions"),
|
|
262
|
+
("Implement resource quotas for {target}",
|
|
263
|
+
"Resource consumption must be bounded and monitored"),
|
|
264
|
+
]
|
|
265
|
+
},
|
|
266
|
+
"ELEVATION_OF_PRIVILEGE": {
|
|
267
|
+
"domains": [SecurityDomain.AUTHORIZATION],
|
|
268
|
+
"patterns": [
|
|
269
|
+
("Enforce authorization for {target}",
|
|
270
|
+
"All actions must be authorized based on user permissions"),
|
|
271
|
+
("Implement least privilege for {target}",
|
|
272
|
+
"Users must only have minimum necessary permissions"),
|
|
273
|
+
("Validate permissions for {target}",
|
|
274
|
+
"Permission checks must be performed server-side"),
|
|
275
|
+
]
|
|
276
|
+
},
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
def extract_requirements(
|
|
280
|
+
self,
|
|
281
|
+
threats: List[ThreatInput],
|
|
282
|
+
project_name: str
|
|
283
|
+
) -> RequirementSet:
|
|
284
|
+
"""Extract security requirements from threats."""
|
|
285
|
+
req_set = RequirementSet(
|
|
286
|
+
name=f"{project_name} Security Requirements",
|
|
287
|
+
version="1.0"
|
|
288
|
+
)
|
|
289
|
+
|
|
290
|
+
req_counter = 1
|
|
291
|
+
for threat in threats:
|
|
292
|
+
reqs = self._threat_to_requirements(threat, req_counter)
|
|
293
|
+
for req in reqs:
|
|
294
|
+
req_set.add(req)
|
|
295
|
+
req_counter += len(reqs)
|
|
296
|
+
|
|
297
|
+
return req_set
|
|
298
|
+
|
|
299
|
+
def _threat_to_requirements(
|
|
300
|
+
self,
|
|
301
|
+
threat: ThreatInput,
|
|
302
|
+
start_id: int
|
|
303
|
+
) -> List[SecurityRequirement]:
|
|
304
|
+
"""Convert a single threat to requirements."""
|
|
305
|
+
requirements = []
|
|
306
|
+
mapping = self.STRIDE_MAPPINGS.get(threat.category, {})
|
|
307
|
+
domains = mapping.get("domains", [])
|
|
308
|
+
patterns = mapping.get("patterns", [])
|
|
309
|
+
|
|
310
|
+
priority = self._calculate_priority(threat.impact, threat.likelihood)
|
|
311
|
+
|
|
312
|
+
for i, (title_pattern, desc_pattern) in enumerate(patterns):
|
|
313
|
+
req = SecurityRequirement(
|
|
314
|
+
id=f"SR-{start_id + i:03d}",
|
|
315
|
+
title=title_pattern.format(target=threat.target),
|
|
316
|
+
description=desc_pattern.format(target=threat.target),
|
|
317
|
+
req_type=RequirementType.FUNCTIONAL,
|
|
318
|
+
domain=domains[i % len(domains)] if domains else SecurityDomain.DATA_PROTECTION,
|
|
319
|
+
priority=priority,
|
|
320
|
+
rationale=f"Mitigates threat: {threat.title}",
|
|
321
|
+
threat_refs=[threat.id],
|
|
322
|
+
acceptance_criteria=self._generate_acceptance_criteria(
|
|
323
|
+
threat.category, threat.target
|
|
324
|
+
),
|
|
325
|
+
test_cases=self._generate_test_cases(
|
|
326
|
+
threat.category, threat.target
|
|
327
|
+
)
|
|
328
|
+
)
|
|
329
|
+
requirements.append(req)
|
|
330
|
+
|
|
331
|
+
return requirements
|
|
332
|
+
|
|
333
|
+
def _calculate_priority(self, impact: str, likelihood: str) -> Priority:
|
|
334
|
+
"""Calculate requirement priority from threat attributes."""
|
|
335
|
+
score_map = {"LOW": 1, "MEDIUM": 2, "HIGH": 3, "CRITICAL": 4}
|
|
336
|
+
impact_score = score_map.get(impact.upper(), 2)
|
|
337
|
+
likelihood_score = score_map.get(likelihood.upper(), 2)
|
|
338
|
+
|
|
339
|
+
combined = impact_score * likelihood_score
|
|
340
|
+
|
|
341
|
+
if combined >= 12:
|
|
342
|
+
return Priority.CRITICAL
|
|
343
|
+
elif combined >= 6:
|
|
344
|
+
return Priority.HIGH
|
|
345
|
+
elif combined >= 3:
|
|
346
|
+
return Priority.MEDIUM
|
|
347
|
+
return Priority.LOW
|
|
348
|
+
|
|
349
|
+
def _generate_acceptance_criteria(
|
|
350
|
+
self,
|
|
351
|
+
category: str,
|
|
352
|
+
target: str
|
|
353
|
+
) -> List[str]:
|
|
354
|
+
"""Generate acceptance criteria for requirement."""
|
|
355
|
+
criteria_templates = {
|
|
356
|
+
"SPOOFING": [
|
|
357
|
+
f"Users must authenticate before accessing {target}",
|
|
358
|
+
"Authentication failures are logged and monitored",
|
|
359
|
+
"Multi-factor authentication is available for sensitive operations",
|
|
360
|
+
],
|
|
361
|
+
"TAMPERING": [
|
|
362
|
+
f"All input to {target} is validated",
|
|
363
|
+
"Data integrity is verified before processing",
|
|
364
|
+
"Modification attempts trigger alerts",
|
|
365
|
+
],
|
|
366
|
+
"REPUDIATION": [
|
|
367
|
+
f"All actions on {target} are logged with user identity",
|
|
368
|
+
"Logs cannot be modified by regular users",
|
|
369
|
+
"Log retention meets compliance requirements",
|
|
370
|
+
],
|
|
371
|
+
"INFORMATION_DISCLOSURE": [
|
|
372
|
+
f"Sensitive data in {target} is encrypted",
|
|
373
|
+
"Access to sensitive data is logged",
|
|
374
|
+
"Error messages do not reveal sensitive information",
|
|
375
|
+
],
|
|
376
|
+
"DENIAL_OF_SERVICE": [
|
|
377
|
+
f"Rate limiting is enforced on {target}",
|
|
378
|
+
"System degrades gracefully under load",
|
|
379
|
+
"Resource exhaustion triggers alerts",
|
|
380
|
+
],
|
|
381
|
+
"ELEVATION_OF_PRIVILEGE": [
|
|
382
|
+
f"Authorization is checked for all {target} operations",
|
|
383
|
+
"Users cannot access resources beyond their permissions",
|
|
384
|
+
"Privilege changes are logged and monitored",
|
|
385
|
+
],
|
|
386
|
+
}
|
|
387
|
+
return criteria_templates.get(category, [])
|
|
388
|
+
|
|
389
|
+
def _generate_test_cases(
|
|
390
|
+
self,
|
|
391
|
+
category: str,
|
|
392
|
+
target: str
|
|
393
|
+
) -> List[str]:
|
|
394
|
+
"""Generate test cases for requirement."""
|
|
395
|
+
test_templates = {
|
|
396
|
+
"SPOOFING": [
|
|
397
|
+
f"Test: Unauthenticated access to {target} is denied",
|
|
398
|
+
"Test: Invalid credentials are rejected",
|
|
399
|
+
"Test: Session tokens cannot be forged",
|
|
400
|
+
],
|
|
401
|
+
"TAMPERING": [
|
|
402
|
+
f"Test: Invalid input to {target} is rejected",
|
|
403
|
+
"Test: Tampered data is detected and rejected",
|
|
404
|
+
"Test: SQL injection attempts are blocked",
|
|
405
|
+
],
|
|
406
|
+
"REPUDIATION": [
|
|
407
|
+
"Test: Security events are logged",
|
|
408
|
+
"Test: Logs include sufficient detail for forensics",
|
|
409
|
+
"Test: Log integrity is protected",
|
|
410
|
+
],
|
|
411
|
+
"INFORMATION_DISCLOSURE": [
|
|
412
|
+
f"Test: {target} data is encrypted in transit",
|
|
413
|
+
f"Test: {target} data is encrypted at rest",
|
|
414
|
+
"Test: Error messages are sanitized",
|
|
415
|
+
],
|
|
416
|
+
"DENIAL_OF_SERVICE": [
|
|
417
|
+
f"Test: Rate limiting on {target} works correctly",
|
|
418
|
+
"Test: System handles burst traffic gracefully",
|
|
419
|
+
"Test: Resource limits are enforced",
|
|
420
|
+
],
|
|
421
|
+
"ELEVATION_OF_PRIVILEGE": [
|
|
422
|
+
f"Test: Unauthorized access to {target} is denied",
|
|
423
|
+
"Test: Privilege escalation attempts are blocked",
|
|
424
|
+
"Test: IDOR vulnerabilities are not present",
|
|
425
|
+
],
|
|
426
|
+
}
|
|
427
|
+
return test_templates.get(category, [])
|
|
428
|
+
```
|
|
429
|
+
|
|
430
|
+
### Template 3: Compliance Mapping
|
|
431
|
+
|
|
432
|
+
```python
|
|
433
|
+
from typing import Dict, List, Set
|
|
434
|
+
|
|
435
|
+
class ComplianceMapper:
|
|
436
|
+
"""Map security requirements to compliance frameworks."""
|
|
437
|
+
|
|
438
|
+
FRAMEWORK_CONTROLS = {
|
|
439
|
+
ComplianceFramework.PCI_DSS: {
|
|
440
|
+
SecurityDomain.AUTHENTICATION: ["8.1", "8.2", "8.3"],
|
|
441
|
+
SecurityDomain.AUTHORIZATION: ["7.1", "7.2"],
|
|
442
|
+
SecurityDomain.DATA_PROTECTION: ["3.4", "3.5", "4.1"],
|
|
443
|
+
SecurityDomain.AUDIT_LOGGING: ["10.1", "10.2", "10.3"],
|
|
444
|
+
SecurityDomain.NETWORK_SECURITY: ["1.1", "1.2", "1.3"],
|
|
445
|
+
SecurityDomain.CRYPTOGRAPHY: ["3.5", "3.6", "4.1"],
|
|
446
|
+
},
|
|
447
|
+
ComplianceFramework.HIPAA: {
|
|
448
|
+
SecurityDomain.AUTHENTICATION: ["164.312(d)"],
|
|
449
|
+
SecurityDomain.AUTHORIZATION: ["164.312(a)(1)"],
|
|
450
|
+
SecurityDomain.DATA_PROTECTION: ["164.312(a)(2)(iv)", "164.312(e)(2)(ii)"],
|
|
451
|
+
SecurityDomain.AUDIT_LOGGING: ["164.312(b)"],
|
|
452
|
+
},
|
|
453
|
+
ComplianceFramework.GDPR: {
|
|
454
|
+
SecurityDomain.DATA_PROTECTION: ["Art. 32", "Art. 25"],
|
|
455
|
+
SecurityDomain.AUDIT_LOGGING: ["Art. 30"],
|
|
456
|
+
SecurityDomain.AUTHORIZATION: ["Art. 25"],
|
|
457
|
+
},
|
|
458
|
+
ComplianceFramework.OWASP: {
|
|
459
|
+
SecurityDomain.AUTHENTICATION: ["V2.1", "V2.2", "V2.3"],
|
|
460
|
+
SecurityDomain.SESSION_MANAGEMENT: ["V3.1", "V3.2", "V3.3"],
|
|
461
|
+
SecurityDomain.INPUT_VALIDATION: ["V5.1", "V5.2", "V5.3"],
|
|
462
|
+
SecurityDomain.CRYPTOGRAPHY: ["V6.1", "V6.2"],
|
|
463
|
+
SecurityDomain.ERROR_HANDLING: ["V7.1", "V7.2"],
|
|
464
|
+
SecurityDomain.DATA_PROTECTION: ["V8.1", "V8.2", "V8.3"],
|
|
465
|
+
SecurityDomain.AUDIT_LOGGING: ["V7.1", "V7.2"],
|
|
466
|
+
},
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
def map_requirement_to_compliance(
|
|
470
|
+
self,
|
|
471
|
+
requirement: SecurityRequirement,
|
|
472
|
+
frameworks: List[ComplianceFramework]
|
|
473
|
+
) -> Dict[str, List[str]]:
|
|
474
|
+
"""Map a requirement to compliance controls."""
|
|
475
|
+
mapping = {}
|
|
476
|
+
for framework in frameworks:
|
|
477
|
+
controls = self.FRAMEWORK_CONTROLS.get(framework, {})
|
|
478
|
+
domain_controls = controls.get(requirement.domain, [])
|
|
479
|
+
if domain_controls:
|
|
480
|
+
mapping[framework.value] = domain_controls
|
|
481
|
+
return mapping
|
|
482
|
+
|
|
483
|
+
def get_requirements_for_control(
|
|
484
|
+
self,
|
|
485
|
+
requirement_set: RequirementSet,
|
|
486
|
+
framework: ComplianceFramework,
|
|
487
|
+
control_id: str
|
|
488
|
+
) -> List[SecurityRequirement]:
|
|
489
|
+
"""Find requirements that satisfy a compliance control."""
|
|
490
|
+
matching = []
|
|
491
|
+
framework_controls = self.FRAMEWORK_CONTROLS.get(framework, {})
|
|
492
|
+
|
|
493
|
+
for domain, controls in framework_controls.items():
|
|
494
|
+
if control_id in controls:
|
|
495
|
+
matching.extend(requirement_set.get_by_domain(domain))
|
|
496
|
+
|
|
497
|
+
return matching
|
|
498
|
+
|
|
499
|
+
def generate_compliance_matrix(
|
|
500
|
+
self,
|
|
501
|
+
requirement_set: RequirementSet,
|
|
502
|
+
frameworks: List[ComplianceFramework]
|
|
503
|
+
) -> Dict[str, Dict[str, List[str]]]:
|
|
504
|
+
"""Generate compliance traceability matrix."""
|
|
505
|
+
matrix = {}
|
|
506
|
+
|
|
507
|
+
for framework in frameworks:
|
|
508
|
+
matrix[framework.value] = {}
|
|
509
|
+
framework_controls = self.FRAMEWORK_CONTROLS.get(framework, {})
|
|
510
|
+
|
|
511
|
+
for domain, controls in framework_controls.items():
|
|
512
|
+
for control in controls:
|
|
513
|
+
reqs = self.get_requirements_for_control(
|
|
514
|
+
requirement_set, framework, control
|
|
515
|
+
)
|
|
516
|
+
if reqs:
|
|
517
|
+
matrix[framework.value][control] = [r.id for r in reqs]
|
|
518
|
+
|
|
519
|
+
return matrix
|
|
520
|
+
|
|
521
|
+
def gap_analysis(
|
|
522
|
+
self,
|
|
523
|
+
requirement_set: RequirementSet,
|
|
524
|
+
framework: ComplianceFramework
|
|
525
|
+
) -> Dict[str, List[str]]:
|
|
526
|
+
"""Identify compliance gaps."""
|
|
527
|
+
gaps = {"missing_controls": [], "weak_coverage": []}
|
|
528
|
+
framework_controls = self.FRAMEWORK_CONTROLS.get(framework, {})
|
|
529
|
+
|
|
530
|
+
for domain, controls in framework_controls.items():
|
|
531
|
+
domain_reqs = requirement_set.get_by_domain(domain)
|
|
532
|
+
for control in controls:
|
|
533
|
+
matching = self.get_requirements_for_control(
|
|
534
|
+
requirement_set, framework, control
|
|
535
|
+
)
|
|
536
|
+
if not matching:
|
|
537
|
+
gaps["missing_controls"].append(f"{framework.value}:{control}")
|
|
538
|
+
elif len(matching) < 2:
|
|
539
|
+
gaps["weak_coverage"].append(f"{framework.value}:{control}")
|
|
540
|
+
|
|
541
|
+
return gaps
|
|
542
|
+
```
|
|
543
|
+
|
|
544
|
+
### Template 4: Security User Story Generator
|
|
545
|
+
|
|
546
|
+
```python
|
|
547
|
+
class SecurityUserStoryGenerator:
|
|
548
|
+
"""Generate security-focused user stories."""
|
|
549
|
+
|
|
550
|
+
STORY_TEMPLATES = {
|
|
551
|
+
SecurityDomain.AUTHENTICATION: {
|
|
552
|
+
"as_a": "security-conscious user",
|
|
553
|
+
"so_that": "my identity is protected from impersonation",
|
|
554
|
+
},
|
|
555
|
+
SecurityDomain.AUTHORIZATION: {
|
|
556
|
+
"as_a": "system administrator",
|
|
557
|
+
"so_that": "users can only access resources appropriate to their role",
|
|
558
|
+
},
|
|
559
|
+
SecurityDomain.DATA_PROTECTION: {
|
|
560
|
+
"as_a": "data owner",
|
|
561
|
+
"so_that": "my sensitive information remains confidential",
|
|
562
|
+
},
|
|
563
|
+
SecurityDomain.AUDIT_LOGGING: {
|
|
564
|
+
"as_a": "security analyst",
|
|
565
|
+
"so_that": "I can investigate security incidents",
|
|
566
|
+
},
|
|
567
|
+
SecurityDomain.INPUT_VALIDATION: {
|
|
568
|
+
"as_a": "application developer",
|
|
569
|
+
"so_that": "the system is protected from malicious input",
|
|
570
|
+
},
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
def generate_story(self, requirement: SecurityRequirement) -> str:
|
|
574
|
+
"""Generate a user story from requirement."""
|
|
575
|
+
template = self.STORY_TEMPLATES.get(
|
|
576
|
+
requirement.domain,
|
|
577
|
+
{"as_a": "user", "so_that": "the system is secure"}
|
|
578
|
+
)
|
|
579
|
+
|
|
580
|
+
story = f"""
|
|
581
|
+
## {requirement.id}: {requirement.title}
|
|
582
|
+
|
|
583
|
+
**User Story:**
|
|
584
|
+
As a {template['as_a']},
|
|
585
|
+
I want the system to {requirement.description.lower()},
|
|
586
|
+
So that {template['so_that']}.
|
|
587
|
+
|
|
588
|
+
**Priority:** {requirement.priority.name}
|
|
589
|
+
**Type:** {requirement.req_type.value}
|
|
590
|
+
**Domain:** {requirement.domain.value}
|
|
591
|
+
|
|
592
|
+
**Acceptance Criteria:**
|
|
593
|
+
{self._format_acceptance_criteria(requirement.acceptance_criteria)}
|
|
594
|
+
|
|
595
|
+
**Definition of Done:**
|
|
596
|
+
- [ ] Implementation complete
|
|
597
|
+
- [ ] Security tests pass
|
|
598
|
+
- [ ] Code review complete
|
|
599
|
+
- [ ] Security review approved
|
|
600
|
+
- [ ] Documentation updated
|
|
601
|
+
|
|
602
|
+
**Security Test Cases:**
|
|
603
|
+
{self._format_test_cases(requirement.test_cases)}
|
|
604
|
+
|
|
605
|
+
**Traceability:**
|
|
606
|
+
- Threats: {', '.join(requirement.threat_refs) or 'N/A'}
|
|
607
|
+
- Compliance: {', '.join(requirement.compliance_refs) or 'N/A'}
|
|
608
|
+
"""
|
|
609
|
+
return story
|
|
610
|
+
|
|
611
|
+
def _format_acceptance_criteria(self, criteria: List[str]) -> str:
|
|
612
|
+
return "\n".join(f"- [ ] {c}" for c in criteria) if criteria else "- [ ] TBD"
|
|
613
|
+
|
|
614
|
+
def _format_test_cases(self, tests: List[str]) -> str:
|
|
615
|
+
return "\n".join(f"- {t}" for t in tests) if tests else "- TBD"
|
|
616
|
+
|
|
617
|
+
def generate_epic(
|
|
618
|
+
self,
|
|
619
|
+
requirement_set: RequirementSet,
|
|
620
|
+
domain: SecurityDomain
|
|
621
|
+
) -> str:
|
|
622
|
+
"""Generate an epic for a security domain."""
|
|
623
|
+
reqs = requirement_set.get_by_domain(domain)
|
|
624
|
+
|
|
625
|
+
epic = f"""
|
|
626
|
+
# Security Epic: {domain.value.replace('_', ' ').title()}
|
|
627
|
+
|
|
628
|
+
## Overview
|
|
629
|
+
This epic covers all security requirements related to {domain.value.replace('_', ' ')}.
|
|
630
|
+
|
|
631
|
+
## Business Value
|
|
632
|
+
- Protect against {domain.value.replace('_', ' ')} related threats
|
|
633
|
+
- Meet compliance requirements
|
|
634
|
+
- Reduce security risk
|
|
635
|
+
|
|
636
|
+
## Stories in this Epic
|
|
637
|
+
{chr(10).join(f'- [{r.id}] {r.title}' for r in reqs)}
|
|
638
|
+
|
|
639
|
+
## Acceptance Criteria
|
|
640
|
+
- All stories complete
|
|
641
|
+
- Security tests passing
|
|
642
|
+
- Security review approved
|
|
643
|
+
- Compliance requirements met
|
|
644
|
+
|
|
645
|
+
## Risk if Not Implemented
|
|
646
|
+
- Vulnerability to {domain.value.replace('_', ' ')} attacks
|
|
647
|
+
- Compliance violations
|
|
648
|
+
- Potential data breach
|
|
649
|
+
|
|
650
|
+
## Dependencies
|
|
651
|
+
{chr(10).join(f'- {d}' for r in reqs for d in r.dependencies) or '- None identified'}
|
|
652
|
+
"""
|
|
653
|
+
return epic
|
|
654
|
+
```
|
|
655
|
+
|
|
656
|
+
## Best Practices
|
|
657
|
+
|
|
658
|
+
### Do's
|
|
659
|
+
- **Trace to threats** - Every requirement should map to threats
|
|
660
|
+
- **Be specific** - Vague requirements can't be tested
|
|
661
|
+
- **Include acceptance criteria** - Define "done"
|
|
662
|
+
- **Consider compliance** - Map to frameworks early
|
|
663
|
+
- **Review regularly** - Requirements evolve with threats
|
|
664
|
+
|
|
665
|
+
### Don'ts
|
|
666
|
+
- **Don't be generic** - "Be secure" is not a requirement
|
|
667
|
+
- **Don't skip rationale** - Explain why it matters
|
|
668
|
+
- **Don't ignore priorities** - Not all requirements are equal
|
|
669
|
+
- **Don't forget testability** - If you can't test it, you can't verify it
|
|
670
|
+
- **Don't work in isolation** - Involve stakeholders
|
|
671
|
+
|
|
672
|
+
## Resources
|
|
673
|
+
|
|
674
|
+
- [OWASP ASVS](https://owasp.org/www-project-application-security-verification-standard/)
|
|
675
|
+
- [NIST SP 800-53](https://csrc.nist.gov/publications/detail/sp/800-53/rev-5/final)
|
|
676
|
+
- [Security User Stories](https://www.oreilly.com/library/view/agile-application-security/9781491938836/)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: security-scanner
|
|
3
|
+
description: Scan code for vulnerabilities (Regex SAST) & Generate Security Checklist.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Security Scanner
|
|
7
|
+
|
|
8
|
+
## Purpose
|
|
9
|
+
Quickly check codebase for hardcoded secrets and dangerous functions, and generate a standardized Security Release Checklist.
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
### 1. Zero-Token Audit (SAST)
|
|
14
|
+
```bash
|
|
15
|
+
python .agent/skills/security-scanner/scripts/vuln_scan.py .
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
### 2. Generate Release Checklist
|
|
19
|
+
```bash
|
|
20
|
+
python .agent/skills/security-scanner/scripts/checklist_gen.py > SECURITY_GATE.md
|
|
21
|
+
```
|