agentic-team-templates 0.3.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.
Files changed (103) hide show
  1. package/README.md +280 -0
  2. package/bin/cli.js +5 -0
  3. package/package.json +47 -0
  4. package/src/index.js +521 -0
  5. package/templates/_shared/code-quality.md +162 -0
  6. package/templates/_shared/communication.md +114 -0
  7. package/templates/_shared/core-principles.md +62 -0
  8. package/templates/_shared/git-workflow.md +165 -0
  9. package/templates/_shared/security-fundamentals.md +173 -0
  10. package/templates/blockchain/.cursorrules/defi-patterns.md +520 -0
  11. package/templates/blockchain/.cursorrules/gas-optimization.md +339 -0
  12. package/templates/blockchain/.cursorrules/overview.md +130 -0
  13. package/templates/blockchain/.cursorrules/security.md +318 -0
  14. package/templates/blockchain/.cursorrules/smart-contracts.md +364 -0
  15. package/templates/blockchain/.cursorrules/testing.md +415 -0
  16. package/templates/blockchain/.cursorrules/web3-integration.md +538 -0
  17. package/templates/blockchain/CLAUDE.md +389 -0
  18. package/templates/cli-tools/.cursorrules/architecture.md +412 -0
  19. package/templates/cli-tools/.cursorrules/arguments.md +406 -0
  20. package/templates/cli-tools/.cursorrules/distribution.md +546 -0
  21. package/templates/cli-tools/.cursorrules/error-handling.md +455 -0
  22. package/templates/cli-tools/.cursorrules/overview.md +136 -0
  23. package/templates/cli-tools/.cursorrules/testing.md +537 -0
  24. package/templates/cli-tools/.cursorrules/user-experience.md +545 -0
  25. package/templates/cli-tools/CLAUDE.md +356 -0
  26. package/templates/data-engineering/.cursorrules/data-modeling.md +367 -0
  27. package/templates/data-engineering/.cursorrules/data-quality.md +455 -0
  28. package/templates/data-engineering/.cursorrules/overview.md +85 -0
  29. package/templates/data-engineering/.cursorrules/performance.md +339 -0
  30. package/templates/data-engineering/.cursorrules/pipeline-design.md +280 -0
  31. package/templates/data-engineering/.cursorrules/security.md +460 -0
  32. package/templates/data-engineering/.cursorrules/testing.md +452 -0
  33. package/templates/data-engineering/CLAUDE.md +974 -0
  34. package/templates/devops-sre/.cursorrules/capacity-planning.md +653 -0
  35. package/templates/devops-sre/.cursorrules/change-management.md +584 -0
  36. package/templates/devops-sre/.cursorrules/chaos-engineering.md +651 -0
  37. package/templates/devops-sre/.cursorrules/disaster-recovery.md +641 -0
  38. package/templates/devops-sre/.cursorrules/incident-management.md +565 -0
  39. package/templates/devops-sre/.cursorrules/observability.md +714 -0
  40. package/templates/devops-sre/.cursorrules/overview.md +230 -0
  41. package/templates/devops-sre/.cursorrules/postmortems.md +588 -0
  42. package/templates/devops-sre/.cursorrules/runbooks.md +760 -0
  43. package/templates/devops-sre/.cursorrules/slo-sli.md +617 -0
  44. package/templates/devops-sre/.cursorrules/toil-reduction.md +567 -0
  45. package/templates/devops-sre/CLAUDE.md +1007 -0
  46. package/templates/documentation/.cursorrules/adr.md +277 -0
  47. package/templates/documentation/.cursorrules/api-documentation.md +411 -0
  48. package/templates/documentation/.cursorrules/code-comments.md +253 -0
  49. package/templates/documentation/.cursorrules/maintenance.md +260 -0
  50. package/templates/documentation/.cursorrules/overview.md +82 -0
  51. package/templates/documentation/.cursorrules/readme-standards.md +306 -0
  52. package/templates/documentation/CLAUDE.md +120 -0
  53. package/templates/fullstack/.cursorrules/api-contracts.md +331 -0
  54. package/templates/fullstack/.cursorrules/architecture.md +298 -0
  55. package/templates/fullstack/.cursorrules/overview.md +109 -0
  56. package/templates/fullstack/.cursorrules/shared-types.md +348 -0
  57. package/templates/fullstack/.cursorrules/testing.md +386 -0
  58. package/templates/fullstack/CLAUDE.md +349 -0
  59. package/templates/ml-ai/.cursorrules/data-engineering.md +483 -0
  60. package/templates/ml-ai/.cursorrules/deployment.md +601 -0
  61. package/templates/ml-ai/.cursorrules/model-development.md +538 -0
  62. package/templates/ml-ai/.cursorrules/monitoring.md +658 -0
  63. package/templates/ml-ai/.cursorrules/overview.md +131 -0
  64. package/templates/ml-ai/.cursorrules/security.md +637 -0
  65. package/templates/ml-ai/.cursorrules/testing.md +678 -0
  66. package/templates/ml-ai/CLAUDE.md +1136 -0
  67. package/templates/mobile/.cursorrules/navigation.md +246 -0
  68. package/templates/mobile/.cursorrules/offline-first.md +302 -0
  69. package/templates/mobile/.cursorrules/overview.md +71 -0
  70. package/templates/mobile/.cursorrules/performance.md +345 -0
  71. package/templates/mobile/.cursorrules/testing.md +339 -0
  72. package/templates/mobile/CLAUDE.md +233 -0
  73. package/templates/platform-engineering/.cursorrules/ci-cd.md +778 -0
  74. package/templates/platform-engineering/.cursorrules/developer-experience.md +632 -0
  75. package/templates/platform-engineering/.cursorrules/infrastructure-as-code.md +600 -0
  76. package/templates/platform-engineering/.cursorrules/kubernetes.md +710 -0
  77. package/templates/platform-engineering/.cursorrules/observability.md +747 -0
  78. package/templates/platform-engineering/.cursorrules/overview.md +215 -0
  79. package/templates/platform-engineering/.cursorrules/security.md +855 -0
  80. package/templates/platform-engineering/.cursorrules/testing.md +878 -0
  81. package/templates/platform-engineering/CLAUDE.md +850 -0
  82. package/templates/utility-agent/.cursorrules/action-control.md +284 -0
  83. package/templates/utility-agent/.cursorrules/context-management.md +186 -0
  84. package/templates/utility-agent/.cursorrules/hallucination-prevention.md +253 -0
  85. package/templates/utility-agent/.cursorrules/overview.md +78 -0
  86. package/templates/utility-agent/.cursorrules/token-optimization.md +369 -0
  87. package/templates/utility-agent/CLAUDE.md +513 -0
  88. package/templates/web-backend/.cursorrules/api-design.md +255 -0
  89. package/templates/web-backend/.cursorrules/authentication.md +309 -0
  90. package/templates/web-backend/.cursorrules/database-patterns.md +298 -0
  91. package/templates/web-backend/.cursorrules/error-handling.md +366 -0
  92. package/templates/web-backend/.cursorrules/overview.md +69 -0
  93. package/templates/web-backend/.cursorrules/security.md +358 -0
  94. package/templates/web-backend/.cursorrules/testing.md +395 -0
  95. package/templates/web-backend/CLAUDE.md +366 -0
  96. package/templates/web-frontend/.cursorrules/accessibility.md +296 -0
  97. package/templates/web-frontend/.cursorrules/component-patterns.md +204 -0
  98. package/templates/web-frontend/.cursorrules/overview.md +72 -0
  99. package/templates/web-frontend/.cursorrules/performance.md +325 -0
  100. package/templates/web-frontend/.cursorrules/state-management.md +227 -0
  101. package/templates/web-frontend/.cursorrules/styling.md +271 -0
  102. package/templates/web-frontend/.cursorrules/testing.md +311 -0
  103. package/templates/web-frontend/CLAUDE.md +399 -0
