@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,38 @@
|
|
|
1
|
+
# Skill: Native Module Integration
|
|
2
|
+
|
|
3
|
+
## When to load
|
|
4
|
+
|
|
5
|
+
When integrating device APIs, bridging to native SDKs, or debugging platform-specific behavior.
|
|
6
|
+
|
|
7
|
+
## When to Use Native Modules
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
Use Native Module:
|
|
11
|
+
- Device hardware (camera, accelerometer, NFC, Bluetooth)
|
|
12
|
+
- Cryptographic operations (device secure enclave)
|
|
13
|
+
- Computation-intensive tasks (image processing, on-device ML)
|
|
14
|
+
- Third-party SDKs without JS wrapper
|
|
15
|
+
|
|
16
|
+
Stay in JS/React Native:
|
|
17
|
+
- UI rendering and interactions
|
|
18
|
+
- Network requests
|
|
19
|
+
- State management
|
|
20
|
+
- Business logic not requiring device APIs
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Biometric Authentication
|
|
24
|
+
|
|
25
|
+
```typescript
|
|
26
|
+
import ReactNativeBiometrics from 'react-native-biometrics';
|
|
27
|
+
|
|
28
|
+
export async function authenticateWithBiometrics(): Promise<boolean> {
|
|
29
|
+
const rnBiometrics = new ReactNativeBiometrics({ allowDeviceCredentials: true });
|
|
30
|
+
const { biometryType } = await rnBiometrics.isSensorAvailable();
|
|
31
|
+
if (!biometryType) return authenticateWithPin();
|
|
32
|
+
|
|
33
|
+
const { success } = await rnBiometrics.simplePrompt({
|
|
34
|
+
promptMessage: biometryType === 'FaceID' ? 'Confirm with Face ID' : 'Confirm with fingerprint'
|
|
35
|
+
});
|
|
36
|
+
return success;
|
|
37
|
+
}
|
|
38
|
+
```
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Skill: Navigation Patterns (React Navigation)
|
|
2
|
+
|
|
3
|
+
## When to load
|
|
4
|
+
|
|
5
|
+
When designing app navigation, implementing deep linking, or handling auth flows.
|
|
6
|
+
|
|
7
|
+
## Architecture
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
const RootNavigator = () => {
|
|
11
|
+
const { isAuthenticated, isLoading } = useAuth();
|
|
12
|
+
if (isLoading) return <SplashScreen />;
|
|
13
|
+
|
|
14
|
+
return (
|
|
15
|
+
<NavigationContainer linking={linking} ref={navigationRef}>
|
|
16
|
+
{isAuthenticated ? <AppNavigator /> : <AuthNavigator />}
|
|
17
|
+
</NavigationContainer>
|
|
18
|
+
);
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
const AppNavigator = () => (
|
|
22
|
+
<BottomTabs.Navigator>
|
|
23
|
+
<BottomTabs.Screen name="HomeTab" component={HomeStackNavigator} />
|
|
24
|
+
<BottomTabs.Screen name="ProfileTab" component={ProfileStackNavigator} />
|
|
25
|
+
</BottomTabs.Navigator>
|
|
26
|
+
);
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Deep Link Validation
|
|
30
|
+
|
|
31
|
+
```typescript
|
|
32
|
+
export const linking: LinkingOptions<RootStackParamList> = {
|
|
33
|
+
prefixes: ['myapp://', 'https://myapp.com'],
|
|
34
|
+
config: {
|
|
35
|
+
screens: {
|
|
36
|
+
HomeTab: {
|
|
37
|
+
screens: {
|
|
38
|
+
OrderDetail: {
|
|
39
|
+
path: 'orders/:orderId',
|
|
40
|
+
parse: { orderId: String },
|
|
41
|
+
// Sanitize: only alphanumeric and dashes
|
|
42
|
+
stringify: { orderId: (id) => id.replace(/[^a-zA-Z0-9-]/g, '') },
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
```
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Skill: Push Notifications
|
|
2
|
+
|
|
3
|
+
## When to load
|
|
4
|
+
|
|
5
|
+
When implementing push notifications, handling notification permissions, or debugging delivery.
|
|
6
|
+
|
|
7
|
+
## Permission Request (Ask at Right Moment)
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
// ❌ Never ask at app launch
|
|
11
|
+
// ✅ Ask when user understands the value
|
|
12
|
+
async function requestNotificationPermission(context: string): Promise<boolean> {
|
|
13
|
+
// Show custom pre-permission explanation first
|
|
14
|
+
const userAgreed = await showNotificationExplanation(context);
|
|
15
|
+
if (!userAgreed) return false;
|
|
16
|
+
|
|
17
|
+
const { status } = await Notifications.requestPermissionsAsync();
|
|
18
|
+
return status === 'granted';
|
|
19
|
+
}
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Notification Categories (Deep Link on Tap)
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
Notifications.setNotificationHandler({
|
|
26
|
+
handleNotification: async () => ({
|
|
27
|
+
shouldShowAlert: true,
|
|
28
|
+
shouldPlaySound: true,
|
|
29
|
+
shouldSetBadge: true,
|
|
30
|
+
}),
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
// Handle tap → navigate to correct screen
|
|
34
|
+
Notifications.addNotificationResponseReceivedListener(response => {
|
|
35
|
+
const data = response.notification.request.content.data;
|
|
36
|
+
if (data.type === 'order_update') {
|
|
37
|
+
navigationRef.navigate('OrderDetail', { orderId: data.order_id });
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
```
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Skill: Offline State Sync
|
|
2
|
+
|
|
3
|
+
## When to load
|
|
4
|
+
|
|
5
|
+
When implementing offline-first features, handling optimistic updates, or building sync queues.
|
|
6
|
+
|
|
7
|
+
## Optimistic Update Pattern
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
const mutation = useMutation({
|
|
11
|
+
mutationFn: api.createOrder,
|
|
12
|
+
onMutate: async (newOrder) => {
|
|
13
|
+
await queryClient.cancelQueries({ queryKey: ['orders'] });
|
|
14
|
+
const previousOrders = queryClient.getQueryData<Order[]>(['orders']);
|
|
15
|
+
queryClient.setQueryData<Order[]>(['orders'], (old = []) => [
|
|
16
|
+
{ ...newOrder, id: `temp_${Date.now()}`, _isOptimistic: true }, ...old
|
|
17
|
+
]);
|
|
18
|
+
return { previousOrders };
|
|
19
|
+
},
|
|
20
|
+
onError: (_, __, context) => {
|
|
21
|
+
queryClient.setQueryData(['orders'], context?.previousOrders);
|
|
22
|
+
offlineQueue.enqueue({ type: 'CREATE_ORDER', payload: newOrder });
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Offline Queue (MMKV)
|
|
28
|
+
|
|
29
|
+
```typescript
|
|
30
|
+
import { MMKV } from 'react-native-mmkv';
|
|
31
|
+
const storage = new MMKV({ id: 'offline-queue' });
|
|
32
|
+
|
|
33
|
+
export const offlineQueue = {
|
|
34
|
+
enqueue(action) {
|
|
35
|
+
const queue = this.getAll();
|
|
36
|
+
storage.set('queue', JSON.stringify([...queue, { ...action, id: `action_${Date.now()}`, retryCount: 0 }]));
|
|
37
|
+
},
|
|
38
|
+
getAll(): QueuedAction[] {
|
|
39
|
+
return JSON.parse(storage.getString('queue') ?? '[]');
|
|
40
|
+
},
|
|
41
|
+
async flush() {
|
|
42
|
+
for (const action of this.getAll()) {
|
|
43
|
+
try { await dispatch(action); this.remove(action.id); }
|
|
44
|
+
catch { this.incrementRetry(action.id); }
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
```
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: crash-triage
|
|
3
|
+
type: workflow
|
|
4
|
+
trigger: /crash-triage
|
|
5
|
+
description: Diagnose, reproduce, and fix a mobile crash with symbolication and regression test coverage.
|
|
6
|
+
inputs:
|
|
7
|
+
- platform
|
|
8
|
+
- app_version
|
|
9
|
+
outputs:
|
|
10
|
+
- verified_fix
|
|
11
|
+
- regression_test
|
|
12
|
+
roles:
|
|
13
|
+
- developer
|
|
14
|
+
- qa
|
|
15
|
+
- team-lead
|
|
16
|
+
execution:
|
|
17
|
+
initiator: developer
|
|
18
|
+
related-rules:
|
|
19
|
+
- platform-compliance.md
|
|
20
|
+
- security-mobile.md
|
|
21
|
+
uses-skills:
|
|
22
|
+
- mobile-testing
|
|
23
|
+
- native-modules
|
|
24
|
+
quality-gates:
|
|
25
|
+
- crash reproduced before fix is written
|
|
26
|
+
- fix verified on physical device
|
|
27
|
+
- crash-free rate threshold met post-fix
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## Steps
|
|
31
|
+
|
|
32
|
+
### 1. Gather & Symbolicate — `@developer`
|
|
33
|
+
- **Input:** platform (ios/android), version
|
|
34
|
+
- **Actions:** fetch crash-free rate by version from Firebase/Crashlytics; pull crash logs for target version; identify top 3 crash signatures; iOS → download dSYM from App Store Connect, symbolicate; Android → use ProGuard mapping to deobfuscate
|
|
35
|
+
- **Output:** symbolicated crash report; top 3 signatures identified
|
|
36
|
+
- **Done when:** readable stack traces available
|
|
37
|
+
|
|
38
|
+
### 2. Reproduce — `@qa`
|
|
39
|
+
- **Input:** symbolicated crash report with breadcrumbs
|
|
40
|
+
- **Actions:** identify reproduction conditions from breadcrumbs/logs; attempt reproduction in debug build; if not reproducible in simulator → test on physical device; document minimal reproduction steps
|
|
41
|
+
- **Output:** confirmed reproduction steps
|
|
42
|
+
- **Done when:** crash reliably reproducible
|
|
43
|
+
|
|
44
|
+
### 3. Root Cause — `@developer`
|
|
45
|
+
- **Input:** reproduction steps
|
|
46
|
+
- **Actions:** map crash to source code location; determine: our code vs. third-party library?; check recent commits touching this file: `git log -p -- <file>`
|
|
47
|
+
- **Output:** root cause identified; suspected commit or code path
|
|
48
|
+
- **Done when:** root cause confirmed
|
|
49
|
+
|
|
50
|
+
### 4. Fix & Regression Test — `@developer`
|
|
51
|
+
- **Input:** confirmed root cause
|
|
52
|
+
- **Actions:** implement fix with regression test; confirm fix on physical device before submitting; if crash-free rate < 99% → trigger `/ota-update` (JS change) or `/store-submission` (native change)
|
|
53
|
+
- **Output:** fix + regression test on branch; device-verified
|
|
54
|
+
- **Done when:** fix confirmed on device; regression test passes
|
|
55
|
+
|
|
56
|
+
### 5. Verification — `@qa`
|
|
57
|
+
- **Input:** fix branch
|
|
58
|
+
- **Actions:** reproduce original crash with fix applied — confirm resolved; run device test matrix on fix build; verify crash-free rate meets threshold in pre-release track
|
|
59
|
+
- **Output:** verification report with device results
|
|
60
|
+
- **Done when:** crash resolved on all tested devices; crash-free rate confirmed
|
|
61
|
+
|
|
62
|
+
## Exit
|
|
63
|
+
Device-verified fix + passing regression test + crash-free rate restored = triage complete.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: device-testing
|
|
3
|
+
type: workflow
|
|
4
|
+
trigger: /device-testing
|
|
5
|
+
description: Execute tests on a real device farm matrix before release to catch device-specific failures.
|
|
6
|
+
inputs:
|
|
7
|
+
- test_suite
|
|
8
|
+
- platform
|
|
9
|
+
outputs:
|
|
10
|
+
- device_test_matrix_report
|
|
11
|
+
- release_recommendation
|
|
12
|
+
roles:
|
|
13
|
+
- qa
|
|
14
|
+
- team-lead
|
|
15
|
+
execution:
|
|
16
|
+
initiator: qa
|
|
17
|
+
related-rules:
|
|
18
|
+
- platform-compliance.md
|
|
19
|
+
- performance-budget.md
|
|
20
|
+
uses-skills:
|
|
21
|
+
- mobile-testing
|
|
22
|
+
quality-gates:
|
|
23
|
+
- device matrix covers latest 2 OS versions per platform
|
|
24
|
+
- critical tests pass on ≥ 80% of device matrix
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## Steps
|
|
28
|
+
|
|
29
|
+
### 1. Select Device Matrix — `@qa`
|
|
30
|
+
- **Input:** platform (ios / android / all)
|
|
31
|
+
- **Actions:** iOS: latest 2 iOS versions × [iPhone SE, iPhone 15, iPad]; Android: latest 2 Android versions × [low-end, mid-range, high-end]
|
|
32
|
+
- **Output:** confirmed device matrix
|
|
33
|
+
- **Done when:** matrix defined; device farm slots available
|
|
34
|
+
|
|
35
|
+
### 2. Upload Build — `@developer`
|
|
36
|
+
- **Input:** device matrix
|
|
37
|
+
- **Actions:** upload IPA/APK to device farm (AWS Device Farm / BrowserStack)
|
|
38
|
+
- **Output:** build available on device farm
|
|
39
|
+
- **Done when:** upload confirmed; build ID recorded
|
|
40
|
+
|
|
41
|
+
### 3. Execute Test Suite — `@qa`
|
|
42
|
+
- **Input:** uploaded build + device matrix
|
|
43
|
+
- **Actions:** run Detox (or project test framework) test suite on all matrix devices; capture per device: video, screenshots, logs, performance metrics
|
|
44
|
+
- **Output:** raw test results per device
|
|
45
|
+
- **Done when:** all devices executed; evidence captured
|
|
46
|
+
|
|
47
|
+
### 4. Analyze Results — `@qa` + `@team-lead`
|
|
48
|
+
- **Input:** raw results
|
|
49
|
+
- **Actions:** flag device-specific failures (not present in emulator); check: layout issues, performance variations, permission dialog handling; classify: critical (blocks release) vs. minor (track); block release if critical tests fail on > 20% of device matrix
|
|
50
|
+
- **Output:** pass/fail matrix by device × test; failure screenshots with device context
|
|
51
|
+
- **Done when:** all failures classified; release recommendation made
|
|
52
|
+
|
|
53
|
+
## Exit
|
|
54
|
+
Device matrix report + explicit go/no-go = device testing complete.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ota-update
|
|
3
|
+
type: workflow
|
|
4
|
+
trigger: /ota-update
|
|
5
|
+
description: Deploy a JS-only over-the-air update with staged rollout and crash-rate monitoring.
|
|
6
|
+
inputs:
|
|
7
|
+
- bundle_scope
|
|
8
|
+
- rollout_target
|
|
9
|
+
outputs:
|
|
10
|
+
- deployed_ota_bundle
|
|
11
|
+
- adoption_report
|
|
12
|
+
roles:
|
|
13
|
+
- developer
|
|
14
|
+
- qa
|
|
15
|
+
execution:
|
|
16
|
+
initiator: developer
|
|
17
|
+
related-rules:
|
|
18
|
+
- platform-compliance.md
|
|
19
|
+
- offline-first.md
|
|
20
|
+
uses-skills:
|
|
21
|
+
- native-modules
|
|
22
|
+
quality-gates:
|
|
23
|
+
- OTA eligibility confirmed (JS-only, no native modules changed)
|
|
24
|
+
- crash-free rate stable after 5% rollout before expanding
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## Steps
|
|
28
|
+
|
|
29
|
+
### 1. Validate OTA Eligibility — `@developer`
|
|
30
|
+
- **Input:** change description
|
|
31
|
+
- **Actions:** confirm change is JS-only — no native module changes; check for any new native dependencies → if found: HALT and use `/store-submission`
|
|
32
|
+
- **Output:** eligibility confirmed
|
|
33
|
+
- **Done when:** JS-only change verified; native deps unchanged
|
|
34
|
+
|
|
35
|
+
### 2. Build Bundle — `@developer`
|
|
36
|
+
- **Input:** eligibility confirmation
|
|
37
|
+
- **Actions:** compile JS bundle for production; verify bundle size is within project budget; test bundle locally before deploying
|
|
38
|
+
- **Output:** production JS bundle
|
|
39
|
+
- **Done when:** bundle builds clean; size within budget
|
|
40
|
+
|
|
41
|
+
### 3. Staged Rollout — `@developer`
|
|
42
|
+
- **Input:** production bundle
|
|
43
|
+
- **Actions:** deploy to 5% of users; monitor crash-free rate and JS error rate for 1 hour; if stable → expand to 50% → 100%; rollback command ready: `expo update:rollback` / `CodePush rollback`
|
|
44
|
+
- **Output:** staged rollout active; monitoring in progress
|
|
45
|
+
- **Done when:** 100% of users on new bundle with no incidents
|
|
46
|
+
|
|
47
|
+
### 4. Monitor Adoption — `@qa`
|
|
48
|
+
- **Input:** active rollout
|
|
49
|
+
- **Actions:** track bundle adoption %; expected full adoption: 24–48 hours; monitor JS error rate throughout adoption window
|
|
50
|
+
- **Output:** adoption report with timeline and error rate
|
|
51
|
+
- **Done when:** full adoption reached; no error rate regression
|
|
52
|
+
|
|
53
|
+
## Exit
|
|
54
|
+
100% adoption + stable error rate = OTA update complete.
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: release-build
|
|
3
|
+
type: workflow
|
|
4
|
+
trigger: /release-build
|
|
5
|
+
description: Build, sign, validate, and upload a production-ready mobile release artifact for iOS and/or Android.
|
|
6
|
+
inputs:
|
|
7
|
+
- platform
|
|
8
|
+
- environment
|
|
9
|
+
- version
|
|
10
|
+
outputs:
|
|
11
|
+
- signed_release_artifact
|
|
12
|
+
- smoke_test_evidence
|
|
13
|
+
roles:
|
|
14
|
+
- developer
|
|
15
|
+
- qa
|
|
16
|
+
- team-lead
|
|
17
|
+
execution:
|
|
18
|
+
initiator: developer
|
|
19
|
+
related-rules:
|
|
20
|
+
- platform-compliance.md
|
|
21
|
+
- security-mobile.md
|
|
22
|
+
- performance-budget.md
|
|
23
|
+
uses-skills:
|
|
24
|
+
- app-store-prep
|
|
25
|
+
- mobile-testing
|
|
26
|
+
quality-gates:
|
|
27
|
+
- no debug flags or dev endpoints in release build
|
|
28
|
+
- Detox smoke tests pass on physical device
|
|
29
|
+
- artifact hash verified before upload
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## Steps
|
|
33
|
+
|
|
34
|
+
### 1. Version Validation — `@developer`
|
|
35
|
+
- **Input:** version string
|
|
36
|
+
- **Actions:** confirm semver format; increment build number (versionCode / CFBundleVersion); verify git tag does not already exist
|
|
37
|
+
- **Output:** version confirmed; git tag reserved
|
|
38
|
+
- **Done when:** version unambiguous; no tag conflicts
|
|
39
|
+
|
|
40
|
+
### 2. Environment Check — `@developer`
|
|
41
|
+
- **Input:** target environment (staging / production)
|
|
42
|
+
- **Actions:** correct `.env` file loaded (no dev endpoints); all required env vars populated; no debug flags set (`DEV=false`, `FLIPPER=false`, sentry set to production DSN)
|
|
43
|
+
- **Output:** environment validation passed
|
|
44
|
+
- **Done when:** zero dev/debug flags in release config
|
|
45
|
+
|
|
46
|
+
### 3. Build — `@developer`
|
|
47
|
+
- **Input:** validated environment
|
|
48
|
+
- **Actions:**
|
|
49
|
+
- iOS: `cd ios && pod install`; `xcodebuild archive -scheme MyApp -configuration Release`; export IPA with production signing profile
|
|
50
|
+
- Android: `./gradlew clean`; `./gradlew bundleRelease`; sign with release keystore (credentials from CI secrets)
|
|
51
|
+
- **Output:** IPA (iOS) / AAB (Android) artifact
|
|
52
|
+
- **Done when:** build exits 0; artifact produced
|
|
53
|
+
|
|
54
|
+
### 4. Validate Build — `@qa`
|
|
55
|
+
- **Input:** build artifact
|
|
56
|
+
- **Actions:** install on physical device; run Detox smoke tests; verify: launch, login, core action, crash-free; confirm no dev/debug indicators visible in UI
|
|
57
|
+
- **Output:** smoke test evidence; device validation record
|
|
58
|
+
- **Done when:** all smoke tests pass on physical device
|
|
59
|
+
|
|
60
|
+
### 5. Upload & Report — `@developer` + `@team-lead`
|
|
61
|
+
- **Input:** validated artifact
|
|
62
|
+
- **Actions:** `@team-lead` reviews smoke evidence; `@developer` uploads to TestFlight (iOS) or Firebase App Distribution (Android); record artifact path with hash; notify QA and PM
|
|
63
|
+
- **Output:** artifact uploaded; hash recorded; team notified
|
|
64
|
+
- **Done when:** upload confirmed; team has TestFlight/App Distribution link
|
|
65
|
+
|
|
66
|
+
## Exit
|
|
67
|
+
Signed artifact uploaded + smoke tests passed + `@team-lead` approval = release build complete.
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: store-submission
|
|
3
|
+
type: workflow
|
|
4
|
+
trigger: /store-submission
|
|
5
|
+
description: Submit a validated mobile release to App Store or Google Play with compliance check and post-release monitoring.
|
|
6
|
+
inputs:
|
|
7
|
+
- platform
|
|
8
|
+
- build_path
|
|
9
|
+
outputs:
|
|
10
|
+
- store_submission
|
|
11
|
+
- post_release_monitoring_plan
|
|
12
|
+
roles:
|
|
13
|
+
- developer
|
|
14
|
+
- qa
|
|
15
|
+
- team-lead
|
|
16
|
+
execution:
|
|
17
|
+
initiator: qa
|
|
18
|
+
related-rules:
|
|
19
|
+
- platform-compliance.md
|
|
20
|
+
- security-mobile.md
|
|
21
|
+
uses-skills:
|
|
22
|
+
- app-store-prep
|
|
23
|
+
- mobile-testing
|
|
24
|
+
quality-gates:
|
|
25
|
+
- crash-free rate ≥ 99.5% in pre-release track
|
|
26
|
+
- privacy labels match actual data collection
|
|
27
|
+
- compliance checklist from app-store-prep skill completed
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## Steps
|
|
31
|
+
|
|
32
|
+
### 1. Validate Build — `@qa`
|
|
33
|
+
- **Input:** build artifact
|
|
34
|
+
- **Actions:** confirm all quality gates passed; physical device tests passed; crash-free rate in pre-release track ≥ 99.5%; run `app-store-prep` skill compliance checklist
|
|
35
|
+
- **Output:** quality gate sign-off
|
|
36
|
+
- **Done when:** all gates passed; `@team-lead` approves
|
|
37
|
+
|
|
38
|
+
### 2. Prepare Metadata — `@developer`
|
|
39
|
+
- **Input:** approved build
|
|
40
|
+
- **Actions:** update release notes (localized if applicable); update screenshots if UI changed; update app description if features changed
|
|
41
|
+
- **Output:** updated store metadata
|
|
42
|
+
- **Done when:** metadata reflects current release
|
|
43
|
+
|
|
44
|
+
### 3. Compliance Check — `@team-lead`
|
|
45
|
+
- **Input:** metadata + build
|
|
46
|
+
- **Actions:** privacy labels match actual data collection; permission usage descriptions current; no undisclosed data sharing; verify age rating is correct
|
|
47
|
+
- **Output:** compliance sign-off
|
|
48
|
+
- **Done when:** all compliance items confirmed
|
|
49
|
+
|
|
50
|
+
### 4. Submit — `@developer`
|
|
51
|
+
- **Input:** compliance-approved build + metadata
|
|
52
|
+
- **Actions:** iOS: upload IPA via Transporter → submit for App Review (24–48h); Android: upload AAB to internal track → promote: internal → closed → production (20% initial rollout)
|
|
53
|
+
- **Output:** submission confirmation
|
|
54
|
+
- **Done when:** submission received by store
|
|
55
|
+
|
|
56
|
+
### 5. Monitor Post-Release — `@qa`
|
|
57
|
+
- **Input:** live release
|
|
58
|
+
- **Actions:** watch for rating spike (negative reviews may indicate regression); monitor crash-free rate for first 48 hours; respond to App Review feedback if rejection; escalate to `/crash-triage` if crash-free rate drops
|
|
59
|
+
- **Output:** post-release monitoring report (48h window)
|
|
60
|
+
- **Done when:** 48 hours stable; no new critical issues
|
|
61
|
+
|
|
62
|
+
## Exit
|
|
63
|
+
Submission live + stable 48h monitoring = release complete.
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# Platform — guidance index
|
|
2
|
+
|
|
3
|
+
## What this area covers
|
|
4
|
+
|
|
5
|
+
Internal platform engineering for software teams: Kubernetes manifests, Terraform patterns, CI/CD pipeline setup, secrets management, observability stack configuration, networking, cost governance, and production incident response. The platform area bridges software development and dedicated DevOps specializations.
|
|
6
|
+
|
|
7
|
+
## Guidance chain
|
|
8
|
+
|
|
9
|
+
1. Project `.agent/` baseline (`AGENTS.md` + `.agent/*`)
|
|
10
|
+
2. `software/general/rules/*` — always active
|
|
11
|
+
3. `platform/rules/*` — load all for this spec
|
|
12
|
+
4. `platform/skills/*/SKILL.md` — load only the skill matching the current task
|
|
13
|
+
5. `platform/workflows/*` — load the workflow matching the triggered command
|
|
14
|
+
|
|
15
|
+
## Spec selection
|
|
16
|
+
|
|
17
|
+
For deep platform specialization, prefer the dedicated DevOps area specs:
|
|
18
|
+
|
|
19
|
+
| Task type | Preferred spec |
|
|
20
|
+
|:---|:---|
|
|
21
|
+
| Kubernetes cluster operations | `devops/kubernetes/` |
|
|
22
|
+
| Terraform IaC at scale | `devops/infrastructure/` |
|
|
23
|
+
| Observability stack (Prometheus/Grafana) | `devops/observability/` |
|
|
24
|
+
| SRE / SLO / incident management | `devops/sre/` |
|
|
25
|
+
| CI/CD pipelines | `devops/ci-cd/` |
|
|
26
|
+
| General platform work in a software project | `software/platform/` ← this spec |
|
|
27
|
+
|
|
28
|
+
## Platform-specific constraints
|
|
29
|
+
|
|
30
|
+
- All infrastructure changes are version-controlled; no manual changes to shared environments.
|
|
31
|
+
- Cost governance: any resource creation above the defined threshold requires a cost estimate in the PR.
|
|
32
|
+
- Secrets are never stored in manifests, pipelines, or environment files — vault integration is mandatory.
|
|
33
|
+
- Incident response follows the severity classification defined in `rules/reliability.md`.
|
|
34
|
+
|
|
35
|
+
## Spec map
|
|
36
|
+
|
|
37
|
+
```text
|
|
38
|
+
platform/
|
|
39
|
+
├── rules/
|
|
40
|
+
│ ├── immutability.md ← no manual infra changes; IaC-first discipline
|
|
41
|
+
│ ├── reliability.md ← SLO targets, incident severity, on-call expectations
|
|
42
|
+
│ ├── security-posture.md ← image scanning, RBAC, secret hygiene
|
|
43
|
+
│ └── cost-governance.md ← budget alerts, resource tagging, approval thresholds
|
|
44
|
+
├── skills/
|
|
45
|
+
│ ├── k8s-manifests/SKILL.md ← deployment, service, ingress, HPA patterns
|
|
46
|
+
│ ├── terraform-patterns/SKILL.md ← module structure, state, variable design
|
|
47
|
+
│ ├── ci-cd-pipelines/SKILL.md ← GitHub Actions / GitLab CI for app teams
|
|
48
|
+
│ ├── secrets-management/SKILL.md ← Vault, External Secrets Operator, rotation
|
|
49
|
+
│ ├── observability-setup/SKILL.md ← Prometheus scraping, Grafana dashboards
|
|
50
|
+
│ ├── networking/SKILL.md ← ingress, TLS, DNS, service mesh basics
|
|
51
|
+
│ └── incident-response/SKILL.md ← triage, comms, runbook execution
|
|
52
|
+
├── workflows/
|
|
53
|
+
│ ├── provision-env.md ← /provision-env
|
|
54
|
+
│ ├── deploy-production.md ← /deploy-production
|
|
55
|
+
│ ├── drift-check.md ← /drift-check
|
|
56
|
+
│ ├── incident-response.md ← /incident-response
|
|
57
|
+
│ └── cost-audit.md ← /cost-audit
|
|
58
|
+
└── prompts/
|
|
59
|
+
└── *.md
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Discovery patterns
|
|
63
|
+
|
|
64
|
+
- `rules/*.md`
|
|
65
|
+
- `skills/*/SKILL.md`
|
|
66
|
+
- `workflows/*.md`
|
|
67
|
+
- `prompts/*.md`
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# PROMPTS: platform
|
|
2
|
+
|
|
3
|
+
Use these prompts with `AGENTS.md` from the same directory.
|
|
4
|
+
|
|
5
|
+
## 1) Initialize agent behavior
|
|
6
|
+
|
|
7
|
+
```text
|
|
8
|
+
Read `platform/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 `platform/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 `platform/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 `platform/AGENTS.md`, prepare release checklist for: <release scope>.
|
|
31
|
+
Include quality gates, security gates, performance gates, and deployment validation.
|
|
32
|
+
```
|