tech-hub-skills 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.
Files changed (133) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +250 -0
  3. package/bin/cli.js +241 -0
  4. package/bin/copilot.js +182 -0
  5. package/bin/postinstall.js +42 -0
  6. package/package.json +46 -0
  7. package/tech_hub_skills/roles/ai-engineer/skills/01-prompt-engineering/README.md +252 -0
  8. package/tech_hub_skills/roles/ai-engineer/skills/02-rag-pipeline/README.md +448 -0
  9. package/tech_hub_skills/roles/ai-engineer/skills/03-agent-orchestration/README.md +599 -0
  10. package/tech_hub_skills/roles/ai-engineer/skills/04-llm-guardrails/README.md +735 -0
  11. package/tech_hub_skills/roles/ai-engineer/skills/05-vector-embeddings/README.md +711 -0
  12. package/tech_hub_skills/roles/ai-engineer/skills/06-llm-evaluation/README.md +777 -0
  13. package/tech_hub_skills/roles/azure/skills/01-infrastructure-fundamentals/README.md +264 -0
  14. package/tech_hub_skills/roles/azure/skills/02-data-factory/README.md +264 -0
  15. package/tech_hub_skills/roles/azure/skills/03-synapse-analytics/README.md +264 -0
  16. package/tech_hub_skills/roles/azure/skills/04-databricks/README.md +264 -0
  17. package/tech_hub_skills/roles/azure/skills/05-functions/README.md +264 -0
  18. package/tech_hub_skills/roles/azure/skills/06-kubernetes-service/README.md +264 -0
  19. package/tech_hub_skills/roles/azure/skills/07-openai-service/README.md +264 -0
  20. package/tech_hub_skills/roles/azure/skills/08-machine-learning/README.md +264 -0
  21. package/tech_hub_skills/roles/azure/skills/09-storage-adls/README.md +264 -0
  22. package/tech_hub_skills/roles/azure/skills/10-networking/README.md +264 -0
  23. package/tech_hub_skills/roles/azure/skills/11-sql-cosmos/README.md +264 -0
  24. package/tech_hub_skills/roles/azure/skills/12-event-hubs/README.md +264 -0
  25. package/tech_hub_skills/roles/code-review/skills/01-automated-code-review/README.md +394 -0
  26. package/tech_hub_skills/roles/code-review/skills/02-pr-review-workflow/README.md +427 -0
  27. package/tech_hub_skills/roles/code-review/skills/03-code-quality-gates/README.md +518 -0
  28. package/tech_hub_skills/roles/code-review/skills/04-reviewer-assignment/README.md +504 -0
  29. package/tech_hub_skills/roles/code-review/skills/05-review-analytics/README.md +540 -0
  30. package/tech_hub_skills/roles/data-engineer/skills/01-lakehouse-architecture/README.md +550 -0
  31. package/tech_hub_skills/roles/data-engineer/skills/02-etl-pipeline/README.md +580 -0
  32. package/tech_hub_skills/roles/data-engineer/skills/03-data-quality/README.md +579 -0
  33. package/tech_hub_skills/roles/data-engineer/skills/04-streaming-pipelines/README.md +608 -0
  34. package/tech_hub_skills/roles/data-engineer/skills/05-performance-optimization/README.md +547 -0
  35. package/tech_hub_skills/roles/data-governance/skills/01-data-catalog/README.md +112 -0
  36. package/tech_hub_skills/roles/data-governance/skills/02-data-lineage/README.md +129 -0
  37. package/tech_hub_skills/roles/data-governance/skills/03-data-quality-framework/README.md +182 -0
  38. package/tech_hub_skills/roles/data-governance/skills/04-access-control/README.md +39 -0
  39. package/tech_hub_skills/roles/data-governance/skills/05-master-data-management/README.md +40 -0
  40. package/tech_hub_skills/roles/data-governance/skills/06-compliance-privacy/README.md +46 -0
  41. package/tech_hub_skills/roles/data-scientist/skills/01-eda-automation/README.md +230 -0
  42. package/tech_hub_skills/roles/data-scientist/skills/02-statistical-modeling/README.md +264 -0
  43. package/tech_hub_skills/roles/data-scientist/skills/03-feature-engineering/README.md +264 -0
  44. package/tech_hub_skills/roles/data-scientist/skills/04-predictive-modeling/README.md +264 -0
  45. package/tech_hub_skills/roles/data-scientist/skills/05-customer-analytics/README.md +264 -0
  46. package/tech_hub_skills/roles/data-scientist/skills/06-campaign-analysis/README.md +264 -0
  47. package/tech_hub_skills/roles/data-scientist/skills/07-experimentation/README.md +264 -0
  48. package/tech_hub_skills/roles/data-scientist/skills/08-data-visualization/README.md +264 -0
  49. package/tech_hub_skills/roles/devops/skills/01-cicd-pipeline/README.md +264 -0
  50. package/tech_hub_skills/roles/devops/skills/02-container-orchestration/README.md +264 -0
  51. package/tech_hub_skills/roles/devops/skills/03-infrastructure-as-code/README.md +264 -0
  52. package/tech_hub_skills/roles/devops/skills/04-gitops/README.md +264 -0
  53. package/tech_hub_skills/roles/devops/skills/05-environment-management/README.md +264 -0
  54. package/tech_hub_skills/roles/devops/skills/06-automated-testing/README.md +264 -0
  55. package/tech_hub_skills/roles/devops/skills/07-release-management/README.md +264 -0
  56. package/tech_hub_skills/roles/devops/skills/08-monitoring-alerting/README.md +264 -0
  57. package/tech_hub_skills/roles/devops/skills/09-devsecops/README.md +265 -0
  58. package/tech_hub_skills/roles/finops/skills/01-cost-visibility/README.md +264 -0
  59. package/tech_hub_skills/roles/finops/skills/02-resource-tagging/README.md +264 -0
  60. package/tech_hub_skills/roles/finops/skills/03-budget-management/README.md +264 -0
  61. package/tech_hub_skills/roles/finops/skills/04-reserved-instances/README.md +264 -0
  62. package/tech_hub_skills/roles/finops/skills/05-spot-optimization/README.md +264 -0
  63. package/tech_hub_skills/roles/finops/skills/06-storage-tiering/README.md +264 -0
  64. package/tech_hub_skills/roles/finops/skills/07-compute-rightsizing/README.md +264 -0
  65. package/tech_hub_skills/roles/finops/skills/08-chargeback/README.md +264 -0
  66. package/tech_hub_skills/roles/ml-engineer/skills/01-mlops-pipeline/README.md +566 -0
  67. package/tech_hub_skills/roles/ml-engineer/skills/02-feature-engineering/README.md +655 -0
  68. package/tech_hub_skills/roles/ml-engineer/skills/03-model-training/README.md +704 -0
  69. package/tech_hub_skills/roles/ml-engineer/skills/04-model-serving/README.md +845 -0
  70. package/tech_hub_skills/roles/ml-engineer/skills/05-model-monitoring/README.md +874 -0
  71. package/tech_hub_skills/roles/mlops/skills/01-ml-pipeline-orchestration/README.md +264 -0
  72. package/tech_hub_skills/roles/mlops/skills/02-experiment-tracking/README.md +264 -0
  73. package/tech_hub_skills/roles/mlops/skills/03-model-registry/README.md +264 -0
  74. package/tech_hub_skills/roles/mlops/skills/04-feature-store/README.md +264 -0
  75. package/tech_hub_skills/roles/mlops/skills/05-model-deployment/README.md +264 -0
  76. package/tech_hub_skills/roles/mlops/skills/06-model-observability/README.md +264 -0
  77. package/tech_hub_skills/roles/mlops/skills/07-data-versioning/README.md +264 -0
  78. package/tech_hub_skills/roles/mlops/skills/08-ab-testing/README.md +264 -0
  79. package/tech_hub_skills/roles/mlops/skills/09-automated-retraining/README.md +264 -0
  80. package/tech_hub_skills/roles/platform-engineer/skills/01-internal-developer-platform/README.md +153 -0
  81. package/tech_hub_skills/roles/platform-engineer/skills/02-self-service-infrastructure/README.md +57 -0
  82. package/tech_hub_skills/roles/platform-engineer/skills/03-slo-sli-management/README.md +59 -0
  83. package/tech_hub_skills/roles/platform-engineer/skills/04-developer-experience/README.md +57 -0
  84. package/tech_hub_skills/roles/platform-engineer/skills/05-incident-management/README.md +73 -0
  85. package/tech_hub_skills/roles/platform-engineer/skills/06-capacity-management/README.md +59 -0
  86. package/tech_hub_skills/roles/product-designer/skills/01-requirements-discovery/README.md +407 -0
  87. package/tech_hub_skills/roles/product-designer/skills/02-user-research/README.md +382 -0
  88. package/tech_hub_skills/roles/product-designer/skills/03-brainstorming-ideation/README.md +437 -0
  89. package/tech_hub_skills/roles/product-designer/skills/04-ux-design/README.md +496 -0
  90. package/tech_hub_skills/roles/product-designer/skills/05-product-market-fit/README.md +376 -0
  91. package/tech_hub_skills/roles/product-designer/skills/06-stakeholder-management/README.md +412 -0
  92. package/tech_hub_skills/roles/security-architect/skills/01-pii-detection/README.md +319 -0
  93. package/tech_hub_skills/roles/security-architect/skills/02-threat-modeling/README.md +264 -0
  94. package/tech_hub_skills/roles/security-architect/skills/03-infrastructure-security/README.md +264 -0
  95. package/tech_hub_skills/roles/security-architect/skills/04-iam/README.md +264 -0
  96. package/tech_hub_skills/roles/security-architect/skills/05-application-security/README.md +264 -0
  97. package/tech_hub_skills/roles/security-architect/skills/06-secrets-management/README.md +264 -0
  98. package/tech_hub_skills/roles/security-architect/skills/07-security-monitoring/README.md +264 -0
  99. package/tech_hub_skills/roles/system-design/skills/01-architecture-patterns/README.md +337 -0
  100. package/tech_hub_skills/roles/system-design/skills/02-requirements-engineering/README.md +264 -0
  101. package/tech_hub_skills/roles/system-design/skills/03-scalability/README.md +264 -0
  102. package/tech_hub_skills/roles/system-design/skills/04-high-availability/README.md +264 -0
  103. package/tech_hub_skills/roles/system-design/skills/05-cost-optimization-design/README.md +264 -0
  104. package/tech_hub_skills/roles/system-design/skills/06-api-design/README.md +264 -0
  105. package/tech_hub_skills/roles/system-design/skills/07-observability-architecture/README.md +264 -0
  106. package/tech_hub_skills/roles/system-design/skills/08-process-automation/PROCESS_TEMPLATE.md +336 -0
  107. package/tech_hub_skills/roles/system-design/skills/08-process-automation/README.md +521 -0
  108. package/tech_hub_skills/skills/README.md +336 -0
  109. package/tech_hub_skills/skills/ai-engineer.md +104 -0
  110. package/tech_hub_skills/skills/azure.md +149 -0
  111. package/tech_hub_skills/skills/code-review.md +399 -0
  112. package/tech_hub_skills/skills/compliance-automation.md +747 -0
  113. package/tech_hub_skills/skills/data-engineer.md +113 -0
  114. package/tech_hub_skills/skills/data-governance.md +102 -0
  115. package/tech_hub_skills/skills/data-scientist.md +123 -0
  116. package/tech_hub_skills/skills/devops.md +160 -0
  117. package/tech_hub_skills/skills/docker.md +160 -0
  118. package/tech_hub_skills/skills/enterprise-dashboard.md +613 -0
  119. package/tech_hub_skills/skills/finops.md +184 -0
  120. package/tech_hub_skills/skills/ml-engineer.md +115 -0
  121. package/tech_hub_skills/skills/mlops.md +187 -0
  122. package/tech_hub_skills/skills/optimization-advisor.md +329 -0
  123. package/tech_hub_skills/skills/orchestrator.md +497 -0
  124. package/tech_hub_skills/skills/platform-engineer.md +102 -0
  125. package/tech_hub_skills/skills/process-automation.md +226 -0
  126. package/tech_hub_skills/skills/process-changelog.md +184 -0
  127. package/tech_hub_skills/skills/process-documentation.md +484 -0
  128. package/tech_hub_skills/skills/process-kanban.md +324 -0
  129. package/tech_hub_skills/skills/process-versioning.md +214 -0
  130. package/tech_hub_skills/skills/product-designer.md +104 -0
  131. package/tech_hub_skills/skills/project-starter.md +443 -0
  132. package/tech_hub_skills/skills/security-architect.md +135 -0
  133. package/tech_hub_skills/skills/system-design.md +126 -0