@@ -0,0 +1,131 @@
1
+ # ML/AI Development Overview
2
+
3
+ Staff-level guidelines for machine learning and artificial intelligence systems, covering the full ML lifecycle from data engineering to production monitoring.
4
+
5
+ ## Scope
6
+
7
+ This template applies to:
8
+
9
+ - Machine learning pipelines (training, evaluation, deployment)
10
+ - Deep learning systems (computer vision, NLP, recommendation systems)
11
+ - MLOps infrastructure (experiment tracking, feature stores, model registries)
12
+ - LLM/GenAI applications (fine-tuning, RAG, prompt engineering)
13
+ - Real-time and batch inference systems
14
+
15
+ ## Core Principles
16
+
17
+ ### 1. Data-Centric Development
18
+
19
+ Data quality beats algorithm complexity. Most model improvements come from better data, not fancier architectures.
20
+
21
+ - Validate data at every pipeline boundary
22
+ - Version datasets alongside code
23
+ - Invest in data labeling quality
24
+ - Monitor for data drift continuously
25
+
26
+ ### 2. Reproducibility Is Non-Negotiable
27
+
28
+ Every experiment must be reproducible. Version everything: data, code, configurations, models, and environments.
29
+
30
+ - Pin all dependency versions
31
+ - Log random seeds and hyperparameters
32
+ - Use deterministic operations where possible
33
+ - Track data lineage from source to prediction
34
+
35
+ ### 3. Observability Over Uptime
36
+
37
+ Traditional monitoring (CPU, memory, latency) isn't enough. Models can silently degrade while infrastructure stays green.
38
+
39
+ - Monitor prediction distributions
40
+ - Detect data and concept drift
41
+ - Track business metrics, not just ML metrics
42
+ - Set up alerts for model performance degradation
43
+
44
+ ### 4. Responsible AI By Default
45
+
46
+ Fairness, bias detection, and explainability are not afterthoughts—they're requirements.
47
+
48
+ - Assess fairness across protected groups
49
+ - Document model limitations
50
+ - Provide explanations for predictions
51
+ - Test for adversarial robustness
52
+
53
+ ## Project Structure
54
+
55
+ ```
56
+ ml-project/
57
+ ├── data/
58
+ │ ├── raw/ # Immutable raw data
59
+ │ ├── processed/ # Cleaned, transformed data
60
+ │ └── features/ # Feature store exports
61
+ ├── src/
62
+ │ ├── data/ # Data loading and validation
63
+ │ ├── features/ # Feature engineering
64
+ │ ├── models/ # Model definitions
65
+ │ ├── training/ # Training logic
66
+ │ ├── evaluation/ # Metrics and analysis
67
+ │ ├── inference/ # Serving code
68
+ │ └── utils/ # Shared utilities
69
+ ├── configs/ # Experiment configurations
70
+ ├── notebooks/ # Exploration (not production)
71
+ ├── tests/
72
+ │ ├── unit/ # Unit tests
73
+ │ ├── integration/ # Integration tests
74
+ │ └── model/ # Model behavior tests
75
+ ├── pipelines/ # ML pipeline definitions
76
+ └── deployments/ # Kubernetes/serving configs
77
+ ```
78
+
79
+ ## Technology Stack
80
+
81
+ ### Training & Experimentation
82
+
83
+ - **Frameworks**: PyTorch, TensorFlow, scikit-learn, XGBoost
84
+ - **Experiment Tracking**: MLflow, Weights & Biases, Neptune
85
+ - **Hyperparameter Optimization**: Optuna, Ray Tune
86
+
87
+ ### Data & Features
88
+
89
+ - **Feature Stores**: Feast, Tecton, Hopsworks
90
+ - **Data Validation**: TensorFlow Data Validation, Great Expectations, Pandera
91
+ - **Data Versioning**: DVC, LakeFS
92
+
93
+ ### Deployment & Serving
94
+
95
+ - **Model Serving**: KServe, TorchServe, Triton Inference Server, vLLM
96
+ - **Containerization**: Docker, Kubernetes
97
+ - **Orchestration**: Kubeflow, Airflow, Prefect, Dagster
98
+
99
+ ### Monitoring & Observability
100
+
101
+ - **Drift Detection**: Evidently, WhyLabs, Arize
102
+ - **Logging**: Structured logging with MLflow
103
+ - **Metrics**: Prometheus, custom business metrics
104
+
105
+ ## Definition of Done (ML Model)
106
+
107
+ A machine learning model is production-ready when:
108
+
109
+ - [ ] Data validation schemas defined and enforced
110
+ - [ ] Feature engineering code tested and versioned
111
+ - [ ] Experiment tracked with all parameters and metrics
112
+ - [ ] Model evaluated on multiple metrics (not just accuracy)
113
+ - [ ] Fairness assessed across protected groups
114
+ - [ ] Model registered with signature and artifacts
115
+ - [ ] Inference endpoint tested under load
116
+ - [ ] Drift detection configured
117
+ - [ ] Monitoring dashboards created
118
+ - [ ] Rollback procedure documented
119
+ - [ ] All tests passing (unit, model, integration)
120
+
121
+ ## Definition of Done (ML Pipeline)
122
+
123
+ An ML pipeline is production-ready when:
124
+
125
+ - [ ] Each stage has clear inputs and outputs
126
+ - [ ] Data validation at pipeline boundaries
127
+ - [ ] Idempotent and retryable stages
128
+ - [ ] Failure alerts configured
129
+ - [ ] Logging captures lineage
130
+ - [ ] Pipeline tested end-to-end
131
+ - [ ] Documentation complete