@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,56 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: train-experiment
|
|
3
|
+
type: workflow
|
|
4
|
+
trigger: /train-experiment
|
|
5
|
+
description: Run a reproducible model training experiment with full environment snapshot and automatic evaluation.
|
|
6
|
+
inputs:
|
|
7
|
+
- model_name
|
|
8
|
+
- training_config
|
|
9
|
+
outputs:
|
|
10
|
+
- trained_model_artifact
|
|
11
|
+
- evaluation_scorecard
|
|
12
|
+
roles:
|
|
13
|
+
- developer
|
|
14
|
+
- qa
|
|
15
|
+
execution:
|
|
16
|
+
initiator: developer
|
|
17
|
+
related-rules:
|
|
18
|
+
- reproducibility.md
|
|
19
|
+
- data-integrity.md
|
|
20
|
+
uses-skills:
|
|
21
|
+
- experiment-tracking
|
|
22
|
+
- feature-engineering
|
|
23
|
+
quality-gates:
|
|
24
|
+
- environment fully snapshotted before training starts
|
|
25
|
+
- training loss decreased monotonically
|
|
26
|
+
- model artifact logged to MLflow with all metadata
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## Steps
|
|
30
|
+
|
|
31
|
+
### 1. Prerequisites Validation — `@developer`
|
|
32
|
+
- **Input:** model name, config YAML
|
|
33
|
+
- **Actions:** confirm data version exists and quality checks passed; verify training config YAML is valid; check compute resource budget
|
|
34
|
+
- **Output:** validation confirmation
|
|
35
|
+
- **Done when:** all prerequisites met; no blockers
|
|
36
|
+
|
|
37
|
+
### 2. Environment Snapshot — `@developer`
|
|
38
|
+
- **Input:** validated prerequisites
|
|
39
|
+
- **Actions:** log git commit hash; build/verify training Docker image digest; register data snapshot version in MLflow
|
|
40
|
+
- **Output:** immutable environment record in MLflow run
|
|
41
|
+
- **Done when:** snapshot logged; run is reproducible from this state
|
|
42
|
+
|
|
43
|
+
### 3. Training Run — `@developer`
|
|
44
|
+
- **Input:** snapshotted environment
|
|
45
|
+
- **Actions:** submit job to training cluster; stream training logs; surface loss curves in real-time; monitor for anomalies (NaN loss, divergence)
|
|
46
|
+
- **Output:** completed training run; model artifact in MLflow
|
|
47
|
+
- **Done when:** all epochs completed; loss decreased; artifact logged
|
|
48
|
+
|
|
49
|
+
### 4. Validation — `@qa`
|
|
50
|
+
- **Input:** completed run
|
|
51
|
+
- **Actions:** confirm training loss decreased monotonically; verify model artifact logged correctly; run `/evaluate-model` automatically; compare against current champion
|
|
52
|
+
- **Output:** evaluation scorecard; comparison vs. top 3 previous runs
|
|
53
|
+
- **Done when:** evaluation complete; recommendation produced (promote / continue tuning / investigate)
|
|
54
|
+
|
|
55
|
+
## Exit
|
|
56
|
+
Logged artifact + evaluation scorecard + champion comparison = experiment complete.
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# Mobile — guidance index
|
|
2
|
+
|
|
3
|
+
## What this area covers
|
|
4
|
+
|
|
5
|
+
iOS, Android, and cross-platform mobile development (React Native, Flutter): offline-first architecture, platform compliance (App Store / Play Store), performance budgets, native module integration, push notifications, OTA update delivery, release builds, and crash triage.
|
|
6
|
+
|
|
7
|
+
## Guidance chain
|
|
8
|
+
|
|
9
|
+
1. Project `.agent/` baseline (`AGENTS.md` + `.agent/*`)
|
|
10
|
+
2. `software/general/rules/*` — always active
|
|
11
|
+
3. `mobile/rules/*` — load all for this spec
|
|
12
|
+
4. `mobile/skills/*/SKILL.md` — load only the skill matching the current task
|
|
13
|
+
5. `mobile/workflows/*` — load the workflow matching the triggered command
|
|
14
|
+
|
|
15
|
+
## Inherited from general
|
|
16
|
+
|
|
17
|
+
- SDLC methodology and handoff contracts
|
|
18
|
+
- Git / CI / lint and code style baselines
|
|
19
|
+
|
|
20
|
+
## Mobile-specific constraints
|
|
21
|
+
|
|
22
|
+
- Offline-first is the default architecture; network availability is assumed intermittent, not guaranteed.
|
|
23
|
+
- Platform compliance rules (HIG for iOS, Material for Android) are enforced before store submission — not negotiable.
|
|
24
|
+
- Performance budget (TTI, frame rate, memory) is defined before implementing any new screen.
|
|
25
|
+
- Crash rate threshold defined in `rules/performance-budget.md` is a release blocker if exceeded.
|
|
26
|
+
|
|
27
|
+
## Spec map
|
|
28
|
+
|
|
29
|
+
```text
|
|
30
|
+
mobile/
|
|
31
|
+
├── rules/
|
|
32
|
+
│ ├── offline-first.md ← local state, sync strategy, conflict resolution
|
|
33
|
+
│ ├── performance-budget.md ← frame rate, TTI, memory, crash rate thresholds
|
|
34
|
+
│ ├── platform-compliance.md ← HIG, Material, store review requirements
|
|
35
|
+
│ └── security-mobile.md ← keychain/keystore, certificate pinning, jailbreak detection
|
|
36
|
+
├── skills/
|
|
37
|
+
│ ├── navigation-patterns/SKILL.md ← stack, tab, drawer navigation; deep links
|
|
38
|
+
│ ├── state-sync/SKILL.md ← optimistic UI, background sync, conflict resolution
|
|
39
|
+
│ ├── native-modules/SKILL.md ← bridging, JSI, platform-specific APIs
|
|
40
|
+
│ ├── push-notifications/SKILL.md ← APNs, FCM, notification permissions, rich content
|
|
41
|
+
│ ├── mobile-testing/SKILL.md ← Detox, XCTest, Espresso, device farms
|
|
42
|
+
│ └── app-store-prep/SKILL.md ← metadata, screenshots, signing, compliance checklist
|
|
43
|
+
├── workflows/
|
|
44
|
+
│ ├── release-build.md ← /release-build
|
|
45
|
+
│ ├── store-submission.md ← /store-submission
|
|
46
|
+
│ ├── crash-triage.md ← /crash-triage
|
|
47
|
+
│ ├── ota-update.md ← /ota-update
|
|
48
|
+
│ └── device-testing.md ← /device-testing
|
|
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: mobile
|
|
2
|
+
|
|
3
|
+
Use these prompts with `AGENTS.md` from the same directory.
|
|
4
|
+
|
|
5
|
+
## 1) Initialize agent behavior
|
|
6
|
+
|
|
7
|
+
```text
|
|
8
|
+
Read `mobile/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 `mobile/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 `mobile/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 `mobile/AGENTS.md`, prepare release checklist for: <release scope>.
|
|
31
|
+
Include quality gates, security gates, performance gates, and deployment validation.
|
|
32
|
+
```
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
---
|
|
2
|
+
workflow: crash-triage
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Prompt: `/crash-triage`
|
|
6
|
+
|
|
7
|
+
Use when: a production crash is reported via Crashlytics, Sentry, or user report.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Example 1 — Crashlytics crash with symbolication
|
|
12
|
+
|
|
13
|
+
**EN:**
|
|
14
|
+
```
|
|
15
|
+
/crash-triage
|
|
16
|
+
|
|
17
|
+
Crash: NullPointerException in OrderDetailViewModel.loadOrder()
|
|
18
|
+
Platform: Android 13, Samsung Galaxy S23
|
|
19
|
+
Crash rate: 2.3% of sessions (affecting ~4 500 users)
|
|
20
|
+
Crashlytics issue ID: CR-2024-1234
|
|
21
|
+
First seen: 3 days ago (correlates with v2.1.0 release)
|
|
22
|
+
Stack trace: attached from Crashlytics (unsymbolicated)
|
|
23
|
+
Suspected: race condition — user navigating away before async load completes
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
**RU:**
|
|
27
|
+
```
|
|
28
|
+
/crash-triage
|
|
29
|
+
|
|
30
|
+
Крэш: NullPointerException в OrderDetailViewModel.loadOrder()
|
|
31
|
+
Платформа: Android 13, Samsung Galaxy S23
|
|
32
|
+
Частота крэшей: 2.3% сессий (~4 500 пользователей)
|
|
33
|
+
Crashlytics issue ID: CR-2024-1234
|
|
34
|
+
Первый раз замечен: 3 дня назад (совпадает с релизом v2.1.0)
|
|
35
|
+
Stack trace: приложен из Crashlytics (без символикации)
|
|
36
|
+
Предположение: race condition — пользователь уходит со страницы до завершения async загрузки
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## Example 2 — iOS crash on specific device
|
|
42
|
+
|
|
43
|
+
**EN:**
|
|
44
|
+
```
|
|
45
|
+
/crash-triage
|
|
46
|
+
|
|
47
|
+
Crash: EXC_BAD_ACCESS in ImageCacheManager
|
|
48
|
+
Platform: iOS 17.2, iPhone 15 Pro only (not reproducible on older devices)
|
|
49
|
+
Crash rate: 8% on iPhone 15 Pro, 0% on other devices
|
|
50
|
+
Suspected: memory pressure on ProMotion display with high-res images
|
|
51
|
+
dSYM available: yes (uploaded to Xcode Organizer)
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
**RU:**
|
|
55
|
+
```
|
|
56
|
+
/crash-triage
|
|
57
|
+
|
|
58
|
+
Крэш: EXC_BAD_ACCESS в ImageCacheManager
|
|
59
|
+
Платформа: iOS 17.2, только iPhone 15 Pro (не воспроизводится на старых устройствах)
|
|
60
|
+
Частота крэшей: 8% на iPhone 15 Pro, 0% на других устройствах
|
|
61
|
+
Предположение: memory pressure на ProMotion дисплее с высококачественными изображениями
|
|
62
|
+
dSYM доступен: да (загружен в Xcode Organizer)
|
|
63
|
+
```
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
---
|
|
2
|
+
workflow: device-testing
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Prompt: `/device-testing`
|
|
6
|
+
|
|
7
|
+
Use when: executing a structured test run across a device matrix before a release.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Example 1 — Pre-release device matrix
|
|
12
|
+
|
|
13
|
+
**EN:**
|
|
14
|
+
```
|
|
15
|
+
/device-testing
|
|
16
|
+
|
|
17
|
+
Release: v3.2.0 (release candidate)
|
|
18
|
+
Platform: iOS + Android
|
|
19
|
+
Test matrix:
|
|
20
|
+
iOS: iPhone 15 Pro (iOS 17), iPhone 12 (iOS 16), iPad Air (iPadOS 16)
|
|
21
|
+
Android: Pixel 8 (Android 14), Samsung Galaxy S21 (Android 13), OnePlus 9 (Android 12)
|
|
22
|
+
Test tool: AWS Device Farm (Detox E2E suite)
|
|
23
|
+
Critical flows: login, checkout, notifications, dark mode
|
|
24
|
+
Accept criteria: zero crashes, all critical flows pass on all devices
|
|
25
|
+
Blocking for release: any P1 crash on a supported device
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
**RU:**
|
|
29
|
+
```
|
|
30
|
+
/device-testing
|
|
31
|
+
|
|
32
|
+
Релиз: v3.2.0 (release candidate)
|
|
33
|
+
Платформа: iOS + Android
|
|
34
|
+
Матрица устройств:
|
|
35
|
+
iOS: iPhone 15 Pro (iOS 17), iPhone 12 (iOS 16), iPad Air (iPadOS 16)
|
|
36
|
+
Android: Pixel 8 (Android 14), Samsung Galaxy S21 (Android 13), OnePlus 9 (Android 12)
|
|
37
|
+
Инструмент: AWS Device Farm (Detox E2E suite)
|
|
38
|
+
Критические потоки: вход, оформление заказа, уведомления, тёмная тема
|
|
39
|
+
Критерии приёмки: ноль крэшей, все критические потоки проходят на всех устройствах
|
|
40
|
+
Блокирует релиз: любой P1 крэш на поддерживаемом устройстве
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## Example 2 — Post-fix focused matrix for a native permissions bug
|
|
46
|
+
|
|
47
|
+
**EN:**
|
|
48
|
+
```
|
|
49
|
+
/device-testing
|
|
50
|
+
|
|
51
|
+
Release: v3.2.1-rc1
|
|
52
|
+
Platform: Android only
|
|
53
|
+
Reason: camera permission flow was fixed after crashes on Samsung devices
|
|
54
|
+
Focused matrix:
|
|
55
|
+
Android 14: Pixel 8, Galaxy S23
|
|
56
|
+
Android 13: Galaxy S21, Xiaomi 12
|
|
57
|
+
Android 12: OnePlus 9, Motorola Edge 30
|
|
58
|
+
Critical scenarios:
|
|
59
|
+
- first launch permission prompt
|
|
60
|
+
- deny -> re-open scanner flow
|
|
61
|
+
- grant permission from system settings and resume app
|
|
62
|
+
- background/foreground transition while camera preview is active
|
|
63
|
+
Accept criteria: zero crashes, no frozen preview, and permission state remains correct after process recreation
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
**RU:**
|
|
67
|
+
```
|
|
68
|
+
/device-testing
|
|
69
|
+
|
|
70
|
+
Релиз: v3.2.1-rc1
|
|
71
|
+
Платформа: только Android
|
|
72
|
+
Причина: исправлен flow camera permission после крэшей на устройствах Samsung
|
|
73
|
+
Фокусная матрица:
|
|
74
|
+
Android 14: Pixel 8, Galaxy S23
|
|
75
|
+
Android 13: Galaxy S21, Xiaomi 12
|
|
76
|
+
Android 12: OnePlus 9, Motorola Edge 30
|
|
77
|
+
Критические сценарии:
|
|
78
|
+
- первый запуск permission prompt
|
|
79
|
+
- deny -> повторное открытие scanner flow
|
|
80
|
+
- выдача разрешения из system settings и возврат в приложение
|
|
81
|
+
- background/foreground transition при активном camera preview
|
|
82
|
+
Критерии приёмки: ноль крэшей, отсутствие зависшего preview и корректное сохранение permission state после process recreation
|
|
83
|
+
```
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
workflow: ota-update
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Prompt: `/ota-update`
|
|
6
|
+
|
|
7
|
+
Use when: deploying a JavaScript bundle update via Expo EAS Update or CodePush without a store review cycle.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Example 1 — Critical bug fix OTA
|
|
12
|
+
|
|
13
|
+
**EN:**
|
|
14
|
+
```
|
|
15
|
+
/ota-update
|
|
16
|
+
|
|
17
|
+
Tool: Expo EAS Update
|
|
18
|
+
Change: hotfix - payment confirmation screen showed wrong total (display bug only, no data corruption)
|
|
19
|
+
Target versions: 3.1.x and 3.2.x (both affected)
|
|
20
|
+
Rollout: 100% immediately (critical display bug, low risk)
|
|
21
|
+
Validation: test on iOS 16+ and Android 12+ before push
|
|
22
|
+
Rollback plan: revert to previous update bundle if error rate increases
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
**RU:**
|
|
26
|
+
```
|
|
27
|
+
/ota-update
|
|
28
|
+
|
|
29
|
+
Инструмент: Expo EAS Update
|
|
30
|
+
Изменение: хотфикс - экран подтверждения платежа показывал неверную сумму (только визуальный баг, данные не повреждены)
|
|
31
|
+
Целевые версии: 3.1.x и 3.2.x (обе затронуты)
|
|
32
|
+
Выкатка: 100% сразу (критический визуальный баг, низкий риск)
|
|
33
|
+
Валидация: протестировать на iOS 16+ и Android 12+ перед публикацией
|
|
34
|
+
План отката: откатить к предыдущему bundle если вырастет error rate
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## Example 2 — Staged OTA for a settings-screen regression
|
|
40
|
+
|
|
41
|
+
**EN:**
|
|
42
|
+
```
|
|
43
|
+
/ota-update
|
|
44
|
+
|
|
45
|
+
Tool: CodePush
|
|
46
|
+
Change: JS-only fix for settings screen where toggling push notifications resets language preference
|
|
47
|
+
Target audience: app versions 3.3.0 and 3.3.1, production channel only
|
|
48
|
+
Rollout plan:
|
|
49
|
+
- 5% for 1 hour
|
|
50
|
+
- 50% after crash-free rate and JS error rate stay stable
|
|
51
|
+
- 100% by the next morning if adoption is healthy
|
|
52
|
+
Checks:
|
|
53
|
+
- confirm no native permissions or config plugins changed
|
|
54
|
+
- monitor JS error fingerprints in Sentry during rollout
|
|
55
|
+
- prepare CodePush rollback command before the 5% stage starts
|
|
56
|
+
Output: rollout checklist, validation evidence, and adoption monitoring plan for 48h
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
**RU:**
|
|
60
|
+
```
|
|
61
|
+
/ota-update
|
|
62
|
+
|
|
63
|
+
Инструмент: CodePush
|
|
64
|
+
Изменение: JS-only исправление экрана настроек, где переключение push notifications сбрасывает language preference
|
|
65
|
+
Целевая аудитория: версии приложения 3.3.0 и 3.3.1, только production channel
|
|
66
|
+
План выката:
|
|
67
|
+
- 5% на 1 час
|
|
68
|
+
- 50% после того как crash-free rate и JS error rate останутся стабильными
|
|
69
|
+
- 100% к следующему утру, если adoption проходит нормально
|
|
70
|
+
Проверки:
|
|
71
|
+
- подтвердить, что native permissions и config plugins не менялись
|
|
72
|
+
- мониторить JS error fingerprints в Sentry во время rollout
|
|
73
|
+
- подготовить команду CodePush rollback до старта этапа 5%
|
|
74
|
+
Результат: rollout checklist, validation evidence и план мониторинга adoption на 48ч
|
|
75
|
+
```
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
workflow: release-build
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Prompt: `/release-build`
|
|
6
|
+
|
|
7
|
+
Use when: creating a production-ready build for app store submission or internal distribution.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Example 1 — App Store release build
|
|
12
|
+
|
|
13
|
+
**EN:**
|
|
14
|
+
```
|
|
15
|
+
/release-build
|
|
16
|
+
|
|
17
|
+
Platform: iOS + Android
|
|
18
|
+
Version: 3.2.0 (build 145)
|
|
19
|
+
Release type: production App Store / Google Play
|
|
20
|
+
Signing: iOS — Distribution certificate + App Store provisioning profile; Android — release keystore (CI secrets)
|
|
21
|
+
Environment: prod API (https://api.myapp.com)
|
|
22
|
+
Changes since last build: notification center, dark mode, performance fixes
|
|
23
|
+
Required: changelogs for both stores (EN + RU)
|
|
24
|
+
CI: GitHub Actions (fastlane lanes: ios_release, android_release)
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
**RU:**
|
|
28
|
+
```
|
|
29
|
+
/release-build
|
|
30
|
+
|
|
31
|
+
Платформа: iOS + Android
|
|
32
|
+
Версия: 3.2.0 (сборка 145)
|
|
33
|
+
Тип релиза: production App Store / Google Play
|
|
34
|
+
Подпись: iOS — Distribution certificate + App Store provisioning profile; Android — release keystore (CI secrets)
|
|
35
|
+
Окружение: prod API (https://api.myapp.com)
|
|
36
|
+
Изменения с прошлой сборки: центр уведомлений, тёмная тема, исправления производительности
|
|
37
|
+
Необходимо: changelogs для обеих магазинов (EN + RU)
|
|
38
|
+
CI: GitHub Actions (fastlane lanes: ios_release, android_release)
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Example 2 — Internal/QA distribution build
|
|
44
|
+
|
|
45
|
+
**EN:**
|
|
46
|
+
```
|
|
47
|
+
/release-build
|
|
48
|
+
|
|
49
|
+
Platform: Android only
|
|
50
|
+
Version: 3.2.0-rc.2 (build 143)
|
|
51
|
+
Release type: internal testing (Firebase App Distribution)
|
|
52
|
+
Environment: staging API
|
|
53
|
+
Testers: QA team + product managers (distribution group: "qa-team")
|
|
54
|
+
No store screenshots or release notes needed
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
**RU:**
|
|
58
|
+
```
|
|
59
|
+
/release-build
|
|
60
|
+
|
|
61
|
+
Платформа: только Android
|
|
62
|
+
Версия: 3.2.0-rc.2 (сборка 143)
|
|
63
|
+
Тип релиза: внутреннее тестирование (Firebase App Distribution)
|
|
64
|
+
Окружение: staging API
|
|
65
|
+
Тестировщики: QA команда + продакт менеджеры (группа: "qa-team")
|
|
66
|
+
Скриншоты для магазина и release notes не нужны
|
|
67
|
+
```
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
---
|
|
2
|
+
workflow: store-submission
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Prompt: `/store-submission`
|
|
6
|
+
|
|
7
|
+
Use when: submitting a build to App Store Connect or Google Play Console for review.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Example 1 — Full store submission
|
|
12
|
+
|
|
13
|
+
**EN:**
|
|
14
|
+
```
|
|
15
|
+
/store-submission
|
|
16
|
+
|
|
17
|
+
Platform: iOS + Android
|
|
18
|
+
Build: v3.2.0 (build 145) - already uploaded to App Store Connect + Play Console
|
|
19
|
+
New features to describe: dark mode, notification center
|
|
20
|
+
New permissions: push notifications (iOS - already in Info.plist)
|
|
21
|
+
Privacy policy: https://myapp.com/privacy (no changes)
|
|
22
|
+
Target regions: worldwide
|
|
23
|
+
Review notes for Apple: test account credentials in submission (email: review@myapp.com / Pass123!)
|
|
24
|
+
Screenshots: updated for iPhone 15 Pro, iPad, Pixel 8 (attached to submission)
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
**RU:**
|
|
28
|
+
```
|
|
29
|
+
/store-submission
|
|
30
|
+
|
|
31
|
+
Платформа: iOS + Android
|
|
32
|
+
Сборка: v3.2.0 (build 145) - уже загружена в App Store Connect + Play Console
|
|
33
|
+
Новые функции для описания: тёмная тема, центр уведомлений
|
|
34
|
+
Новые разрешения: push-уведомления (iOS - уже в Info.plist)
|
|
35
|
+
Политика конфиденциальности: https://myapp.com/privacy (изменений нет)
|
|
36
|
+
Целевые регионы: весь мир
|
|
37
|
+
Заметки для ревью Apple: учётные данные тестового аккаунта в заявке (email: review@myapp.com / Pass123!)
|
|
38
|
+
Скриншоты: обновлены для iPhone 15 Pro, iPad, Pixel 8 (приложены к заявке)
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Example 2 — Incremental Android rollout after a sensitive permissions change
|
|
44
|
+
|
|
45
|
+
**EN:**
|
|
46
|
+
```
|
|
47
|
+
/store-submission
|
|
48
|
+
|
|
49
|
+
Platform: Android
|
|
50
|
+
Build: v3.3.0 (versionCode 211)
|
|
51
|
+
Track: closed testing -> production 20% rollout
|
|
52
|
+
Change summary:
|
|
53
|
+
- added background location usage for courier tracking
|
|
54
|
+
- updated onboarding copy and in-app disclosures
|
|
55
|
+
Compliance requirements:
|
|
56
|
+
- Play Console data safety form must reflect continuous location collection
|
|
57
|
+
- screenshots updated for courier mode and permission education screen
|
|
58
|
+
- support team needs rollout notes and rejection fallback plan
|
|
59
|
+
Post-release monitoring: crash-free rate >= 99.5% for 48h and no spike in 1-star reviews mentioning permissions
|
|
60
|
+
Output: submission checklist, metadata package, and monitoring plan for staged production rollout
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
**RU:**
|
|
64
|
+
```
|
|
65
|
+
/store-submission
|
|
66
|
+
|
|
67
|
+
Платформа: Android
|
|
68
|
+
Сборка: v3.3.0 (versionCode 211)
|
|
69
|
+
Трек: closed testing -> production rollout 20%
|
|
70
|
+
Сводка изменений:
|
|
71
|
+
- добавлено использование background location для courier tracking
|
|
72
|
+
- обновлены onboarding copy и in-app disclosures
|
|
73
|
+
Требования compliance:
|
|
74
|
+
- форма Play Console data safety должна отражать постоянный сбор location
|
|
75
|
+
- скриншоты обновлены для courier mode и экрана объяснения permission
|
|
76
|
+
- команде поддержки нужны rollout notes и план действий на случай rejection
|
|
77
|
+
Пострелизный мониторинг: crash-free rate >= 99.5% в течение 48ч и отсутствие всплеска 1-star review с упоминанием permissions
|
|
78
|
+
Результат: submission checklist, пакет metadata и план мониторинга для staged production rollout
|
|
79
|
+
```
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Rule: Offline-First Architecture
|
|
2
|
+
|
|
3
|
+
**Priority**: P1 — Mobile apps must be functional without network connectivity.
|
|
4
|
+
|
|
5
|
+
1. **Optimistic UI required**: User actions update the UI immediately without waiting for network.
|
|
6
|
+
2. **Network state awareness**: Every screen requiring network data handles offline state with clear UI feedback, not blank screens.
|
|
7
|
+
3. **Sync conflict resolution**: Defined conflict resolution strategy must exist and be documented.
|
|
8
|
+
4. **Queue persistence**: Outgoing action queue must be persisted to disk (not memory) to survive app termination.
|
|
9
|
+
5. **Background sync**: Queued actions synced when connectivity restored, including when app is backgrounded.
|
|
10
|
+
6. **Stale data disclosure**: Cached data older than SLA for that data type must be labeled "Last updated X ago."
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Rule: Mobile Performance Budget
|
|
2
|
+
|
|
3
|
+
**Priority**: P1 — Poor mobile performance directly correlates with abandonment.
|
|
4
|
+
|
|
5
|
+
## Thresholds
|
|
6
|
+
|
|
7
|
+
| Metric | Target | Hard Limit |
|
|
8
|
+
|:---|:---|:---|
|
|
9
|
+
| Cold start | < 2s | < 3s |
|
|
10
|
+
| Time to interactive | < 1s after bundle | < 2s |
|
|
11
|
+
| JS bundle size | < 2 MB | < 4 MB |
|
|
12
|
+
| Memory usage (background) | < 50 MB | < 100 MB |
|
|
13
|
+
| Frame rate | 60 fps | 30 fps minimum |
|
|
14
|
+
|
|
15
|
+
## Constraints
|
|
16
|
+
|
|
17
|
+
1. **No blocking the JS thread**: Long computations offloaded to native modules or worker threads.
|
|
18
|
+
2. **FlatList for all lists**: Never `ScrollView` for lists of unknown length. Use `FlatList` or `FlashList`.
|
|
19
|
+
3. **Image optimization**: All images resized to display size before loading. Use `FastImage` for caching.
|
|
20
|
+
4. **Hermes engine**: Must be enabled on both platforms.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Rule: Platform Compliance
|
|
2
|
+
|
|
3
|
+
**Priority**: P0 — Violations cause App Store / Play Store rejection or delisting.
|
|
4
|
+
|
|
5
|
+
## iOS (App Store)
|
|
6
|
+
|
|
7
|
+
1. **Privacy nutrition labels**: All data collected declared in App Store Connect privacy section.
|
|
8
|
+
2. **Required capabilities declared**: Every capability (camera, location, microphone) declared in `Info.plist` with usage description.
|
|
9
|
+
3. **In-app purchase compliance**: Digital goods must use Apple IAP. No workarounds for App Store builds.
|
|
10
|
+
4. **Minimum iOS version**: Support iOS 16+ minimum.
|
|
11
|
+
|
|
12
|
+
## Android (Play Store)
|
|
13
|
+
|
|
14
|
+
1. **Permissions at runtime**: Request dangerous permissions at point of use, not at app launch.
|
|
15
|
+
2. **Target SDK current**: `targetSdkVersion` within 1 year of latest Android API level.
|
|
16
|
+
3. **64-bit requirement**: All native libraries must provide 64-bit versions.
|
|
17
|
+
4. **Data safety section**: Play Console data safety form must accurately reflect all data collected.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Rule: Mobile Security
|
|
2
|
+
|
|
3
|
+
**Priority**: P0 — Mobile security vulnerabilities expose user data directly on device.
|
|
4
|
+
|
|
5
|
+
1. **No sensitive data in AsyncStorage**: Use `react-native-keychain` (Keychain/Keystore) for tokens, passwords, PII.
|
|
6
|
+
2. **Certificate pinning**: Apps handling financial or health data must implement SSL certificate pinning.
|
|
7
|
+
3. **No sensitive data in logs**: PII scrubbing enabled in logging. Staging-only log levels in production builds.
|
|
8
|
+
4. **Screenshot prevention**: Payment and auth screens must set `FLAG_SECURE` (Android) / `allowScreenshots = false` (iOS).
|
|
9
|
+
5. **Deep link validation**: All deep link handlers must validate URL scheme and path patterns before processing parameters.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Skill: App Store Submission Preparation
|
|
2
|
+
|
|
3
|
+
## When to load
|
|
4
|
+
|
|
5
|
+
When preparing a release build or responding to rejection reasons.
|
|
6
|
+
|
|
7
|
+
## Pre-Submission Checklist
|
|
8
|
+
|
|
9
|
+
### Both Platforms
|
|
10
|
+
- [ ] Version code/build number incremented
|
|
11
|
+
- [ ] Release notes written (plain language, user-facing changes)
|
|
12
|
+
- [ ] All new permissions declared with usage descriptions
|
|
13
|
+
- [ ] Deep links tested end-to-end
|
|
14
|
+
- [ ] Crash-free rate > 99.5% in pre-release testing
|
|
15
|
+
- [ ] No debug flags in release build
|
|
16
|
+
|
|
17
|
+
### iOS Specific
|
|
18
|
+
- [ ] `Info.plist` usage descriptions for all capabilities
|
|
19
|
+
- [ ] Privacy nutrition labels updated in App Store Connect
|
|
20
|
+
- [ ] TestFlight validated on ≥ 5 real devices
|
|
21
|
+
- [ ] Screenshots updated for new features
|
|
22
|
+
|
|
23
|
+
### Android Specific
|
|
24
|
+
- [ ] `targetSdkVersion` current year's API level
|
|
25
|
+
- [ ] Data safety form updated in Play Console
|
|
26
|
+
- [ ] App Bundle (`.aab`) submitted (not APK)
|
|
27
|
+
- [ ] Internal → Closed → Production promotion flow followed
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Skill: Mobile Testing (Detox)
|
|
2
|
+
|
|
3
|
+
## When to load
|
|
4
|
+
|
|
5
|
+
When writing E2E tests for mobile or configuring Detox.
|
|
6
|
+
|
|
7
|
+
## Detox Test Pattern
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
describe('Login flow', () => {
|
|
11
|
+
beforeAll(async () => { await device.launchApp({ newInstance: true }); });
|
|
12
|
+
beforeEach(async () => { await device.reloadReactNative(); });
|
|
13
|
+
|
|
14
|
+
it('should login with valid credentials', async () => {
|
|
15
|
+
await element(by.id('email-input')).typeText('test@example.com');
|
|
16
|
+
await element(by.id('password-input')).typeText('password123');
|
|
17
|
+
await element(by.id('login-button')).tap();
|
|
18
|
+
|
|
19
|
+
await waitFor(element(by.id('home-screen')))
|
|
20
|
+
.toBeVisible()
|
|
21
|
+
.withTimeout(5000);
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
it('should show error for wrong password', async () => {
|
|
25
|
+
await element(by.id('email-input')).typeText('test@example.com');
|
|
26
|
+
await element(by.id('password-input')).typeText('wrongpassword');
|
|
27
|
+
await element(by.id('login-button')).tap();
|
|
28
|
+
|
|
29
|
+
await waitFor(element(by.id('error-message')))
|
|
30
|
+
.toBeVisible()
|
|
31
|
+
.withTimeout(3000);
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
**Key**: Use `testID` prop on elements for reliable Detox selection. Never rely on text content alone.
|