@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,69 @@
|
|
|
1
|
+
# Skill: Frontend Testing Patterns
|
|
2
|
+
|
|
3
|
+
## When to load
|
|
4
|
+
|
|
5
|
+
When writing tests for components, hooks, or integration flows.
|
|
6
|
+
|
|
7
|
+
## Philosophy
|
|
8
|
+
|
|
9
|
+
Test **behavior**, not implementation. A user doesn't care that you called `setState`; they care that clicking "Submit" shows a success message.
|
|
10
|
+
|
|
11
|
+
## Component Test Template
|
|
12
|
+
|
|
13
|
+
```tsx
|
|
14
|
+
import { render, screen } from '@testing-library/react';
|
|
15
|
+
import userEvent from '@testing-library/user-event';
|
|
16
|
+
import { UserCard } from './UserCard';
|
|
17
|
+
|
|
18
|
+
const defaultUser: User = {
|
|
19
|
+
id: '1', name: 'Jane Smith', email: 'jane@example.com', role: 'admin',
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
describe('UserCard', () => {
|
|
23
|
+
it('renders user information', () => {
|
|
24
|
+
render(<UserCard user={defaultUser} />);
|
|
25
|
+
expect(screen.getByText('Jane Smith')).toBeInTheDocument();
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
it('calls onEdit when edit button is clicked', async () => {
|
|
29
|
+
const onEdit = vi.fn();
|
|
30
|
+
render(<UserCard user={defaultUser} onEdit={onEdit} />);
|
|
31
|
+
await userEvent.click(screen.getByRole('button', { name: /edit/i }));
|
|
32
|
+
expect(onEdit).toHaveBeenCalledWith(defaultUser.id);
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Custom Hook Testing
|
|
38
|
+
|
|
39
|
+
```tsx
|
|
40
|
+
import { renderHook, act } from '@testing-library/react';
|
|
41
|
+
import { useCounter } from './useCounter';
|
|
42
|
+
|
|
43
|
+
it('increments count', () => {
|
|
44
|
+
const { result } = renderHook(() => useCounter(0));
|
|
45
|
+
act(() => { result.current.increment(); });
|
|
46
|
+
expect(result.current.count).toBe(1);
|
|
47
|
+
});
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## MSW: Mock API Calls
|
|
51
|
+
|
|
52
|
+
```ts
|
|
53
|
+
import { http, HttpResponse } from 'msw';
|
|
54
|
+
|
|
55
|
+
export const handlers = [
|
|
56
|
+
http.get('/api/users', () =>
|
|
57
|
+
HttpResponse.json([{ id: '1', name: 'Jane' }])
|
|
58
|
+
),
|
|
59
|
+
];
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Test Type Decision
|
|
63
|
+
|
|
64
|
+
| Scenario | Test Type |
|
|
65
|
+
|:---|:---|
|
|
66
|
+
| Component renders | Unit (RTL) |
|
|
67
|
+
| User interaction | Unit (RTL + userEvent) |
|
|
68
|
+
| Data fetching states | Unit (RTL + MSW) |
|
|
69
|
+
| Full user journey | E2E (Playwright) |
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: a11y-fix
|
|
3
|
+
type: workflow
|
|
4
|
+
trigger: /a11y-fix
|
|
5
|
+
description: Detect, fix, and validate accessibility issues for UI routes or components with WCAG compliance evidence.
|
|
6
|
+
inputs:
|
|
7
|
+
- target_route_or_component
|
|
8
|
+
outputs:
|
|
9
|
+
- remediated_accessibility_issues
|
|
10
|
+
- a11y_report
|
|
11
|
+
roles:
|
|
12
|
+
- qa
|
|
13
|
+
- designer
|
|
14
|
+
- developer
|
|
15
|
+
- team-lead
|
|
16
|
+
execution:
|
|
17
|
+
initiator: qa
|
|
18
|
+
related-rules:
|
|
19
|
+
- accessibility.md
|
|
20
|
+
- quality.md
|
|
21
|
+
uses-skills:
|
|
22
|
+
- a11y-audit
|
|
23
|
+
- testing-patterns
|
|
24
|
+
quality-gates:
|
|
25
|
+
- no blocking WCAG A issues remaining
|
|
26
|
+
- keyboard and screen-reader critical paths validated
|
|
27
|
+
- automated a11y checks pass in CI
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## Steps
|
|
31
|
+
|
|
32
|
+
### 1. Audit & Severity Classification — `@qa`
|
|
33
|
+
- **Input:** target route or component
|
|
34
|
+
- **Actions:** run automated audit (axe, Lighthouse, jest-axe); classify each finding by WCAG level (A / AA / AAA) and user impact; identify keyboard navigation and screen reader critical paths
|
|
35
|
+
- **Output:** `a11y_audit.md` — finding list with WCAG criterion, severity, and affected element
|
|
36
|
+
- **Done when:** all findings classified; critical path issues flagged
|
|
37
|
+
|
|
38
|
+
### 2. UX Decision for Ambiguous Fixes — `@designer`
|
|
39
|
+
- **Input:** audit findings that require UX judgment (alt text wording, focus order, label copy)
|
|
40
|
+
- **Actions:** review findings requiring design input; provide decisions on: alt text wording, ARIA label content, focus order, color contrast alternatives
|
|
41
|
+
- **Output:** design decisions documented per ambiguous finding
|
|
42
|
+
- **Done when:** all ambiguous findings have designer-approved decisions
|
|
43
|
+
|
|
44
|
+
### 3. Implement Fixes — `@developer`
|
|
45
|
+
- **Input:** audit + design decisions
|
|
46
|
+
- **Actions:** implement ARIA attributes, role corrections, focus management, color contrast fixes, keyboard handler improvements; follow `accessibility.md` rules; do not introduce visual regressions
|
|
47
|
+
- **Output:** fixes on feature branch
|
|
48
|
+
- **Done when:** all A-level issues addressed; AA issues addressed per project policy
|
|
49
|
+
|
|
50
|
+
### 4. Re-test & Regression Checks — `@qa`
|
|
51
|
+
- **Input:** fix branch
|
|
52
|
+
- **Actions:** re-run automated audit: zero new WCAG A issues; test keyboard navigation (Tab / Shift+Tab / Enter / Escape / Arrow keys); test with screen reader on at least one critical path; run visual regression to confirm no visual regressions
|
|
53
|
+
- **Output:** updated `a11y_report.md` — before/after comparison
|
|
54
|
+
- **Done when:** zero blocking A issues; critical keyboard and screen reader paths confirmed
|
|
55
|
+
|
|
56
|
+
### 5. Final Review & Acceptance — `@team-lead`
|
|
57
|
+
- **Input:** a11y report + fix branch
|
|
58
|
+
- **Actions:** verify fixes are complete and don't introduce regressions; sign off on WCAG compliance status
|
|
59
|
+
- **Output:** `@team-lead` approval
|
|
60
|
+
- **Done when:** approved; CI a11y checks added or confirmed
|
|
61
|
+
|
|
62
|
+
## Exit
|
|
63
|
+
Zero WCAG A issues + screen reader path validated + `@team-lead` approval = a11y fix complete.
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: bundle-analyze
|
|
3
|
+
type: workflow
|
|
4
|
+
trigger: /bundle-analyze
|
|
5
|
+
description: Analyze frontend bundle size impact and produce a prioritized optimization backlog.
|
|
6
|
+
inputs:
|
|
7
|
+
- build_artifacts
|
|
8
|
+
- baseline_metrics
|
|
9
|
+
outputs:
|
|
10
|
+
- bundle_diff_report
|
|
11
|
+
- optimization_backlog
|
|
12
|
+
roles:
|
|
13
|
+
- developer
|
|
14
|
+
- qa
|
|
15
|
+
- team-lead
|
|
16
|
+
- pm
|
|
17
|
+
execution:
|
|
18
|
+
initiator: developer
|
|
19
|
+
related-rules:
|
|
20
|
+
- performance.md
|
|
21
|
+
- architecture.md
|
|
22
|
+
uses-skills:
|
|
23
|
+
- performance-tuning
|
|
24
|
+
quality-gates:
|
|
25
|
+
- budget regressions triaged with root cause
|
|
26
|
+
- optimization actions prioritized by impact/effort
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## Steps
|
|
30
|
+
|
|
31
|
+
### 1. Generate & Compare Bundle Metrics — `@developer`
|
|
32
|
+
- **Input:** build artifacts, baseline metrics
|
|
33
|
+
- **Actions:** run bundle analyzer (webpack-bundle-analyzer, vite-bundle-visualizer, source-map-explorer); compare current bundle sizes vs. baseline; flag any chunk exceeding performance budget; identify top contributors to size regression
|
|
34
|
+
- **Output:** bundle diff with size delta per chunk; budget violations flagged
|
|
35
|
+
- **Done when:** all chunks analyzed; violations identified
|
|
36
|
+
|
|
37
|
+
### 2. Validate Measurement Reliability — `@qa`
|
|
38
|
+
- **Input:** bundle metrics
|
|
39
|
+
- **Actions:** confirm measurement is reproducible (run analysis twice; results within 1%); verify build is production mode (no dev artifacts); confirm baseline was captured under same conditions
|
|
40
|
+
- **Output:** reliability confirmation or flag if measurements inconsistent
|
|
41
|
+
- **Done when:** measurements confirmed reliable
|
|
42
|
+
|
|
43
|
+
### 3. Prioritize Optimization Candidates — `@team-lead` + `@developer`
|
|
44
|
+
- **Input:** validated diff report
|
|
45
|
+
- **Actions:** rank candidates by: size impact × user impact × implementation effort; flag quick wins (unused imports, missing tree-shaking, large non-split chunks); flag strategic work (route-based code splitting, lazy-loaded components)
|
|
46
|
+
- **Output:** prioritized optimization list with effort estimates
|
|
47
|
+
- **Done when:** list reviewed; quick wins vs. strategic work separated
|
|
48
|
+
|
|
49
|
+
### 4. Publish Report & Next Actions — `@pm`
|
|
50
|
+
- **Input:** prioritized list
|
|
51
|
+
- **Actions:** produce `bundle_diff_report.md`: current vs. baseline sizes, budget violations, optimization backlog; schedule quick wins as engineering tasks; log strategic work in backlog
|
|
52
|
+
- **Output:** `bundle_diff_report.md`; backlog items created
|
|
53
|
+
- **Done when:** report shared; items logged in project tracker
|
|
54
|
+
|
|
55
|
+
## Exit
|
|
56
|
+
Report published + backlog items created = bundle analysis complete.
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: release-prep
|
|
3
|
+
type: workflow
|
|
4
|
+
trigger: /release-prep
|
|
5
|
+
description: Prepare a frontend release through coordinated quality, performance, accessibility, and product checks.
|
|
6
|
+
inputs:
|
|
7
|
+
- release_scope
|
|
8
|
+
- target_version
|
|
9
|
+
outputs:
|
|
10
|
+
- release_readiness_decision
|
|
11
|
+
- release_notes
|
|
12
|
+
roles:
|
|
13
|
+
- product-owner
|
|
14
|
+
- pm
|
|
15
|
+
- developer
|
|
16
|
+
- qa
|
|
17
|
+
- team-lead
|
|
18
|
+
execution:
|
|
19
|
+
initiator: product-owner
|
|
20
|
+
related-rules:
|
|
21
|
+
- quality.md
|
|
22
|
+
- performance.md
|
|
23
|
+
- accessibility.md
|
|
24
|
+
uses-skills:
|
|
25
|
+
- performance-tuning
|
|
26
|
+
- testing-patterns
|
|
27
|
+
quality-gates:
|
|
28
|
+
- all automated checks pass (lint / test / build / a11y / bundle)
|
|
29
|
+
- regression smoke test passes
|
|
30
|
+
- release notes approved by product-owner
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## Steps
|
|
34
|
+
|
|
35
|
+
### 1. Confirm Release Scope & Success Criteria — `@product-owner` + `@pm`
|
|
36
|
+
- **Input:** release scope, target version
|
|
37
|
+
- **Actions:** confirm what's in and out of the release; define success criteria for release (metrics, feature flags to enable); align on rollback trigger conditions
|
|
38
|
+
- **Output:** confirmed release scope + success criteria
|
|
39
|
+
- **Done when:** scope locked; `@product-owner` approved
|
|
40
|
+
|
|
41
|
+
### 2. Execute Build/Lint/Test/Perf Checks — `@developer`
|
|
42
|
+
- **Input:** confirmed scope
|
|
43
|
+
- **Actions:** `make lint` — zero errors; `make test` — all pass; `make build` — production build clean; run bundle analysis against budget; run Lighthouse for performance and a11y scores
|
|
44
|
+
- **Output:** all check results; any regressions flagged
|
|
45
|
+
- **Done when:** all checks pass; no budget regressions or regressions accepted with rationale
|
|
46
|
+
|
|
47
|
+
### 3. Regression + Smoke Verification — `@qa`
|
|
48
|
+
- **Input:** built release candidate
|
|
49
|
+
- **Actions:** run regression test suite for release scope; run smoke suite on staging with release candidate; confirm critical user paths work end-to-end; run visual regression check on changed routes
|
|
50
|
+
- **Output:** `qa_release_report.md` — suite results, smoke results, visual diff status
|
|
51
|
+
- **Done when:** no blocking failures; go recommendation from `@qa`
|
|
52
|
+
|
|
53
|
+
### 4. Review Go/No-Go Risks — `@team-lead`
|
|
54
|
+
- **Input:** all check and test results
|
|
55
|
+
- **Actions:** review residual risks; confirm rollback procedure is documented and tested; make explicit go/no-go recommendation
|
|
56
|
+
- **Output:** go/no-go decision with rationale
|
|
57
|
+
- **Done when:** decision explicit; rationale documented
|
|
58
|
+
|
|
59
|
+
### 5. Publish Release Notes & Decision — `@pm` + `@product-owner`
|
|
60
|
+
- **Input:** go decision
|
|
61
|
+
- **Actions:** `@pm` drafts release notes (features, fixes, known issues); `@product-owner` approves notes; publish to stakeholders; hand off to deployment process
|
|
62
|
+
- **Output:** approved release notes; team informed
|
|
63
|
+
- **Done when:** notes approved; deployment team has green light
|
|
64
|
+
|
|
65
|
+
## Exit
|
|
66
|
+
Go decision + approved release notes + all checks passed = release ready to deploy.
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: scaffold-component
|
|
3
|
+
type: workflow
|
|
4
|
+
trigger: /scaffold-component
|
|
5
|
+
description: Create a reusable UI component with design alignment, implementation, tests, and accessibility checks.
|
|
6
|
+
inputs:
|
|
7
|
+
- component_request
|
|
8
|
+
- design_system_context
|
|
9
|
+
outputs:
|
|
10
|
+
- scaffolded_component
|
|
11
|
+
- validation_evidence
|
|
12
|
+
roles:
|
|
13
|
+
- product-owner
|
|
14
|
+
- designer
|
|
15
|
+
- developer
|
|
16
|
+
- qa
|
|
17
|
+
- team-lead
|
|
18
|
+
execution:
|
|
19
|
+
initiator: product-owner
|
|
20
|
+
related-rules:
|
|
21
|
+
- architecture.md
|
|
22
|
+
- quality.md
|
|
23
|
+
- accessibility.md
|
|
24
|
+
uses-skills:
|
|
25
|
+
- component-design
|
|
26
|
+
- css-architecture
|
|
27
|
+
- testing-patterns
|
|
28
|
+
quality-gates:
|
|
29
|
+
- component API documented (props, events, slots)
|
|
30
|
+
- all component states implemented (loading, empty, error, success)
|
|
31
|
+
- unit and accessibility tests pass
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## Steps
|
|
35
|
+
|
|
36
|
+
### 1. Component Intent & Acceptance Criteria — `@product-owner` + `@designer`
|
|
37
|
+
- **Input:** component request
|
|
38
|
+
- **Actions:** define component purpose, consumer context, and expected states (loading / empty / error / success / permission-denied); `@designer` specifies interaction design, token usage, and accessibility requirements
|
|
39
|
+
- **Output:** component spec with acceptance criteria and design reference
|
|
40
|
+
- **Done when:** spec approved; all states defined
|
|
41
|
+
|
|
42
|
+
### 2. Design System Alignment — `@designer`
|
|
43
|
+
- **Input:** component spec
|
|
44
|
+
- **Actions:** verify component fits within existing design system (tokens, spacing, typography, color); flag any new patterns needing design system addition; provide annotated interaction spec or Figma link
|
|
45
|
+
- **Output:** design sign-off; annotated spec with accessibility notes (ARIA roles, keyboard interactions)
|
|
46
|
+
- **Done when:** design aligned; no unresolved design system conflicts
|
|
47
|
+
|
|
48
|
+
### 3. Component Implementation — `@developer`
|
|
49
|
+
- **Input:** aligned design spec
|
|
50
|
+
- **Actions:** scaffold component files following project structure; implement all states defined in spec; use design tokens only (no hardcoded values); ensure keyboard navigation and ARIA attributes per `accessibility.md`; export clear prop types / interface
|
|
51
|
+
- **Output:** component implemented on feature branch
|
|
52
|
+
- **Done when:** all states implemented; props typed; no hardcoded styles
|
|
53
|
+
|
|
54
|
+
### 4. Functional & Accessibility Verification — `@qa`
|
|
55
|
+
- **Input:** implemented component
|
|
56
|
+
- **Actions:** verify all states render correctly; run automated accessibility check (axe, Lighthouse); test keyboard navigation: Tab, Enter, Escape, Arrow keys as applicable; verify component in isolation (Storybook or equivalent) and in consumer context
|
|
57
|
+
- **Output:** `validation_evidence.md` — state screenshots, a11y report, keyboard nav results
|
|
58
|
+
- **Done when:** no blocking WCAG A issues; all states verified; keyboard navigation confirmed
|
|
59
|
+
|
|
60
|
+
### 5. Code Review & Merge Readiness — `@team-lead`
|
|
61
|
+
- **Input:** component branch + validation evidence
|
|
62
|
+
- **Actions:** review component API design (props, events, slots); verify CSS architecture (no specificity leaks, tokens used); check test coverage; approve or return with blocking feedback
|
|
63
|
+
- **Output:** review feedback
|
|
64
|
+
- **Done when:** all blocking feedback resolved; `@team-lead` approves
|
|
65
|
+
|
|
66
|
+
## Exit
|
|
67
|
+
Accepted component + passing tests + a11y clear = ready to merge and publish to design system.
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: visual-regression
|
|
3
|
+
type: workflow
|
|
4
|
+
trigger: /visual-regression
|
|
5
|
+
description: Detect, triage, and resolve unintended UI visual diffs before release using snapshot comparison.
|
|
6
|
+
inputs:
|
|
7
|
+
- changed_ui_scope
|
|
8
|
+
- baseline_snapshots
|
|
9
|
+
outputs:
|
|
10
|
+
- visual_diff_report
|
|
11
|
+
- approved_or_rejected_baseline_update
|
|
12
|
+
roles:
|
|
13
|
+
- developer
|
|
14
|
+
- qa
|
|
15
|
+
- designer
|
|
16
|
+
- team-lead
|
|
17
|
+
execution:
|
|
18
|
+
initiator: developer
|
|
19
|
+
related-rules:
|
|
20
|
+
- quality.md
|
|
21
|
+
- accessibility.md
|
|
22
|
+
- performance.md
|
|
23
|
+
uses-skills:
|
|
24
|
+
- testing-patterns
|
|
25
|
+
- component-design
|
|
26
|
+
quality-gates:
|
|
27
|
+
- critical diffs reviewed by designer before baseline update
|
|
28
|
+
- accepted diffs documented with rationale
|
|
29
|
+
- no unreviewed diffs merged
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## Steps
|
|
33
|
+
|
|
34
|
+
### 1. Determine Visual Test Scope — `@developer`
|
|
35
|
+
- **Input:** changed UI components or routes
|
|
36
|
+
- **Actions:** identify which components and routes are affected by current changes; confirm baseline snapshots are up to date for the scope
|
|
37
|
+
- **Output:** test scope list
|
|
38
|
+
- **Done when:** scope defined; baseline verified
|
|
39
|
+
|
|
40
|
+
### 2. Run Capture & Comparison Suite — `@qa`
|
|
41
|
+
- **Input:** test scope
|
|
42
|
+
- **Actions:** run visual regression tool (Percy, Chromatic, Playwright snapshots) against current branch; generate diff images for all changed snapshots
|
|
43
|
+
- **Output:** visual diff report with diff images per component/route
|
|
44
|
+
- **Done when:** all diffs captured; report generated
|
|
45
|
+
|
|
46
|
+
### 3. Classify Diffs — `@designer` + `@qa`
|
|
47
|
+
- **Input:** visual diff report
|
|
48
|
+
- **Actions:** per diff: expected (intentional change matching design spec) vs. unexpected (unintended regression); `@designer` reviews all diffs involving design decisions; `@qa` flags unexpected diffs as blockers
|
|
49
|
+
- **Output:** classification per diff: approved / rejected / needs designer review
|
|
50
|
+
- **Done when:** all diffs classified; no diffs in "unknown" state
|
|
51
|
+
|
|
52
|
+
### 4. Fix or Approve Baseline Updates — `@developer` + `@designer`
|
|
53
|
+
- **Input:** classified diffs
|
|
54
|
+
- **Actions:** rejected (unexpected): `@developer` fixes the regression; approved (expected): update baseline snapshots with `@designer` explicit sign-off; document rationale for each approved baseline change
|
|
55
|
+
- **Output:** fixed code or updated baselines with documentation
|
|
56
|
+
- **Done when:** all rejected diffs fixed; all approved baselines updated with sign-off
|
|
57
|
+
|
|
58
|
+
### 5. Final Gate Decision — `@team-lead`
|
|
59
|
+
- **Input:** updated branch + baseline sign-offs
|
|
60
|
+
- **Actions:** verify all regressions fixed; confirm all approved baseline updates have designer sign-off; approve merge
|
|
61
|
+
- **Output:** merge approval
|
|
62
|
+
- **Done when:** all diffs resolved; no unreviewed changes
|
|
63
|
+
|
|
64
|
+
## Exit
|
|
65
|
+
Zero unexpected diffs + all baseline updates designer-approved + `@team-lead` sign-off = visual review complete.
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# Full Stack — guidance index
|
|
2
|
+
|
|
3
|
+
## What this area covers
|
|
4
|
+
|
|
5
|
+
End-to-end product feature development spanning backend services and frontend interfaces: API design, backend architecture, database access, async processing, frontend integration, testing pipelines, and full project lifecycle management.
|
|
6
|
+
|
|
7
|
+
## Guidance chain
|
|
8
|
+
|
|
9
|
+
1. Project `.agent/` baseline (`AGENTS.md` + `.agent/*`)
|
|
10
|
+
2. `software/general/rules/*` — always active
|
|
11
|
+
3. `full-stack/rules/*` — load all for this spec
|
|
12
|
+
4. `full-stack/skills/*/SKILL.md` — load only the skill matching the current task
|
|
13
|
+
5. `full-stack/workflows/*` — load the workflow matching the triggered command
|
|
14
|
+
|
|
15
|
+
## Inherited from general
|
|
16
|
+
|
|
17
|
+
- SDLC methodology, role responsibilities, and handoff contracts
|
|
18
|
+
- Git / CI / lint / format and code style baselines
|
|
19
|
+
- General development and code review workflows
|
|
20
|
+
|
|
21
|
+
## Full-stack-specific constraints
|
|
22
|
+
|
|
23
|
+
- API contracts are versioned and documented before implementation; no breaking changes without a migration path.
|
|
24
|
+
- Frontend and backend changes for the same feature ship together in a coordinated, backward-compatible rollout.
|
|
25
|
+
- Every new feature includes end-to-end tests covering at least the critical user path.
|
|
26
|
+
|
|
27
|
+
## Spec map
|
|
28
|
+
|
|
29
|
+
```text
|
|
30
|
+
full-stack/
|
|
31
|
+
├── rules/
|
|
32
|
+
│ ├── api-design-guide.md ← REST/GraphQL/tRPC conventions, versioning
|
|
33
|
+
│ ├── backend-architecture-rule.md ← layering, module boundaries, DI
|
|
34
|
+
│ ├── database-access-guide.md ← ORM patterns, query safety, N+1 prevention
|
|
35
|
+
│ ├── database-migrations-guide.md ← migration safety, backward compatibility
|
|
36
|
+
│ ├── async-concurrency-guide.md ← queues, workers, deadlock prevention
|
|
37
|
+
│ ├── background-jobs-guide.md ← job design, retry, DLQ
|
|
38
|
+
│ ├── error-handling-guide.md ← error taxonomy, propagation, user messaging
|
|
39
|
+
│ ├── logging-observability-guide.md ← structured logs, trace IDs, metrics
|
|
40
|
+
│ ├── security-guide.md ← authN/authZ, input validation, secret handling
|
|
41
|
+
│ ├── testing-ci-guide.md ← test pyramid, CI checks, coverage thresholds
|
|
42
|
+
│ ├── e2e-test-guide.md ← e2e tool setup, test scope, flakiness policy
|
|
43
|
+
│ ├── code-quality-guide.md ← naming, DRY, single responsibility
|
|
44
|
+
│ ├── env-settings-guide.md ← environment config, secrets, local setup
|
|
45
|
+
│ ├── domain-models-guide.md ← entity design, value objects, aggregates
|
|
46
|
+
│ └── project-guide.md ← folder structure, module boundaries, tech stack
|
|
47
|
+
├── skills/
|
|
48
|
+
│ ├── api-design-principles/SKILL.md ← REST best practices, GraphQL schema design
|
|
49
|
+
│ ├── api-patterns/SKILL.md ← auth, rate limiting, versioning, tRPC
|
|
50
|
+
│ ├── app-builder/SKILL.md ← project scaffolding, templates, tech stack detection
|
|
51
|
+
│ ├── backend-developer/SKILL.md ← service patterns, DI, repository design
|
|
52
|
+
│ ├── python-pro/SKILL.md ← Python idioms, packaging, async patterns
|
|
53
|
+
│ ├── bash-pro/SKILL.md ← shell scripting, automation, CI helpers
|
|
54
|
+
│ ├── blackbox-test/SKILL.md ← external API testing, contract validation
|
|
55
|
+
│ ├── prompt-project-planner/SKILL.md ← project planning, milestone scoping
|
|
56
|
+
│ └── skill-creator/SKILL.md ← authoring new skills for this repo
|
|
57
|
+
├── workflows/
|
|
58
|
+
│ ├── develop-feature.md ← /develop-feature
|
|
59
|
+
│ ├── debug-issue.md ← /debug-issue
|
|
60
|
+
│ ├── backend-project-full-cycle.md ← /backend-project-full-cycle
|
|
61
|
+
│ ├── feature-implementation-flow.md ← /feature-implementation-flow
|
|
62
|
+
│ └── testing-ci-pipeline.md ← /testing-ci-pipeline
|
|
63
|
+
└── prompts/
|
|
64
|
+
└── *.md
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Discovery patterns
|
|
68
|
+
|
|
69
|
+
- `rules/*.md`
|
|
70
|
+
- `skills/*/SKILL.md`
|
|
71
|
+
- `workflows/*.md`
|
|
72
|
+
- `prompts/*.md`
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# PROMPTS: full-stack
|
|
2
|
+
|
|
3
|
+
Use these prompts with `full-stack/AGENTS.md` from the same directory.
|
|
4
|
+
|
|
5
|
+
## 1) Backend Feature Impl
|
|
6
|
+
|
|
7
|
+
```text
|
|
8
|
+
# Prompt: Backend Feature Implementation
|
|
9
|
+
workflow: feature-implementation-flow
|
|
10
|
+
|
|
11
|
+
# Context
|
|
12
|
+
feature_request: >
|
|
13
|
+
Add a "refund_order" endpoint.
|
|
14
|
+
- Input: order_id, reason
|
|
15
|
+
- Logic: Check if order is PAID. If yes, create transaction, update status to REFUNDED, emit event.
|
|
16
|
+
- If order is not PAID, return 400.
|
|
17
|
+
|
|
18
|
+
# Constraints
|
|
19
|
+
existing_codebase: ./src
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## 2) Backend New Project
|
|
23
|
+
|
|
24
|
+
```text
|
|
25
|
+
# Prompt: New Backend Project
|
|
26
|
+
workflow: backend-project-full-cycle
|
|
27
|
+
|
|
28
|
+
# Project Details
|
|
29
|
+
project_name: order-service
|
|
30
|
+
project_dir: src
|
|
31
|
+
business_logic_description: >
|
|
32
|
+
A service to manage customer orders.
|
|
33
|
+
- Create Order (Draft)
|
|
34
|
+
- Pay Order (Processing -> Paid)
|
|
35
|
+
- Cancel Order
|
|
36
|
+
- List Orders (with pagination)
|
|
37
|
+
|
|
38
|
+
# Tech Stack (Optional - Agent will ask if omitted)
|
|
39
|
+
tech_stack:
|
|
40
|
+
language: Python 3.12
|
|
41
|
+
framework: FastAPI
|
|
42
|
+
database: PostgreSQL
|
|
43
|
+
messaging: RabbitMQ
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## 3) Backend Run Tests
|
|
47
|
+
|
|
48
|
+
```text
|
|
49
|
+
# Prompt: Run Tests (Backend)
|
|
50
|
+
workflow: testing-ci-pipeline
|
|
51
|
+
|
|
52
|
+
# Inputs
|
|
53
|
+
project_type: backend
|
|
54
|
+
test_scope: all
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## 4) Frontend Run Tests
|
|
58
|
+
|
|
59
|
+
```text
|
|
60
|
+
# Prompt: Run Tests (Frontend)
|
|
61
|
+
workflow: testing-ci-pipeline
|
|
62
|
+
|
|
63
|
+
# Inputs
|
|
64
|
+
project_type: frontend
|
|
65
|
+
test_scope: unit
|
|
66
|
+
```
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
---
|
|
2
|
+
workflow: backend-project-full-cycle
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Prompt: `/backend-project-full-cycle`
|
|
6
|
+
|
|
7
|
+
Use when: scaffolding a new Python/FastAPI backend service from scratch — architecture plan, project structure, Makefile, CI, and initial domain implementation.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Example 1 — Domain API service
|
|
12
|
+
|
|
13
|
+
**EN:**
|
|
14
|
+
```
|
|
15
|
+
/backend-project-full-cycle
|
|
16
|
+
|
|
17
|
+
Project name: order-service
|
|
18
|
+
Directory: src/
|
|
19
|
+
Business logic:
|
|
20
|
+
- Create Order (status: Draft → Paid → Cancelled / Refunded)
|
|
21
|
+
- Add / remove Order Items (product_id, quantity, unit_price)
|
|
22
|
+
- Pay Order — validate item availability, create payment record, emit OrderPaid event
|
|
23
|
+
- Cancel Order — only if status is Draft or Paid (not Refunded)
|
|
24
|
+
- List Orders for a user with cursor pagination (limit 20 default)
|
|
25
|
+
Tech stack:
|
|
26
|
+
language: Python 3.12
|
|
27
|
+
framework: FastAPI (async)
|
|
28
|
+
database: PostgreSQL 16 via SQLAlchemy (async) + Alembic
|
|
29
|
+
messaging: RabbitMQ (pika-async) for outbound events
|
|
30
|
+
task queue: none (synchronous only for now)
|
|
31
|
+
testing: pytest + pytest-asyncio + httpx
|
|
32
|
+
CI: GitHub Actions
|
|
33
|
+
Non-functional: all DB operations async; Pydantic BaseSettings for config;
|
|
34
|
+
structured JSON logs (structlog); Makefile with install/dev/test/lint/fmt targets
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
**RU:**
|
|
38
|
+
```
|
|
39
|
+
/backend-project-full-cycle
|
|
40
|
+
|
|
41
|
+
Название проекта: order-service
|
|
42
|
+
Директория: src/
|
|
43
|
+
Бизнес логика:
|
|
44
|
+
- Создание Заказа (статус: Draft → Paid → Cancelled / Refunded)
|
|
45
|
+
- Добавление / удаление позиций заказа (product_id, quantity, unit_price)
|
|
46
|
+
- Оплата заказа — валидация доступности позиций, создание записи платежа, отправка события OrderPaid
|
|
47
|
+
- Отмена заказа — только если статус Draft или Paid (не Refunded)
|
|
48
|
+
- Список заказов пользователя с cursor пагинацией (по умолчанию limit 20)
|
|
49
|
+
Стек технологий:
|
|
50
|
+
язык: Python 3.12
|
|
51
|
+
фреймворк: FastAPI (async)
|
|
52
|
+
база данных: PostgreSQL 16 через SQLAlchemy (async) + Alembic
|
|
53
|
+
сообщения: RabbitMQ (pika-async) для исходящих событий
|
|
54
|
+
очередь задач: нет (только синхронно пока)
|
|
55
|
+
тестирование: pytest + pytest-asyncio + httpx
|
|
56
|
+
CI: GitHub Actions
|
|
57
|
+
Нефункциональные: все операции с БД async; Pydantic BaseSettings для конфигурации;
|
|
58
|
+
структурированные JSON логи (structlog); Makefile с targets install/dev/test/lint/fmt
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## Example 2 — Internal tool / simple CRUD
|
|
64
|
+
|
|
65
|
+
**EN:**
|
|
66
|
+
```
|
|
67
|
+
/backend-project-full-cycle
|
|
68
|
+
|
|
69
|
+
Project name: inventory-service
|
|
70
|
+
Directory: src/
|
|
71
|
+
Business logic:
|
|
72
|
+
- CRUD for Products (name, sku, price, stock_quantity)
|
|
73
|
+
- Stock reservation: reserve N units for an order (atomic, prevents oversell)
|
|
74
|
+
- Stock release: release reserved units (on order cancel)
|
|
75
|
+
- Low-stock alert: GET /products/low-stock returns products where stock < threshold
|
|
76
|
+
Tech stack:
|
|
77
|
+
language: Python 3.12
|
|
78
|
+
framework: FastAPI
|
|
79
|
+
database: PostgreSQL via SQLAlchemy async
|
|
80
|
+
messaging: none
|
|
81
|
+
testing: pytest
|
|
82
|
+
CI: GitLab CI
|
|
83
|
+
Scale: internal service, ~100 req/min peak, no need for caching yet
|
|
84
|
+
No auth: internal network only (API key via X-API-Key header is sufficient)
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
**RU:**
|
|
88
|
+
```
|
|
89
|
+
/backend-project-full-cycle
|
|
90
|
+
|
|
91
|
+
Название проекта: inventory-service
|
|
92
|
+
Директория: src/
|
|
93
|
+
Бизнес логика:
|
|
94
|
+
- CRUD для Products (name, sku, price, stock_quantity)
|
|
95
|
+
- Резервирование запасов: зарезервировать N единиц для заказа (атомарно, предотвращает oversell)
|
|
96
|
+
- Освобождение запасов: освободить зарезервированные единицы (при отмене заказа)
|
|
97
|
+
- Алерт о низком запасе: GET /products/low-stock возвращает продукты где stock < threshold
|
|
98
|
+
Стек технологий:
|
|
99
|
+
язык: Python 3.12
|
|
100
|
+
фреймворк: FastAPI
|
|
101
|
+
база данных: PostgreSQL через SQLAlchemy async
|
|
102
|
+
сообщения: нет
|
|
103
|
+
тестирование: pytest
|
|
104
|
+
CI: GitLab CI
|
|
105
|
+
Масштаб: внутренний сервис, ~100 req/min в пике, кэширование пока не нужно
|
|
106
|
+
Без auth: только внутренняя сеть (API ключ через заголовок X-API-Key достаточно)
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
## Example 3 — Minimal / Quick scaffold
|
|
112
|
+
|
|
113
|
+
**EN:**
|
|
114
|
+
```
|
|
115
|
+
/backend-project-full-cycle
|
|
116
|
+
|
|
117
|
+
Project name: webhook-receiver
|
|
118
|
+
Directory: .
|
|
119
|
+
Business logic:
|
|
120
|
+
- Receive POST /webhooks/{provider} with HMAC signature verification
|
|
121
|
+
- Store raw payload to PostgreSQL (table: webhook_events)
|
|
122
|
+
- Enqueue for processing (Redis list: webhook_queue)
|
|
123
|
+
- GET /webhooks/{id} to check processing status
|
|
124
|
+
Tech stack: Python 3.12, FastAPI, PostgreSQL, Redis, pytest, GitHub Actions
|
|
125
|
+
Keep minimal: no domain layers needed — single service file is fine; focus on correctness
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
**RU:**
|
|
129
|
+
```
|
|
130
|
+
/backend-project-full-cycle
|
|
131
|
+
|
|
132
|
+
Название проекта: webhook-receiver
|
|
133
|
+
Директория: .
|
|
134
|
+
Бизнес логика:
|
|
135
|
+
- Приём POST /webhooks/{provider} с верификацией HMAC подписи
|
|
136
|
+
- Сохранение сырого payload в PostgreSQL (таблица: webhook_events)
|
|
137
|
+
- Постановка в очередь для обработки (Redis list: webhook_queue)
|
|
138
|
+
- GET /webhooks/{id} для проверки статуса обработки
|
|
139
|
+
Стек: Python 3.12, FastAPI, PostgreSQL, Redis, pytest, GitHub Actions
|
|
140
|
+
Минималистично: слои домена не нужны — один service файл подойдёт; фокус на корректности
|
|
141
|
+
```
|