ai-playbook 1.0.0
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/README.md +146 -0
- package/agents/README.md +168 -0
- package/agents/SKILL.md +633 -0
- package/agents/architect/AGENT.md +44 -0
- package/agents/architect/README.md +5 -0
- package/agents/coder/AGENT.md +43 -0
- package/agents/coder/README.md +5 -0
- package/agents/debugger/AGENT.md +42 -0
- package/agents/debugger/README.md +6 -0
- package/agents/devops/AGENT.md +43 -0
- package/agents/devops/README.md +5 -0
- package/agents/documentation/AGENT.md +45 -0
- package/agents/documentation/README.md +5 -0
- package/agents/examples.md +550 -0
- package/agents/performance/AGENT.md +45 -0
- package/agents/performance/README.md +6 -0
- package/agents/planner/AGENT.md +44 -0
- package/agents/planner/README.md +6 -0
- package/agents/product-owner/AGENT.md +46 -0
- package/agents/product-owner/README.md +6 -0
- package/agents/refactorer/AGENT.md +44 -0
- package/agents/refactorer/README.md +6 -0
- package/agents/release-manager/AGENT.md +45 -0
- package/agents/release-manager/README.md +6 -0
- package/agents/researcher/AGENT.md +44 -0
- package/agents/researcher/README.md +6 -0
- package/agents/reviewer/AGENT.md +43 -0
- package/agents/reviewer/README.md +6 -0
- package/agents/security/AGENT.md +46 -0
- package/agents/security/README.md +6 -0
- package/agents/support/AGENT.md +45 -0
- package/agents/support/README.md +6 -0
- package/agents/tester/AGENT.md +46 -0
- package/agents/tester/README.md +5 -0
- package/bin/cli.js +186 -0
- package/commands/README.md +266 -0
- package/commands/build.md +135 -0
- package/commands/clean.md +126 -0
- package/commands/deploy-prod.md +171 -0
- package/commands/deploy-staging.md +147 -0
- package/commands/deps.md +169 -0
- package/commands/dev.md +132 -0
- package/commands/format.md +142 -0
- package/commands/lint.md +125 -0
- package/commands/migrate.md +159 -0
- package/commands/release.md +183 -0
- package/commands/rollback.md +152 -0
- package/commands/seed.md +178 -0
- package/commands/setup.md +109 -0
- package/commands/test.md +134 -0
- package/commands/validate.md +147 -0
- package/context/README.md +7 -0
- package/context/aem.md +47 -0
- package/context/architecture.md +51 -0
- package/context/bullminder.md +57 -0
- package/context/coding-style.md +42 -0
- package/context/communication.md +53 -0
- package/context/company.md +46 -0
- package/context/engineering.md +63 -0
- package/context/project-template.md +71 -0
- package/context/trading.md +52 -0
- package/hooks/README.md +326 -0
- package/hooks/code-review/README.md +6 -0
- package/hooks/code-review/check-coverage.md +101 -0
- package/hooks/custom/README.md +6 -0
- package/hooks/custom/project-specific-hooks.md +273 -0
- package/hooks/deployment/README.md +6 -0
- package/hooks/deployment/health-check.md +102 -0
- package/hooks/deployment/pre-deploy-check.md +84 -0
- package/hooks/documentation/README.md +6 -0
- package/hooks/documentation/update-changelog.md +146 -0
- package/hooks/post-task/README.md +5 -0
- package/hooks/post-task/run-tests.md +61 -0
- package/hooks/pre-commit/README.md +6 -0
- package/hooks/pre-commit/format.md +63 -0
- package/hooks/pre-commit/lint.md +62 -0
- package/hooks/pre-commit/type-check.md +78 -0
- package/hooks/pre-task/README.md +6 -0
- package/hooks/pre-task/check-branch.md +48 -0
- package/hooks/pre-task/validate-environment.md +48 -0
- package/hooks/security-check/README.md +6 -0
- package/hooks/security-check/dependency-audit.md +85 -0
- package/hooks/security-check/secrets-scan.md +77 -0
- package/hooks/test-before-finish/README.md +6 -0
- package/hooks/test-before-finish/run-all-tests.md +128 -0
- package/index.js +69 -0
- package/knowledge/README.md +33 -0
- package/knowledge/ai-agents.md +74 -0
- package/knowledge/decision-making.md +73 -0
- package/knowledge/documentation.md +67 -0
- package/knowledge/engineering-principles.md +65 -0
- package/knowledge/product-discovery.md +68 -0
- package/knowledge/security-privacy.md +54 -0
- package/knowledge/testing-quality.md +63 -0
- package/package.json +63 -0
- package/patterns/README.md +7 -0
- package/prompts/README.md +208 -0
- package/prompts/architect/README.md +96 -0
- package/prompts/architect/design-system.md +140 -0
- package/prompts/debugger/README.md +96 -0
- package/prompts/debugger/diagnose-issue.md +141 -0
- package/prompts/developer/README.md +129 -0
- package/prompts/developer/fix-bug.md +136 -0
- package/prompts/developer/implement-feature.md +133 -0
- package/prompts/product-owner/README.md +116 -0
- package/prompts/product-owner/define-feature.md +145 -0
- package/prompts/reviewer/README.md +91 -0
- package/prompts/reviewer/code-review.md +129 -0
- package/prompts/support/README.md +154 -0
- package/prompts/support/resolve-issue.md +124 -0
- package/roles/README.md +6 -0
- package/roles/design-architect/README.md +98 -0
- package/roles/design-architect/accessibility/README.md +33 -0
- package/roles/design-architect/accessibility/checklists.md +29 -0
- package/roles/design-architect/accessibility/examples.md +35 -0
- package/roles/design-architect/checklists.md +76 -0
- package/roles/design-architect/component-library/README.md +35 -0
- package/roles/design-architect/component-library/checklists.md +29 -0
- package/roles/design-architect/component-library/examples.md +35 -0
- package/roles/design-architect/design-system/README.md +35 -0
- package/roles/design-architect/design-system/checklists.md +27 -0
- package/roles/design-architect/design-system/examples.md +41 -0
- package/roles/design-architect/examples/README.md +31 -0
- package/roles/design-architect/examples/checklists.md +26 -0
- package/roles/design-architect/examples/examples.md +46 -0
- package/roles/design-architect/examples.md +90 -0
- package/roles/design-architect/figma/README.md +33 -0
- package/roles/design-architect/figma/checklists.md +27 -0
- package/roles/design-architect/figma/examples.md +38 -0
- package/roles/design-architect/responsibilities.md +73 -0
- package/roles/design-architect/responsive/README.md +34 -0
- package/roles/design-architect/responsive/checklists.md +26 -0
- package/roles/design-architect/responsive/examples.md +39 -0
- package/roles/design-architect/role.md +129 -0
- package/roles/design-architect/skill-map.md +42 -0
- package/roles/design-architect/triggers.md +110 -0
- package/roles/design-architect/ui/README.md +36 -0
- package/roles/design-architect/ui/checklists.md +29 -0
- package/roles/design-architect/ui/examples.md +28 -0
- package/roles/design-architect/usability/README.md +34 -0
- package/roles/design-architect/usability/checklists.md +28 -0
- package/roles/design-architect/usability/examples.md +31 -0
- package/roles/design-architect/ux/README.md +36 -0
- package/roles/design-architect/ux/checklists.md +28 -0
- package/roles/design-architect/ux/examples.md +37 -0
- package/roles/design-architect/wireframes/README.md +34 -0
- package/roles/design-architect/wireframes/checklists.md +25 -0
- package/roles/design-architect/wireframes/examples.md +32 -0
- package/roles/design-architect/workflow.md +80 -0
- package/roles/devops/README.md +101 -0
- package/roles/devops/ansible/README.md +6 -0
- package/roles/devops/checklists.md +413 -0
- package/roles/devops/ci-cd/README.md +169 -0
- package/roles/devops/ci-cd/checklists.md +289 -0
- package/roles/devops/ci-cd/examples.md +429 -0
- package/roles/devops/cloud-platforms/README.md +109 -0
- package/roles/devops/cost-optimization/README.md +131 -0
- package/roles/devops/disaster-recovery/README.md +118 -0
- package/roles/devops/docker/README.md +6 -0
- package/roles/devops/examples/README.md +6 -0
- package/roles/devops/examples.md +775 -0
- package/roles/devops/github-actions/README.md +6 -0
- package/roles/devops/helm/README.md +6 -0
- package/roles/devops/infrastructure-as-code/README.md +160 -0
- package/roles/devops/infrastructure-as-code/checklists.md +124 -0
- package/roles/devops/jenkins/README.md +6 -0
- package/roles/devops/kubernetes/README.md +150 -0
- package/roles/devops/kubernetes/checklists.md +192 -0
- package/roles/devops/kubernetes/examples.md +189 -0
- package/roles/devops/monitoring/README.md +93 -0
- package/roles/devops/networking/README.md +83 -0
- package/roles/devops/performance/README.md +104 -0
- package/roles/devops/responsibilities.md +95 -0
- package/roles/devops/role.md +130 -0
- package/roles/devops/security/README.md +126 -0
- package/roles/devops/skill-map.md +162 -0
- package/roles/devops/terraform/README.md +6 -0
- package/roles/devops/triggers.md +241 -0
- package/roles/devops/workflow.md +197 -0
- package/roles/qa/README.md +16 -0
- package/roles/qa/api-testing/README.md +6 -0
- package/roles/qa/automation/README.md +6 -0
- package/roles/qa/checklists.md +24 -0
- package/roles/qa/examples/README.md +6 -0
- package/roles/qa/examples.md +27 -0
- package/roles/qa/performance/README.md +6 -0
- package/roles/qa/playwright/README.md +6 -0
- package/roles/qa/responsibilities.md +16 -0
- package/roles/qa/role.md +47 -0
- package/roles/qa/selenium/README.md +6 -0
- package/roles/qa/skill-map.md +14 -0
- package/roles/qa/triggers.md +10 -0
- package/roles/qa/workflow.md +9 -0
- package/roles/software-architect/README.md +16 -0
- package/roles/software-architect/agents/README.md +6 -0
- package/roles/software-architect/ai-architecture/README.md +6 -0
- package/roles/software-architect/aws/README.md +6 -0
- package/roles/software-architect/azure/README.md +6 -0
- package/roles/software-architect/caching/README.md +6 -0
- package/roles/software-architect/checklists.md +25 -0
- package/roles/software-architect/cloud/README.md +6 -0
- package/roles/software-architect/database-design/README.md +6 -0
- package/roles/software-architect/diagrams/README.md +6 -0
- package/roles/software-architect/distributed-systems/README.md +7 -0
- package/roles/software-architect/docker/README.md +6 -0
- package/roles/software-architect/event-driven/README.md +7 -0
- package/roles/software-architect/examples/README.md +6 -0
- package/roles/software-architect/examples.md +22 -0
- package/roles/software-architect/gcp/README.md +6 -0
- package/roles/software-architect/kubernetes/README.md +6 -0
- package/roles/software-architect/messaging/README.md +6 -0
- package/roles/software-architect/rag/README.md +7 -0
- package/roles/software-architect/responsibilities.md +17 -0
- package/roles/software-architect/role.md +46 -0
- package/roles/software-architect/scalability/README.md +6 -0
- package/roles/software-architect/security/README.md +6 -0
- package/roles/software-architect/skill-map.md +15 -0
- package/roles/software-architect/system-design/README.md +6 -0
- package/roles/software-architect/triggers.md +10 -0
- package/roles/software-architect/vector-db/README.md +6 -0
- package/roles/software-architect/workflow.md +9 -0
- package/roles/software-developer/README.md +116 -0
- package/roles/software-developer/api/README.md +365 -0
- package/roles/software-developer/api/checklist.md +131 -0
- package/roles/software-developer/api/examples.md +459 -0
- package/roles/software-developer/authentication/README.md +26 -0
- package/roles/software-developer/authentication/checklists.md +22 -0
- package/roles/software-developer/authentication/examples.md +32 -0
- package/roles/software-developer/authorization/README.md +26 -0
- package/roles/software-developer/authorization/checklists.md +21 -0
- package/roles/software-developer/authorization/examples.md +27 -0
- package/roles/software-developer/backend/README.md +26 -0
- package/roles/software-developer/backend/checklists.md +21 -0
- package/roles/software-developer/backend/examples.md +21 -0
- package/roles/software-developer/cache/README.md +25 -0
- package/roles/software-developer/cache/checklists.md +21 -0
- package/roles/software-developer/cache/examples.md +22 -0
- package/roles/software-developer/checklists.md +122 -0
- package/roles/software-developer/code-review/README.md +23 -0
- package/roles/software-developer/code-review/checklists.md +22 -0
- package/roles/software-developer/code-review/examples.md +20 -0
- package/roles/software-developer/database/README.md +27 -0
- package/roles/software-developer/database/checklists.md +21 -0
- package/roles/software-developer/database/examples.md +27 -0
- package/roles/software-developer/debugging/README.md +24 -0
- package/roles/software-developer/debugging/checklists.md +20 -0
- package/roles/software-developer/debugging/examples.md +28 -0
- package/roles/software-developer/examples/README.md +22 -0
- package/roles/software-developer/examples/checklists.md +8 -0
- package/roles/software-developer/examples/examples.md +25 -0
- package/roles/software-developer/examples.md +378 -0
- package/roles/software-developer/frontend/README.md +76 -0
- package/roles/software-developer/frontend/accessibility/README.md +136 -0
- package/roles/software-developer/frontend/accessibility/best-practices.md +368 -0
- package/roles/software-developer/frontend/code-quality/README.md +136 -0
- package/roles/software-developer/frontend/code-quality/best-practices.md +309 -0
- package/roles/software-developer/frontend/components/README.md +65 -0
- package/roles/software-developer/frontend/components/best-practices.md +273 -0
- package/roles/software-developer/frontend/debugging/README.md +149 -0
- package/roles/software-developer/frontend/debugging/best-practices.md +329 -0
- package/roles/software-developer/frontend/examples/README.md +19 -0
- package/roles/software-developer/frontend/examples/checklists.md +8 -0
- package/roles/software-developer/frontend/examples/examples.md +17 -0
- package/roles/software-developer/frontend/logging-observability/README.md +196 -0
- package/roles/software-developer/frontend/logging-observability/best-practices.md +430 -0
- package/roles/software-developer/frontend/performance/README.md +99 -0
- package/roles/software-developer/frontend/performance/best-practices.md +350 -0
- package/roles/software-developer/frontend/state-management/README.md +85 -0
- package/roles/software-developer/frontend/state-management/best-practices.md +344 -0
- package/roles/software-developer/frontend/testing/README.md +114 -0
- package/roles/software-developer/frontend/testing/best-practices.md +272 -0
- package/roles/software-developer/fullstack/README.md +25 -0
- package/roles/software-developer/fullstack/checklists.md +19 -0
- package/roles/software-developer/fullstack/examples.md +14 -0
- package/roles/software-developer/graphql/README.md +24 -0
- package/roles/software-developer/graphql/checklists.md +20 -0
- package/roles/software-developer/graphql/examples.md +24 -0
- package/roles/software-developer/integration-tests/README.md +25 -0
- package/roles/software-developer/integration-tests/checklists.md +20 -0
- package/roles/software-developer/integration-tests/examples.md +18 -0
- package/roles/software-developer/java/README.md +24 -0
- package/roles/software-developer/java/checklists.md +16 -0
- package/roles/software-developer/java/examples.md +22 -0
- package/roles/software-developer/javascript/README.md +24 -0
- package/roles/software-developer/javascript/checklists.md +15 -0
- package/roles/software-developer/javascript/examples.md +18 -0
- package/roles/software-developer/logging/README.md +105 -0
- package/roles/software-developer/logging/checklists.md +48 -0
- package/roles/software-developer/logging/examples.md +135 -0
- package/roles/software-developer/messaging/README.md +24 -0
- package/roles/software-developer/messaging/checklists.md +21 -0
- package/roles/software-developer/messaging/examples.md +26 -0
- package/roles/software-developer/microservices/README.md +25 -0
- package/roles/software-developer/microservices/checklists.md +21 -0
- package/roles/software-developer/microservices/examples.md +21 -0
- package/roles/software-developer/node/README.md +25 -0
- package/roles/software-developer/node/checklists.md +15 -0
- package/roles/software-developer/node/examples.md +15 -0
- package/roles/software-developer/nosql/README.md +24 -0
- package/roles/software-developer/nosql/checklists.md +21 -0
- package/roles/software-developer/nosql/examples.md +20 -0
- package/roles/software-developer/observability/README.md +25 -0
- package/roles/software-developer/observability/checklists.md +21 -0
- package/roles/software-developer/observability/examples.md +22 -0
- package/roles/software-developer/performance/README.md +26 -0
- package/roles/software-developer/performance/checklists.md +20 -0
- package/roles/software-developer/performance/examples.md +20 -0
- package/roles/software-developer/python/README.md +25 -0
- package/roles/software-developer/python/checklists.md +15 -0
- package/roles/software-developer/python/examples.md +17 -0
- package/roles/software-developer/react/README.md +24 -0
- package/roles/software-developer/react/checklists.md +15 -0
- package/roles/software-developer/react/examples.md +22 -0
- package/roles/software-developer/refactoring/README.md +23 -0
- package/roles/software-developer/refactoring/checklists.md +21 -0
- package/roles/software-developer/refactoring/examples.md +11 -0
- package/roles/software-developer/responsibilities.md +58 -0
- package/roles/software-developer/role.md +127 -0
- package/roles/software-developer/skill-map.md +88 -0
- package/roles/software-developer/springboot/README.md +25 -0
- package/roles/software-developer/springboot/checklists.md +15 -0
- package/roles/software-developer/springboot/examples.md +21 -0
- package/roles/software-developer/sql/README.md +24 -0
- package/roles/software-developer/sql/checklists.md +22 -0
- package/roles/software-developer/sql/examples.md +20 -0
- package/roles/software-developer/testing/README.md +25 -0
- package/roles/software-developer/testing/checklists.md +21 -0
- package/roles/software-developer/testing/examples.md +19 -0
- package/roles/software-developer/triggers.md +550 -0
- package/roles/software-developer/typescript/README.md +25 -0
- package/roles/software-developer/typescript/checklists.md +15 -0
- package/roles/software-developer/typescript/examples.md +18 -0
- package/roles/software-developer/unit-tests/README.md +24 -0
- package/roles/software-developer/unit-tests/checklists.md +19 -0
- package/roles/software-developer/unit-tests/examples.md +22 -0
- package/roles/software-developer/workflow.md +196 -0
- package/roles/sre/README.md +16 -0
- package/roles/sre/alerts/README.md +6 -0
- package/roles/sre/availability/README.md +6 -0
- package/roles/sre/chaos/README.md +6 -0
- package/roles/sre/checklists.md +24 -0
- package/roles/sre/examples/README.md +6 -0
- package/roles/sre/examples.md +19 -0
- package/roles/sre/observability/README.md +6 -0
- package/roles/sre/reliability/README.md +6 -0
- package/roles/sre/responsibilities.md +16 -0
- package/roles/sre/role.md +46 -0
- package/roles/sre/skill-map.md +14 -0
- package/roles/sre/slos/README.md +6 -0
- package/roles/sre/triggers.md +10 -0
- package/roles/sre/workflow.md +9 -0
- package/roles/support-engineer/README.md +16 -0
- package/roles/support-engineer/checklists.md +24 -0
- package/roles/support-engineer/datadog/README.md +6 -0
- package/roles/support-engineer/examples/README.md +6 -0
- package/roles/support-engineer/examples.md +17 -0
- package/roles/support-engineer/incident-response/README.md +6 -0
- package/roles/support-engineer/kubernetes/README.md +6 -0
- package/roles/support-engineer/linux/README.md +6 -0
- package/roles/support-engineer/logs/README.md +6 -0
- package/roles/support-engineer/monitoring/README.md +6 -0
- package/roles/support-engineer/networking/README.md +6 -0
- package/roles/support-engineer/newrelic/README.md +6 -0
- package/roles/support-engineer/postmortem/README.md +6 -0
- package/roles/support-engineer/production/README.md +6 -0
- package/roles/support-engineer/responsibilities.md +16 -0
- package/roles/support-engineer/role.md +47 -0
- package/roles/support-engineer/root-cause-analysis/README.md +6 -0
- package/roles/support-engineer/runbooks/README.md +6 -0
- package/roles/support-engineer/skill-map.md +14 -0
- package/roles/support-engineer/splunk/README.md +6 -0
- package/roles/support-engineer/triggers.md +10 -0
- package/roles/support-engineer/troubleshooting/README.md +6 -0
- package/roles/support-engineer/workflow.md +9 -0
- package/setup.sh +204 -0
- package/skills/.claude/README.md +7 -0
- package/skills/README.md +21 -0
- package/skills/ai-agents/README.md +207 -0
- package/skills/ai-agents/examples.md +335 -0
- package/skills/ai-agents/skill.md +392 -0
- package/skills/architecture/README.md +198 -0
- package/skills/architecture/examples.md +316 -0
- package/skills/architecture/skill.md +189 -0
- package/skills/design-architecture/README.md +107 -0
- package/skills/design-architecture/examples.md +84 -0
- package/skills/design-architecture/skill.md +192 -0
- package/skills/devops/README.md +177 -0
- package/skills/devops/examples.md +376 -0
- package/skills/devops/skill.md +210 -0
- package/skills/documentation/README.md +182 -0
- package/skills/documentation/examples.md +364 -0
- package/skills/documentation/skill.md +200 -0
- package/skills/performance/README.md +177 -0
- package/skills/performance/examples.md +376 -0
- package/skills/performance/skill.md +199 -0
- package/skills/qa/README.md +106 -0
- package/skills/qa/examples.md +84 -0
- package/skills/qa/skill.md +384 -0
- package/skills/security/README.md +108 -0
- package/skills/security/examples.md +85 -0
- package/skills/security/skill.md +223 -0
- package/skills/software-development/README.md +239 -0
- package/skills/software-development/assessment.md +0 -0
- package/skills/software-development/checklists.md +0 -0
- package/skills/software-development/examples.md +375 -0
- package/skills/software-development/prompts.md +0 -0
- package/skills/software-development/skill.md +390 -0
- package/skills/software-development/templates/README.md +7 -0
- package/skills/software-development/templates/api-development.md +0 -0
- package/skills/software-development/templates/bug-fix.md +0 -0
- package/skills/software-development/templates/code-review.md +0 -0
- package/skills/software-development/templates/feature-implementation.md +0 -0
- package/skills/software-development/templates/llm-integration.md +0 -0
- package/skills/software-development/templates/performance-review.md +0 -0
- package/skills/software-development/templates/security-review.md +0 -0
- package/skills/software-development/templates/test-generation.md +0 -0
- package/skills/software-development/tools.md +0 -0
- package/skills/software-development/workflows.md +0 -0
- package/skills/sre/README.md +107 -0
- package/skills/sre/examples.md +379 -0
- package/skills/sre/skill.md +256 -0
- package/skills/support-engineering/README.md +107 -0
- package/skills/support-engineering/examples.md +85 -0
- package/skills/support-engineering/skill.md +103 -0
package/context/aem.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# AEM Context
|
|
2
|
+
|
|
3
|
+
Use this context for Adobe Experience Manager projects, components, templates,
|
|
4
|
+
content workflows, and platform integrations.
|
|
5
|
+
|
|
6
|
+
## AEM Principles
|
|
7
|
+
|
|
8
|
+
- Respect the separation between content, presentation, component logic, and
|
|
9
|
+
deployment configuration.
|
|
10
|
+
- Prefer reusable components with clear authoring dialogs and predictable content
|
|
11
|
+
models.
|
|
12
|
+
- Keep author experience, accessibility, performance, and cacheability in view.
|
|
13
|
+
- Follow existing project conventions for Sling models, HTL, client libraries,
|
|
14
|
+
policies, templates, and content packages.
|
|
15
|
+
|
|
16
|
+
## Component Work
|
|
17
|
+
|
|
18
|
+
- Define the authoring use case before changing dialogs or component behavior.
|
|
19
|
+
- Keep component APIs stable for existing content when possible.
|
|
20
|
+
- Validate required fields and provide useful author-facing labels/help text.
|
|
21
|
+
- Ensure HTL output is semantic, accessible, and safely escaped.
|
|
22
|
+
- Include empty, authored, error, and publish-mode states where relevant.
|
|
23
|
+
|
|
24
|
+
## Content And Templates
|
|
25
|
+
|
|
26
|
+
- Document allowed components, policies, editable templates, and layout
|
|
27
|
+
constraints.
|
|
28
|
+
- Avoid hardcoding content that should be author-managed.
|
|
29
|
+
- Preserve content compatibility during migrations.
|
|
30
|
+
- Treat taxonomy, tagging, localization, and DAM asset usage as part of the
|
|
31
|
+
content model.
|
|
32
|
+
|
|
33
|
+
## Performance And Delivery
|
|
34
|
+
|
|
35
|
+
- Design components to be cache-friendly for dispatcher/CDN layers.
|
|
36
|
+
- Keep client libraries scoped and avoid shipping unused JavaScript or CSS.
|
|
37
|
+
- Optimize images, responsive media, and Core Web Vitals.
|
|
38
|
+
- Watch for expensive repository queries, excessive includes, and uncached
|
|
39
|
+
personalized fragments.
|
|
40
|
+
|
|
41
|
+
## Testing And Release
|
|
42
|
+
|
|
43
|
+
- Test authoring dialogs, publish rendering, permissions, and content migration.
|
|
44
|
+
- Verify accessibility, responsive behavior, and browser support.
|
|
45
|
+
- Include package filters, run modes, OSGi configs, and deployment notes when
|
|
46
|
+
relevant.
|
|
47
|
+
- Provide rollback or content recovery guidance for risky releases.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Architecture Context
|
|
2
|
+
|
|
3
|
+
Use this file for default architectural judgment across projects when no more
|
|
4
|
+
specific project architecture is available.
|
|
5
|
+
|
|
6
|
+
## Architecture Principles
|
|
7
|
+
|
|
8
|
+
- Start from the user goal, domain model, and operational constraints.
|
|
9
|
+
- Prefer boring, proven technology unless the problem clearly benefits from a
|
|
10
|
+
specialized tool.
|
|
11
|
+
- Keep boundaries explicit: ownership, data contracts, failure modes, and
|
|
12
|
+
deployment responsibilities should be clear.
|
|
13
|
+
- Optimize for maintainability, observability, and safe change before novelty.
|
|
14
|
+
- Treat security, privacy, reliability, and cost as architectural dimensions, not
|
|
15
|
+
afterthoughts.
|
|
16
|
+
|
|
17
|
+
## Design Defaults
|
|
18
|
+
|
|
19
|
+
- Favor modular systems with small, testable units and well-defined interfaces.
|
|
20
|
+
- Keep business logic out of transport, UI, and persistence glue where practical.
|
|
21
|
+
- Use typed contracts, schemas, or validation at trust boundaries.
|
|
22
|
+
- Make external dependencies replaceable enough to test and recover from
|
|
23
|
+
failures.
|
|
24
|
+
- Prefer idempotent operations for retries, jobs, webhooks, and message handlers.
|
|
25
|
+
|
|
26
|
+
## Data And Integration
|
|
27
|
+
|
|
28
|
+
- Identify source of truth, ownership, retention, and privacy requirements for
|
|
29
|
+
important data.
|
|
30
|
+
- Document read/write paths and consistency expectations.
|
|
31
|
+
- Version public APIs, event schemas, and cross-team contracts.
|
|
32
|
+
- Design for replay, backfill, and migration when data changes over time.
|
|
33
|
+
- Avoid leaking implementation details across service or module boundaries.
|
|
34
|
+
|
|
35
|
+
## Reliability And Operations
|
|
36
|
+
|
|
37
|
+
- Define health checks, dashboards, alerts, and runbooks for production-facing
|
|
38
|
+
systems.
|
|
39
|
+
- Include rollback or mitigation paths for risky changes.
|
|
40
|
+
- Prefer graceful degradation for non-critical dependencies.
|
|
41
|
+
- Capture capacity assumptions and expected growth.
|
|
42
|
+
- Review failure modes before launch, especially queues, caches, databases, and
|
|
43
|
+
third-party APIs.
|
|
44
|
+
|
|
45
|
+
## Architecture Review Checklist
|
|
46
|
+
|
|
47
|
+
- The problem and success criteria are clear.
|
|
48
|
+
- Alternatives and trade-offs are documented.
|
|
49
|
+
- The proposed design has clear owners and boundaries.
|
|
50
|
+
- Security, privacy, reliability, cost, and operability have been considered.
|
|
51
|
+
- Risks have mitigations, decision owners, and review dates.
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# BullMinder Context
|
|
2
|
+
|
|
3
|
+
Use this context for BullMinder-related tasks. BullMinder is treated as a
|
|
4
|
+
trading assistant and monitoring system unless a project-specific file provides
|
|
5
|
+
more precise details.
|
|
6
|
+
|
|
7
|
+
## Product Intent
|
|
8
|
+
|
|
9
|
+
- Help identify, explain, monitor, and review trading opportunities.
|
|
10
|
+
- Keep watchlists, alerts, outcomes, and learning loops grounded in observable
|
|
11
|
+
market data.
|
|
12
|
+
- Support disciplined decision-making rather than impulsive execution.
|
|
13
|
+
- Make risk, uncertainty, and invalidation visible.
|
|
14
|
+
|
|
15
|
+
## Agent Behavior
|
|
16
|
+
|
|
17
|
+
- Normalize symbols before tool calls, storage, alerts, or comparisons.
|
|
18
|
+
- Separate discovery, validation, execution, monitoring, and outcome-learning
|
|
19
|
+
responsibilities.
|
|
20
|
+
- Prefer structured tool calls and typed payloads over free-form parsing.
|
|
21
|
+
- Do not treat fuzzy or unmatched PnL as a reliable learning signal.
|
|
22
|
+
- Avoid duplicate intents within the configured cooldown window.
|
|
23
|
+
|
|
24
|
+
## Opportunity Model
|
|
25
|
+
|
|
26
|
+
Every opportunity should capture:
|
|
27
|
+
|
|
28
|
+
- Symbol and market.
|
|
29
|
+
- Setup type and time horizon.
|
|
30
|
+
- Entry trigger, stop, target, invalidation, and position-size rationale.
|
|
31
|
+
- Evidence summary from price action, volume, trend, news, fundamentals, or other
|
|
32
|
+
configured signals.
|
|
33
|
+
- Confidence, risk, and reason for watchlist/no-trade outcomes.
|
|
34
|
+
|
|
35
|
+
## Execution Safety
|
|
36
|
+
|
|
37
|
+
- Default to paper trading or human confirmation unless live execution is
|
|
38
|
+
explicitly enabled.
|
|
39
|
+
- Validate account mode, buying power, order type, market hours, and symbol
|
|
40
|
+
tradability before placing orders.
|
|
41
|
+
- Enforce risk limits before execution.
|
|
42
|
+
- Record every execution decision, including blocked and skipped actions.
|
|
43
|
+
|
|
44
|
+
## Monitoring And Notifications
|
|
45
|
+
|
|
46
|
+
- Alerts should be deduplicated, actionable, and tied to the original thesis.
|
|
47
|
+
- Position monitoring should track stop, target, thesis invalidation, time stop,
|
|
48
|
+
and notable market events.
|
|
49
|
+
- Notifications should include severity, event type, symbol, action requested,
|
|
50
|
+
and next review condition.
|
|
51
|
+
|
|
52
|
+
## Review And Learning
|
|
53
|
+
|
|
54
|
+
- Outcomes should be matched to explicit prior opportunities or positions.
|
|
55
|
+
- Review should distinguish good process from good luck.
|
|
56
|
+
- Learning updates should name the pattern, evidence, outcome, and confidence
|
|
57
|
+
adjustment.
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Coding Style Context
|
|
2
|
+
|
|
3
|
+
Use this file for default coding style when a project does not provide stronger
|
|
4
|
+
local conventions.
|
|
5
|
+
|
|
6
|
+
## General Style
|
|
7
|
+
|
|
8
|
+
- Follow the patterns already present in the repository.
|
|
9
|
+
- Prefer readable names over clever abbreviations.
|
|
10
|
+
- Keep functions small enough that their purpose and side effects are clear.
|
|
11
|
+
- Avoid speculative abstractions; add one only when it removes real duplication
|
|
12
|
+
or complexity.
|
|
13
|
+
- Keep comments focused on why a decision exists, not what each line does.
|
|
14
|
+
- Preserve public behavior unless the task explicitly changes it.
|
|
15
|
+
|
|
16
|
+
## Error Handling
|
|
17
|
+
|
|
18
|
+
- Validate untrusted input at boundaries.
|
|
19
|
+
- Return or raise errors with enough context to debug safely.
|
|
20
|
+
- Avoid swallowing exceptions without logging, metrics, or a clear fallback.
|
|
21
|
+
- Do not expose secrets, credentials, private data, or internal stack details in
|
|
22
|
+
user-facing errors.
|
|
23
|
+
|
|
24
|
+
## Testing
|
|
25
|
+
|
|
26
|
+
- Add or update tests when behavior changes.
|
|
27
|
+
- Prefer tests that exercise user-visible behavior or stable contracts.
|
|
28
|
+
- Cover success, failure, edge, and authorization cases when relevant.
|
|
29
|
+
- When tests cannot be run, state exactly what was not verified.
|
|
30
|
+
|
|
31
|
+
## Documentation
|
|
32
|
+
|
|
33
|
+
- Update nearby docs, examples, or checklists when behavior or workflow changes.
|
|
34
|
+
- Keep README content task-oriented and current.
|
|
35
|
+
- Prefer concise examples that can be copied and adapted.
|
|
36
|
+
|
|
37
|
+
## Review Readiness
|
|
38
|
+
|
|
39
|
+
- Code is formatted by the project toolchain.
|
|
40
|
+
- Lint, type, unit, and integration checks are run when available.
|
|
41
|
+
- New dependencies are justified and consistent with project policy.
|
|
42
|
+
- Temporary debug output, dead code, and stale TODOs are removed.
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Communication Context
|
|
2
|
+
|
|
3
|
+
Use this guidance for human-facing updates, reviews, handoffs, and summaries.
|
|
4
|
+
|
|
5
|
+
## Style
|
|
6
|
+
|
|
7
|
+
- Be concise, specific, and grounded in evidence.
|
|
8
|
+
- Name assumptions and uncertainty plainly.
|
|
9
|
+
- Lead with the outcome, then provide supporting details.
|
|
10
|
+
- Avoid vague claims like "fixed everything" or "tests pass" unless verified.
|
|
11
|
+
|
|
12
|
+
## During Work
|
|
13
|
+
|
|
14
|
+
When work takes more than a short moment:
|
|
15
|
+
|
|
16
|
+
- Say what context is being gathered.
|
|
17
|
+
- Explain what changed when the direction shifts.
|
|
18
|
+
- Call out blockers early.
|
|
19
|
+
- Keep updates short enough to stay useful.
|
|
20
|
+
|
|
21
|
+
## Final Summaries
|
|
22
|
+
|
|
23
|
+
Include:
|
|
24
|
+
|
|
25
|
+
- What changed
|
|
26
|
+
- Why it changed
|
|
27
|
+
- Verification performed
|
|
28
|
+
- Remaining risks or follow-ups
|
|
29
|
+
|
|
30
|
+
## Handoffs
|
|
31
|
+
|
|
32
|
+
When handing work to another human or agent:
|
|
33
|
+
|
|
34
|
+
- State the current status and the next concrete step.
|
|
35
|
+
- Name files, commands, or artifacts that matter.
|
|
36
|
+
- Call out assumptions, skipped checks, and known risks.
|
|
37
|
+
- Keep unresolved questions separate from completed work.
|
|
38
|
+
|
|
39
|
+
## Review Feedback
|
|
40
|
+
|
|
41
|
+
When reviewing work:
|
|
42
|
+
|
|
43
|
+
- Put findings first.
|
|
44
|
+
- Reference exact files and lines when possible.
|
|
45
|
+
- Explain the behavior or risk, not just the preference.
|
|
46
|
+
- Separate blocking issues from optional improvements.
|
|
47
|
+
|
|
48
|
+
## Tone
|
|
49
|
+
|
|
50
|
+
- Be direct without being abrupt.
|
|
51
|
+
- Prefer plain language over process jargon.
|
|
52
|
+
- Give enough context for decisions to be traceable.
|
|
53
|
+
- Do not overstate certainty when evidence is incomplete.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Company Context
|
|
2
|
+
|
|
3
|
+
Use this file for organization-level assumptions that should influence agent
|
|
4
|
+
decisions across projects.
|
|
5
|
+
|
|
6
|
+
## Default Assumptions
|
|
7
|
+
|
|
8
|
+
- This playbook is a reusable personal/team knowledge base, not a single product
|
|
9
|
+
repository.
|
|
10
|
+
- Prefer guidance that can work across small teams, solo projects, and growing
|
|
11
|
+
engineering organizations.
|
|
12
|
+
- Do not assume a specific employer, customer, org chart, compliance program, or
|
|
13
|
+
internal tool unless a project-specific context file states it.
|
|
14
|
+
- Treat user-provided project context as more authoritative than these defaults.
|
|
15
|
+
|
|
16
|
+
## Operating Values
|
|
17
|
+
|
|
18
|
+
- Practical execution over ceremony.
|
|
19
|
+
- Clear ownership, small reversible steps, and visible trade-offs.
|
|
20
|
+
- Security, privacy, reliability, and accessibility are baseline expectations.
|
|
21
|
+
- Documentation should help future work move faster, not merely satisfy process.
|
|
22
|
+
- AI assistance should make human judgment sharper, not hide uncertainty.
|
|
23
|
+
|
|
24
|
+
## Decision Preferences
|
|
25
|
+
|
|
26
|
+
- Choose simple approaches that can be explained and maintained.
|
|
27
|
+
- Prefer incremental delivery when the cost of being wrong is meaningful.
|
|
28
|
+
- Make assumptions explicit when facts are missing.
|
|
29
|
+
- Document decisions close to the relevant role, skill, project, or context file.
|
|
30
|
+
- Escalate irreversible, risky, or externally visible decisions for human review.
|
|
31
|
+
|
|
32
|
+
## Collaboration Expectations
|
|
33
|
+
|
|
34
|
+
- Communicate status clearly during long-running work.
|
|
35
|
+
- Lead summaries with outcomes, then verification and remaining risk.
|
|
36
|
+
- Keep recommendations grounded in evidence from the repository or supplied
|
|
37
|
+
context.
|
|
38
|
+
- Separate reusable playbook guidance from project-specific facts.
|
|
39
|
+
|
|
40
|
+
## Information Boundaries
|
|
41
|
+
|
|
42
|
+
- Do not invent company policies, credentials, private systems, legal
|
|
43
|
+
requirements, or production access.
|
|
44
|
+
- Mark unknowns plainly and suggest the smallest useful next step to resolve
|
|
45
|
+
them.
|
|
46
|
+
- If context conflicts, prefer the most specific and most recent source.
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Engineering Context
|
|
2
|
+
|
|
3
|
+
This file defines the default engineering posture for AI-supported work in this
|
|
4
|
+
playbook.
|
|
5
|
+
|
|
6
|
+
## Principles
|
|
7
|
+
|
|
8
|
+
1. Solve the requested problem completely.
|
|
9
|
+
2. Prefer simple, maintainable changes.
|
|
10
|
+
3. Reuse existing project patterns before adding new ones.
|
|
11
|
+
4. Treat security, privacy, and reliability as baseline requirements.
|
|
12
|
+
5. Verify work with tests, checks, review, or explicit reasoning.
|
|
13
|
+
6. Document important decisions close to the work they affect.
|
|
14
|
+
|
|
15
|
+
## Default Workflow
|
|
16
|
+
|
|
17
|
+
```text
|
|
18
|
+
Understand
|
|
19
|
+
|
|
|
20
|
+
Inspect
|
|
21
|
+
|
|
|
22
|
+
Design
|
|
23
|
+
|
|
|
24
|
+
Implement
|
|
25
|
+
|
|
|
26
|
+
Verify
|
|
27
|
+
|
|
|
28
|
+
Document
|
|
29
|
+
|
|
|
30
|
+
Summarize
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Quality Gates
|
|
34
|
+
|
|
35
|
+
- Requirements and success criteria are understood.
|
|
36
|
+
- Relevant role, skill, and project context are loaded.
|
|
37
|
+
- Changes follow the local style and architecture.
|
|
38
|
+
- Tests or equivalent verification are completed when possible.
|
|
39
|
+
- Any skipped verification is named clearly.
|
|
40
|
+
- Risks and follow-up work are documented.
|
|
41
|
+
|
|
42
|
+
## Scope Control
|
|
43
|
+
|
|
44
|
+
Keep changes focused on the requested outcome. Do not refactor unrelated areas
|
|
45
|
+
unless the refactor is required to complete the task safely.
|
|
46
|
+
|
|
47
|
+
## Decision Hierarchy
|
|
48
|
+
|
|
49
|
+
When guidance conflicts, prefer sources in this order:
|
|
50
|
+
|
|
51
|
+
1. Explicit user instructions for the current task.
|
|
52
|
+
2. Project-specific context, README files, and local code patterns.
|
|
53
|
+
3. Role, skill, and domain context from this playbook.
|
|
54
|
+
4. General engineering best practices.
|
|
55
|
+
|
|
56
|
+
## Implementation Defaults
|
|
57
|
+
|
|
58
|
+
- Read before editing.
|
|
59
|
+
- Preserve user changes and avoid reverting unrelated work.
|
|
60
|
+
- Prefer structured parsers and project APIs over brittle text manipulation.
|
|
61
|
+
- Keep changes reviewable and explain meaningful trade-offs.
|
|
62
|
+
- Add verification proportional to risk and blast radius.
|
|
63
|
+
- Leave the workspace in a state another engineer can understand.
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# Project Context Template
|
|
2
|
+
|
|
3
|
+
Copy this structure into `projects/<project>/context.md` or adapt it inside a
|
|
4
|
+
project-specific README.
|
|
5
|
+
|
|
6
|
+
## Overview
|
|
7
|
+
|
|
8
|
+
- **Project name:**
|
|
9
|
+
- **Purpose:**
|
|
10
|
+
- **Primary users:**
|
|
11
|
+
- **Business or personal goal:**
|
|
12
|
+
- **Current status:** Idea, prototype, active development, production, paused, or
|
|
13
|
+
archived.
|
|
14
|
+
|
|
15
|
+
## Success Criteria
|
|
16
|
+
|
|
17
|
+
- What outcome should this project produce?
|
|
18
|
+
- What metric, behavior, or user signal proves it is working?
|
|
19
|
+
- What constraints define "good enough" for the current phase?
|
|
20
|
+
|
|
21
|
+
## Scope
|
|
22
|
+
|
|
23
|
+
### In Scope
|
|
24
|
+
|
|
25
|
+
-
|
|
26
|
+
|
|
27
|
+
### Out Of Scope
|
|
28
|
+
|
|
29
|
+
-
|
|
30
|
+
|
|
31
|
+
## Users And Workflows
|
|
32
|
+
|
|
33
|
+
- Primary user types:
|
|
34
|
+
- Critical workflows:
|
|
35
|
+
- Important edge cases:
|
|
36
|
+
- Accessibility or device requirements:
|
|
37
|
+
|
|
38
|
+
## Architecture
|
|
39
|
+
|
|
40
|
+
- Runtime or framework:
|
|
41
|
+
- Major modules or services:
|
|
42
|
+
- Data stores:
|
|
43
|
+
- External integrations:
|
|
44
|
+
- Deployment target:
|
|
45
|
+
- Local development command:
|
|
46
|
+
|
|
47
|
+
## Engineering Constraints
|
|
48
|
+
|
|
49
|
+
- Language and style expectations:
|
|
50
|
+
- Testing expectations:
|
|
51
|
+
- Security or privacy constraints:
|
|
52
|
+
- Performance or reliability targets:
|
|
53
|
+
- Dependency policy:
|
|
54
|
+
|
|
55
|
+
## Operations
|
|
56
|
+
|
|
57
|
+
- Environments:
|
|
58
|
+
- Configuration and secrets:
|
|
59
|
+
- Observability:
|
|
60
|
+
- Backup or recovery:
|
|
61
|
+
- Release and rollback:
|
|
62
|
+
|
|
63
|
+
## Open Questions
|
|
64
|
+
|
|
65
|
+
-
|
|
66
|
+
|
|
67
|
+
## Decision Log
|
|
68
|
+
|
|
69
|
+
| Date | Decision | Reason | Owner |
|
|
70
|
+
|------|----------|--------|-------|
|
|
71
|
+
| | | | |
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Trading Context
|
|
2
|
+
|
|
3
|
+
Use this context for trading-related projects, analysis tools, alerts, and AI
|
|
4
|
+
agents. This is engineering and product guidance, not financial advice.
|
|
5
|
+
|
|
6
|
+
## Core Principles
|
|
7
|
+
|
|
8
|
+
- Treat market data as time-sensitive and verify freshness before acting on it.
|
|
9
|
+
- Distinguish clearly between observation, model inference, recommendation, and
|
|
10
|
+
executed trade.
|
|
11
|
+
- Preserve auditability: inputs, signals, assumptions, decisions, and outcomes
|
|
12
|
+
should be traceable.
|
|
13
|
+
- Prefer risk management over prediction confidence.
|
|
14
|
+
- Never imply guaranteed returns.
|
|
15
|
+
|
|
16
|
+
## Data Expectations
|
|
17
|
+
|
|
18
|
+
- Record the data source, symbol, timestamp, timezone, and market session.
|
|
19
|
+
- Handle missing, delayed, split-adjusted, and stale data explicitly.
|
|
20
|
+
- Separate historical backtest data from live or paper-trading data.
|
|
21
|
+
- Normalize symbols and exchanges before comparing or storing results.
|
|
22
|
+
- Avoid learning from unmatched, ambiguous, or manually corrected PnL unless the
|
|
23
|
+
source of truth is clear.
|
|
24
|
+
|
|
25
|
+
## Strategy And Signal Hygiene
|
|
26
|
+
|
|
27
|
+
- Define the setup type, entry trigger, invalidation point, position size, stop,
|
|
28
|
+
target, and time horizon.
|
|
29
|
+
- Avoid mixing swing, day-trade, options, and long-term investing assumptions.
|
|
30
|
+
- Track confidence as a function of evidence quality, not enthusiasm.
|
|
31
|
+
- Make no-trade and watchlist outcomes first-class results.
|
|
32
|
+
- Keep duplicate intent windows and cooldowns explicit for automated agents.
|
|
33
|
+
|
|
34
|
+
## Risk Controls
|
|
35
|
+
|
|
36
|
+
- Enforce max position size, max daily loss, max open risk, and per-symbol
|
|
37
|
+
exposure limits where applicable.
|
|
38
|
+
- Confirm buying power, market hours, liquidity, spread, and order type before
|
|
39
|
+
execution.
|
|
40
|
+
- Prefer paper trading or human confirmation until execution safeguards are
|
|
41
|
+
proven.
|
|
42
|
+
- Log rejected trades with the exact rule that blocked them.
|
|
43
|
+
|
|
44
|
+
## Verification
|
|
45
|
+
|
|
46
|
+
- Backtests should account for survivorship bias, lookahead bias, slippage,
|
|
47
|
+
commissions, and realistic fills.
|
|
48
|
+
- Live monitoring should compare expected state with broker or data-provider
|
|
49
|
+
state.
|
|
50
|
+
- Alerts should include symbol, setup, trigger, stop, target, timestamp, and
|
|
51
|
+
reason.
|
|
52
|
+
- Post-trade review should capture whether the original thesis played out.
|