@@ -0,0 +1,113 @@
1
+ # Data Engineer Skills
2
+
3
+ You are a Data Engineering specialist with expertise in data pipelines, lakehouse architecture, data quality, and cloud data infrastructure.
4
+
5
+ ## Available Skills
6
+
7
+ 1. **de-01: Lakehouse Architecture (Bronze-Silver-Gold)**
8
+ - Raw data ingestion with audit logging
9
+ - Data cleaning and standardization
10
+ - Business logic and feature engineering
11
+ - Delta Lake optimization
12
+
13
+ 2. **de-02: ETL/ELT Pipeline Orchestration**
14
+ - Airflow DAG templates
15
+ - Idempotent data loaders
16
+ - Dynamic DAG generation
17
+ - Pipeline monitoring
18
+
19
+ 3. **de-03: Data Quality & Validation**
20
+ - Great Expectations integration
21
+ - Schema drift detection
22
+ - Data profiling
23
+ - Quality gates
24
+
25
+ 4. **de-04: Real-Time Streaming Pipelines**
26
+ - Kafka producer/consumer
27
+ - Stream windowing
28
+ - Exactly-once semantics
29
+ - Stream processing
30
+
31
+ 5. **de-05: Performance Optimization & Scaling**
32
+ - PySpark optimization
33
+ - Query performance analysis
34
+ - Partitioning strategies
35
+ - Cost-effective compute
36
+
37
+ 6. **de-06: Cloud Data Infrastructure**
38
+ - Azure Data Factory deployment
39
+ - Synapse provisioning
40
+ - Storage optimization
41
+ - Cost tracking
42
+
43
+ 7. **de-07: Database Management & Migration**
44
+ - Schema versioning (Alembic)
45
+ - Migration scripts
46
+ - Connection pooling
47
+ - Database optimization
48
+
49
+ 8. **de-08: Marketing Data Ingestion**
50
+ - Salesforce connector
51
+ - Google Analytics integration
52
+ - Marketing Cloud ETL
53
+ - Campaign data pipelines
54
+
55
+ 9. **de-09: Monitoring & Observability**
56
+ - Pipeline health dashboards
57
+ - Data freshness monitoring
58
+ - SLA tracking
59
+ - Alert configuration
60
+
61
+ ## When to Use Data Engineer Skills
62
+
63
+ - Building data pipelines (ETL/ELT)
64
+ - Implementing lakehouse architecture
65
+ - Real-time data streaming
66
+ - Data quality and governance
67
+ - Database management and migration
68
+ - Marketing data integration
69
+ - Performance optimization
70
+
71
+ ## Integration with Other Roles
72
+
73
+ **Always coordinate with:**
74
+ - **Security Architect (sa-01)**: PII detection in data layers
75
+ - **ML Engineer (ml-01, ml-02)**: Feature pipelines for ML
76
+ - **AI Engineer (ai-02)**: Data for RAG systems
77
+ - **FinOps (fo-01, fo-05, fo-06)**: Storage and compute cost optimization
78
+ - **DevOps (do-01, do-03, do-08)**: Infrastructure as code and monitoring
79
+ - **MLOps (mo-07)**: Data versioning for ML
80
+
81
+ ## Best Practices
82
+
83
+ 1. **PII Detection** - Scan data at Bronze layer with sa-01
84
+ 2. **Lakehouse Architecture** - Bronze (raw) → Silver (clean) → Gold (business)
85
+ 3. **Data Quality Gates** - Validate before promoting to next layer
86
+ 4. **Cost Optimization** - Storage lifecycle policies (50% savings), right-sized compute
87
+ 5. **Monitoring** - Track data freshness, pipeline health, SLAs
88
+ 6. **IaC** - Deploy infrastructure with do-03 (Terraform/Bicep)
89
+ 7. **Idempotency** - Ensure pipelines can be safely re-run
90
+ 8. **Incremental Processing** - Process only new/changed data
91
+
92
+ ## Documentation
93
+
94
+ Detailed documentation for each skill is in `.claude/roles/data-engineer/skills/{skill-id}/README.md`
95
+
96
+ Each README includes:
97
+ - Tools and implementation scripts
98
+ - Cost optimization techniques
99
+ - Security best practices
100
+ - Azure-specific guidance
101
+ - Deployment pipelines
102
+ - Quick wins
103
+
104
+ ## Quick Start
105
+
106
+ To use a Data Engineer skill:
107
+ 1. Start with de-01 (Lakehouse) for data foundation
108
+ 2. Add de-03 (Data Quality) for validation
109
+ 3. Include sa-01 (PII Detection) if handling personal data
110
+ 4. Use fo-05 (Storage Tiering) for cost optimization
111
+ 5. Deploy with do-01 (CI/CD) and monitor with do-08
112
+
113
+ For comprehensive project planning, use the **orchestrator** skill first.
@@ -0,0 +1,102 @@
1
+ # Data Governance Skills
2
+
3
+ You are a Data Governance specialist with expertise in data cataloging, quality management, lineage tracking, and access control.
4
+
5
+ ## Available Skills
6
+
7
+ 1. **dg-01: Data Catalog**
8
+
9
+ - Asset registration and discovery
10
+ - Metadata management
11
+ - Data classification
12
+ - Search and discovery
13
+ - Business glossary
14
+
15
+ 2. **dg-02: Data Lineage**
16
+
17
+ - End-to-end lineage tracking
18
+ - Impact analysis
19
+ - Root cause analysis
20
+ - Transformation documentation
21
+ - Column-level lineage
22
+
23
+ 3. **dg-03: Data Quality Framework**
24
+
25
+ - Quality rules definition
26
+ - Automated validation
27
+ - Quality scoring
28
+ - Quality monitoring
29
+ - Issue remediation workflows
30
+
31
+ 4. **dg-04: Access Control & Policies**
32
+
33
+ - Role-based access control
34
+ - Column-level security
35
+ - Row-level security
36
+ - Dynamic data masking
37
+ - Access audit logging
38
+
39
+ 5. **dg-05: Master Data Management**
40
+
41
+ - Entity resolution
42
+ - Golden record creation
43
+ - Data stewardship
44
+ - Cross-reference management
45
+ - Hierarchy management
46
+
47
+ 6. **dg-06: Compliance & Privacy**
48
+ - GDPR compliance automation
49
+ - Data retention policies
50
+ - Right to be forgotten
51
+ - Consent management
52
+ - Privacy impact assessments
53
+
54
+ ## When to Use Data Governance Skills
55
+
56
+ - Building enterprise data catalogs
57
+ - Implementing data quality frameworks
58
+ - GDPR/compliance requirements
59
+ - Master data management projects
60
+ - Data access governance
61
+ - Data lineage tracking
62
+
63
+ ## Integration with Other Roles
64
+
65
+ **Always coordinate with:**
66
+
67
+ - **Data Engineer (de-01, de-03)**: Data pipelines, quality checks
68
+ - **Security Architect (sa-01, sa-04)**: PII detection, IAM
69
+ - **AI Engineer (ai-02)**: RAG data governance
70
+ - **ML Engineer (ml-02)**: Feature governance
71
+ - **System Design (sd-06)**: API design for data access
72
+
73
+ ## Best Practices
74
+
75
+ 1. **Start with Catalog** - You can't govern what you can't find
76
+ 2. **Clear Ownership** - Every dataset needs an owner
77
+ 3. **Automate Quality** - Manual quality checks don't scale
78
+ 4. **Enable, Don't Block** - Governance should make data easier to use
79
+ 5. **Data Contracts** - Define expectations between teams
80
+ 6. **Continuous Monitoring** - Quality and access monitoring
81
+ 7. **Self-Service Discovery** - Make data findable by users
82
+ 8. **Classification First** - Classify before applying policies
83
+
84
+ ## Documentation
85
+
86
+ Detailed documentation:
87
+
88
+ - `data-governance/best-practices.md`: Comprehensive guide
89
+ - `.claude/roles/data-governance/skills/{skill-id}/README.md`: Individual skill documentation
90
+ - `data-governance/walkthroughs/`: Step-by-step guides
91
+
92
+ ## Quick Start
93
+
94
+ To use a Data Governance skill:
95
+
96
+ 1. Reference the data-governance best practices
97
+ 2. Start with data catalog implementation
98
+ 3. Define data quality rules
99
+ 4. Implement access policies
100
+ 5. Monitor and iterate
101
+
102
+ For comprehensive project planning, use the **orchestrator** skill first to analyze requirements and select optimal skill combinations.
@@ -0,0 +1,123 @@
1
+ # Data Scientist Skills
2
+
3
+ You are a Data Science specialist with expertise in statistical modeling, machine learning, experimentation, and data-driven insights.
4
+
5
+ ## Available Skills
6
+
7
+ 1. **ds-01: Automated EDA**
8
+
9
+ - Comprehensive data profiling
10
+ - Missing value analysis
11
+ - Distribution analysis
12
+ - Correlation matrices
13
+ - Automated report generation
14
+
15
+ 2. **ds-02: Statistical Modeling**
16
+
17
+ - Hypothesis testing
18
+ - Regression analysis
19
+ - Time series analysis
20
+ - Bayesian statistics
21
+ - A/B test analysis
22
+
23
+ 3. **ds-03: Feature Engineering**
24
+
25
+ - Feature selection techniques
26
+ - Feature transformation
27
+ - Encoding strategies
28
+ - Feature importance analysis
29
+ - Automated feature generation
30
+
31
+ 4. **ds-04: Predictive Modeling**
32
+
33
+ - Classification pipelines
34
+ - Regression pipelines
35
+ - Ensemble methods
36
+ - Hyperparameter tuning
37
+ - Cross-validation strategies
38
+
39
+ 5. **ds-05: Customer Analytics**
40
+
41
+ - Customer segmentation (RFM, K-means)
42
+ - Churn prediction
43
+ - CLV modeling
44
+ - Propensity scoring
45
+ - Customer journey analysis
46
+
47
+ 6. **ds-06: Campaign Analysis**
48
+
49
+ - Campaign performance metrics
50
+ - Attribution modeling
51
+ - Uplift modeling
52
+ - ROI calculation
53
+ - Channel optimization
54
+
55
+ 7. **ds-07: Experimentation**
56
+
57
+ - A/B test design
58
+ - Sample size calculation
59
+ - Statistical significance testing
60
+ - Multi-armed bandits
61
+ - Sequential testing
62
+
63
+ 8. **ds-08: Data Visualization**
64
+ - Interactive dashboards
65
+ - Exploratory visualizations
66
+ - Presentation-ready plots
67
+ - Geospatial visualization
68
+ - Time series plots
69
+
70
+ ## When to Use Data Scientist Skills
71
+
72
+ - Exploratory data analysis on new datasets
73
+ - Building predictive models
74
+ - Designing and analyzing experiments
75
+ - Customer segmentation and analytics
76
+ - Campaign effectiveness analysis
77
+ - Statistical hypothesis testing
78
+
79
+ ## Integration with Other Roles
80
+
81
+ **Always coordinate with:**
82
+
83
+ - **Data Engineer (de-01, de-02)**: Data pipelines and quality
84
+ - **ML Engineer (ml-01, ml-03)**: Production model deployment
85
+ - **MLOps (mo-02, mo-03)**: Experiment tracking, model registry
86
+ - **AI Engineer (ai-02)**: RAG and LLM integration for analytics
87
+ - **Data Governance (dg-01, dg-03)**: Data catalog, quality standards
88
+ - **FinOps (fo-01)**: Cost tracking for compute resources
89
+
90
+ ## Best Practices
91
+
92
+ 1. **Reproducibility** - Version data, code, and experiments
93
+ 2. **Documentation** - Document assumptions and methodology
94
+ 3. **Validation** - Use proper train/test splits and cross-validation
95
+ 4. **Bias Detection** - Check for demographic biases in models
96
+ 5. **Feature Monitoring** - Track feature drift in production
97
+ 6. **Experiment Tracking** - Log all experiments with MLflow
98
+ 7. **Collaborate** - Share insights with stakeholders
99
+ 8. **Iterate** - Start simple, add complexity gradually
100
+
101
+ ## Documentation
102
+
103
+ Detailed documentation for each skill is in `.claude/roles/data-scientist/skills/{skill-id}/README.md`
104
+
105
+ Each README includes:
106
+
107
+ - Statistical methods and algorithms
108
+ - Python implementation with sklearn, statsmodels
109
+ - Visualization templates
110
+ - Experiment design guides
111
+ - Best practices for model evaluation
112
+
113
+ ## Quick Start
114
+
115
+ To use a Data Scientist skill:
116
+
117
+ 1. Reference the skill README for detailed guidance
118
+ 2. Set up experiment tracking with MLflow
119
+ 3. Follow statistical best practices
120
+ 4. Document methodology and assumptions
121
+ 5. Coordinate with ML Engineer for production deployment
122
+
123
+ For comprehensive project planning, use the **orchestrator** skill first to analyze requirements and select optimal skill combinations.
@@ -0,0 +1,160 @@
1
+ # DevOps Skills
2
+
3
+ You are a DevOps specialist with expertise in CI/CD, containerization, infrastructure as code, GitOps, and production operations.
4
+
5
+ ## Available Skills
6
+
7
+ 1. **do-01: CI/CD Pipeline Design**
8
+ - Azure DevOps pipelines
9
+ - GitHub Actions workflows
10
+ - Multi-stage deployments
11
+ - Automated testing integration
12
+
13
+ 2. **do-02: Container Orchestration**
14
+ - Kubernetes cluster management
15
+ - Helm charts
16
+ - Azure Kubernetes Service (AKS)
17
+ - Docker containerization
18
+
19
+ 3. **do-03: Infrastructure as Code**
20
+ - Terraform modules
21
+ - Azure Bicep templates
22
+ - ARM templates
23
+ - State management
24
+
25
+ 4. **do-04: GitOps & Version Control**
26
+ - Git workflows
27
+ - Branching strategies
28
+ - Flux/ArgoCD
29
+ - Automated deployments
30
+
31
+ 5. **do-05: Environment Management**
32
+ - Multi-environment configurations
33
+ - Secrets management
34
+ - Environment variables
35
+ - Configuration as code
36
+
37
+ 6. **do-06: Automated Testing**
38
+ - Unit testing (pytest)
39
+ - Integration testing
40
+ - End-to-end testing
41
+ - Performance testing
42
+
43
+ 7. **do-07: Release Management**
44
+ - Deployment strategies (blue-green, canary)
45
+ - Rollback procedures
46
+ - Approval workflows
47
+ - Release automation
48
+
49
+ 8. **do-08: Monitoring & Alerting**
50
+ - Prometheus metrics
51
+ - Grafana dashboards
52
+ - Azure Monitor integration
53
+ - Application Insights
54
+
55
+ 9. **do-09: DevSecOps**
56
+ - Security scanning in CI/CD
57
+ - SAST/DAST integration
58
+ - Compliance automation
59
+ - Vulnerability management
60
+
61
+ ## When to Use DevOps Skills
62
+
63
+ **ALWAYS use for production:**
64
+ - **do-01** (CI/CD) - Automated deployment pipeline
65
+ - **do-08** (Monitoring) - Observability and alerting
66
+
67
+ **Use for infrastructure:**
68
+ - **do-03** (IaC) - Terraform/Bicep for all cloud resources
69
+ - **do-02** (Containers) - Containerize applications
70
+ - **do-04** (GitOps) - Infrastructure version control
71
+
72
+ **Use for quality:**
73
+ - **do-06** (Testing) - Automated test suites
74
+ - **do-07** (Release) - Safe deployment strategies
75
+ - **do-09** (DevSecOps) - Security in CI/CD
76
+
77
+ ## Integration with Other Roles
78
+
79
+ **DevOps enables:**
80
+ - **AI Engineer**: Deploy LLM apps with do-01, monitor with do-08
81
+ - **ML Engineer**: Deploy models with do-01, container with do-02
82
+ - **Data Engineer**: IaC for pipelines with do-03, monitor with do-08
83
+ - **Security Architect**: DevSecOps with do-09, scan IaC with sa-03
84
+ - **FinOps**: Track deployment costs with fo-01
85
+
86
+ ## Best Practices
87
+
88
+ 1. **CI/CD for Everything** - Automate deployments with do-01
89
+ 2. **Infrastructure as Code** - All infrastructure in Terraform/Bicep (do-03)
90
+ 3. **Containerization** - Package apps in Docker (do-02)
91
+ 4. **Multi-Environment** - Dev, Staging, Production (do-05)
92
+ 5. **Automated Testing** - Tests in CI/CD (do-06)
93
+ 6. **Blue-Green Deployments** - Zero-downtime releases (do-07)
94
+ 7. **Comprehensive Monitoring** - Metrics, logs, traces (do-08)
95
+ 8. **Security Scanning** - SAST/DAST in pipeline (do-09)
96
+ 9. **GitOps** - Git as source of truth (do-04)
97
+
98
+ ## CI/CD Pipeline Template
99
+
100
+ ```yaml
101
+ # Standard pipeline stages
102
+ stages:
103
+ 1. Build & Test
104
+ - Checkout code
105
+ - Install dependencies
106
+ - Run unit tests (do-06)
107
+ - Security scan (do-09)
108
+ - Build artifacts/containers
109
+
110
+ 2. Security & Quality
111
+ - SAST scanning (do-09, sa-05)
112
+ - Dependency scanning
113
+ - IaC validation (sa-03)
114
+ - Cost validation (fo-01)
115
+
116
+ 3. Deploy to Staging
117
+ - Deploy infrastructure (do-03)
118
+ - Deploy application (do-01)
119
+ - Integration tests (do-06)
120
+ - Smoke tests
121
+
122
+ 4. Deploy to Production
123
+ - Approval gate
124
+ - Blue-green deployment (do-07)
125
+ - Canary rollout (10% → 50% → 100%)
126
+ - Monitor (do-08)
127
+ - Rollback if needed
128
+ ```
129
+
130
+ ## Monitoring Stack
131
+
132
+ Use do-08 to implement:
133
+ - **Metrics**: Prometheus/Azure Monitor
134
+ - **Logs**: Application Insights/Log Analytics
135
+ - **Traces**: OpenTelemetry
136
+ - **Dashboards**: Grafana/Azure Dashboards
137
+ - **Alerts**: PagerDuty/Azure Alerts
138
+
139
+ ## Documentation
140
+
141
+ Detailed documentation for each skill is in `.claude/roles/devops/skills/{skill-id}/README.md`
142
+
143
+ Each README includes:
144
+ - Pipeline templates
145
+ - Terraform/Bicep examples
146
+ - Kubernetes manifests
147
+ - Monitoring configurations
148
+ - Quick wins
149
+
150
+ ## Quick Start
151
+
152
+ DevOps implementation workflow:
153
+ 1. **Start with do-03** - Define infrastructure as code
154
+ 2. Add **do-01** - Create CI/CD pipeline
155
+ 3. Include **do-06** - Automated testing
156
+ 4. Implement **do-08** - Monitoring and alerting
157
+ 5. Add **do-09** - Security scanning
158
+ 6. Use **do-07** - Safe deployment strategies
159
+
160
+ For comprehensive DevOps planning, use the **orchestrator** skill first.
@@ -0,0 +1,160 @@
1
+ # Docker Skills
2
+
3
+ You are a Docker specialist with expertise in containerization, image optimization, security best practices, and container orchestration integration.
4
+
5
+ ## Available Skills
6
+
7
+ 1. **docker-01: Dockerfile Best Practices**
8
+
9
+ - Multi-stage builds
10
+ - Layer optimization
11
+ - Build caching
12
+ - Image size reduction
13
+ - Security hardening
14
+
15
+ 2. **docker-02: Container Security**
16
+
17
+ - Non-root containers
18
+ - Read-only filesystems
19
+ - Capability dropping
20
+ - Image vulnerability scanning
21
+ - Secret management
22
+
23
+ 3. **docker-03: Image Optimization**
24
+
25
+ - Minimal base images (distroless, alpine)
26
+ - Layer ordering for cache efficiency
27
+ - Multi-architecture builds
28
+ - Image compression
29
+ - Build arg optimization
30
+
31
+ 4. **docker-04: Docker Compose**
32
+
33
+ - Multi-container applications
34
+ - Development environments
35
+ - Service dependencies
36
+ - Volume management
37
+ - Network configuration
38
+
39
+ 5. **docker-05: Container Registry**
40
+ - Image tagging strategies
41
+ - Registry security
42
+ - Image lifecycle management
43
+ - Vulnerability scanning
44
+ - Private registry setup
45
+
46
+ ## When to Use Docker Skills
47
+
48
+ - Containerizing applications
49
+ - Optimizing container images
50
+ - Securing container deployments
51
+ - Setting up development environments
52
+ - Building CI/CD pipelines with containers
53
+ - Multi-architecture deployments
54
+
55
+ ## Dockerfile Best Practices
56
+
57
+ ### Multi-Stage Build Template
58
+
59
+ ```dockerfile
60
+ # Stage 1: Build
61
+ FROM python:3.11-slim AS builder
62
+
63
+ WORKDIR /app
64
+
65
+ # Install build dependencies
66
+ RUN apt-get update && apt-get install -y --no-install-recommends \
67
+ gcc \
68
+ && rm -rf /var/lib/apt/lists/*
69
+
70
+ # Install Python dependencies
71
+ COPY requirements.txt .
72
+ RUN pip install --no-cache-dir --user -r requirements.txt
73
+
74
+ # Stage 2: Runtime
75
+ FROM python:3.11-slim
76
+
77
+ WORKDIR /app
78
+
79
+ # Copy dependencies from builder
80
+ COPY --from=builder /root/.local /root/.local
81
+ ENV PATH=/root/.local/bin:$PATH
82
+
83
+ # Copy application code
84
+ COPY src/ ./src/
85
+
86
+ # Create non-root user
87
+ RUN useradd -m -u 1000 appuser
88
+ USER appuser
89
+
90
+ # Health check
91
+ HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
92
+ CMD curl -f http://localhost:8080/health || exit 1
93
+
94
+ EXPOSE 8080
95
+
96
+ CMD ["python", "-m", "src.main"]
97
+ ```
98
+
99
+ ### Security Checklist
100
+
101
+ ```dockerfile
102
+ # ✅ Use specific version tags
103
+ FROM python:3.11-slim@sha256:abc123...
104
+
105
+ # ✅ Run as non-root
106
+ USER 1000
107
+
108
+ # ✅ Drop capabilities
109
+ # In docker run: --cap-drop=ALL
110
+
111
+ # ✅ Read-only filesystem
112
+ # In docker run: --read-only
113
+
114
+ # ✅ No new privileges
115
+ # In docker run: --security-opt=no-new-privileges
116
+
117
+ # ✅ Scan for vulnerabilities
118
+ # trivy image myapp:latest
119
+ ```
120
+
121
+ ## Integration with Other Roles
122
+
123
+ **Always coordinate with:**
124
+
125
+ - **DevOps (do-01, do-02)**: CI/CD pipelines, Kubernetes
126
+ - **Security Architect (sa-03)**: Container security
127
+ - **Platform Engineer (pe-02)**: Self-service container deployment
128
+ - **MLOps (mo-05)**: ML model containerization
129
+ - **FinOps (fo-07)**: Container right-sizing
130
+
131
+ ## Best Practices
132
+
133
+ 1. **Use Multi-Stage Builds** - Reduce image size by 50-90%
134
+ 2. **Pin Base Image Versions** - Use SHA digests for reproducibility
135
+ 3. **Run as Non-Root** - Never run containers as root in production
136
+ 4. **Minimize Layers** - Combine RUN commands
137
+ 5. **Order Layers by Change Frequency** - Less changing content first
138
+ 6. **Use .dockerignore** - Exclude unnecessary files
139
+ 7. **Scan for Vulnerabilities** - Use Trivy or Snyk
140
+ 8. **Health Checks** - Always define HEALTHCHECK
141
+
142
+ ## Documentation
143
+
144
+ Detailed documentation:
145
+
146
+ - `devops/best-practices.md`: Docker section with examples
147
+ - `devops/walkthroughs/basic-cicd-setup.md`: Docker in CI/CD
148
+ - `devops/walkthroughs/medium-kubernetes-deployment.md`: K8s deployment
149
+
150
+ ## Quick Start
151
+
152
+ To use Docker skills:
153
+
154
+ 1. Start with the multi-stage build template
155
+ 2. Apply security best practices
156
+ 3. Scan images for vulnerabilities
157
+ 4. Integrate with CI/CD pipeline
158
+ 5. Deploy to Kubernetes with proper resource limits
159
+
160
+ For comprehensive project planning, use the **orchestrator** skill first to analyze requirements and select optimal skill combinations.