@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,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
trigger: always_on
|
|
3
|
+
glob: docker-compose-guide
|
|
4
|
+
description: Docker Compose best practices for local multi-service development
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Docker Compose Rule
|
|
8
|
+
|
|
9
|
+
**Rules:**
|
|
10
|
+
|
|
11
|
+
- Use `docker-compose.yml` for local development environment definition.
|
|
12
|
+
- Separate configs: `docker-compose.yml` (base) + `docker-compose.override.yml` (local dev overrides).
|
|
13
|
+
- All service configuration via environment variables — never hardcode in images.
|
|
14
|
+
- Use `.env` file for local variable defaults; add `.env` to `.gitignore`.
|
|
15
|
+
- Define `healthcheck:` for all stateful services (databases, caches, queues).
|
|
16
|
+
- Dependent services use `depends_on: condition: service_healthy` (not just `depends_on`).
|
|
17
|
+
- Use named volumes for persistent data; bind mounts only for source code in dev.
|
|
18
|
+
- Pin image versions explicitly — never use `latest` tag in committed configs.
|
|
19
|
+
- Define a custom network instead of relying on default bridge network for clarity.
|
|
20
|
+
- Expose only necessary ports to the host; internal service communication via service names.
|
|
21
|
+
|
|
22
|
+
**Violations:**
|
|
23
|
+
|
|
24
|
+
- Using `latest` image tags in committed compose files.
|
|
25
|
+
- Hardcoded credentials in `docker-compose.yml`.
|
|
26
|
+
- Missing health checks causing race conditions on startup.
|
|
27
|
+
- Bind-mounting entire home directory or system paths.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
trigger: always_on
|
|
3
|
+
glob: git-workflow-guide
|
|
4
|
+
description: enforce clean git branching, commit, and pull request practices
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Git Workflow Rule
|
|
8
|
+
|
|
9
|
+
**Rules:**
|
|
10
|
+
|
|
11
|
+
- Use dedicated feature branches per task; branch name format: `feature/<task-id>-short-description`.
|
|
12
|
+
- Branch types: `feature/`, `bugfix/`, `hotfix/`, `chore/`, `release/`.
|
|
13
|
+
- Direct commits to `main`/`master` are forbidden; all changes merged via Pull/Merge Request.
|
|
14
|
+
- Commit messages follow Conventional Commits format: `<type>(<scope>): <subject>`.
|
|
15
|
+
- Types: `feat`, `fix`, `docs`, `chore`, `refactor`, `test`, `ci`.
|
|
16
|
+
- Keep commits atomic — one logical change per commit.
|
|
17
|
+
- Squash or rebase before merging to keep linear history.
|
|
18
|
+
- Tag releases with semantic versions: `v<major>.<minor>.<patch>`.
|
|
19
|
+
- Maintain `.gitignore` — never commit secrets, build artifacts, or IDE configs.
|
|
20
|
+
- Use `.pre-commit-config.yaml` to run lint/format/tests before every commit.
|
|
21
|
+
|
|
22
|
+
**Violations:**
|
|
23
|
+
|
|
24
|
+
- Committing directly to protected branches.
|
|
25
|
+
- Vague commit messages like "fix", "wip", "update".
|
|
26
|
+
- Missing task/issue reference in branch name or commit body.
|
|
27
|
+
- Committed secrets or environment files.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
trigger: always_on
|
|
3
|
+
glob: github-workflow-guide
|
|
4
|
+
description: GitHub-specific workflow practices for Actions, PRs, and releases
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# GitHub Workflow Rule
|
|
8
|
+
|
|
9
|
+
**Rules:**
|
|
10
|
+
|
|
11
|
+
- Define CI/CD pipelines as GitHub Actions workflows in `.github/workflows/`.
|
|
12
|
+
- Workflow files named descriptively: `ci.yml`, `release.yml`, `deploy-staging.yml`.
|
|
13
|
+
- Every PR must pass all CI checks before merging (branch protection rules enforced).
|
|
14
|
+
- Use environment secrets from GitHub Secrets — never hardcode credentials.
|
|
15
|
+
- Use `actions/checkout@v4` and pin all third-party actions to a specific SHA.
|
|
16
|
+
- Use reusable workflows (`workflow_call`) to avoid duplication across pipelines.
|
|
17
|
+
- Apply branch protection: require PR review, status checks, and no force-pushes to `main`.
|
|
18
|
+
- Use GitHub Environments for staged deployments (staging → production).
|
|
19
|
+
- Automate releases with tags: push to `vX.Y.Z` triggers release pipeline.
|
|
20
|
+
- Use Dependabot for automated dependency updates (`.github/dependabot.yml`).
|
|
21
|
+
|
|
22
|
+
**Violations:**
|
|
23
|
+
|
|
24
|
+
- Workflows that run with `GITHUB_TOKEN` permissions broader than needed.
|
|
25
|
+
- Unpinned third-party Actions (security risk).
|
|
26
|
+
- Manual deployments bypassing CI pipeline.
|
|
27
|
+
- Secrets hardcoded in workflow files.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
trigger: always_on
|
|
3
|
+
glob: gitlab-ci-guide
|
|
4
|
+
description: GitLab CI/CD pipeline structure and best practices
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# GitLab CI/CD Rule
|
|
8
|
+
|
|
9
|
+
**Rules:**
|
|
10
|
+
|
|
11
|
+
- Define pipelines in `.gitlab-ci.yml` at the repository root.
|
|
12
|
+
- Structure pipeline into stages: `build` → `test` → `lint` → `deploy`.
|
|
13
|
+
- Use `include` to split large pipelines into reusable template files.
|
|
14
|
+
- Store secrets in GitLab CI/CD Variables — never in code.
|
|
15
|
+
- Use `rules:` instead of deprecated `only:`/`except:` for job conditions.
|
|
16
|
+
- Pin Docker images used in jobs to specific digest or version tag.
|
|
17
|
+
- Use `cache:` for dependency directories (e.g., `node_modules`, `.venv`) to speed up builds.
|
|
18
|
+
- Use `artifacts:` to pass build outputs between stages.
|
|
19
|
+
- Use environments and manual gates for production deployments.
|
|
20
|
+
- Protect `main` branch: require MR with at least one approval and passing pipeline.
|
|
21
|
+
|
|
22
|
+
**Violations:**
|
|
23
|
+
|
|
24
|
+
- Running all jobs on every branch without filtering.
|
|
25
|
+
- Using `when: manual` as a substitute for proper access controls.
|
|
26
|
+
- Storing sensitive variables in `.gitlab-ci.yml` directly.
|
|
27
|
+
- Missing `timeout:` on long-running jobs.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
trigger: always_on
|
|
3
|
+
glob: lint-format-guide
|
|
4
|
+
description: enforce consistent linting and auto-formatting across all code
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Linting & Formatting Rule
|
|
8
|
+
|
|
9
|
+
**Rules:**
|
|
10
|
+
|
|
11
|
+
- Every project must configure a linter and auto-formatter appropriate to the language.
|
|
12
|
+
- Common tooling by language:
|
|
13
|
+
- **Python:** `ruff` (lint + format) or `flake8` + `black` + `isort`
|
|
14
|
+
- **JavaScript/TypeScript:** `eslint` + `prettier`
|
|
15
|
+
- **Go:** `golangci-lint` + `gofmt`
|
|
16
|
+
- **Shell:** `shellcheck`
|
|
17
|
+
- Linter and formatter config stored in the repo (`.eslintrc`, `pyproject.toml`, `.golangci.yml`).
|
|
18
|
+
- Zero lint errors policy — CI fails on any lint warning treated as error.
|
|
19
|
+
- Auto-format on save configured in project settings (`.editorconfig`, IDE config).
|
|
20
|
+
- Pre-commit hooks run formatter then linter before every commit (`.pre-commit-config.yaml`).
|
|
21
|
+
- `make lint` runs the linter; `make fmt` runs the formatter.
|
|
22
|
+
- Format check (not just lint) runs in CI to catch unformatted code.
|
|
23
|
+
|
|
24
|
+
**Violations:**
|
|
25
|
+
|
|
26
|
+
- Disabling lint rules with inline suppressions without a documented reason.
|
|
27
|
+
- CI pipeline that does not fail on lint errors.
|
|
28
|
+
- Inconsistent formatting between contributors.
|
|
29
|
+
- Missing `.editorconfig` causing whitespace/indentation inconsistencies.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
trigger: always_on
|
|
3
|
+
glob: makefile-guide
|
|
4
|
+
description: Makefile conventions for consistent developer experience across projects
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Makefile Conventions Rule
|
|
8
|
+
|
|
9
|
+
**Rules:**
|
|
10
|
+
|
|
11
|
+
- Every project must have a `Makefile` at the root for common developer tasks.
|
|
12
|
+
- Declare all non-file targets as `.PHONY` to avoid conflicts with files of the same name.
|
|
13
|
+
- Standard targets that must be present:
|
|
14
|
+
- `make install` — install dependencies
|
|
15
|
+
- `make dev` — start local development server/environment
|
|
16
|
+
- `make test` — run test suite
|
|
17
|
+
- `make lint` — run linter
|
|
18
|
+
- `make fmt` — auto-format code
|
|
19
|
+
- `make clean` — remove build artifacts and caches
|
|
20
|
+
- `make help` — list all targets with descriptions
|
|
21
|
+
- Use `## comment` after target definition for auto-generated help:
|
|
22
|
+
```makefile
|
|
23
|
+
test: ## Run test suite
|
|
24
|
+
pytest
|
|
25
|
+
```
|
|
26
|
+
- Compose complex commands from simpler targets: `make ci: lint test build`.
|
|
27
|
+
- Use variables for configurable values (paths, image names, versions).
|
|
28
|
+
- Keep Makefile portable — prefer POSIX shell commands over bash-specific syntax.
|
|
29
|
+
|
|
30
|
+
**Violations:**
|
|
31
|
+
|
|
32
|
+
- Undocumented targets with no `help` output.
|
|
33
|
+
- Hardcoded paths that break on different developer machines.
|
|
34
|
+
- Duplicated commands across targets instead of composing them.
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
trigger: always_on
|
|
3
|
+
glob: readme-sync-guide
|
|
4
|
+
description: keep README.md synchronized with the actual codebase after approved changes
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# README Synchronization Rule
|
|
8
|
+
|
|
9
|
+
**Rules:**
|
|
10
|
+
|
|
11
|
+
- Synchronize `README.md` with the current state of the codebase after all approved changes.
|
|
12
|
+
- Review the full repository context before updating docs: code, configs, scripts, `Makefile`, Docker, and CI setup.
|
|
13
|
+
- Update only factual and technical sections.
|
|
14
|
+
|
|
15
|
+
**Must update:**
|
|
16
|
+
|
|
17
|
+
- setup and installation instructions
|
|
18
|
+
- environment variables and configuration
|
|
19
|
+
- architecture overview (when applicable)
|
|
20
|
+
- usage examples (CLI, API, scripts)
|
|
21
|
+
- development workflow (`Makefile`, Docker, CI/CD)
|
|
22
|
+
|
|
23
|
+
**Must ensure:**
|
|
24
|
+
|
|
25
|
+
- commands and paths in `README.md` match real project files
|
|
26
|
+
- instructions are runnable for a new developer
|
|
27
|
+
- no references to removed or outdated components
|
|
28
|
+
- terminology is consistent with the codebase
|
|
29
|
+
|
|
30
|
+
**Must NOT:**
|
|
31
|
+
|
|
32
|
+
- change business/product descriptions unless explicitly requested
|
|
33
|
+
- add undocumented or speculative features
|
|
34
|
+
- leave placeholders or TODOs
|
|
35
|
+
|
|
36
|
+
**Definition of Done:**
|
|
37
|
+
|
|
38
|
+
- a new developer can install the project, run it locally, and understand core architecture from `README.md`
|
|
39
|
+
- all documented commands and paths are verified against the repository
|
|
40
|
+
- no conflicting or outdated guidance remains
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
trigger: always_on
|
|
3
|
+
glob: sdlc-methodology-guide
|
|
4
|
+
description: software development lifecycle phases and process discipline
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# SDLC Methodology Rule
|
|
8
|
+
|
|
9
|
+
**Rules:**
|
|
10
|
+
|
|
11
|
+
- Follow structured phases: Requirements → Design → Implementation → Testing → Deployment → Maintenance.
|
|
12
|
+
- **Requirements:** Write user stories or specs before writing any code. Acceptance criteria must be defined.
|
|
13
|
+
- **Design:** For significant features, produce a design doc or ADR (Architecture Decision Record) before implementation.
|
|
14
|
+
- **Implementation:** Work in small increments; each increment must be independently deployable or testable.
|
|
15
|
+
- **Testing:** Automated tests are not optional — unit, integration, and E2E coverage required.
|
|
16
|
+
- **Deployment:** All deployments via CI/CD pipeline; no manual file transfers or SSH deployments.
|
|
17
|
+
- **Maintenance:** Monitor with alerts and dashboards; on-call runbooks must exist for production services.
|
|
18
|
+
- Use ADRs (`docs/adr/`) to document significant architectural decisions with context and consequences.
|
|
19
|
+
- Definition of Done: code merged, tests passing, documentation updated, deployed to staging.
|
|
20
|
+
- Conduct retrospectives after incidents to produce action items.
|
|
21
|
+
|
|
22
|
+
**Violations:**
|
|
23
|
+
|
|
24
|
+
- Starting implementation without defined requirements or acceptance criteria.
|
|
25
|
+
- Merging code without tests.
|
|
26
|
+
- Manual deployments to production.
|
|
27
|
+
- No runbook for a production service.
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
---
|
|
2
|
+
trigger: always_on
|
|
3
|
+
glob: sdlc-role-responsibilities
|
|
4
|
+
description: Role matrix for SDLC responsibilities, handoffs, and decision rights across subagents
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# SDLC Role Responsibilities Matrix
|
|
8
|
+
|
|
9
|
+
## Roles
|
|
10
|
+
|
|
11
|
+
| Handle | Owns |
|
|
12
|
+
|:---|:---|
|
|
13
|
+
| `@product-owner` | Value definition, scope, acceptance criteria, prioritization |
|
|
14
|
+
| `@pm` | Planning cadence, dependency/risk management, stakeholder communication |
|
|
15
|
+
| `@team-lead` | Technical strategy, architecture quality, engineering sign-off |
|
|
16
|
+
| `@developer` | Implementation, technical correctness, test coverage |
|
|
17
|
+
| `@qa` | Verification strategy, quality evidence, go/no-go recommendation |
|
|
18
|
+
| `@designer` | UX quality, information architecture, interaction consistency |
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## Mandatory Subagent Mapping
|
|
23
|
+
|
|
24
|
+
- When subagent execution is required for SDLC workflows, spawn exactly **one subagent per role**.
|
|
25
|
+
- Mandatory one-to-one mapping: `@product-owner`, `@pm`, `@team-lead`, `@developer`, `@qa`, `@designer`.
|
|
26
|
+
- **Role consolidation is forbidden** — assigning multiple SDLC roles to one subagent is a process violation.
|
|
27
|
+
- If a role's output is missing, execution **must stop** and request that role's output before continuing.
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## SDLC Phase Ownership
|
|
32
|
+
|
|
33
|
+
| SDLC Phase | Primary owner(s) | Key outputs |
|
|
34
|
+
|:---|:---|:---|
|
|
35
|
+
| Requirements | `@product-owner`, `@pm` | Problem statement, acceptance criteria, scope decisions, explicit non-goals |
|
|
36
|
+
| Design | `@team-lead`, `@designer` | Implementation plan, UX brief, architecture notes, risk register |
|
|
37
|
+
| Implementation | `@developer` | Code changes, tests, `implementation_notes.md` |
|
|
38
|
+
| Verification | `@qa`, `@team-lead` | Test report, defect log, review feedback, go/no-go |
|
|
39
|
+
| Deployment | `@pm`, `@team-lead` | Go/no-go decision, rollout plan, rollback procedure |
|
|
40
|
+
| Maintenance | `@developer`, `@qa`, `@team-lead` | Incident fixes, postmortems, hardening backlog |
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## Required Handoff Order
|
|
45
|
+
|
|
46
|
+
Phases must execute in this order when subagent execution is required. Do not skip or reorder without documented justification.
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
Requirements (@product-owner, @pm)
|
|
50
|
+
↓
|
|
51
|
+
Design (@team-lead, @designer)
|
|
52
|
+
↓
|
|
53
|
+
Implementation (@developer)
|
|
54
|
+
↓
|
|
55
|
+
Verification (@qa, @team-lead)
|
|
56
|
+
↓
|
|
57
|
+
Acceptance / Release (@product-owner, @pm)
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## Handoff Contracts
|
|
63
|
+
|
|
64
|
+
Every handoff must include the following artifacts. A handoff without these items is **incomplete** — the receiving role must reject it and request the missing outputs.
|
|
65
|
+
|
|
66
|
+
**1. Requirements → Design**
|
|
67
|
+
- Acceptance criteria (specific, testable)
|
|
68
|
+
- Constraints and dependencies
|
|
69
|
+
- Explicit non-goals (what is out of scope)
|
|
70
|
+
|
|
71
|
+
**2. Design → Implementation**
|
|
72
|
+
- Architecture boundaries and layer constraints
|
|
73
|
+
- UX states (loading, error, empty, success, permission-denied)
|
|
74
|
+
- Risk controls and security requirements
|
|
75
|
+
|
|
76
|
+
**3. Implementation → Verification**
|
|
77
|
+
- Test run evidence (commands + results)
|
|
78
|
+
- Known limitations or deferred items
|
|
79
|
+
- Migration / release notes if behavior changed
|
|
80
|
+
|
|
81
|
+
**4. Verification → Acceptance / Release**
|
|
82
|
+
- Blocking defect status (resolved / accepted with rationale)
|
|
83
|
+
- Residual risks with owner and mitigation
|
|
84
|
+
- Go / no-go recommendation with written rationale
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## Definition of Done (Cross-team)
|
|
89
|
+
|
|
90
|
+
A delivery is complete only when **all** of the following are true:
|
|
91
|
+
|
|
92
|
+
- Acceptance criteria validated with evidence.
|
|
93
|
+
- No unresolved blocking defects.
|
|
94
|
+
- Required checks pass: lint / test / build / security as applicable.
|
|
95
|
+
- Documentation and operational notes updated for all changed behavior.
|
|
96
|
+
- Rollback plan documented and verified where applicable.
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## Violations
|
|
101
|
+
|
|
102
|
+
The following are **process violations** that must be flagged immediately:
|
|
103
|
+
|
|
104
|
+
- Merging multiple SDLC roles into fewer subagents when subagent execution is required.
|
|
105
|
+
- Starting implementation before requirements and design handoffs are complete and confirmed.
|
|
106
|
+
- Issuing a go recommendation without written test evidence.
|
|
107
|
+
- Accepting a deliverable with unresolved blocking defects (without explicit, documented Product Owner acceptance).
|
|
108
|
+
- Committing infrastructure changes without a corresponding IaC commit.
|
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: general-dev-tools
|
|
3
|
+
type: skill
|
|
4
|
+
description: Core development tools used across any project — git, docker, make, CI/CD, linting, formatting, pre-commit hooks.
|
|
5
|
+
inputs:
|
|
6
|
+
- task_description
|
|
7
|
+
- project_context
|
|
8
|
+
outputs:
|
|
9
|
+
- working_environment
|
|
10
|
+
- executed_commands
|
|
11
|
+
related-rules:
|
|
12
|
+
- git-workflow-guide.md
|
|
13
|
+
- makefile-guide.md
|
|
14
|
+
- docker-compose-guide.md
|
|
15
|
+
- lint-format-guide.md
|
|
16
|
+
allowed-tools: Read, Write, Edit, Bash, Grep, Glob
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
# General Dev Tools Skill
|
|
20
|
+
|
|
21
|
+
> **Expertise:** Git, Docker Compose, Makefile, GitHub Actions, GitLab CI, shell scripting, linting, formatting, pre-commit hooks.
|
|
22
|
+
|
|
23
|
+
## Mindset
|
|
24
|
+
|
|
25
|
+
- **Repeatability:** All setup is automatable via `make` targets. `make install && make dev` must work on a clean machine.
|
|
26
|
+
- **Portability:** Commands work consistently across developer machines and CI.
|
|
27
|
+
- **Security:** Never commit secrets. Use env vars; secret managers for production.
|
|
28
|
+
- **Fail loudly:** Check exit codes; prefer explicit error messages over silent failures.
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## Git Patterns
|
|
33
|
+
|
|
34
|
+
### Branch naming
|
|
35
|
+
```bash
|
|
36
|
+
feature/<task-id>-short-desc # e.g. feature/PROJ-42-add-search
|
|
37
|
+
fix/<task-id>-short-desc # e.g. fix/PROJ-55-null-pointer
|
|
38
|
+
chore/<description> # e.g. chore/upgrade-dependencies
|
|
39
|
+
release/<version> # e.g. release/2.4.0
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Commit convention (Conventional Commits)
|
|
43
|
+
```bash
|
|
44
|
+
feat(scope): add user search endpoint # new feature
|
|
45
|
+
fix(auth): handle expired token on refresh # bug fix
|
|
46
|
+
chore(deps): upgrade pydantic to 2.x # maintenance
|
|
47
|
+
docs(api): update endpoint reference # docs only
|
|
48
|
+
test(orders): add edge case for zero qty # tests only
|
|
49
|
+
refactor(repo): extract pagination helper # no behavior change
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### Common operations
|
|
53
|
+
```bash
|
|
54
|
+
# Create and track feature branch
|
|
55
|
+
git checkout -b feature/PROJ-42-add-search
|
|
56
|
+
git push -u origin feature/PROJ-42-add-search
|
|
57
|
+
|
|
58
|
+
# Rebase on latest main before PR
|
|
59
|
+
git fetch origin
|
|
60
|
+
git rebase origin/main
|
|
61
|
+
|
|
62
|
+
# Squash last N commits before merge
|
|
63
|
+
git rebase -i HEAD~3
|
|
64
|
+
|
|
65
|
+
# Undo last commit (keep changes staged)
|
|
66
|
+
git reset --soft HEAD~1
|
|
67
|
+
|
|
68
|
+
# Find which commit introduced a bug
|
|
69
|
+
git bisect start
|
|
70
|
+
git bisect bad HEAD
|
|
71
|
+
git bisect good <known-good-sha>
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### `.gitignore` essentials
|
|
75
|
+
```
|
|
76
|
+
# Python
|
|
77
|
+
__pycache__/ *.pyc .venv/ .env *.egg-info/ dist/ .pytest_cache/ .mypy_cache/
|
|
78
|
+
# Node
|
|
79
|
+
node_modules/ dist/ .env .env.local coverage/
|
|
80
|
+
# General
|
|
81
|
+
.DS_Store *.log .idea/ .vscode/ *.swp
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## Makefile Patterns
|
|
87
|
+
|
|
88
|
+
### Standard target set (required for all projects)
|
|
89
|
+
```makefile
|
|
90
|
+
.PHONY: install dev test lint fmt clean help
|
|
91
|
+
|
|
92
|
+
install: ## Install all dependencies
|
|
93
|
+
pip install -r requirements.txt -r requirements-dev.txt
|
|
94
|
+
pre-commit install
|
|
95
|
+
|
|
96
|
+
dev: ## Start local development environment
|
|
97
|
+
docker compose up -d
|
|
98
|
+
uvicorn src.main:app --reload --port 8000
|
|
99
|
+
|
|
100
|
+
test: ## Run test suite
|
|
101
|
+
pytest tests/ -v --cov=src --cov-report=term-missing
|
|
102
|
+
|
|
103
|
+
lint: ## Run linter (zero-tolerance)
|
|
104
|
+
ruff check src/ tests/
|
|
105
|
+
mypy src/
|
|
106
|
+
|
|
107
|
+
fmt: ## Format code in-place
|
|
108
|
+
ruff format src/ tests/
|
|
109
|
+
ruff check --fix src/ tests/
|
|
110
|
+
|
|
111
|
+
clean: ## Remove generated files
|
|
112
|
+
find . -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null; true
|
|
113
|
+
rm -rf .coverage htmlcov/ dist/ build/
|
|
114
|
+
|
|
115
|
+
help: ## Show this help
|
|
116
|
+
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[36m%-15s\033[0m %s\n", $$1, $$2}'
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
### For Node/JS projects
|
|
120
|
+
```makefile
|
|
121
|
+
install: ## Install dependencies
|
|
122
|
+
npm ci
|
|
123
|
+
npx husky install
|
|
124
|
+
|
|
125
|
+
dev: ## Start dev server
|
|
126
|
+
npm run dev
|
|
127
|
+
|
|
128
|
+
test: ## Run tests
|
|
129
|
+
npm test -- --coverage --watchAll=false
|
|
130
|
+
|
|
131
|
+
lint: ## Lint
|
|
132
|
+
npx eslint src/ --max-warnings 0
|
|
133
|
+
|
|
134
|
+
fmt: ## Format
|
|
135
|
+
npx prettier --write src/
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
---
|
|
139
|
+
|
|
140
|
+
## Docker Compose Patterns
|
|
141
|
+
|
|
142
|
+
### Standard multi-service setup
|
|
143
|
+
```yaml
|
|
144
|
+
# docker-compose.yml
|
|
145
|
+
services:
|
|
146
|
+
api:
|
|
147
|
+
build: .
|
|
148
|
+
ports: ["8000:8000"]
|
|
149
|
+
env_file: .env
|
|
150
|
+
depends_on:
|
|
151
|
+
db:
|
|
152
|
+
condition: service_healthy
|
|
153
|
+
redis:
|
|
154
|
+
condition: service_healthy
|
|
155
|
+
volumes:
|
|
156
|
+
- .:/app # Live reload in dev only
|
|
157
|
+
|
|
158
|
+
db:
|
|
159
|
+
image: postgres:16-alpine
|
|
160
|
+
environment:
|
|
161
|
+
POSTGRES_DB: ${DB_NAME}
|
|
162
|
+
POSTGRES_USER: ${DB_USER}
|
|
163
|
+
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
|
164
|
+
volumes:
|
|
165
|
+
- pgdata:/var/lib/postgresql/data
|
|
166
|
+
healthcheck:
|
|
167
|
+
test: ["CMD-SHELL", "pg_isready -U ${DB_USER}"]
|
|
168
|
+
interval: 5s
|
|
169
|
+
timeout: 3s
|
|
170
|
+
retries: 5
|
|
171
|
+
|
|
172
|
+
redis:
|
|
173
|
+
image: redis:7-alpine
|
|
174
|
+
healthcheck:
|
|
175
|
+
test: ["CMD", "redis-cli", "ping"]
|
|
176
|
+
interval: 5s
|
|
177
|
+
timeout: 3s
|
|
178
|
+
retries: 5
|
|
179
|
+
|
|
180
|
+
volumes:
|
|
181
|
+
pgdata:
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
### `.env.example` (always commit this, never `.env`)
|
|
185
|
+
```bash
|
|
186
|
+
# Application
|
|
187
|
+
APP_ENV=development
|
|
188
|
+
SECRET_KEY=change-me-in-production
|
|
189
|
+
LOG_LEVEL=DEBUG
|
|
190
|
+
|
|
191
|
+
# Database
|
|
192
|
+
DB_NAME=myapp
|
|
193
|
+
DB_USER=myapp
|
|
194
|
+
DB_PASSWORD=localpassword
|
|
195
|
+
DATABASE_URL=postgresql+asyncpg://myapp:localpassword@localhost:5432/myapp
|
|
196
|
+
|
|
197
|
+
# Redis
|
|
198
|
+
REDIS_URL=redis://localhost:6379/0
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
---
|
|
202
|
+
|
|
203
|
+
## CI/CD Pipeline Patterns
|
|
204
|
+
|
|
205
|
+
### GitHub Actions — standard CI
|
|
206
|
+
```yaml
|
|
207
|
+
# .github/workflows/ci.yml
|
|
208
|
+
name: CI
|
|
209
|
+
on:
|
|
210
|
+
push:
|
|
211
|
+
branches: [main]
|
|
212
|
+
pull_request:
|
|
213
|
+
branches: [main]
|
|
214
|
+
|
|
215
|
+
jobs:
|
|
216
|
+
test:
|
|
217
|
+
runs-on: ubuntu-latest
|
|
218
|
+
services:
|
|
219
|
+
postgres:
|
|
220
|
+
image: postgres:16
|
|
221
|
+
env:
|
|
222
|
+
POSTGRES_DB: testdb
|
|
223
|
+
POSTGRES_USER: test
|
|
224
|
+
POSTGRES_PASSWORD: test
|
|
225
|
+
options: >-
|
|
226
|
+
--health-cmd pg_isready
|
|
227
|
+
--health-interval 5s
|
|
228
|
+
--health-retries 5
|
|
229
|
+
|
|
230
|
+
steps:
|
|
231
|
+
- uses: actions/checkout@v4
|
|
232
|
+
- uses: actions/setup-python@v5
|
|
233
|
+
with: { python-version: '3.12' }
|
|
234
|
+
|
|
235
|
+
- name: Install
|
|
236
|
+
run: make install
|
|
237
|
+
|
|
238
|
+
- name: Lint
|
|
239
|
+
run: make lint
|
|
240
|
+
|
|
241
|
+
- name: Test
|
|
242
|
+
run: make test
|
|
243
|
+
env:
|
|
244
|
+
DATABASE_URL: postgresql+asyncpg://test:test@localhost:5432/testdb
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
### GitLab CI — standard pipeline
|
|
248
|
+
```yaml
|
|
249
|
+
# .gitlab-ci.yml
|
|
250
|
+
stages: [lint, test, build]
|
|
251
|
+
|
|
252
|
+
default:
|
|
253
|
+
image: python:3.12-slim
|
|
254
|
+
|
|
255
|
+
lint:
|
|
256
|
+
stage: lint
|
|
257
|
+
script: [pip install ruff mypy, make lint]
|
|
258
|
+
|
|
259
|
+
test:
|
|
260
|
+
stage: test
|
|
261
|
+
services: [postgres:16]
|
|
262
|
+
variables:
|
|
263
|
+
DATABASE_URL: postgresql+asyncpg://test:test@postgres/testdb
|
|
264
|
+
POSTGRES_DB: testdb
|
|
265
|
+
POSTGRES_USER: test
|
|
266
|
+
POSTGRES_PASSWORD: test
|
|
267
|
+
script: [make install, make test]
|
|
268
|
+
|
|
269
|
+
build:
|
|
270
|
+
stage: build
|
|
271
|
+
script: [docker build -t $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA .]
|
|
272
|
+
only: [main]
|
|
273
|
+
```
|
|
274
|
+
|
|
275
|
+
---
|
|
276
|
+
|
|
277
|
+
## Pre-commit Configuration
|
|
278
|
+
|
|
279
|
+
### `.pre-commit-config.yaml` — standard set
|
|
280
|
+
```yaml
|
|
281
|
+
repos:
|
|
282
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
283
|
+
rev: v4.6.0
|
|
284
|
+
hooks:
|
|
285
|
+
- id: trailing-whitespace
|
|
286
|
+
- id: end-of-file-fixer
|
|
287
|
+
- id: check-yaml
|
|
288
|
+
- id: check-json
|
|
289
|
+
- id: check-merge-conflict
|
|
290
|
+
- id: detect-private-key # Catch accidental secret commits
|
|
291
|
+
- id: check-added-large-files
|
|
292
|
+
args: ['--maxkb=500']
|
|
293
|
+
|
|
294
|
+
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
295
|
+
rev: v0.4.0
|
|
296
|
+
hooks:
|
|
297
|
+
- id: ruff
|
|
298
|
+
args: [--fix]
|
|
299
|
+
- id: ruff-format
|
|
300
|
+
|
|
301
|
+
# For Node projects, replace above with:
|
|
302
|
+
# - repo: https://github.com/pre-commit/mirrors-prettier
|
|
303
|
+
# rev: v3.1.0
|
|
304
|
+
# hooks: [{id: prettier}]
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
```bash
|
|
308
|
+
# Install and run
|
|
309
|
+
pre-commit install
|
|
310
|
+
pre-commit run --all-files # Run on all files once to baseline
|
|
311
|
+
```
|
|
312
|
+
|
|
313
|
+
---
|
|
314
|
+
|
|
315
|
+
## Quality Gate Checklist
|
|
316
|
+
|
|
317
|
+
Before every PR:
|
|
318
|
+
```bash
|
|
319
|
+
make lint # Zero errors — never suppress warnings
|
|
320
|
+
make fmt # No diffs after formatting
|
|
321
|
+
make test # All tests pass; coverage ≥ threshold
|
|
322
|
+
```
|
|
323
|
+
|
|
324
|
+
CI must enforce all three. Branch protection requires CI green before merge.
|