@jetrabbits/agentic 0.0.1
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/AGENTS.md +143 -0
- package/README.md +154 -0
- package/agentic +1615 -0
- package/areas/devops/ci-cd/AGENTS.md +48 -0
- package/areas/devops/ci-cd/PROMPTS.md +7 -0
- package/areas/devops/ci-cd/prompts/onboard-repo.md +97 -0
- package/areas/devops/ci-cd/prompts/pipeline-debug.md +103 -0
- package/areas/devops/ci-cd/prompts/release-pipeline.md +115 -0
- package/areas/devops/ci-cd/rules/pipeline-standards.md +33 -0
- package/areas/devops/ci-cd/rules/quality-gates.md +24 -0
- package/areas/devops/ci-cd/rules/supply-chain-security.md +34 -0
- package/areas/devops/ci-cd/skills/artifact-management/SKILL.md +157 -0
- package/areas/devops/ci-cd/skills/build-optimization/SKILL.md +168 -0
- package/areas/devops/ci-cd/skills/github-actions-patterns/SKILL.md +190 -0
- package/areas/devops/ci-cd/skills/gitlab-ci-patterns/SKILL.md +169 -0
- package/areas/devops/ci-cd/skills/pipeline-security/SKILL.md +161 -0
- package/areas/devops/ci-cd/workflows/onboard-repo.md +73 -0
- package/areas/devops/ci-cd/workflows/pipeline-debug.md +66 -0
- package/areas/devops/ci-cd/workflows/release-pipeline.md +115 -0
- package/areas/devops/database-ops/AGENTS.md +47 -0
- package/areas/devops/database-ops/prompts/backup-verify.md +83 -0
- package/areas/devops/database-ops/prompts/db-incident.md +127 -0
- package/areas/devops/database-ops/rules/access-control.md +20 -0
- package/areas/devops/database-ops/rules/backup-policy.md +33 -0
- package/areas/devops/database-ops/rules/migration-runbook.md +32 -0
- package/areas/devops/database-ops/skills/backup-restore/SKILL.md +226 -0
- package/areas/devops/database-ops/skills/db-performance/SKILL.md +205 -0
- package/areas/devops/database-ops/skills/migration-safety/SKILL.md +155 -0
- package/areas/devops/database-ops/skills/postgres-operations/SKILL.md +156 -0
- package/areas/devops/database-ops/skills/redis-operations/SKILL.md +174 -0
- package/areas/devops/database-ops/workflows/backup-verify.md +107 -0
- package/areas/devops/database-ops/workflows/db-incident.md +86 -0
- package/areas/devops/devsecops/AGENTS.md +47 -0
- package/areas/devops/devsecops/prompts/policy-onboard.md +79 -0
- package/areas/devops/devsecops/prompts/security-scan-pipeline.md +131 -0
- package/areas/devops/devsecops/rules/container-security.md +22 -0
- package/areas/devops/devsecops/rules/policy-as-code.md +37 -0
- package/areas/devops/devsecops/rules/shift-left-policy.md +26 -0
- package/areas/devops/devsecops/skills/container-hardening/SKILL.md +146 -0
- package/areas/devops/devsecops/skills/opa-policies/SKILL.md +188 -0
- package/areas/devops/devsecops/skills/sbom-supply-chain/SKILL.md +165 -0
- package/areas/devops/devsecops/skills/secret-detection/SKILL.md +190 -0
- package/areas/devops/devsecops/skills/sigstore-signing/SKILL.md +184 -0
- package/areas/devops/devsecops/workflows/policy-onboard.md +104 -0
- package/areas/devops/devsecops/workflows/security-scan-pipeline.md +155 -0
- package/areas/devops/infrastructure/AGENTS.md +50 -0
- package/areas/devops/infrastructure/prompts/destroy-environment.md +81 -0
- package/areas/devops/infrastructure/prompts/drift-remediation.md +71 -0
- package/areas/devops/infrastructure/prompts/module-development.md +69 -0
- package/areas/devops/infrastructure/prompts/provision-environment.md +121 -0
- package/areas/devops/infrastructure/rules/iac-standards.md +80 -0
- package/areas/devops/infrastructure/rules/immutability.md +28 -0
- package/areas/devops/infrastructure/rules/secret-hygiene.md +53 -0
- package/areas/devops/infrastructure/rules/state-management.md +47 -0
- package/areas/devops/infrastructure/skills/ansible-playbooks/SKILL.md +174 -0
- package/areas/devops/infrastructure/skills/cost-optimization/SKILL.md +177 -0
- package/areas/devops/infrastructure/skills/drift-detection/SKILL.md +178 -0
- package/areas/devops/infrastructure/skills/state-management/SKILL.md +159 -0
- package/areas/devops/infrastructure/skills/terraform-modules/SKILL.md +169 -0
- package/areas/devops/infrastructure/workflows/destroy-environment.md +96 -0
- package/areas/devops/infrastructure/workflows/drift-remediation.md +66 -0
- package/areas/devops/infrastructure/workflows/module-development.md +101 -0
- package/areas/devops/infrastructure/workflows/provision-environment.md +96 -0
- package/areas/devops/kubernetes/AGENTS.md +57 -0
- package/areas/devops/kubernetes/PROMPTS.md +9 -0
- package/areas/devops/kubernetes/prompts/cluster-bootstrap.md +67 -0
- package/areas/devops/kubernetes/prompts/debug-workload.md +91 -0
- package/areas/devops/kubernetes/prompts/onboard-service.md +101 -0
- package/areas/devops/kubernetes/prompts/upgrade-cluster.md +63 -0
- package/areas/devops/kubernetes/rules/cluster-standards.md +51 -0
- package/areas/devops/kubernetes/rules/resource-governance.md +80 -0
- package/areas/devops/kubernetes/rules/upgrade-policy.md +52 -0
- package/areas/devops/kubernetes/rules/workload-security.md +64 -0
- package/areas/devops/kubernetes/skills/cluster-operations/SKILL.md +136 -0
- package/areas/devops/kubernetes/skills/helm-charts/SKILL.md +152 -0
- package/areas/devops/kubernetes/skills/network-policies/SKILL.md +169 -0
- package/areas/devops/kubernetes/skills/pod-troubleshooting/SKILL.md +129 -0
- package/areas/devops/kubernetes/skills/rbac-design/SKILL.md +148 -0
- package/areas/devops/kubernetes/skills/resource-tuning/SKILL.md +156 -0
- package/areas/devops/kubernetes/workflows/cluster-bootstrap.md +194 -0
- package/areas/devops/kubernetes/workflows/debug-workload.md +108 -0
- package/areas/devops/kubernetes/workflows/onboard-service.md +124 -0
- package/areas/devops/kubernetes/workflows/upgrade-cluster.md +165 -0
- package/areas/devops/networking/AGENTS.md +47 -0
- package/areas/devops/networking/prompts/onboard-ingress.md +119 -0
- package/areas/devops/networking/prompts/service-mesh-onboard.md +77 -0
- package/areas/devops/networking/rules/ingress-standards.md +17 -0
- package/areas/devops/networking/rules/network-segmentation.md +24 -0
- package/areas/devops/networking/rules/tls-policy.md +32 -0
- package/areas/devops/networking/skills/dns-management/SKILL.md +169 -0
- package/areas/devops/networking/skills/ingress-patterns/SKILL.md +165 -0
- package/areas/devops/networking/skills/service-mesh/SKILL.md +206 -0
- package/areas/devops/networking/skills/tls-termination/SKILL.md +198 -0
- package/areas/devops/networking/skills/vpc-design/SKILL.md +132 -0
- package/areas/devops/networking/workflows/onboard-ingress.md +64 -0
- package/areas/devops/networking/workflows/service-mesh-onboard.md +122 -0
- package/areas/devops/observability/AGENTS.md +48 -0
- package/areas/devops/observability/prompts/alert-investigation.md +117 -0
- package/areas/devops/observability/prompts/observability-stack-setup.md +99 -0
- package/areas/devops/observability/prompts/onboard-service-monitoring.md +79 -0
- package/areas/devops/observability/rules/alerting-standards.md +36 -0
- package/areas/devops/observability/rules/data-retention.md +19 -0
- package/areas/devops/observability/rules/golden-signals.md +28 -0
- package/areas/devops/observability/skills/distributed-tracing/SKILL.md +149 -0
- package/areas/devops/observability/skills/grafana-dashboards/SKILL.md +201 -0
- package/areas/devops/observability/skills/log-aggregation/SKILL.md +159 -0
- package/areas/devops/observability/skills/prometheus-alertmanager/SKILL.md +188 -0
- package/areas/devops/observability/skills/slo-implementation/SKILL.md +189 -0
- package/areas/devops/observability/workflows/alert-investigation.md +98 -0
- package/areas/devops/observability/workflows/observability-stack-setup.md +156 -0
- package/areas/devops/observability/workflows/onboard-service-monitoring.md +83 -0
- package/areas/devops/sre/AGENTS.md +48 -0
- package/areas/devops/sre/prompts/incident-response.md +129 -0
- package/areas/devops/sre/prompts/postmortem.md +101 -0
- package/areas/devops/sre/prompts/slo-review.md +125 -0
- package/areas/devops/sre/rules/error-budget-policy.md +25 -0
- package/areas/devops/sre/rules/on-call-standards.md +25 -0
- package/areas/devops/sre/rules/slo-policy.md +31 -0
- package/areas/devops/sre/skills/capacity-planning/SKILL.md +162 -0
- package/areas/devops/sre/skills/chaos-engineering/SKILL.md +186 -0
- package/areas/devops/sre/skills/incident-command/SKILL.md +119 -0
- package/areas/devops/sre/skills/postmortem-analysis/SKILL.md +104 -0
- package/areas/devops/sre/skills/slo-sli-design/SKILL.md +145 -0
- package/areas/devops/sre/workflows/incident-response.md +66 -0
- package/areas/devops/sre/workflows/postmortem.md +90 -0
- package/areas/devops/sre/workflows/slo-review.md +95 -0
- package/areas/software/backend/AGENTS.md +59 -0
- package/areas/software/backend/PROMPTS.md +50 -0
- package/areas/software/backend/README.md +48 -0
- package/areas/software/backend/prompts/add-migration.md +93 -0
- package/areas/software/backend/prompts/create-endpoint.md +97 -0
- package/areas/software/backend/prompts/debug-issue.md +87 -0
- package/areas/software/backend/prompts/develop-epic.md +83 -0
- package/areas/software/backend/prompts/develop-feature.md +91 -0
- package/areas/software/backend/prompts/refactor-module.md +79 -0
- package/areas/software/backend/prompts/test-feature.md +89 -0
- package/areas/software/backend/rules/architecture.md +20 -0
- package/areas/software/backend/rules/data_access.md +20 -0
- package/areas/software/backend/rules/security.md +20 -0
- package/areas/software/backend/rules/testing.md +19 -0
- package/areas/software/backend/skills/api-design/SKILL.md +170 -0
- package/areas/software/backend/skills/async-processing/SKILL.md +152 -0
- package/areas/software/backend/skills/database-modeling/SKILL.md +173 -0
- package/areas/software/backend/skills/observability/SKILL.md +162 -0
- package/areas/software/backend/skills/troubleshooting/SKILL.md +139 -0
- package/areas/software/backend/workflows/add-migration.md +79 -0
- package/areas/software/backend/workflows/create-endpoint.md +89 -0
- package/areas/software/backend/workflows/debug-issue.md +77 -0
- package/areas/software/backend/workflows/develop-epic.md +78 -0
- package/areas/software/backend/workflows/develop-feature.md +98 -0
- package/areas/software/backend/workflows/refactor-module.md +73 -0
- package/areas/software/backend/workflows/test-feature.md +67 -0
- package/areas/software/data-engineering/AGENTS.md +59 -0
- package/areas/software/data-engineering/PROMPTS.md +32 -0
- package/areas/software/data-engineering/prompts/backfill-data.md +107 -0
- package/areas/software/data-engineering/prompts/data-quality-incident.md +109 -0
- package/areas/software/data-engineering/prompts/lineage-trace.md +121 -0
- package/areas/software/data-engineering/prompts/new-model.md +117 -0
- package/areas/software/data-engineering/prompts/schema-migration.md +111 -0
- package/areas/software/data-engineering/rules/data-governance.md +11 -0
- package/areas/software/data-engineering/rules/pii-handling.md +19 -0
- package/areas/software/data-engineering/rules/pipeline-integrity.md +11 -0
- package/areas/software/data-engineering/rules/schema-management.md +21 -0
- package/areas/software/data-engineering/skills/data-modeling/SKILL.md +49 -0
- package/areas/software/data-engineering/skills/dbt-patterns/SKILL.md +43 -0
- package/areas/software/data-engineering/skills/lineage-governance/SKILL.md +38 -0
- package/areas/software/data-engineering/skills/orchestration/SKILL.md +35 -0
- package/areas/software/data-engineering/skills/quality-checks/SKILL.md +50 -0
- package/areas/software/data-engineering/skills/sql-optimization/SKILL.md +47 -0
- package/areas/software/data-engineering/skills/streaming-patterns/SKILL.md +48 -0
- package/areas/software/data-engineering/workflows/backfill-data.md +59 -0
- package/areas/software/data-engineering/workflows/data-quality-incident.md +64 -0
- package/areas/software/data-engineering/workflows/lineage-trace.md +56 -0
- package/areas/software/data-engineering/workflows/new-model.md +71 -0
- package/areas/software/data-engineering/workflows/schema-migration.md +67 -0
- package/areas/software/frontend/AGENTS.md +60 -0
- package/areas/software/frontend/PROMPTS.md +32 -0
- package/areas/software/frontend/prompts/a11y-fix.md +75 -0
- package/areas/software/frontend/prompts/bundle-analyze.md +75 -0
- package/areas/software/frontend/prompts/release-prep.md +83 -0
- package/areas/software/frontend/prompts/scaffold-component.md +69 -0
- package/areas/software/frontend/prompts/visual-regression.md +73 -0
- package/areas/software/frontend/rules/accessibility.md +16 -0
- package/areas/software/frontend/rules/architecture.md +29 -0
- package/areas/software/frontend/rules/performance.md +23 -0
- package/areas/software/frontend/rules/quality.md +12 -0
- package/areas/software/frontend/skills/a11y-audit/SKILL.md +61 -0
- package/areas/software/frontend/skills/api-integration/SKILL.md +58 -0
- package/areas/software/frontend/skills/component-design/SKILL.md +171 -0
- package/areas/software/frontend/skills/css-architecture/SKILL.md +146 -0
- package/areas/software/frontend/skills/error-handling/SKILL.md +55 -0
- package/areas/software/frontend/skills/performance-tuning/SKILL.md +58 -0
- package/areas/software/frontend/skills/state-management/SKILL.md +54 -0
- package/areas/software/frontend/skills/testing-patterns/SKILL.md +69 -0
- package/areas/software/frontend/workflows/a11y-fix.md +63 -0
- package/areas/software/frontend/workflows/bundle-analyze.md +56 -0
- package/areas/software/frontend/workflows/release-prep.md +66 -0
- package/areas/software/frontend/workflows/scaffold-component.md +67 -0
- package/areas/software/frontend/workflows/visual-regression.md +65 -0
- package/areas/software/full-stack/AGENTS.md +72 -0
- package/areas/software/full-stack/PROMPTS.md +66 -0
- package/areas/software/full-stack/prompts/backend-project-full-cycle.md +141 -0
- package/areas/software/full-stack/prompts/debug-issue.md +115 -0
- package/areas/software/full-stack/prompts/develop-feature.md +119 -0
- package/areas/software/full-stack/prompts/feature-implementation-flow.md +137 -0
- package/areas/software/full-stack/prompts/testing-ci-pipeline.md +119 -0
- package/areas/software/full-stack/rules/api-design-guide.md +24 -0
- package/areas/software/full-stack/rules/async-concurrency-guide.md +21 -0
- package/areas/software/full-stack/rules/backend-architecture-rule.md +41 -0
- package/areas/software/full-stack/rules/background-jobs-guide.md +20 -0
- package/areas/software/full-stack/rules/code-quality-guide.md +22 -0
- package/areas/software/full-stack/rules/database-access-guide.md +24 -0
- package/areas/software/full-stack/rules/database-migrations-guide.md +24 -0
- package/areas/software/full-stack/rules/domain-models-guide.md +28 -0
- package/areas/software/full-stack/rules/e2e-test-guide.md +18 -0
- package/areas/software/full-stack/rules/env-settings-guide.md +34 -0
- package/areas/software/full-stack/rules/error-handling-guide.md +20 -0
- package/areas/software/full-stack/rules/logging-observability-guide.md +22 -0
- package/areas/software/full-stack/rules/project-guide.md +34 -0
- package/areas/software/full-stack/rules/python-venv-guide.md +23 -0
- package/areas/software/full-stack/rules/security-guide.md +22 -0
- package/areas/software/full-stack/rules/svt-test-guide.md +17 -0
- package/areas/software/full-stack/rules/testing-ci-guide.md +25 -0
- package/areas/software/full-stack/skills/api-design-principles/SKILL.md +125 -0
- package/areas/software/full-stack/skills/api-design-principles/assets/api-design-checklist.md +155 -0
- package/areas/software/full-stack/skills/api-design-principles/assets/rest-api-template.py +182 -0
- package/areas/software/full-stack/skills/api-design-principles/references/graphql-schema-design.md +583 -0
- package/areas/software/full-stack/skills/api-design-principles/references/rest-best-practices.md +408 -0
- package/areas/software/full-stack/skills/api-design-principles/resources/implementation-playbook.md +513 -0
- package/areas/software/full-stack/skills/api-patterns/SKILL.md +81 -0
- package/areas/software/full-stack/skills/api-patterns/api-style.md +42 -0
- package/areas/software/full-stack/skills/api-patterns/auth.md +24 -0
- package/areas/software/full-stack/skills/api-patterns/documentation.md +26 -0
- package/areas/software/full-stack/skills/api-patterns/graphql.md +41 -0
- package/areas/software/full-stack/skills/api-patterns/rate-limiting.md +31 -0
- package/areas/software/full-stack/skills/api-patterns/response.md +37 -0
- package/areas/software/full-stack/skills/api-patterns/rest.md +40 -0
- package/areas/software/full-stack/skills/api-patterns/scripts/api_validator.py +211 -0
- package/areas/software/full-stack/skills/api-patterns/security-testing.md +122 -0
- package/areas/software/full-stack/skills/api-patterns/trpc.md +41 -0
- package/areas/software/full-stack/skills/api-patterns/versioning.md +22 -0
- package/areas/software/full-stack/skills/app-builder/SKILL.md +135 -0
- package/areas/software/full-stack/skills/app-builder/agent-coordination.md +71 -0
- package/areas/software/full-stack/skills/app-builder/feature-building.md +53 -0
- package/areas/software/full-stack/skills/app-builder/project-detection.md +34 -0
- package/areas/software/full-stack/skills/app-builder/scaffolding.md +118 -0
- package/areas/software/full-stack/skills/app-builder/tech-stack.md +40 -0
- package/areas/software/full-stack/skills/app-builder/templates/SKILL.md +39 -0
- package/areas/software/full-stack/skills/app-builder/templates/astro-static/TEMPLATE.md +76 -0
- package/areas/software/full-stack/skills/app-builder/templates/chrome-extension/TEMPLATE.md +92 -0
- package/areas/software/full-stack/skills/app-builder/templates/cli-tool/TEMPLATE.md +88 -0
- package/areas/software/full-stack/skills/app-builder/templates/electron-desktop/TEMPLATE.md +88 -0
- package/areas/software/full-stack/skills/app-builder/templates/express-api/TEMPLATE.md +83 -0
- package/areas/software/full-stack/skills/app-builder/templates/flutter-app/TEMPLATE.md +90 -0
- package/areas/software/full-stack/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +90 -0
- package/areas/software/full-stack/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +82 -0
- package/areas/software/full-stack/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +100 -0
- package/areas/software/full-stack/skills/app-builder/templates/nextjs-static/TEMPLATE.md +106 -0
- package/areas/software/full-stack/skills/app-builder/templates/nuxt-app/TEMPLATE.md +101 -0
- package/areas/software/full-stack/skills/app-builder/templates/python-fastapi/TEMPLATE.md +83 -0
- package/areas/software/full-stack/skills/app-builder/templates/react-native-app/TEMPLATE.md +93 -0
- package/areas/software/full-stack/skills/backend-developer/SKILL.md +58 -0
- package/areas/software/full-stack/skills/bash-pro/SKILL.md +310 -0
- package/areas/software/full-stack/skills/blackbox-test/SKILL.md +84 -0
- package/areas/software/full-stack/skills/prompt-project-planner/SKILL.md +130 -0
- package/areas/software/full-stack/skills/prompt-project-planner/output.schema.md +68 -0
- package/areas/software/full-stack/skills/prompt-project-planner/questions.md +80 -0
- package/areas/software/full-stack/skills/python-pro/SKILL.md +158 -0
- package/areas/software/full-stack/skills/skill-creator/LICENSE.txt +202 -0
- package/areas/software/full-stack/skills/skill-creator/SKILL.md +356 -0
- package/areas/software/full-stack/skills/skill-creator/references/output-patterns.md +82 -0
- package/areas/software/full-stack/skills/skill-creator/references/workflows.md +28 -0
- package/areas/software/full-stack/skills/skill-creator/scripts/init_skill.py +303 -0
- package/areas/software/full-stack/skills/skill-creator/scripts/package_skill.py +110 -0
- package/areas/software/full-stack/skills/skill-creator/scripts/quick_validate.py +95 -0
- package/areas/software/full-stack/workflows/backend-project-full-cycle.md +132 -0
- package/areas/software/full-stack/workflows/debug-issue.md +70 -0
- package/areas/software/full-stack/workflows/develop-feature.md +85 -0
- package/areas/software/full-stack/workflows/feature-implementation-flow.md +78 -0
- package/areas/software/full-stack/workflows/testing-ci-pipeline.md +65 -0
- package/areas/software/general/AGENTS.md +68 -0
- package/areas/software/general/prompts/code-review-workflow.md +87 -0
- package/areas/software/general/prompts/development-cycle-workflow.md +83 -0
- package/areas/software/general/prompts/project-setup-workflow.md +93 -0
- package/areas/software/general/rules/code-style-guide.md +31 -0
- package/areas/software/general/rules/docker-compose-guide.md +27 -0
- package/areas/software/general/rules/git-workflow-guide.md +27 -0
- package/areas/software/general/rules/github-workflow-guide.md +27 -0
- package/areas/software/general/rules/gitlab-ci-guide.md +27 -0
- package/areas/software/general/rules/lint-format-guide.md +29 -0
- package/areas/software/general/rules/makefile-guide.md +34 -0
- package/areas/software/general/rules/readme-sync-guide.md +40 -0
- package/areas/software/general/rules/sdlc-methodology-guide.md +27 -0
- package/areas/software/general/rules/sdlc-role-responsibilities.md +108 -0
- package/areas/software/general/skills/general-dev-tools/SKILL.md +324 -0
- package/areas/software/general/workflows/code-review-workflow.md +84 -0
- package/areas/software/general/workflows/development-cycle-workflow.md +85 -0
- package/areas/software/general/workflows/project-setup-workflow.md +94 -0
- package/areas/software/mlops/AGENTS.md +57 -0
- package/areas/software/mlops/PROMPTS.md +32 -0
- package/areas/software/mlops/prompts/champion-challenger.md +87 -0
- package/areas/software/mlops/prompts/deploy-endpoint.md +91 -0
- package/areas/software/mlops/prompts/evaluate-model.md +87 -0
- package/areas/software/mlops/prompts/model-incident.md +87 -0
- package/areas/software/mlops/prompts/train-experiment.md +83 -0
- package/areas/software/mlops/rules/data-integrity.md +9 -0
- package/areas/software/mlops/rules/model-governance.md +9 -0
- package/areas/software/mlops/rules/production-safety.md +9 -0
- package/areas/software/mlops/rules/reproducibility.md +9 -0
- package/areas/software/mlops/skills/experiment-tracking/SKILL.md +29 -0
- package/areas/software/mlops/skills/feature-engineering/SKILL.md +44 -0
- package/areas/software/mlops/skills/inference-serving/SKILL.md +35 -0
- package/areas/software/mlops/skills/model-evaluation/SKILL.md +40 -0
- package/areas/software/mlops/skills/model-monitoring/SKILL.md +32 -0
- package/areas/software/mlops/workflows/champion-challenger.md +65 -0
- package/areas/software/mlops/workflows/deploy-endpoint.md +70 -0
- package/areas/software/mlops/workflows/evaluate-model.md +63 -0
- package/areas/software/mlops/workflows/model-incident.md +64 -0
- package/areas/software/mlops/workflows/train-experiment.md +56 -0
- package/areas/software/mobile/AGENTS.md +58 -0
- package/areas/software/mobile/PROMPTS.md +32 -0
- package/areas/software/mobile/prompts/crash-triage.md +63 -0
- package/areas/software/mobile/prompts/device-testing.md +83 -0
- package/areas/software/mobile/prompts/ota-update.md +75 -0
- package/areas/software/mobile/prompts/release-build.md +67 -0
- package/areas/software/mobile/prompts/store-submission.md +79 -0
- package/areas/software/mobile/rules/offline-first.md +10 -0
- package/areas/software/mobile/rules/performance-budget.md +20 -0
- package/areas/software/mobile/rules/platform-compliance.md +17 -0
- package/areas/software/mobile/rules/security-mobile.md +9 -0
- package/areas/software/mobile/skills/app-store-prep/SKILL.md +27 -0
- package/areas/software/mobile/skills/mobile-testing/SKILL.md +36 -0
- package/areas/software/mobile/skills/native-modules/SKILL.md +38 -0
- package/areas/software/mobile/skills/navigation-patterns/SKILL.md +49 -0
- package/areas/software/mobile/skills/push-notifications/SKILL.md +40 -0
- package/areas/software/mobile/skills/state-sync/SKILL.md +48 -0
- package/areas/software/mobile/workflows/crash-triage.md +63 -0
- package/areas/software/mobile/workflows/device-testing.md +54 -0
- package/areas/software/mobile/workflows/ota-update.md +54 -0
- package/areas/software/mobile/workflows/release-build.md +67 -0
- package/areas/software/mobile/workflows/store-submission.md +63 -0
- package/areas/software/platform/AGENTS.md +67 -0
- package/areas/software/platform/PROMPTS.md +32 -0
- package/areas/software/platform/prompts/cost-audit.md +117 -0
- package/areas/software/platform/prompts/deploy-production.md +109 -0
- package/areas/software/platform/prompts/drift-check.md +107 -0
- package/areas/software/platform/prompts/incident-response.md +121 -0
- package/areas/software/platform/prompts/provision-env.md +113 -0
- package/areas/software/platform/rules/cost-governance.md +11 -0
- package/areas/software/platform/rules/immutability.md +17 -0
- package/areas/software/platform/rules/reliability.md +19 -0
- package/areas/software/platform/rules/security-posture.md +12 -0
- package/areas/software/platform/skills/ci-cd-pipelines/SKILL.md +58 -0
- package/areas/software/platform/skills/incident-response/SKILL.md +41 -0
- package/areas/software/platform/skills/k8s-manifests/SKILL.md +56 -0
- package/areas/software/platform/skills/networking/SKILL.md +44 -0
- package/areas/software/platform/skills/observability-setup/SKILL.md +49 -0
- package/areas/software/platform/skills/secrets-management/SKILL.md +43 -0
- package/areas/software/platform/skills/terraform-patterns/SKILL.md +75 -0
- package/areas/software/platform/workflows/cost-audit.md +61 -0
- package/areas/software/platform/workflows/deploy-production.md +67 -0
- package/areas/software/platform/workflows/drift-check.md +61 -0
- package/areas/software/platform/workflows/incident-response.md +69 -0
- package/areas/software/platform/workflows/provision-env.md +77 -0
- package/areas/software/qa/AGENTS.md +58 -0
- package/areas/software/qa/PROMPTS.md +32 -0
- package/areas/software/qa/prompts/flakiness-investigation.md +61 -0
- package/areas/software/qa/prompts/performance-audit.md +65 -0
- package/areas/software/qa/prompts/regression-suite.md +61 -0
- package/areas/software/qa/prompts/smoke-test.md +65 -0
- package/areas/software/qa/prompts/test-coverage-report.md +61 -0
- package/areas/software/qa/rules/flakiness-policy.md +12 -0
- package/areas/software/qa/rules/quality-gates.md +28 -0
- package/areas/software/qa/rules/test-data.md +9 -0
- package/areas/software/qa/rules/test-strategy.md +11 -0
- package/areas/software/qa/skills/accessibility-testing/SKILL.md +139 -0
- package/areas/software/qa/skills/api-testing/SKILL.md +140 -0
- package/areas/software/qa/skills/e2e-patterns/SKILL.md +152 -0
- package/areas/software/qa/skills/performance-testing/SKILL.md +177 -0
- package/areas/software/qa/skills/test-data-management/SKILL.md +161 -0
- package/areas/software/qa/skills/test-pyramid/SKILL.md +127 -0
- package/areas/software/qa/workflows/flakiness-investigation.md +63 -0
- package/areas/software/qa/workflows/performance-audit.md +59 -0
- package/areas/software/qa/workflows/regression-suite.md +59 -0
- package/areas/software/qa/workflows/smoke-test.md +64 -0
- package/areas/software/qa/workflows/test-coverage-report.md +57 -0
- package/areas/software/security/AGENTS.md +58 -0
- package/areas/software/security/PROMPTS.md +32 -0
- package/areas/software/security/prompts/compliance-report.md +113 -0
- package/areas/software/security/prompts/pen-test-sim.md +113 -0
- package/areas/software/security/prompts/secret-rotation.md +115 -0
- package/areas/software/security/prompts/security-scan.md +91 -0
- package/areas/software/security/prompts/threat-model-review.md +105 -0
- package/areas/software/security/rules/compliance-baseline.md +23 -0
- package/areas/software/security/rules/dependency-policy.md +12 -0
- package/areas/software/security/rules/secrets-policy.md +22 -0
- package/areas/software/security/rules/secure-coding.md +22 -0
- package/areas/software/security/skills/auth-patterns/SKILL.md +42 -0
- package/areas/software/security/skills/crypto-standards/SKILL.md +42 -0
- package/areas/software/security/skills/dependency-audit/SKILL.md +29 -0
- package/areas/software/security/skills/sast-dast-interpretation/SKILL.md +33 -0
- package/areas/software/security/skills/security-headers/SKILL.md +29 -0
- package/areas/software/security/skills/threat-modeling/SKILL.md +36 -0
- package/areas/software/security/workflows/compliance-report.md +57 -0
- package/areas/software/security/workflows/pen-test-sim.md +63 -0
- package/areas/software/security/workflows/secret-rotation.md +67 -0
- package/areas/software/security/workflows/security-scan.md +64 -0
- package/areas/software/security/workflows/threat-model-review.md +62 -0
- package/areas/template/AGENTS-area.tmpl.md +61 -0
- package/areas/template/AGENTS.tmpl.md +67 -0
- package/areas/template/GUIDE.md +102 -0
- package/areas/template/PROMPTS.tmpl.md +29 -0
- package/areas/template/README.md +57 -0
- package/areas/template/README.tmpl.md +51 -0
- package/areas/template/prompt.tmpl.md +101 -0
- package/areas/template/rule.tmpl.md +71 -0
- package/areas/template/skill.tmpl.md +108 -0
- package/areas/template/workflow.tmpl.md +104 -0
- package/bin/agentic.js +24 -0
- package/extensions/antigravity/GEMINI.md +10 -0
- package/extensions/claude/CLAUDE.md +10 -0
- package/extensions/codex/AGENTS.override.md +93 -0
- package/extensions/gemini/GEMINI.md +10 -0
- package/extensions/opencode/agents/designer.md +65 -0
- package/extensions/opencode/agents/developer.md +63 -0
- package/extensions/opencode/agents/devops-engineer.md +69 -0
- package/extensions/opencode/agents/pm.md +61 -0
- package/extensions/opencode/agents/product-owner.md +76 -0
- package/extensions/opencode/agents/qa.md +66 -0
- package/extensions/opencode/agents/team-lead.md +67 -0
- package/extensions/opencode/commands/feature.md +75 -0
- package/extensions/opencode/opencode.json +93 -0
- package/extensions/opencode/plugins/model-checker.json +14 -0
- package/extensions/opencode/plugins/model-checker.ts +279 -0
- package/extensions/opencode/plugins/sound-notification.ts +13 -0
- package/extensions/opencode/plugins/telegram-notification.ts +86 -0
- package/extensions/opencode/skills/code_review_expert/SKILL.md +144 -0
- package/extensions/opencode/skills/design_expert/SKILL.md +42 -0
- package/extensions/opencode/skills/qa_expert/SKILL.md +116 -0
- package/package.json +19 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Skill: Cryptography Standards
|
|
2
|
+
|
|
3
|
+
## When to load
|
|
4
|
+
|
|
5
|
+
When implementing password storage, data encryption, token signing, or key management.
|
|
6
|
+
|
|
7
|
+
## Approved Algorithms
|
|
8
|
+
|
|
9
|
+
| Use Case | Approved | Forbidden |
|
|
10
|
+
|:---|:---|:---|
|
|
11
|
+
| Password hashing | Argon2id, bcrypt (cost≥12) | MD5, SHA-1, unsalted SHA-256 |
|
|
12
|
+
| Data encryption | AES-256-GCM, ChaCha20-Poly1305 | DES, 3DES, AES-ECB |
|
|
13
|
+
| Token signing | RS256, ES256 | HS256 in distributed systems |
|
|
14
|
+
| TLS | TLS 1.2+, prefer TLS 1.3 | SSLv3, TLS 1.0, TLS 1.1 |
|
|
15
|
+
|
|
16
|
+
## Password Storage (Argon2id)
|
|
17
|
+
|
|
18
|
+
```python
|
|
19
|
+
from argon2 import PasswordHasher
|
|
20
|
+
|
|
21
|
+
ph = PasswordHasher(time_cost=2, memory_cost=65536, parallelism=2)
|
|
22
|
+
hashed = ph.hash(plain_password)
|
|
23
|
+
|
|
24
|
+
try:
|
|
25
|
+
ph.verify(stored_hash, provided_password)
|
|
26
|
+
if ph.check_needs_rehash(stored_hash):
|
|
27
|
+
new_hash = ph.hash(provided_password)
|
|
28
|
+
db.update_password_hash(user_id, new_hash)
|
|
29
|
+
except VerifyMismatchError:
|
|
30
|
+
raise InvalidCredentials()
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Envelope Encryption
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
Never encrypt data directly with a master key.
|
|
37
|
+
|
|
38
|
+
1. Generate unique Data Encryption Key (DEK) per record
|
|
39
|
+
2. Encrypt data with DEK (AES-256-GCM)
|
|
40
|
+
3. Encrypt DEK with Key Encryption Key (KEK) in KMS
|
|
41
|
+
4. Store: encrypted_data + encrypted_DEK + IV
|
|
42
|
+
```
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Skill: Dependency Audit
|
|
2
|
+
|
|
3
|
+
## When to load
|
|
4
|
+
|
|
5
|
+
When adding new packages, reviewing a PR that adds dependencies, or performing security reviews.
|
|
6
|
+
|
|
7
|
+
## Pre-Add Checklist
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
Before npm install [package]:
|
|
11
|
+
1. POPULARITY: > 100k weekly downloads?
|
|
12
|
+
2. MAINTENANCE: Last commit within 12 months? Open PRs reviewed?
|
|
13
|
+
3. OWNERSHIP: Well-known org/individual? History of incidents?
|
|
14
|
+
4. SCOPE: Does the package scope match its stated purpose?
|
|
15
|
+
(A CSV parser with network dependencies is suspicious)
|
|
16
|
+
5. AUDIT: Run npm audit / snyk test immediately after adding
|
|
17
|
+
6. SIZE: Check bundlephobia.com
|
|
18
|
+
7. ALTERNATIVES: Is there a built-in API that does this?
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Supply Chain Attack Red Flags
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
- Recently transferred ownership
|
|
25
|
+
- Sudden version bump with no changelog
|
|
26
|
+
- Minified/obfuscated code in source (not just dist)
|
|
27
|
+
- postinstall / preinstall scripts making network requests
|
|
28
|
+
- Name similar to popular package (typosquatting)
|
|
29
|
+
```
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Skill: SAST/DAST Results Interpretation
|
|
2
|
+
|
|
3
|
+
## When to load
|
|
4
|
+
|
|
5
|
+
When reviewing security scan results, triaging vulnerabilities, or deciding which findings to fix vs. accept.
|
|
6
|
+
|
|
7
|
+
## SAST Triage Matrix
|
|
8
|
+
|
|
9
|
+
| Severity | CVSS | Action | Timeline |
|
|
10
|
+
|:---|:---|:---|:---|
|
|
11
|
+
| Critical | 9.0–10.0 | Block merge, fix immediately | Same day |
|
|
12
|
+
| High | 7.0–8.9 | Block deploy | 72 hours |
|
|
13
|
+
| Medium | 4.0–6.9 | Track as tech debt | 2 weeks |
|
|
14
|
+
| Low | 0.1–3.9 | Backlog | Next quarter |
|
|
15
|
+
|
|
16
|
+
## Common False Positives
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
False positive: "SQL Injection" on ORM query
|
|
20
|
+
→ Verify ORM parameterizes internally → add suppression comment:
|
|
21
|
+
// snyk:ignore:sql-injection -- parameterized ORM query
|
|
22
|
+
|
|
23
|
+
False positive: "Hardcoded credential" on config key name
|
|
24
|
+
→ Verify value comes from env var → suppress with justification
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## OWASP ZAP Priority Findings
|
|
28
|
+
|
|
29
|
+
1. Missing security headers (CSP, X-Frame-Options) → always exploitable, easy fix
|
|
30
|
+
2. Information disclosure in error responses → check stack traces
|
|
31
|
+
3. CSRF → verify token on all state-changing requests
|
|
32
|
+
4. Clickjacking → add `frame-ancestors` CSP directive
|
|
33
|
+
5. Insecure cookies → verify Secure, HttpOnly, SameSite=Strict/Lax
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Skill: HTTP Security Headers
|
|
2
|
+
|
|
3
|
+
## When to load
|
|
4
|
+
|
|
5
|
+
When configuring web servers, API gateways, or reviewing HTTP responses.
|
|
6
|
+
|
|
7
|
+
## Required Headers
|
|
8
|
+
|
|
9
|
+
```nginx
|
|
10
|
+
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
|
|
11
|
+
add_header X-Content-Type-Options "nosniff" always;
|
|
12
|
+
add_header X-Frame-Options "DENY" always;
|
|
13
|
+
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
|
|
14
|
+
add_header Permissions-Policy "camera=(), microphone=(), geolocation=()" always;
|
|
15
|
+
add_header Content-Security-Policy "
|
|
16
|
+
default-src 'self';
|
|
17
|
+
script-src 'self' 'nonce-{NONCE}';
|
|
18
|
+
style-src 'self' 'unsafe-inline';
|
|
19
|
+
img-src 'self' data: https://cdn.mycompany.com;
|
|
20
|
+
connect-src 'self' https://api.mycompany.com;
|
|
21
|
+
frame-ancestors 'none';
|
|
22
|
+
" always;
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## API-Specific
|
|
26
|
+
|
|
27
|
+
- Remove: `X-Powered-By`, `Server` (information disclosure)
|
|
28
|
+
- Add: `X-Request-ID` (tracing), `Cache-Control: no-store` (auth responses)
|
|
29
|
+
- CORS: Never `Access-Control-Allow-Origin: *` for credentialed requests
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Skill: Threat Modeling
|
|
2
|
+
|
|
3
|
+
## When to load
|
|
4
|
+
|
|
5
|
+
When designing a new system, adding an integration, reviewing an architecture, or preparing for a security review.
|
|
6
|
+
|
|
7
|
+
## STRIDE Framework
|
|
8
|
+
|
|
9
|
+
| Threat | Question | Example |
|
|
10
|
+
|:---|:---|:---|
|
|
11
|
+
| **S**poofing | Can an attacker impersonate a user/service? | Forged JWT, SSRF to metadata service |
|
|
12
|
+
| **T**ampering | Can data be modified in transit/at rest? | SQL injection, cache poisoning |
|
|
13
|
+
| **R**epudiation | Can users deny performing an action? | Missing audit logs |
|
|
14
|
+
| **I**nformation Disclosure | Can sensitive data be exposed? | Error messages leaking stack traces |
|
|
15
|
+
| **D**enial of Service | Can the service be made unavailable? | No rate limiting on public endpoints |
|
|
16
|
+
| **E**levation of Privilege | Can a low-privilege user gain higher access? | IDOR, broken object-level authorization |
|
|
17
|
+
|
|
18
|
+
## IDOR — Most Common API Vulnerability
|
|
19
|
+
|
|
20
|
+
```python
|
|
21
|
+
# ❌ Vulnerable
|
|
22
|
+
@app.get("/invoices/{invoice_id}")
|
|
23
|
+
def get_invoice(invoice_id: int, current_user: User = Depends(get_current_user)):
|
|
24
|
+
return db.query(Invoice).filter(Invoice.id == invoice_id).first()
|
|
25
|
+
|
|
26
|
+
# ✅ Safe: always scope to authenticated user
|
|
27
|
+
@app.get("/invoices/{invoice_id}")
|
|
28
|
+
def get_invoice(invoice_id: int, current_user: User = Depends(get_current_user)):
|
|
29
|
+
invoice = db.query(Invoice).filter(
|
|
30
|
+
Invoice.id == invoice_id,
|
|
31
|
+
Invoice.owner_id == current_user.id # ← ownership check
|
|
32
|
+
).first()
|
|
33
|
+
if not invoice:
|
|
34
|
+
raise HTTPException(status_code=404) # 404, not 403
|
|
35
|
+
return invoice
|
|
36
|
+
```
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: compliance-report
|
|
3
|
+
type: workflow
|
|
4
|
+
trigger: /compliance-report
|
|
5
|
+
description: Generate a compliance artifact with control evidence for self-assessment against SOC2, ISO27001, GDPR, or PCI.
|
|
6
|
+
inputs:
|
|
7
|
+
- compliance_standard
|
|
8
|
+
- reporting_period
|
|
9
|
+
outputs:
|
|
10
|
+
- compliance_report
|
|
11
|
+
- gap_analysis
|
|
12
|
+
roles:
|
|
13
|
+
- team-lead
|
|
14
|
+
- developer
|
|
15
|
+
- qa
|
|
16
|
+
execution:
|
|
17
|
+
initiator: team-lead
|
|
18
|
+
related-rules:
|
|
19
|
+
- compliance-baseline.md
|
|
20
|
+
- secrets-policy.md
|
|
21
|
+
uses-skills:
|
|
22
|
+
- threat-modeling
|
|
23
|
+
- dependency-audit
|
|
24
|
+
quality-gates:
|
|
25
|
+
- all controls evaluated (Compliant / Partial / Non-Compliant / N/A)
|
|
26
|
+
- remediation plan exists for all Non-Compliant controls
|
|
27
|
+
- report flagged for human review before external sharing
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## Steps
|
|
31
|
+
|
|
32
|
+
### 1. Map Controls — `@team-lead`
|
|
33
|
+
- **Input:** compliance standard, period
|
|
34
|
+
- **Actions:** load control framework for requested standard; map each control to evidence sources (automated logs, documents, manual evidence)
|
|
35
|
+
- **Output:** control mapping table
|
|
36
|
+
- **Done when:** all controls mapped
|
|
37
|
+
|
|
38
|
+
### 2. Collect Evidence — `@developer` + `@qa`
|
|
39
|
+
- **Input:** control mapping
|
|
40
|
+
- **Actions:** automated evidence: CloudTrail, Vault audit logs, CI scan results; document evidence: `.security/` threat models, pentest reports; flag controls needing manual evidence (training records, access reviews)
|
|
41
|
+
- **Output:** evidence collection per control
|
|
42
|
+
- **Done when:** all controls have at least one evidence source or are flagged for manual collection
|
|
43
|
+
|
|
44
|
+
### 3. Evaluate Compliance — `@team-lead`
|
|
45
|
+
- **Input:** evidence collection
|
|
46
|
+
- **Actions:** assign status per control: Compliant / Partial / Non-Compliant / N/A; for Partial/Non-Compliant: document gap and remediation plan with timeline
|
|
47
|
+
- **Output:** evaluated control matrix
|
|
48
|
+
- **Done when:** all controls have status; all gaps have remediation plans
|
|
49
|
+
|
|
50
|
+
### 4. Generate Report — `@team-lead`
|
|
51
|
+
- **Input:** evaluated matrix
|
|
52
|
+
- **Actions:** produce executive summary: overall compliance %; control matrix: all controls with status and evidence links; gap analysis: non-compliant controls with risk and timeline; flag for human review before sharing externally; note: self-assessment aid, not certified audit
|
|
53
|
+
- **Output:** compliance report document
|
|
54
|
+
- **Done when:** report complete; human review flag set
|
|
55
|
+
|
|
56
|
+
## Exit
|
|
57
|
+
Complete control matrix + gap analysis + human review flag = report ready for review.
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: pen-test-sim
|
|
3
|
+
type: workflow
|
|
4
|
+
trigger: /pen-test-sim
|
|
5
|
+
description: Run automated OWASP Top-10 penetration test simulation against a staging environment.
|
|
6
|
+
inputs:
|
|
7
|
+
- target_url
|
|
8
|
+
- scope
|
|
9
|
+
outputs:
|
|
10
|
+
- pentest_report
|
|
11
|
+
- remediation_list
|
|
12
|
+
roles:
|
|
13
|
+
- qa
|
|
14
|
+
- developer
|
|
15
|
+
- team-lead
|
|
16
|
+
execution:
|
|
17
|
+
initiator: team-lead
|
|
18
|
+
related-rules:
|
|
19
|
+
- secure-coding.md
|
|
20
|
+
- compliance-baseline.md
|
|
21
|
+
uses-skills:
|
|
22
|
+
- sast-dast-interpretation
|
|
23
|
+
- security-headers
|
|
24
|
+
quality-gates:
|
|
25
|
+
- target confirmed as staging (never production)
|
|
26
|
+
- all OWASP Top-10 categories evaluated
|
|
27
|
+
- Critical/High findings have remediation assigned
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## Steps
|
|
31
|
+
|
|
32
|
+
### 1. Scope Confirmation — `@team-lead`
|
|
33
|
+
- **Input:** target URL
|
|
34
|
+
- **Actions:** verify target is staging/preview — NEVER production; log test start time for audit correlation; confirm scope (OWASP Top-10 or custom)
|
|
35
|
+
- **Output:** scope confirmation logged
|
|
36
|
+
- **Done when:** target and scope confirmed; never production
|
|
37
|
+
|
|
38
|
+
### 2. Passive Recon — `@qa`
|
|
39
|
+
- **Input:** confirmed target
|
|
40
|
+
- **Actions:** ZAP spider to discover all endpoints; identify technologies via response headers; check `robots.txt`, `sitemap.xml`
|
|
41
|
+
- **Output:** endpoint inventory; technology fingerprint
|
|
42
|
+
- **Done when:** full endpoint map produced
|
|
43
|
+
|
|
44
|
+
### 3. Active Scanning — `@qa`
|
|
45
|
+
- **Input:** endpoint inventory
|
|
46
|
+
- **Actions:** A01 Broken Access Control: IDOR on all object endpoints; A02 Crypto Failures: SSL config and header policies; A03 Injection: SQLi and XSS probes on all inputs; A05 Security Misconfiguration: headers, error responses; A07 Auth Failures: rate limiting, brute force protection
|
|
47
|
+
- **Output:** raw findings per OWASP category
|
|
48
|
+
- **Done when:** all in-scope categories evaluated
|
|
49
|
+
|
|
50
|
+
### 4. Manual Checks — `@qa`
|
|
51
|
+
- **Input:** active scan results
|
|
52
|
+
- **Actions:** auth token in URL parameters?; password reset: token expiry and single-use?; mass assignment on PUT/PATCH endpoints?
|
|
53
|
+
- **Output:** manual check results
|
|
54
|
+
- **Done when:** manual checks complete
|
|
55
|
+
|
|
56
|
+
### 5. Report — `@team-lead`
|
|
57
|
+
- **Input:** all findings
|
|
58
|
+
- **Actions:** produce OWASP-format finding report; include per finding: severity, evidence (request/response), remediation, CVSS score; assign remediation owners for Critical/High
|
|
59
|
+
- **Output:** `pentest_report_<date>.md`; remediation assignments
|
|
60
|
+
- **Done when:** report reviewed; remediation owners assigned
|
|
61
|
+
|
|
62
|
+
## Exit
|
|
63
|
+
Published report + Critical/High findings assigned = pen-test complete.
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: secret-rotation
|
|
3
|
+
type: workflow
|
|
4
|
+
trigger: /secret-rotation
|
|
5
|
+
description: Safely rotate a production secret with zero downtime using dual-read window.
|
|
6
|
+
inputs:
|
|
7
|
+
- secret_name
|
|
8
|
+
- is_emergency
|
|
9
|
+
outputs:
|
|
10
|
+
- rotated_secret
|
|
11
|
+
- audit_record
|
|
12
|
+
roles:
|
|
13
|
+
- developer
|
|
14
|
+
- team-lead
|
|
15
|
+
execution:
|
|
16
|
+
initiator: developer
|
|
17
|
+
related-rules:
|
|
18
|
+
- secrets-policy.md
|
|
19
|
+
- security-posture.md
|
|
20
|
+
uses-skills:
|
|
21
|
+
- secrets-management
|
|
22
|
+
quality-gates:
|
|
23
|
+
- old credential revoked only after zero auth errors confirmed
|
|
24
|
+
- audit log entry created with rotation metadata
|
|
25
|
+
- next rotation date set (+90 days)
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## Steps
|
|
29
|
+
|
|
30
|
+
### 1. Prepare New Secret — `@developer`
|
|
31
|
+
- **Input:** secret name
|
|
32
|
+
- **Actions:** generate new credential (strong, random); store in Secrets Manager as new version — old version stays active
|
|
33
|
+
- **Output:** new secret version created; old version still active
|
|
34
|
+
- **Done when:** both versions active in Secrets Manager
|
|
35
|
+
|
|
36
|
+
### 2. Dual-Read Window — `@developer`
|
|
37
|
+
- **Input:** new secret version
|
|
38
|
+
- **Actions:** update service to accept BOTH old and new credential; if single-credential only → schedule 2-minute maintenance window
|
|
39
|
+
- **Output:** service accepts both versions
|
|
40
|
+
- **Done when:** service deployed with dual-read capability
|
|
41
|
+
|
|
42
|
+
### 3. Deploy New Secret — `@developer`
|
|
43
|
+
- **Input:** dual-read service
|
|
44
|
+
- **Actions:** trigger rolling restart to pick up new version; monitor pod restarts and error rates for 5 minutes
|
|
45
|
+
- **Output:** all pods using new secret
|
|
46
|
+
- **Done when:** zero auth errors post-restart
|
|
47
|
+
|
|
48
|
+
### 4. Validate — `@team-lead`
|
|
49
|
+
- **Input:** deployed rotation
|
|
50
|
+
- **Actions:** confirm zero auth errors in monitoring; verify old credential is rejected by service
|
|
51
|
+
- **Output:** validation confirmation
|
|
52
|
+
- **Done when:** old credential confirmed rejected
|
|
53
|
+
|
|
54
|
+
### 5. Revoke Old Secret — `@developer`
|
|
55
|
+
- **Input:** validated rotation
|
|
56
|
+
- **Actions:** delete old version from Secrets Manager; confirm no reads on old version in audit log
|
|
57
|
+
- **Output:** old secret version deleted
|
|
58
|
+
- **Done when:** audit log confirms zero reads on old version
|
|
59
|
+
|
|
60
|
+
### 6. Document — `@developer`
|
|
61
|
+
- **Input:** completed rotation
|
|
62
|
+
- **Actions:** record in secret inventory: name, date, rotated by; set next rotation date (+90 days)
|
|
63
|
+
- **Output:** audit record updated
|
|
64
|
+
- **Done when:** inventory current; next rotation scheduled
|
|
65
|
+
|
|
66
|
+
## Exit
|
|
67
|
+
Old secret revoked + audit record updated = rotation complete.
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: security-scan
|
|
3
|
+
type: workflow
|
|
4
|
+
trigger: /security-scan
|
|
5
|
+
description: Run a comprehensive security scan (SAST, deps, secrets, IaC) and produce a prioritized finding report.
|
|
6
|
+
inputs:
|
|
7
|
+
- scan_scope
|
|
8
|
+
- scan_mode
|
|
9
|
+
outputs:
|
|
10
|
+
- finding_report
|
|
11
|
+
- pr_review_comments
|
|
12
|
+
roles:
|
|
13
|
+
- developer
|
|
14
|
+
- team-lead
|
|
15
|
+
- qa
|
|
16
|
+
execution:
|
|
17
|
+
initiator: developer
|
|
18
|
+
related-rules:
|
|
19
|
+
- secure-coding.md
|
|
20
|
+
- dependency-policy.md
|
|
21
|
+
- secrets-policy.md
|
|
22
|
+
uses-skills:
|
|
23
|
+
- sast-dast-interpretation
|
|
24
|
+
- dependency-audit
|
|
25
|
+
quality-gates:
|
|
26
|
+
- no critical findings unaddressed before merge
|
|
27
|
+
- high findings have 72-hour SLA assigned
|
|
28
|
+
- secrets scan covers full git log (--full mode)
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## Steps
|
|
32
|
+
|
|
33
|
+
### 1. SAST Scan — `@developer`
|
|
34
|
+
- **Input:** codebase
|
|
35
|
+
- **Actions:** `semgrep --config=p/security-audit`; `snyk code test`
|
|
36
|
+
- **Output:** SAST finding list
|
|
37
|
+
- **Done when:** scan complete; results saved
|
|
38
|
+
|
|
39
|
+
### 2. Dependency Audit — `@developer`
|
|
40
|
+
- **Input:** dependency files
|
|
41
|
+
- **Actions:** `npm audit --json` / `pip-audit` / `trivy fs`; cross-reference with OSV database; flag Critical (block) and High (plan) findings
|
|
42
|
+
- **Output:** dependency finding list with severity
|
|
43
|
+
- **Done when:** all deps scanned; Critical/High flagged
|
|
44
|
+
|
|
45
|
+
### 3. Secret Scanning — `@qa`
|
|
46
|
+
- **Input:** staged changes (PR mode) or full git log (full mode)
|
|
47
|
+
- **Actions:** `trufflehog filesystem` on staged changes; `gitleaks` on git log (last 100 commits if PR, full history if --full)
|
|
48
|
+
- **Output:** secret scan results
|
|
49
|
+
- **Done when:** no unreviewed secrets in scope
|
|
50
|
+
|
|
51
|
+
### 4. Infrastructure Scan — `@developer` (if IaC exists)
|
|
52
|
+
- **Input:** Terraform / K8s manifests
|
|
53
|
+
- **Actions:** `checkov -d terraform/`; `kube-score` on K8s manifests
|
|
54
|
+
- **Output:** IaC finding list
|
|
55
|
+
- **Done when:** all manifests scanned
|
|
56
|
+
|
|
57
|
+
### 5. Synthesize & Report — `@team-lead`
|
|
58
|
+
- **Input:** all scan results
|
|
59
|
+
- **Actions:** merge all findings; deduplicate by location; prioritize: Critical → High → Medium → Low; for Critical/High provide specific remediation code; post to PR as review comment; Critical → request changes (block merge); High → comment with 72-hour SLA; save full report: `.security/scan-results-<timestamp>.json`
|
|
60
|
+
- **Output:** `finding_report.md`; PR review comments
|
|
61
|
+
- **Done when:** report published; PR status set per findings
|
|
62
|
+
|
|
63
|
+
## Exit
|
|
64
|
+
No unaddressed Critical findings + report saved = scan complete.
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: threat-model-review
|
|
3
|
+
type: workflow
|
|
4
|
+
trigger: /threat-model-review
|
|
5
|
+
description: Perform a STRIDE threat modeling session for a new feature or system component and produce a mitigation plan.
|
|
6
|
+
inputs:
|
|
7
|
+
- feature_name
|
|
8
|
+
outputs:
|
|
9
|
+
- threat_model_document
|
|
10
|
+
- required_mitigations
|
|
11
|
+
roles:
|
|
12
|
+
- team-lead
|
|
13
|
+
- developer
|
|
14
|
+
- qa
|
|
15
|
+
execution:
|
|
16
|
+
initiator: team-lead
|
|
17
|
+
related-rules:
|
|
18
|
+
- secure-coding.md
|
|
19
|
+
- compliance-baseline.md
|
|
20
|
+
uses-skills:
|
|
21
|
+
- threat-modeling
|
|
22
|
+
- auth-patterns
|
|
23
|
+
quality-gates:
|
|
24
|
+
- all trust boundary crossings evaluated for all 6 STRIDE categories
|
|
25
|
+
- required mitigations mapped to controls before implementation
|
|
26
|
+
- threat model saved to .security/threat-models/
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## Steps
|
|
30
|
+
|
|
31
|
+
### 1. Parse Feature — `@team-lead`
|
|
32
|
+
- **Input:** feature description
|
|
33
|
+
- **Actions:** extract: data processed, actors, trust boundaries crossed, entry points (APIs, file inputs, queues)
|
|
34
|
+
- **Output:** feature decomposition note
|
|
35
|
+
- **Done when:** trust boundaries explicitly identified
|
|
36
|
+
|
|
37
|
+
### 2. Data Flow Diagram — `@developer`
|
|
38
|
+
- **Input:** feature decomposition
|
|
39
|
+
- **Actions:** map: External Entities → Processes → Data Stores → Trust Boundaries
|
|
40
|
+
- **Output:** DFD (Mermaid or draw.io)
|
|
41
|
+
- **Done when:** all entry points visible in diagram
|
|
42
|
+
|
|
43
|
+
### 3. STRIDE Analysis — `@team-lead` + `@qa`
|
|
44
|
+
- **Input:** DFD
|
|
45
|
+
- **Actions:** for each trust boundary crossing, evaluate all 6 STRIDE categories (Spoofing / Tampering / Repudiation / Information Disclosure / Denial of Service / Elevation of Privilege); generate one finding per identified threat
|
|
46
|
+
- **Output:** STRIDE finding list
|
|
47
|
+
- **Done when:** all crossings evaluated; no category skipped
|
|
48
|
+
|
|
49
|
+
### 4. Prioritize — `@team-lead`
|
|
50
|
+
- **Input:** STRIDE findings
|
|
51
|
+
- **Actions:** score each: Likelihood (1–3) × Impact (1–3) = Risk Score; sort descending; classify: Required / Recommended / Accepted risk
|
|
52
|
+
- **Output:** prioritized risk register
|
|
53
|
+
- **Done when:** all findings classified
|
|
54
|
+
|
|
55
|
+
### 5. Generate Mitigations — `@developer`
|
|
56
|
+
- **Input:** prioritized risks
|
|
57
|
+
- **Actions:** map each Required threat to a control from `auth-patterns` or `crypto-standards` skills; document in threat model
|
|
58
|
+
- **Output:** `.security/threat-models/threat-model-<feature>.md` — DFD + STRIDE table + mitigations
|
|
59
|
+
- **Done when:** all Required findings have assigned controls; document complete
|
|
60
|
+
|
|
61
|
+
## Exit
|
|
62
|
+
Published threat model + Required mitigations assigned = secure implementation can proceed.
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# {{DOMAIN_NAME}} — area guidance index
|
|
2
|
+
|
|
3
|
+
<!--
|
|
4
|
+
AGENT INSTRUCTIONS:
|
|
5
|
+
This is the ROOT AGENTS.md for the entire area.
|
|
6
|
+
Load it before any spec-level guidance.
|
|
7
|
+
It defines:
|
|
8
|
+
1. What this area covers
|
|
9
|
+
2. Spec selection (which spec to load for which task)
|
|
10
|
+
3. Cross-cutting constraints applying to ALL specs in this area
|
|
11
|
+
4. The full spec map
|
|
12
|
+
Target: under 100 lines.
|
|
13
|
+
Delete all AGENT INSTRUCTIONS comments before finalising.
|
|
14
|
+
-->
|
|
15
|
+
|
|
16
|
+
## What this area covers
|
|
17
|
+
|
|
18
|
+
{{ONE_PARAGRAPH: what domain this area covers, who uses it, what kinds of work it guides agents through.}}
|
|
19
|
+
|
|
20
|
+
## Spec selection
|
|
21
|
+
|
|
22
|
+
Match the task to the spec that owns it:
|
|
23
|
+
|
|
24
|
+
| Task type | Spec to load |
|
|
25
|
+
|:---|:---|
|
|
26
|
+
| {{TASK_TYPE_1}} | `{{spec-name}}/` |
|
|
27
|
+
| {{TASK_TYPE_2}} | `{{spec-name}}/` |
|
|
28
|
+
| {{TASK_TYPE_3}} | `{{spec-name}}/` |
|
|
29
|
+
| General / cross-cutting | `general/` (if present) |
|
|
30
|
+
|
|
31
|
+
If the task spans multiple specs, load the primary spec's full chain, then the secondary spec's `rules/*` only.
|
|
32
|
+
|
|
33
|
+
## Cross-cutting constraints
|
|
34
|
+
|
|
35
|
+
<!--
|
|
36
|
+
Constraints that apply to ALL specs in this area.
|
|
37
|
+
Not duplicated in individual spec rule files.
|
|
38
|
+
Write in imperative form.
|
|
39
|
+
-->
|
|
40
|
+
|
|
41
|
+
- **{{CONSTRAINT_1_NAME}}** — {{one sentence, imperative, e.g. "never commit secrets to source control."}}
|
|
42
|
+
- **{{CONSTRAINT_2_NAME}}** — {{one sentence, imperative}}
|
|
43
|
+
- **{{CONSTRAINT_3_NAME}}** — {{one sentence, imperative}}
|
|
44
|
+
|
|
45
|
+
## Load order
|
|
46
|
+
|
|
47
|
+
1. This file (`areas/{{domain}}/AGENTS.md`)
|
|
48
|
+
2. Spec `AGENTS.md` (`areas/{{domain}}/{{spec}}/AGENTS.md`)
|
|
49
|
+
3. Spec `rules/*.md` — all rules for the selected spec
|
|
50
|
+
4. Spec `skills/*/SKILL.md` — on-demand, matching "When to load"
|
|
51
|
+
5. Spec `workflows/*.md` — matching the slash command trigger
|
|
52
|
+
|
|
53
|
+
## Specs in this area
|
|
54
|
+
|
|
55
|
+
```text
|
|
56
|
+
areas/{{domain}}/
|
|
57
|
+
├── {{spec-1}}/ # {{one_line_scope}}
|
|
58
|
+
├── {{spec-2}}/ # {{one_line_scope}}
|
|
59
|
+
├── {{spec-3}}/ # {{one_line_scope}}
|
|
60
|
+
└── {{spec-4}}/ # {{one_line_scope}}
|
|
61
|
+
```
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# {{SPEC_NAME}} — guidance index
|
|
2
|
+
|
|
3
|
+
<!--
|
|
4
|
+
AGENT INSTRUCTIONS:
|
|
5
|
+
This file is the entry point for agents working in this specialization.
|
|
6
|
+
Load it FIRST before any rules, skills, or workflows.
|
|
7
|
+
Target: under 80 lines — this is a navigation map, not a knowledge document.
|
|
8
|
+
Delete all AGENT INSTRUCTIONS comments before finalising.
|
|
9
|
+
-->
|
|
10
|
+
|
|
11
|
+
## What this area covers
|
|
12
|
+
|
|
13
|
+
{{ONE_PARAGRAPH: what domain this spec covers, who uses it, and what kinds of work it guides agents through.}}
|
|
14
|
+
|
|
15
|
+
## Guidance chain
|
|
16
|
+
|
|
17
|
+
Load in this order:
|
|
18
|
+
|
|
19
|
+
1. Project `.agent/` baseline (`AGENTS.md` + `.agent/*`)
|
|
20
|
+
2. `{{domain}}/{{spec}}/rules/*` — load all rules for this spec
|
|
21
|
+
3. `{{domain}}/{{spec}}/skills/*/SKILL.md` — load only the skill matching the current task (see "When to load" in each skill)
|
|
22
|
+
4. `{{domain}}/{{spec}}/workflows/*` — load the workflow matching the triggered slash command
|
|
23
|
+
|
|
24
|
+
## Inherited from {{DOMAIN_NAME}} area
|
|
25
|
+
|
|
26
|
+
<!--
|
|
27
|
+
List cross-cutting constraints that apply from the parent area's AGENTS.md.
|
|
28
|
+
These do NOT need to be repeated in this spec's rule files.
|
|
29
|
+
-->
|
|
30
|
+
|
|
31
|
+
- {{INHERITED_CONSTRAINT_1 — e.g. "All IaC changes must be version-controlled; no manual console edits."}}
|
|
32
|
+
- {{INHERITED_CONSTRAINT_2}}
|
|
33
|
+
|
|
34
|
+
## {{SPEC_NAME}}-specific constraints
|
|
35
|
+
|
|
36
|
+
<!--
|
|
37
|
+
List constraints where this spec diverges from or extends the area-wide defaults.
|
|
38
|
+
Write in imperative form: "must", "never", "required", "forbidden".
|
|
39
|
+
Avoid advice-language: "consider", "try to", "ideally".
|
|
40
|
+
-->
|
|
41
|
+
|
|
42
|
+
- {{CONSTRAINT_1 — e.g. "Every new service must expose the four golden signals before shipping."}}
|
|
43
|
+
- {{CONSTRAINT_2}}
|
|
44
|
+
|
|
45
|
+
## Spec map
|
|
46
|
+
|
|
47
|
+
```text
|
|
48
|
+
{{spec-name}}/
|
|
49
|
+
├── rules/
|
|
50
|
+
│ ├── {{filename}}.md ← {{one_line_description}}
|
|
51
|
+
│ └── {{filename}}.md ← {{one_line_description}}
|
|
52
|
+
├── skills/
|
|
53
|
+
│ ├── {{skill-dir}}/SKILL.md ← {{one_line_description}}
|
|
54
|
+
│ └── {{skill-dir}}/SKILL.md ← {{one_line_description}}
|
|
55
|
+
├── workflows/
|
|
56
|
+
│ ├── {{filename}}.md ← /{{command}} — {{one_line_description}}
|
|
57
|
+
│ └── {{filename}}.md ← /{{command}} — {{one_line_description}}
|
|
58
|
+
└── prompts/
|
|
59
|
+
└── *.md
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Discovery patterns
|
|
63
|
+
|
|
64
|
+
- `rules/*.md`
|
|
65
|
+
- `skills/*/SKILL.md`
|
|
66
|
+
- `workflows/*.md`
|
|
67
|
+
- `prompts/*.md`
|