@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,71 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: new-model
|
|
3
|
+
type: workflow
|
|
4
|
+
trigger: /new-model
|
|
5
|
+
description: Scaffold a complete dbt model with SQL, documentation, tests, and lineage from requirements to validated output.
|
|
6
|
+
inputs:
|
|
7
|
+
- model_name
|
|
8
|
+
- layer
|
|
9
|
+
- source_table
|
|
10
|
+
outputs:
|
|
11
|
+
- dbt_model_sql
|
|
12
|
+
- yaml_documentation
|
|
13
|
+
- validated_model
|
|
14
|
+
roles:
|
|
15
|
+
- pm
|
|
16
|
+
- team-lead
|
|
17
|
+
- developer
|
|
18
|
+
- qa
|
|
19
|
+
execution:
|
|
20
|
+
initiator: pm
|
|
21
|
+
related-rules:
|
|
22
|
+
- schema-management.md
|
|
23
|
+
- pipeline-integrity.md
|
|
24
|
+
- data-governance.md
|
|
25
|
+
uses-skills:
|
|
26
|
+
- data-modeling
|
|
27
|
+
- dbt-patterns
|
|
28
|
+
- quality-checks
|
|
29
|
+
quality-gates:
|
|
30
|
+
- dbt compile passes with no errors
|
|
31
|
+
- standard tests pass (unique/not_null on PK, relationships on FKs)
|
|
32
|
+
- model documented with column descriptions
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## Steps
|
|
36
|
+
|
|
37
|
+
### 1. Requirements Gathering — `@pm`
|
|
38
|
+
- **Input:** model request
|
|
39
|
+
- **Actions:** confirm model name (snake_case), target layer (staging / intermediate / mart), source table, business purpose, and key metrics or grain
|
|
40
|
+
- **Output:** confirmed model spec
|
|
41
|
+
- **Done when:** spec unambiguous; `@team-lead` briefed
|
|
42
|
+
|
|
43
|
+
### 2. Model Design — `@team-lead`
|
|
44
|
+
- **Input:** confirmed model spec
|
|
45
|
+
- **Actions:** determine grain and primary key; identify required joins and business logic; specify standard tests (unique, not_null, relationships, recency for time-series); review lineage impact using `/lineage-trace` if modifying shared tables
|
|
46
|
+
- **Output:** design note with grain, PK, test list, lineage notes
|
|
47
|
+
- **Done when:** design approved; no lineage conflicts
|
|
48
|
+
|
|
49
|
+
### 3. SQL & YAML Implementation — `@developer`
|
|
50
|
+
- **Input:** design note
|
|
51
|
+
- **Actions:**
|
|
52
|
+
- staging: SELECT with column renaming, type casting, deduplication
|
|
53
|
+
- intermediate: business logic JOIN template
|
|
54
|
+
- mart: fact/dimension template with surrogate key and audit columns
|
|
55
|
+
- generate YAML docs: model description, auto-detected columns, standard tests
|
|
56
|
+
- **Output:** `models/<layer>/<model_name>.sql` + `<model_name>.yml`
|
|
57
|
+
- **Done when:** SQL implemented; YAML complete with all columns described
|
|
58
|
+
|
|
59
|
+
### 4. Validation — `@qa`
|
|
60
|
+
- **Input:** model files
|
|
61
|
+
- **Actions:** `dbt compile --select <model_name>`; `dbt test --select <model_name> --empty`; compare compiled SQL against design; verify tests are sufficient for the grain and business rules
|
|
62
|
+
- **Output:** validation report; compiled SQL preview
|
|
63
|
+
- **Done when:** `dbt compile` and `dbt test` pass; `@qa` confirms test coverage adequate
|
|
64
|
+
|
|
65
|
+
### 5. Review & Merge — `@team-lead`
|
|
66
|
+
- **Input:** validated model
|
|
67
|
+
- **Actions:** review SQL logic, naming conventions, documentation completeness; approve or return with blocking feedback
|
|
68
|
+
- **Done when:** `@team-lead` approves; PR merged
|
|
69
|
+
|
|
70
|
+
## Exit
|
|
71
|
+
Passing dbt tests + complete YAML docs + `@team-lead` approval = model production-ready.
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: schema-migration
|
|
3
|
+
type: workflow
|
|
4
|
+
trigger: /schema-migration
|
|
5
|
+
description: Execute a data warehouse schema migration safely with downstream impact management and expand/contract when needed.
|
|
6
|
+
inputs:
|
|
7
|
+
- table_name
|
|
8
|
+
- change_type
|
|
9
|
+
outputs:
|
|
10
|
+
- migrated_schema
|
|
11
|
+
- downstream_notification
|
|
12
|
+
roles:
|
|
13
|
+
- developer
|
|
14
|
+
- team-lead
|
|
15
|
+
- qa
|
|
16
|
+
execution:
|
|
17
|
+
initiator: team-lead
|
|
18
|
+
related-rules:
|
|
19
|
+
- schema-management.md
|
|
20
|
+
- pipeline-integrity.md
|
|
21
|
+
- data-governance.md
|
|
22
|
+
uses-skills:
|
|
23
|
+
- data-modeling
|
|
24
|
+
- lineage-governance
|
|
25
|
+
quality-gates:
|
|
26
|
+
- non-breaking changes confirmed or expand/contract plan approved
|
|
27
|
+
- all dbt tests pass post-migration
|
|
28
|
+
- downstream owners notified with 5-business-day notice for breaking changes
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## Steps
|
|
32
|
+
|
|
33
|
+
### 1. Change Classification — `@team-lead`
|
|
34
|
+
- **Input:** table name, change type (rename-column / add-column / change-type / drop-column)
|
|
35
|
+
- **Actions:** classify as non-breaking (add nullable column → proceed to Step 3) or breaking (requires full impact assessment)
|
|
36
|
+
- **Output:** classification decision
|
|
37
|
+
- **Done when:** classification confirmed
|
|
38
|
+
|
|
39
|
+
### 2. Impact Assessment — `@developer` (breaking changes only)
|
|
40
|
+
- **Input:** breaking change classification
|
|
41
|
+
- **Actions:** run `/lineage-trace` to identify all affected downstream models and dashboards; notify downstream owners with minimum 5-business-day notice
|
|
42
|
+
- **Output:** impact report with affected asset list; notification sent
|
|
43
|
+
- **Done when:** all downstream owners acknowledged
|
|
44
|
+
|
|
45
|
+
### 3. Migration Strategy — `@team-lead`
|
|
46
|
+
- **Input:** confirmed change + impact report
|
|
47
|
+
- **Actions:** define migration phases:
|
|
48
|
+
- column rename: Phase 1 add new column + populate from old; Phase 2 migrate downstream; Phase 3 mark old deprecated; Phase 4 (30 days later) drop old
|
|
49
|
+
- type change: use CAST-safe intermediate column
|
|
50
|
+
- drop: only after all references removed
|
|
51
|
+
- **Output:** migration strategy doc with phase timeline
|
|
52
|
+
- **Done when:** strategy approved; `@developer` can implement
|
|
53
|
+
|
|
54
|
+
### 4. Execute Migration — `@developer`
|
|
55
|
+
- **Input:** approved strategy
|
|
56
|
+
- **Actions:** generate and review migration SQL; run in staging first; validate with dbt tests in staging; execute in production in off-peak window
|
|
57
|
+
- **Output:** migration applied to production
|
|
58
|
+
- **Done when:** migration runs without error; no rollback triggered
|
|
59
|
+
|
|
60
|
+
### 5. Verify & Document — `@qa`
|
|
61
|
+
- **Input:** migrated production schema
|
|
62
|
+
- **Actions:** confirm all dbt tests pass post-migration; update YAML docs and data catalog; announce completion to downstream owners
|
|
63
|
+
- **Output:** `validation_report.md`; catalog updated; owners notified
|
|
64
|
+
- **Done when:** all tests green; documentation current
|
|
65
|
+
|
|
66
|
+
## Exit
|
|
67
|
+
Post-migration tests green + catalog updated + owners notified = migration complete.
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# Frontend — guidance index
|
|
2
|
+
|
|
3
|
+
## What this area covers
|
|
4
|
+
|
|
5
|
+
UI and component development: component architecture, accessibility (WCAG AA), performance budgets, state management, API integration, CSS architecture, visual regression, and bundle analysis.
|
|
6
|
+
|
|
7
|
+
## Guidance chain
|
|
8
|
+
|
|
9
|
+
1. Project `.agent/` baseline (`AGENTS.md` + `.agent/*`)
|
|
10
|
+
2. `software/general/rules/*` — always active
|
|
11
|
+
3. `frontend/rules/*` — load all for this spec
|
|
12
|
+
4. `frontend/skills/*/SKILL.md` — load only the skill matching the current task
|
|
13
|
+
5. `frontend/workflows/*` — load the workflow matching the triggered command
|
|
14
|
+
|
|
15
|
+
## Inherited from general
|
|
16
|
+
|
|
17
|
+
- SDLC roles and quality gates
|
|
18
|
+
- Git workflow, CI, linting / formatting, code style
|
|
19
|
+
- Shared delivery and code review workflows
|
|
20
|
+
|
|
21
|
+
## Frontend-specific constraints
|
|
22
|
+
|
|
23
|
+
- WCAG AA compliance is a baseline requirement, not an enhancement — accessibility defects are P0.
|
|
24
|
+
- Performance budgets must be defined before implementing new features with significant asset load.
|
|
25
|
+
- No component ships without documented states: loading, empty, error, success, permission-denied.
|
|
26
|
+
|
|
27
|
+
## Spec map
|
|
28
|
+
|
|
29
|
+
```text
|
|
30
|
+
frontend/
|
|
31
|
+
├── rules/
|
|
32
|
+
│ ├── accessibility.md ← WCAG AA requirements, ARIA patterns, keyboard navigation
|
|
33
|
+
│ ├── architecture.md ← component hierarchy, coupling, folder structure
|
|
34
|
+
│ ├── performance.md ← Core Web Vitals budgets, lazy loading, asset optimization
|
|
35
|
+
│ └── quality.md ← snapshot stability, coverage thresholds, PR review criteria
|
|
36
|
+
├── skills/
|
|
37
|
+
│ ├── a11y-audit/SKILL.md ← axe, Lighthouse, screen reader testing patterns
|
|
38
|
+
│ ├── api-integration/SKILL.md ← data fetching, error boundaries, loading states
|
|
39
|
+
│ ├── component-design/SKILL.md ← composition, props contracts, Storybook patterns
|
|
40
|
+
│ ├── css-architecture/SKILL.md ← utility-first, design tokens, style isolation
|
|
41
|
+
│ ├── error-handling/SKILL.md ← error boundaries, fallback UI, user messaging
|
|
42
|
+
│ ├── performance-tuning/SKILL.md ← bundle splitting, image optimization, CWV analysis
|
|
43
|
+
│ ├── state-management/SKILL.md ← local vs server state, caching, optimistic UI
|
|
44
|
+
│ └── testing-patterns/SKILL.md ← component tests, mocking, visual regression
|
|
45
|
+
├── workflows/
|
|
46
|
+
│ ├── a11y-fix.md ← /a11y-fix
|
|
47
|
+
│ ├── bundle-analyze.md ← /bundle-analyze
|
|
48
|
+
│ ├── release-prep.md ← /release-prep
|
|
49
|
+
│ ├── scaffold-component.md ← /scaffold-component
|
|
50
|
+
│ └── visual-regression.md ← /visual-regression
|
|
51
|
+
└── prompts/
|
|
52
|
+
└── *.md
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Discovery patterns
|
|
56
|
+
|
|
57
|
+
- `rules/*.md`
|
|
58
|
+
- `skills/*/SKILL.md`
|
|
59
|
+
- `workflows/*.md`
|
|
60
|
+
- `prompts/*.md`
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# PROMPTS: frontend
|
|
2
|
+
|
|
3
|
+
Use these prompts with `AGENTS.md` from the same directory.
|
|
4
|
+
|
|
5
|
+
## 1) Initialize agent behavior
|
|
6
|
+
|
|
7
|
+
```text
|
|
8
|
+
Read `frontend/AGENTS.md` and adopt its rules, skills loading strategy, and workflows as hard constraints.
|
|
9
|
+
List the active rules and the selected workflow before implementation.
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## 2) Implement a feature
|
|
13
|
+
|
|
14
|
+
```text
|
|
15
|
+
Using `frontend/AGENTS.md`, implement: <feature description>.
|
|
16
|
+
Before coding: provide architecture notes, risk list, and test plan.
|
|
17
|
+
After coding: run checks and report exact commands and results.
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## 3) Incident / debug mode
|
|
21
|
+
|
|
22
|
+
```text
|
|
23
|
+
Using `frontend/AGENTS.md`, run incident triage for: <incident summary>.
|
|
24
|
+
Return root cause hypotheses, validation steps, fix plan, and rollback plan.
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## 4) Release readiness
|
|
28
|
+
|
|
29
|
+
```text
|
|
30
|
+
Using `frontend/AGENTS.md`, prepare release checklist for: <release scope>.
|
|
31
|
+
Include quality gates, security gates, performance gates, and deployment validation.
|
|
32
|
+
```
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
workflow: a11y-fix
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Prompt: `/a11y-fix`
|
|
6
|
+
|
|
7
|
+
Use when: resolving accessibility issues found in a WCAG audit or accessibility testing tool.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Example 1 — Audit findings batch fix
|
|
12
|
+
|
|
13
|
+
**EN:**
|
|
14
|
+
```
|
|
15
|
+
/a11y-fix
|
|
16
|
+
|
|
17
|
+
Target: /checkout route (all 3 steps)
|
|
18
|
+
Audit tool: axe-core via jest-axe + manual keyboard testing
|
|
19
|
+
Findings:
|
|
20
|
+
- [Critical] Step 2 payment form: credit card number input has no label (axe: label-content-name-mismatch)
|
|
21
|
+
- [Critical] Error messages appear visually but not announced by screen reader
|
|
22
|
+
- [Serious] "Continue" button disabled state not conveyed to AT (missing aria-disabled)
|
|
23
|
+
- [Moderate] Focus order on mobile: jumps from address field to order summary (skips city/zip)
|
|
24
|
+
Designer decisions needed: error message copy (ARIA live region wording)
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
**RU:**
|
|
28
|
+
```
|
|
29
|
+
/a11y-fix
|
|
30
|
+
|
|
31
|
+
Цель: маршрут /checkout (все 3 шага)
|
|
32
|
+
Инструмент аудита: axe-core через jest-axe + ручное тестирование клавиатурой
|
|
33
|
+
Находки:
|
|
34
|
+
- [Critical] Шаг 2 форма оплаты: поле номера карты без label (axe: label-content-name-mismatch)
|
|
35
|
+
- [Critical] Сообщения об ошибках отображаются визуально, но не объявляются screen reader'ом
|
|
36
|
+
- [Serious] Состояние disabled кнопки "Продолжить" не передаётся AT (отсутствует aria-disabled)
|
|
37
|
+
- [Moderate] Порядок фокуса на мобильном: перескакивает с поля адреса на сводку заказа (пропускает city/zip)
|
|
38
|
+
Решения дизайнера нужны: текст сообщений об ошибках (формулировка ARIA live region)
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Example 2 — Component-level screen reader remediation
|
|
44
|
+
|
|
45
|
+
**EN:**
|
|
46
|
+
```
|
|
47
|
+
/a11y-fix
|
|
48
|
+
|
|
49
|
+
Target: AccountSecurityModal component used on /settings/security
|
|
50
|
+
Audit inputs:
|
|
51
|
+
- VoiceOver on Safari cannot identify the modal title
|
|
52
|
+
- Escape key closes the modal visually but focus is not returned to the trigger button
|
|
53
|
+
- Password strength meter changes color only; no textual announcement for screen readers
|
|
54
|
+
Acceptance criteria:
|
|
55
|
+
- dialog has correct aria-labelledby / aria-describedby wiring
|
|
56
|
+
- focus trap works with Tab / Shift+Tab and returns focus to the trigger on close
|
|
57
|
+
- strength updates are announced in an aria-live region without duplicate chatter
|
|
58
|
+
Output: implementation plan, component patch, test updates, and final WCAG criterion mapping
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
**RU:**
|
|
62
|
+
```
|
|
63
|
+
/a11y-fix
|
|
64
|
+
|
|
65
|
+
Цель: компонент AccountSecurityModal, используемый на /settings/security
|
|
66
|
+
Входные данные аудита:
|
|
67
|
+
- VoiceOver в Safari не может определить заголовок модального окна
|
|
68
|
+
- Escape визуально закрывает модалку, но фокус не возвращается на кнопку-триггер
|
|
69
|
+
- Индикатор сложности пароля меняет только цвет; нет текстового объявления для screen reader
|
|
70
|
+
Критерии приёмки:
|
|
71
|
+
- у dialog корректно настроены aria-labelledby / aria-describedby
|
|
72
|
+
- focus trap работает с Tab / Shift+Tab и возвращает фокус на триггер при закрытии
|
|
73
|
+
- обновления strength объявляются через aria-live без дублирующего шума
|
|
74
|
+
Результат: план реализации, патч компонента, обновления тестов и финальная привязка к критериям WCAG
|
|
75
|
+
```
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
workflow: bundle-analyze
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Prompt: `/bundle-analyze`
|
|
6
|
+
|
|
7
|
+
Use when: investigating bundle size regressions or optimizing for performance budgets.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Example 1 — Regression investigation
|
|
12
|
+
|
|
13
|
+
**EN:**
|
|
14
|
+
```
|
|
15
|
+
/bundle-analyze
|
|
16
|
+
|
|
17
|
+
Build artifacts: dist/ (webpack build)
|
|
18
|
+
Baseline: performance-budget.json (main branch)
|
|
19
|
+
Detected: main bundle +87KB after merging PR #203
|
|
20
|
+
PR added: recharts library for new dashboard charts
|
|
21
|
+
Budget: main bundle < 250KB gzipped (currently 337KB)
|
|
22
|
+
Goal: identify the culprit and options (tree-shake, lazy-load charts, or alternative library)
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
**RU:**
|
|
26
|
+
```
|
|
27
|
+
/bundle-analyze
|
|
28
|
+
|
|
29
|
+
Артефакты сборки: dist/ (webpack build)
|
|
30
|
+
Baseline: performance-budget.json (ветка main)
|
|
31
|
+
Обнаружено: main bundle +87KB после мержа PR #203
|
|
32
|
+
PR добавил: библиотеку recharts для новых графиков dashboard
|
|
33
|
+
Бюджет: main bundle < 250KB gzipped (сейчас 337KB)
|
|
34
|
+
Цель: определить виновника и варианты решения (tree-shake, lazy-load графиков, или альтернативная библиотека)
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## Example 2 — Route-level split strategy before release
|
|
40
|
+
|
|
41
|
+
**EN:**
|
|
42
|
+
```
|
|
43
|
+
/bundle-analyze
|
|
44
|
+
|
|
45
|
+
App: customer portal (Vite + React)
|
|
46
|
+
Problem: /reports route initial JS payload is 1.1MB uncompressed and blocks Lighthouse performance score
|
|
47
|
+
Suspected contributors:
|
|
48
|
+
- monaco-editor loaded on initial route even though only used in one tab
|
|
49
|
+
- shared vendor chunk includes all chart adapters and locale data
|
|
50
|
+
- PDF export library imported in top-level page component
|
|
51
|
+
Budget target: first-load JS for /reports < 350KB gzipped
|
|
52
|
+
Need:
|
|
53
|
+
1. chunk breakdown by route and dependency
|
|
54
|
+
2. quick wins vs larger refactor suggestions
|
|
55
|
+
3. recommendation whether to lazy-load monaco/PDF export and split locale packs
|
|
56
|
+
Output: bundle diff report, prioritized optimization backlog, and estimate of savings per action
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
**RU:**
|
|
60
|
+
```
|
|
61
|
+
/bundle-analyze
|
|
62
|
+
|
|
63
|
+
Приложение: customer portal (Vite + React)
|
|
64
|
+
Проблема: initial JS payload маршрута /reports = 1.1MB без сжатия и он блокирует Lighthouse performance score
|
|
65
|
+
Подозреваемые источники:
|
|
66
|
+
- monaco-editor загружается на старте маршрута, хотя используется только в одной вкладке
|
|
67
|
+
- shared vendor chunk включает все chart adapters и locale data
|
|
68
|
+
- библиотека PDF export импортируется в top-level page component
|
|
69
|
+
Целевой бюджет: first-load JS для /reports < 350KB gzipped
|
|
70
|
+
Нужно:
|
|
71
|
+
1. разбивка chunk'ов по маршруту и зависимостям
|
|
72
|
+
2. быстрые выигрыши vs предложения для более крупного рефакторинга
|
|
73
|
+
3. рекомендация, нужно ли lazy-load monaco/PDF export и разделять locale packs
|
|
74
|
+
Результат: bundle diff report, приоритизированный optimization backlog и оценка экономии на каждое действие
|
|
75
|
+
```
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
---
|
|
2
|
+
workflow: release-prep
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Prompt: `/release-prep`
|
|
6
|
+
|
|
7
|
+
Use when: preparing a frontend release with coordinated quality, performance, and stakeholder sign-off.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Example 1 — Planned release
|
|
12
|
+
|
|
13
|
+
**EN:**
|
|
14
|
+
```
|
|
15
|
+
/release-prep
|
|
16
|
+
|
|
17
|
+
Release: v2.8.0
|
|
18
|
+
Scope: 3 new features (dark mode, notification center, dashboard redesign)
|
|
19
|
+
Target version: 2.8.0
|
|
20
|
+
Success criteria:
|
|
21
|
+
- Lighthouse performance score >= 85 on key pages
|
|
22
|
+
- Zero new WCAG A violations
|
|
23
|
+
- All regression tests pass
|
|
24
|
+
- Bundle size within budget (< 300KB gzipped main)
|
|
25
|
+
Known risk: notification center uses WebSocket - first time in the app
|
|
26
|
+
Release notes audience: end users (non-technical)
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
**RU:**
|
|
30
|
+
```
|
|
31
|
+
/release-prep
|
|
32
|
+
|
|
33
|
+
Релиз: v2.8.0
|
|
34
|
+
Скоуп: 3 новые фичи (dark mode, центр уведомлений, редизайн dashboard)
|
|
35
|
+
Целевая версия: 2.8.0
|
|
36
|
+
Критерии успеха:
|
|
37
|
+
- Lighthouse performance score >= 85 на ключевых страницах
|
|
38
|
+
- Ноль новых WCAG A нарушений
|
|
39
|
+
- Все regression tests проходят
|
|
40
|
+
- Размер bundle в рамках бюджета (< 300KB gzipped main)
|
|
41
|
+
Известный риск: центр уведомлений использует WebSocket - первый раз в приложении
|
|
42
|
+
Аудитория release notes: конечные пользователи (нетехнические)
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## Example 2 — Hotfix release with rollback pressure
|
|
48
|
+
|
|
49
|
+
**EN:**
|
|
50
|
+
```
|
|
51
|
+
/release-prep
|
|
52
|
+
|
|
53
|
+
Release: v2.8.1-hotfix
|
|
54
|
+
Scope: fix checkout address form regression introduced in v2.8.0
|
|
55
|
+
Observed impact: 18% of mobile Safari users cannot submit checkout after postal code autofill
|
|
56
|
+
Constraints:
|
|
57
|
+
- ship within 4 hours
|
|
58
|
+
- keep rollback path to v2.8.0 build artifact
|
|
59
|
+
- only changed routes /checkout and /order-confirmation require focused visual regression review
|
|
60
|
+
Checks still required:
|
|
61
|
+
- smoke test on staging with Safari + Chrome mobile emulation
|
|
62
|
+
- confirm no new bundle regression on checkout chunk
|
|
63
|
+
- verify analytics event checkout_submit still fires exactly once
|
|
64
|
+
Output: go/no-go recommendation, rollback trigger list, and customer-facing release note for support team
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
**RU:**
|
|
68
|
+
```
|
|
69
|
+
/release-prep
|
|
70
|
+
|
|
71
|
+
Релиз: v2.8.1-hotfix
|
|
72
|
+
Скоуп: исправление регрессии формы адреса на checkout, внесённой в v2.8.0
|
|
73
|
+
Наблюдаемое влияние: 18% пользователей mobile Safari не могут отправить checkout после автозаполнения postal code
|
|
74
|
+
Ограничения:
|
|
75
|
+
- выпустить за 4 часа
|
|
76
|
+
- сохранить путь отката к build artifact версии v2.8.0
|
|
77
|
+
- только изменённые маршруты /checkout и /order-confirmation требуют focused visual regression review
|
|
78
|
+
Проверки, которые всё равно обязательны:
|
|
79
|
+
- smoke test на staging с Safari + Chrome mobile emulation
|
|
80
|
+
- подтвердить отсутствие новой bundle-регрессии в checkout chunk
|
|
81
|
+
- проверить, что analytics event checkout_submit всё ещё срабатывает ровно один раз
|
|
82
|
+
Результат: рекомендация go/no-go, список rollback trigger'ов и customer-facing release note для команды поддержки
|
|
83
|
+
```
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
---
|
|
2
|
+
workflow: scaffold-component
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Prompt: `/scaffold-component`
|
|
6
|
+
|
|
7
|
+
Use when: creating a new reusable UI component from scratch.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Example 1 — Form component with validation
|
|
12
|
+
|
|
13
|
+
**EN:**
|
|
14
|
+
```
|
|
15
|
+
/scaffold-component "DateRangePicker"
|
|
16
|
+
|
|
17
|
+
Purpose: allow users to select a start and end date for filtering reports
|
|
18
|
+
Design system: Tailwind + shadcn/ui; use existing Calendar primitive
|
|
19
|
+
States: default, focused, filled, error (invalid range: end before start), disabled
|
|
20
|
+
Accessibility: keyboard navigation (Arrow keys in calendar), screen reader announces selected range
|
|
21
|
+
API:
|
|
22
|
+
- value?: { from: Date; to?: Date }
|
|
23
|
+
- onChange: (range: { from: Date; to?: Date }) => void
|
|
24
|
+
- minDate?: Date; maxDate?: Date
|
|
25
|
+
- error?: string
|
|
26
|
+
Consumer context: used in Reports filter bar, works with react-hook-form
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
**RU:**
|
|
30
|
+
```
|
|
31
|
+
/scaffold-component "DateRangePicker"
|
|
32
|
+
|
|
33
|
+
Назначение: позволяет пользователям выбрать диапазон дат для фильтрации отчётов
|
|
34
|
+
Дизайн система: Tailwind + shadcn/ui; использовать существующий Calendar primitive
|
|
35
|
+
Состояния: default, focused, filled, error (невалидный диапазон: end раньше start), disabled
|
|
36
|
+
Доступность: навигация клавиатурой (стрелки в календаре), screen reader объявляет выбранный диапазон
|
|
37
|
+
API:
|
|
38
|
+
- value?: { from: Date; to?: Date }
|
|
39
|
+
- onChange: (range: { from: Date; to?: Date }) => void
|
|
40
|
+
- minDate?: Date; maxDate?: Date
|
|
41
|
+
- error?: string
|
|
42
|
+
Контекст: используется в Reports filter bar, совместим с react-hook-form
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## Example 2 — Display component
|
|
48
|
+
|
|
49
|
+
**EN:**
|
|
50
|
+
```
|
|
51
|
+
/scaffold-component "StatusBadge"
|
|
52
|
+
|
|
53
|
+
Purpose: display entity status with color-coded visual (order status, user role, etc.)
|
|
54
|
+
States: pending (yellow), active (green), cancelled (red), archived (gray)
|
|
55
|
+
Props: status: string; size?: 'sm' | 'md'
|
|
56
|
+
No interactive state — purely visual
|
|
57
|
+
Must work in both light and dark mode (use CSS custom properties)
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
**RU:**
|
|
61
|
+
```
|
|
62
|
+
/scaffold-component "StatusBadge"
|
|
63
|
+
|
|
64
|
+
Назначение: отображение статуса сущности с цветовой кодировкой (статус заказа, роль пользователя и т.д.)
|
|
65
|
+
Состояния: pending (жёлтый), active (зелёный), cancelled (красный), archived (серый)
|
|
66
|
+
Props: status: string; size?: 'sm' | 'md'
|
|
67
|
+
Интерактивных состояний нет — только визуальный компонент
|
|
68
|
+
Должен работать в light и dark режиме (использовать CSS custom properties)
|
|
69
|
+
```
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
---
|
|
2
|
+
workflow: visual-regression
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Prompt: `/visual-regression`
|
|
6
|
+
|
|
7
|
+
Use when: detecting unintended UI changes before merging a PR or releasing.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Example 1 — PR visual diff review
|
|
12
|
+
|
|
13
|
+
**EN:**
|
|
14
|
+
```
|
|
15
|
+
/visual-regression
|
|
16
|
+
|
|
17
|
+
Scope: components changed in PR #156 (Button, Card, Modal)
|
|
18
|
+
Baseline: main branch snapshots (Percy baseline)
|
|
19
|
+
Changed: updated design tokens (spacing +4px, border-radius change)
|
|
20
|
+
Expected diffs: all Button, Card sizes will have slightly more padding - intentional
|
|
21
|
+
Unexpected diffs to catch: any text overflow, icon misalignment, broken dark mode
|
|
22
|
+
Designer must review: all diffs before baseline is updated
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
**RU:**
|
|
26
|
+
```
|
|
27
|
+
/visual-regression
|
|
28
|
+
|
|
29
|
+
Скоуп: компоненты изменённые в PR #156 (Button, Card, Modal)
|
|
30
|
+
Baseline: снапшоты ветки main (Percy baseline)
|
|
31
|
+
Изменено: обновлены design tokens (spacing +4px, изменение border-radius)
|
|
32
|
+
Ожидаемые diff: все размеры Button, Card будут иметь немного больше отступов - намеренно
|
|
33
|
+
Неожиданные diff для обнаружения: любое переполнение текста, смещение иконок, сломанный dark mode
|
|
34
|
+
Дизайнер должен проверить: все diff перед обновлением baseline
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## Example 2 — Release candidate route sweep
|
|
40
|
+
|
|
41
|
+
**EN:**
|
|
42
|
+
```
|
|
43
|
+
/visual-regression
|
|
44
|
+
|
|
45
|
+
Scope: release candidate v4.3.0 on routes /pricing, /signup, /checkout, /account/billing
|
|
46
|
+
Baseline source: Chromatic snapshots from main after design system token freeze
|
|
47
|
+
Recent changes:
|
|
48
|
+
- pricing cards switched to responsive CSS grid
|
|
49
|
+
- signup flow moved validation messages from inline text to floating summary panel
|
|
50
|
+
- checkout uses a new sticky order summary on tablet widths
|
|
51
|
+
Acceptance criteria:
|
|
52
|
+
- no overlap or clipping in EN + DE locales
|
|
53
|
+
- loading and error states reviewed in light and dark themes
|
|
54
|
+
- approved intentional diffs documented before updating the baseline
|
|
55
|
+
Output: visual diff report grouped by route, list of blocker diffs, and approved baseline updates with designer sign-off
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
**RU:**
|
|
59
|
+
```
|
|
60
|
+
/visual-regression
|
|
61
|
+
|
|
62
|
+
Скоуп: release candidate v4.3.0 для маршрутов /pricing, /signup, /checkout, /account/billing
|
|
63
|
+
Источник baseline: Chromatic snapshots из main после заморозки design system token'ов
|
|
64
|
+
Недавние изменения:
|
|
65
|
+
- pricing cards переведены на responsive CSS grid
|
|
66
|
+
- signup flow перенёс validation messages из inline текста в floating summary panel
|
|
67
|
+
- checkout использует новый sticky order summary на tablet-ширинах
|
|
68
|
+
Критерии приёмки:
|
|
69
|
+
- отсутствие overlap или clipping в локалях EN + DE
|
|
70
|
+
- loading и error состояния проверены в light и dark themes
|
|
71
|
+
- все намеренные diff'ы задокументированы до обновления baseline
|
|
72
|
+
Результат: visual diff report, сгруппированный по маршрутам, список blocker diff'ов и approved baseline updates с sign-off от дизайнера
|
|
73
|
+
```
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Rule: Accessibility First
|
|
2
|
+
|
|
3
|
+
**Priority**: P0 — Blocks merge if violated.
|
|
4
|
+
|
|
5
|
+
## Constraints
|
|
6
|
+
|
|
7
|
+
1. Every interactive element (`button`, `a`, `input`, `select`, custom widget) **must** have an accessible name via `aria-label`, `aria-labelledby`, or visible text content.
|
|
8
|
+
2. Color contrast ratio must be **≥ 4.5:1** for normal text and **≥ 3:1** for large text (WCAG 2.1 AA).
|
|
9
|
+
3. All functionality must be operable via **keyboard only** (Tab, Shift+Tab, Enter, Space, Arrow keys).
|
|
10
|
+
4. Images must have meaningful `alt` attributes; decorative images use `alt=""`.
|
|
11
|
+
5. Dynamic content updates (toasts, modals, form errors) must be announced via `aria-live` regions or focus management.
|
|
12
|
+
6. No `tabindex` values greater than `0` are permitted.
|
|
13
|
+
|
|
14
|
+
## Verification
|
|
15
|
+
|
|
16
|
+
The agent must run `axe-core` or `eslint-plugin-jsx-a11y` checks before considering any UI component complete.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Rule: Component Architecture
|
|
2
|
+
|
|
3
|
+
**Priority**: P0 — Structural violations require refactor before shipping.
|
|
4
|
+
|
|
5
|
+
## Constraints
|
|
6
|
+
|
|
7
|
+
1. **Atomic Design Boundary**: Atoms have no internal state. Molecules compose atoms. Organisms own local UI state. Pages own data-fetching. Templates are layout-only.
|
|
8
|
+
2. **No Prop Drilling beyond 2 levels**: Pass data via context, state management, or composition — never chain props more than 2 components deep.
|
|
9
|
+
3. **Co-location**: A component's styles, tests, and stories must live in the same directory as the component file.
|
|
10
|
+
4. **Single Responsibility**: One component = one visual responsibility. A component that fetches data AND renders a complex layout must be split into a container and a presentational component.
|
|
11
|
+
5. **No Business Logic in Components**: Domain logic must live in custom hooks (`use*.ts`) or utility modules (`lib/`), not in JSX.
|
|
12
|
+
6. **No Circular Imports**: Module dependency graph must be a DAG.
|
|
13
|
+
|
|
14
|
+
## Directory Convention
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
src/
|
|
18
|
+
├── components/ # Atoms, Molecules, Organisms (pure UI)
|
|
19
|
+
├── features/ # Feature slices (container + domain logic)
|
|
20
|
+
│ └── [feature]/
|
|
21
|
+
│ ├── components/
|
|
22
|
+
│ ├── hooks/
|
|
23
|
+
│ ├── store/
|
|
24
|
+
│ └── types.ts
|
|
25
|
+
├── pages/ # Route-level components (data orchestration)
|
|
26
|
+
├── lib/ # Shared utilities, helpers, constants
|
|
27
|
+
├── hooks/ # Shared custom hooks
|
|
28
|
+
└── types/ # Global TypeScript types
|
|
29
|
+
```
|