@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,77 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: provision-env
|
|
3
|
+
type: workflow
|
|
4
|
+
trigger: /provision-env
|
|
5
|
+
description: Spin up a complete, isolated environment for a branch or initialize a standing environment using Terraform.
|
|
6
|
+
inputs:
|
|
7
|
+
- target_environment
|
|
8
|
+
- branch
|
|
9
|
+
outputs:
|
|
10
|
+
- provisioned_environment
|
|
11
|
+
- environment_url
|
|
12
|
+
roles:
|
|
13
|
+
- team-lead
|
|
14
|
+
- developer
|
|
15
|
+
- qa
|
|
16
|
+
execution:
|
|
17
|
+
initiator: team-lead
|
|
18
|
+
related-rules:
|
|
19
|
+
- immutability.md
|
|
20
|
+
- cost-governance.md
|
|
21
|
+
- reliability.md
|
|
22
|
+
uses-skills:
|
|
23
|
+
- terraform-patterns
|
|
24
|
+
- k8s-manifests
|
|
25
|
+
- networking
|
|
26
|
+
quality-gates:
|
|
27
|
+
- no unexpected destroy operations in plan for non-preview envs
|
|
28
|
+
- cost delta within budget before apply
|
|
29
|
+
- smoke tests pass against new environment
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## Steps
|
|
33
|
+
|
|
34
|
+
### 1. Validate Prerequisites — `@team-lead`
|
|
35
|
+
- **Input:** environment type, branch
|
|
36
|
+
- **Actions:** check cloud credentials active; verify Terraform state backend accessible; confirm no active locks on target environment state
|
|
37
|
+
- **Output:** prerequisites confirmed
|
|
38
|
+
- **Done when:** no locks; credentials valid
|
|
39
|
+
|
|
40
|
+
### 2. Plan Infrastructure — `@developer`
|
|
41
|
+
- **Input:** validated prerequisites
|
|
42
|
+
- **Actions:** `terraform init -reconfigure`; `terraform plan -out=tfplan`; if destroyed resources > 0 in non-preview env → HALT, request manual approval
|
|
43
|
+
- **Output:** `tfplan` artifact; destroy count confirmed
|
|
44
|
+
- **Done when:** plan reviewed; no unexpected destroys
|
|
45
|
+
|
|
46
|
+
### 3. Estimate Cost — `@developer`
|
|
47
|
+
- **Input:** tfplan
|
|
48
|
+
- **Actions:** `infracost breakdown --path tfplan`; HALT if delta > $500/month for preview environments
|
|
49
|
+
- **Output:** cost estimate; approval if within budget
|
|
50
|
+
- **Done when:** cost within budget; `@team-lead` approves
|
|
51
|
+
|
|
52
|
+
### 4. Apply Infrastructure — `@developer`
|
|
53
|
+
- **Input:** approved plan + cost estimate
|
|
54
|
+
- **Actions:** `terraform apply tfplan`; capture all outputs (endpoints, ARNs)
|
|
55
|
+
- **Output:** infrastructure provisioned; outputs captured
|
|
56
|
+
- **Done when:** apply exits 0; all resources created
|
|
57
|
+
|
|
58
|
+
### 5. Configure DNS & Ingress — `@developer`
|
|
59
|
+
- **Input:** infrastructure outputs
|
|
60
|
+
- **Actions:** register subdomain: `<branch>.staging.mycompany.com`; wait for SSL certificate validation; verify HTTPS endpoint responds
|
|
61
|
+
- **Output:** DNS and SSL active; HTTPS confirmed
|
|
62
|
+
- **Done when:** HTTPS endpoint reachable
|
|
63
|
+
|
|
64
|
+
### 6. Seed & Smoke Test — `@qa`
|
|
65
|
+
- **Input:** running environment
|
|
66
|
+
- **Actions:** run database migrations; run smoke test suite against new environment
|
|
67
|
+
- **Output:** smoke test results; environment validated
|
|
68
|
+
- **Done when:** smoke tests pass; environment confirmed functional
|
|
69
|
+
|
|
70
|
+
### 7. Report — `@pm`
|
|
71
|
+
- **Input:** validated environment
|
|
72
|
+
- **Actions:** post environment URL to PR comment; include: all endpoints, credentials location, teardown command
|
|
73
|
+
- **Output:** environment URL published in PR
|
|
74
|
+
- **Done when:** team has access and teardown instructions
|
|
75
|
+
|
|
76
|
+
## Exit
|
|
77
|
+
Smoke tests green + URL published = environment ready for use.
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# QA — guidance index
|
|
2
|
+
|
|
3
|
+
## What this area covers
|
|
4
|
+
|
|
5
|
+
Test strategy, risk-based verification, and release confidence: test pyramid design, flakiness management, performance auditing, regression suite maintenance, test data management, and accessibility testing.
|
|
6
|
+
|
|
7
|
+
## Guidance chain
|
|
8
|
+
|
|
9
|
+
1. Project `.agent/` baseline (`AGENTS.md` + `.agent/*`)
|
|
10
|
+
2. `software/general/rules/*` — always active
|
|
11
|
+
3. `qa/rules/*` — load all for this spec
|
|
12
|
+
4. `qa/skills/*/SKILL.md` — load only the skill matching the current task
|
|
13
|
+
5. `qa/workflows/*` — load the workflow matching the triggered command
|
|
14
|
+
|
|
15
|
+
## Inherited from general
|
|
16
|
+
|
|
17
|
+
- SDLC role responsibilities and handoffs
|
|
18
|
+
- Git / CI / lint / format quality baseline
|
|
19
|
+
- Shared development and review workflows
|
|
20
|
+
|
|
21
|
+
## QA-specific constraints
|
|
22
|
+
|
|
23
|
+
- Flaky tests must be quarantined within one business day; they are never silently skipped.
|
|
24
|
+
- Go / no-go recommendation must be written with evidence — "looks good" is not a QA output.
|
|
25
|
+
- Every test data set must be deterministic and resettable; no dependency on production data.
|
|
26
|
+
|
|
27
|
+
## Spec map
|
|
28
|
+
|
|
29
|
+
```text
|
|
30
|
+
qa/
|
|
31
|
+
├── rules/
|
|
32
|
+
│ ├── test-strategy.md ← pyramid ratios, coverage targets, risk classification
|
|
33
|
+
│ ├── quality-gates.md ← blocking vs advisory criteria, merge conditions
|
|
34
|
+
│ ├── flakiness-policy.md ← quarantine SLA, fix-or-delete policy, flakiness budget
|
|
35
|
+
│ └── test-data.md ← data isolation, factory patterns, PII handling in tests
|
|
36
|
+
├── skills/
|
|
37
|
+
│ ├── test-pyramid/SKILL.md ← unit/integration/e2e ratios, boundary decisions
|
|
38
|
+
│ ├── e2e-patterns/SKILL.md ← Playwright/Cypress patterns, page objects
|
|
39
|
+
│ ├── api-testing/SKILL.md ← contract tests, mutation testing, schema validation
|
|
40
|
+
│ ├── performance-testing/SKILL.md ← k6, Lighthouse, load profiles, threshold design
|
|
41
|
+
│ ├── accessibility-testing/SKILL.md ← axe-core, manual checks, WCAG AA criteria
|
|
42
|
+
│ └── test-data-management/SKILL.md ← factories, seeds, snapshot isolation
|
|
43
|
+
├── workflows/
|
|
44
|
+
│ ├── smoke-test.md ← /smoke-test
|
|
45
|
+
│ ├── regression-suite.md ← /regression-suite
|
|
46
|
+
│ ├── flakiness-investigation.md ← /flakiness-investigation
|
|
47
|
+
│ ├── performance-audit.md ← /performance-audit
|
|
48
|
+
│ └── test-coverage-report.md ← /test-coverage-report
|
|
49
|
+
└── prompts/
|
|
50
|
+
└── *.md
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Discovery patterns
|
|
54
|
+
|
|
55
|
+
- `rules/*.md`
|
|
56
|
+
- `skills/*/SKILL.md`
|
|
57
|
+
- `workflows/*.md`
|
|
58
|
+
- `prompts/*.md`
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# PROMPTS: qa
|
|
2
|
+
|
|
3
|
+
Use these prompts with `AGENTS.md` from the same directory.
|
|
4
|
+
|
|
5
|
+
## 1) Initialize agent behavior
|
|
6
|
+
|
|
7
|
+
```text
|
|
8
|
+
Read `qa/AGENTS.md` and adopt its rules, skills loading strategy, and workflows as hard constraints.
|
|
9
|
+
List the active rules and the selected workflow before implementation.
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## 2) Implement a feature
|
|
13
|
+
|
|
14
|
+
```text
|
|
15
|
+
Using `qa/AGENTS.md`, implement: <feature description>.
|
|
16
|
+
Before coding: provide architecture notes, risk list, and test plan.
|
|
17
|
+
After coding: run checks and report exact commands and results.
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## 3) Incident / debug mode
|
|
21
|
+
|
|
22
|
+
```text
|
|
23
|
+
Using `qa/AGENTS.md`, run incident triage for: <incident summary>.
|
|
24
|
+
Return root cause hypotheses, validation steps, fix plan, and rollback plan.
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## 4) Release readiness
|
|
28
|
+
|
|
29
|
+
```text
|
|
30
|
+
Using `qa/AGENTS.md`, prepare release checklist for: <release scope>.
|
|
31
|
+
Include quality gates, security gates, performance gates, and deployment validation.
|
|
32
|
+
```
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
---
|
|
2
|
+
workflow: flakiness-investigation
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Prompt: `/flakiness-investigation`
|
|
6
|
+
|
|
7
|
+
Use when: a test fails intermittently in CI without a deterministic cause.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Example 1 — Timeout-pattern flake
|
|
12
|
+
|
|
13
|
+
**EN:**
|
|
14
|
+
```
|
|
15
|
+
/flakiness-investigation
|
|
16
|
+
|
|
17
|
+
Flaky test: tests/e2e/checkout.spec.ts → "should complete payment flow"
|
|
18
|
+
Failure rate: 15% over last 20 CI runs (3/20 failed)
|
|
19
|
+
Pattern: only fails in CI, not locally; always on the payment confirmation step
|
|
20
|
+
Error: Timeout waiting for "Order confirmed" text (30s timeout exceeded)
|
|
21
|
+
Suspected cause: CI payment mock slower than local; or race condition in status polling
|
|
22
|
+
Last stable: 2 weeks ago before adding retry logic to payment service
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
**RU:**
|
|
26
|
+
```
|
|
27
|
+
/flakiness-investigation
|
|
28
|
+
|
|
29
|
+
Нестабильный тест: tests/e2e/checkout.spec.ts → "should complete payment flow"
|
|
30
|
+
Частота сбоев: 15% за последние 20 CI запусков (3/20 упали)
|
|
31
|
+
Паттерн: падает только в CI, не локально; всегда на шаге подтверждения платежа
|
|
32
|
+
Ошибка: Timeout ожидания текста "Order confirmed" (превышен таймаут 30с)
|
|
33
|
+
Предполагаемая причина: CI платёжный mock медленнее локального; или race condition в polling статуса
|
|
34
|
+
Последняя стабильная версия: 2 недели назад до добавления retry логики в payment service
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## Example 2 — Test pollution flake
|
|
40
|
+
|
|
41
|
+
**EN:**
|
|
42
|
+
```
|
|
43
|
+
/flakiness-investigation
|
|
44
|
+
|
|
45
|
+
Flaky test: test_user_order_count_is_zero
|
|
46
|
+
Failure rate: 20% (always fails when test_create_bulk_orders runs before it)
|
|
47
|
+
Pattern: order-dependent failure — shared DB state between tests
|
|
48
|
+
Root cause suspected: test_create_bulk_orders commits data that isn't cleaned up
|
|
49
|
+
Fix direction: switch from truncation-based to transaction-rollback isolation
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
**RU:**
|
|
53
|
+
```
|
|
54
|
+
/flakiness-investigation
|
|
55
|
+
|
|
56
|
+
Нестабильный тест: test_user_order_count_is_zero
|
|
57
|
+
Частота сбоев: 20% (всегда падает когда test_create_bulk_orders запускается перед ним)
|
|
58
|
+
Паттерн: зависимость от порядка — общее состояние БД между тестами
|
|
59
|
+
Предполагаемая причина: test_create_bulk_orders коммитит данные которые не очищаются
|
|
60
|
+
Направление исправления: переключиться с truncation-based на transaction-rollback изоляцию
|
|
61
|
+
```
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
---
|
|
2
|
+
workflow: performance-audit
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Prompt: `/performance-audit`
|
|
6
|
+
|
|
7
|
+
Use when: investigating latency regressions or establishing performance baselines.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Example 1 — Regression investigation
|
|
12
|
+
|
|
13
|
+
**EN:**
|
|
14
|
+
```
|
|
15
|
+
/performance-audit
|
|
16
|
+
|
|
17
|
+
Target: POST /api/v1/orders
|
|
18
|
+
Test type: load test
|
|
19
|
+
SLO baseline: p95 < 300ms, p99 < 1000ms, error rate < 0.5%
|
|
20
|
+
Current p99: 2.4s (regression vs. last release 340ms)
|
|
21
|
+
Suspected cause: migration added 3 new FK lookups on order creation
|
|
22
|
+
Load profile: ramp to 100 VUs over 2 min, hold 5 min
|
|
23
|
+
Environment: staging (isolated from other traffic)
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
**RU:**
|
|
27
|
+
```
|
|
28
|
+
/performance-audit
|
|
29
|
+
|
|
30
|
+
Цель: POST /api/v1/orders
|
|
31
|
+
Тип теста: нагрузочный тест
|
|
32
|
+
SLO baseline: p95 < 300ms, p99 < 1000ms, error rate < 0.5%
|
|
33
|
+
Текущий p99: 2.4s (регрессия vs. предыдущий релиз 340ms)
|
|
34
|
+
Предполагаемая причина: миграция добавила 3 новых FK lookup при создании заказа
|
|
35
|
+
Профиль нагрузки: rampe to 100 VU за 2 мин, держать 5 мин
|
|
36
|
+
Окружение: staging (изолировано от другого трафика)
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## Example 2 — Baseline establishment
|
|
42
|
+
|
|
43
|
+
**EN:**
|
|
44
|
+
```
|
|
45
|
+
/performance-audit
|
|
46
|
+
|
|
47
|
+
Target: checkout flow end-to-end (browse → cart → payment → confirmation)
|
|
48
|
+
Test type: load + soak
|
|
49
|
+
Purpose: establish baselines before Black Friday traffic planning
|
|
50
|
+
Load: 500 concurrent users (3x normal peak)
|
|
51
|
+
Soak: 2 hours at 200 VUs to detect memory leaks
|
|
52
|
+
Output: performance-baselines.json for CI threshold gates
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
**RU:**
|
|
56
|
+
```
|
|
57
|
+
/performance-audit
|
|
58
|
+
|
|
59
|
+
Цель: end-to-end поток оформления заказа (просмотр → корзина → оплата → подтверждение)
|
|
60
|
+
Тип теста: нагрузочный + soak
|
|
61
|
+
Цель: установить baseline перед планированием трафика Black Friday
|
|
62
|
+
Нагрузка: 500 одновременных пользователей (3x нормального пика)
|
|
63
|
+
Soak: 2 часа при 200 VU для обнаружения утечек памяти
|
|
64
|
+
Результат: performance-baselines.json для пороговых значений в CI
|
|
65
|
+
```
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
---
|
|
2
|
+
workflow: regression-suite
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Prompt: `/regression-suite`
|
|
6
|
+
|
|
7
|
+
Use when: running full regression before a significant release or after a major code change.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Example 1 — Release regression
|
|
12
|
+
|
|
13
|
+
**EN:**
|
|
14
|
+
```
|
|
15
|
+
/regression-suite
|
|
16
|
+
|
|
17
|
+
Environment: staging (release candidate v3.0.0)
|
|
18
|
+
Scope: full — all test categories
|
|
19
|
+
Release context: major version; includes DB schema migration for orders table
|
|
20
|
+
High-risk areas: order creation, payment processing, user authentication
|
|
21
|
+
Expected duration: ~45 min
|
|
22
|
+
Failure policy: any blocker in high-risk area → hold release
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
**RU:**
|
|
26
|
+
```
|
|
27
|
+
/regression-suite
|
|
28
|
+
|
|
29
|
+
Окружение: staging (release candidate v3.0.0)
|
|
30
|
+
Скоуп: полный — все категории тестов
|
|
31
|
+
Контекст релиза: мажорная версия; включает миграцию схемы для таблицы orders
|
|
32
|
+
Зоны высокого риска: создание заказов, обработка платежей, аутентификация
|
|
33
|
+
Ожидаемое время: ~45 мин
|
|
34
|
+
Политика отказов: любой blocker в зоне высокого риска → задержать релиз
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## Example 2 — Targeted regression after change
|
|
40
|
+
|
|
41
|
+
**EN:**
|
|
42
|
+
```
|
|
43
|
+
/regression-suite
|
|
44
|
+
|
|
45
|
+
Environment: staging
|
|
46
|
+
Scope: targeted — auth module and all downstream tests
|
|
47
|
+
Reason: SSO provider upgrade to SAML 2.0 — auth flow changed
|
|
48
|
+
Tests to include: login, logout, token refresh, session expiry, SSO redirect
|
|
49
|
+
Skip: unrelated UI tests (save time)
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
**RU:**
|
|
53
|
+
```
|
|
54
|
+
/regression-suite
|
|
55
|
+
|
|
56
|
+
Окружение: staging
|
|
57
|
+
Скоуп: целевой — модуль auth и все зависимые тесты
|
|
58
|
+
Причина: обновление SSO провайдера до SAML 2.0 — изменён auth flow
|
|
59
|
+
Тесты для включения: login, logout, token refresh, session expiry, SSO redirect
|
|
60
|
+
Пропустить: несвязанные UI тесты (экономия времени)
|
|
61
|
+
```
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
---
|
|
2
|
+
workflow: smoke-test
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Prompt: `/smoke-test`
|
|
6
|
+
|
|
7
|
+
Use when: validating a deployment is healthy immediately after it lands in an environment.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Example 1 — Post-deploy validation
|
|
12
|
+
|
|
13
|
+
**EN:**
|
|
14
|
+
```
|
|
15
|
+
/smoke-test
|
|
16
|
+
|
|
17
|
+
Environment: staging
|
|
18
|
+
Deployment context: v2.4.1 just deployed — adds payment retry logic
|
|
19
|
+
Critical paths to verify:
|
|
20
|
+
- User can log in and see dashboard
|
|
21
|
+
- Product search returns results
|
|
22
|
+
- Add to cart → checkout → order confirmation flow completes
|
|
23
|
+
- Payment with test card 4242 4242 4242 4242 succeeds
|
|
24
|
+
Stop criteria: if payment flow fails → trigger rollback immediately
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
**RU:**
|
|
28
|
+
```
|
|
29
|
+
/smoke-test
|
|
30
|
+
|
|
31
|
+
Окружение: staging
|
|
32
|
+
Контекст деплоя: только что задеплоена v2.4.1 — добавлена логика повтора платежей
|
|
33
|
+
Критические пути для проверки:
|
|
34
|
+
- Пользователь может войти и видит dashboard
|
|
35
|
+
- Поиск продуктов возвращает результаты
|
|
36
|
+
- Поток добавить в корзину → оплата → подтверждение заказа завершается
|
|
37
|
+
- Оплата тестовой картой 4242 4242 4242 4242 проходит успешно
|
|
38
|
+
Критерий остановки: если поток оплаты падает → немедленно инициировать откат
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Example 2 — Pre-release smoke
|
|
44
|
+
|
|
45
|
+
**EN:**
|
|
46
|
+
```
|
|
47
|
+
/smoke-test
|
|
48
|
+
|
|
49
|
+
Environment: production (20% canary)
|
|
50
|
+
Deployment: canary traffic split active — v2.5.0 on 20% of traffic
|
|
51
|
+
Check: error rate and latency on canary pods vs. baseline pods (must be within 5%)
|
|
52
|
+
Auth: admin token from CI secrets
|
|
53
|
+
Timeout: 15 minutes max — block full rollout if not green
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
**RU:**
|
|
57
|
+
```
|
|
58
|
+
/smoke-test
|
|
59
|
+
|
|
60
|
+
Окружение: production (20% canary)
|
|
61
|
+
Деплой: активен canary split — v2.5.0 получает 20% трафика
|
|
62
|
+
Проверить: error rate и latency на canary подах vs. baseline (должны быть в пределах 5%)
|
|
63
|
+
Auth: admin токен из CI secrets
|
|
64
|
+
Таймаут: максимум 15 минут — блокировать полный rollout если не green
|
|
65
|
+
```
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
---
|
|
2
|
+
workflow: test-coverage-report
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Prompt: `/test-coverage-report`
|
|
6
|
+
|
|
7
|
+
Use when: auditing test coverage gaps and planning targeted test investment.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Example 1 — Sprint coverage audit
|
|
12
|
+
|
|
13
|
+
**EN:**
|
|
14
|
+
```
|
|
15
|
+
/test-coverage-report
|
|
16
|
+
|
|
17
|
+
Coverage artifacts: coverage/lcov.info (generated by make test)
|
|
18
|
+
Current threshold: 70% lines
|
|
19
|
+
Focus modules: src/services/payment.py (38%), src/services/order.py (55%)
|
|
20
|
+
Context: payment module had 3 production bugs last sprint — priority to improve
|
|
21
|
+
Target: identify top 5 uncovered critical paths in payment service
|
|
22
|
+
Output: test improvement plan with estimated effort per gap
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
**RU:**
|
|
26
|
+
```
|
|
27
|
+
/test-coverage-report
|
|
28
|
+
|
|
29
|
+
Coverage артефакты: coverage/lcov.info (сгенерирован make test)
|
|
30
|
+
Текущий порог: 70% строк
|
|
31
|
+
Приоритетные модули: src/services/payment.py (38%), src/services/order.py (55%)
|
|
32
|
+
Контекст: в payment модуле было 3 баг в проде за прошлый спринт — приоритет на улучшение
|
|
33
|
+
Цель: определить топ-5 непокрытых критических путей в payment service
|
|
34
|
+
Результат: план улучшения тестов с оценкой трудозатрат на каждый gap
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## Example 2 — Pre-release coverage gate
|
|
40
|
+
|
|
41
|
+
**EN:**
|
|
42
|
+
```
|
|
43
|
+
/test-coverage-report
|
|
44
|
+
|
|
45
|
+
Coverage artifacts: coverage/
|
|
46
|
+
Threshold: 80% for release (currently at 74%)
|
|
47
|
+
Release date: in 3 days
|
|
48
|
+
Find: which files are below threshold AND were changed in this release cycle
|
|
49
|
+
Output: list of files that need tests to reach 80%, prioritized by change risk
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
**RU:**
|
|
53
|
+
```
|
|
54
|
+
/test-coverage-report
|
|
55
|
+
|
|
56
|
+
Coverage артефакты: coverage/
|
|
57
|
+
Порог: 80% для релиза (сейчас 74%)
|
|
58
|
+
Дата релиза: через 3 дня
|
|
59
|
+
Найти: какие файлы ниже порога И были изменены в текущем цикле релиза
|
|
60
|
+
Результат: список файлов, которым нужны тесты для достижения 80%, приоритизированный по риску изменений
|
|
61
|
+
```
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Rule: Flakiness Policy
|
|
2
|
+
|
|
3
|
+
**Priority**: P1 — Flaky tests destroy team trust in CI.
|
|
4
|
+
|
|
5
|
+
1. **Flakiness SLA**: Flaky tests fixed within 5 business days or permanently removed.
|
|
6
|
+
2. **Root cause classification**: Before fixing, classify:
|
|
7
|
+
- Race condition: test doesn't wait for async operation
|
|
8
|
+
- State pollution: depends on another test's side effects
|
|
9
|
+
- Environment dependency: depends on external service
|
|
10
|
+
- Time dependency: hardcodes dates or depends on `Date.now()`
|
|
11
|
+
3. **No `sleep()` to fix flakiness**: Use proper await conditions. Never arbitrary `wait(2000)`.
|
|
12
|
+
4. **Flakiness tracking**: GitHub issue created for every quarantined test.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Rule: Quality Gates
|
|
2
|
+
|
|
3
|
+
**Priority**: P0 — CI must enforce gates automatically.
|
|
4
|
+
|
|
5
|
+
## Merge Gates (Block PR)
|
|
6
|
+
|
|
7
|
+
| Gate | Threshold |
|
|
8
|
+
|:---|:---|
|
|
9
|
+
| Unit test pass rate | 100% |
|
|
10
|
+
| Integration test pass rate | 100% |
|
|
11
|
+
| Coverage (business logic) | ≥ 80% |
|
|
12
|
+
| SAST scan | Zero Critical/High |
|
|
13
|
+
| Dependency audit | Zero Critical CVEs |
|
|
14
|
+
| Type check | Zero errors |
|
|
15
|
+
| Lint | Zero errors |
|
|
16
|
+
|
|
17
|
+
## Deploy Gates (Block Deploy)
|
|
18
|
+
|
|
19
|
+
| Gate | Threshold |
|
|
20
|
+
|:---|:---|
|
|
21
|
+
| E2E smoke suite | 100% pass |
|
|
22
|
+
| Performance regression | p99 latency +20% vs. baseline |
|
|
23
|
+
| Accessibility scan | Zero WCAG Level A violations |
|
|
24
|
+
| E2E regression suite | ≥ 98% pass rate |
|
|
25
|
+
|
|
26
|
+
## Flakiness Gate
|
|
27
|
+
|
|
28
|
+
Test failing intermittently > 2% of runs on `main` is automatically quarantined until fixed.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Rule: Test Data Management
|
|
2
|
+
|
|
3
|
+
**Priority**: P1 — Improper test data causes production incidents.
|
|
4
|
+
|
|
5
|
+
1. **No production data in tests**: Use synthetic data generators or fixtures. Never real customer data.
|
|
6
|
+
2. **Test data is deterministic**: Each test creates its own data and cleans up after itself.
|
|
7
|
+
3. **No shared mutable state between tests**: Tests sharing state create ordering dependencies and flakiness.
|
|
8
|
+
4. **Factories over fixtures**: Use factory patterns (factory_boy, @faker-js/faker). Raw SQL fixtures go stale.
|
|
9
|
+
5. **Sensitive data obviously fake**: Emails must use `@example.com`, phones use `555-` prefix.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Rule: Test Strategy
|
|
2
|
+
|
|
3
|
+
**Priority**: P0 — Untested code cannot be promoted to production.
|
|
4
|
+
|
|
5
|
+
1. **Test pyramid proportions**: For every 1 E2E test → ~5 integration tests → ~20 unit tests.
|
|
6
|
+
2. **Tests ship with code**: New features and bug fixes include tests in the same PR.
|
|
7
|
+
3. **Coverage baselines**: Coverage may not decrease on merge. New code meets minimum threshold (default: 80% for business logic).
|
|
8
|
+
4. **No production hotfixes without tests**: Emergency fixes must include a regression test before the fix is considered complete.
|
|
9
|
+
5. **Test naming convention**: `[component] [scenario] [expected outcome]`
|
|
10
|
+
- ✅ `"checkout with expired card shows error message"`
|
|
11
|
+
- ❌ `"test_checkout_2"`
|