tech-hub-skills 1.2.0 → 1.5.2

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 (198) hide show
  1. package/{LICENSE → .claude/LICENSE} +21 -21
  2. package/.claude/README.md +291 -0
  3. package/.claude/bin/cli.js +266 -0
  4. package/{bin → .claude/bin}/copilot.js +182 -182
  5. package/{bin → .claude/bin}/postinstall.js +42 -42
  6. package/{tech_hub_skills/skills → .claude/commands}/README.md +336 -336
  7. package/{tech_hub_skills/skills → .claude/commands}/ai-engineer.md +104 -104
  8. package/{tech_hub_skills/skills → .claude/commands}/aws.md +143 -143
  9. package/{tech_hub_skills/skills → .claude/commands}/azure.md +149 -149
  10. package/{tech_hub_skills/skills → .claude/commands}/backend-developer.md +108 -108
  11. package/{tech_hub_skills/skills → .claude/commands}/code-review.md +399 -399
  12. package/{tech_hub_skills/skills → .claude/commands}/compliance-automation.md +747 -747
  13. package/{tech_hub_skills/skills → .claude/commands}/compliance-officer.md +108 -108
  14. package/{tech_hub_skills/skills → .claude/commands}/data-engineer.md +113 -113
  15. package/{tech_hub_skills/skills → .claude/commands}/data-governance.md +102 -102
  16. package/{tech_hub_skills/skills → .claude/commands}/data-scientist.md +123 -123
  17. package/{tech_hub_skills/skills → .claude/commands}/database-admin.md +109 -109
  18. package/{tech_hub_skills/skills → .claude/commands}/devops.md +160 -160
  19. package/{tech_hub_skills/skills → .claude/commands}/docker.md +160 -160
  20. package/{tech_hub_skills/skills → .claude/commands}/enterprise-dashboard.md +613 -613
  21. package/{tech_hub_skills/skills → .claude/commands}/finops.md +184 -184
  22. package/{tech_hub_skills/skills → .claude/commands}/frontend-developer.md +108 -108
  23. package/{tech_hub_skills/skills → .claude/commands}/gcp.md +143 -143
  24. package/{tech_hub_skills/skills → .claude/commands}/ml-engineer.md +115 -115
  25. package/{tech_hub_skills/skills → .claude/commands}/mlops.md +187 -187
  26. package/{tech_hub_skills/skills → .claude/commands}/network-engineer.md +109 -109
  27. package/{tech_hub_skills/skills → .claude/commands}/optimization-advisor.md +329 -329
  28. package/{tech_hub_skills/skills → .claude/commands}/orchestrator.md +623 -623
  29. package/{tech_hub_skills/skills → .claude/commands}/platform-engineer.md +102 -102
  30. package/{tech_hub_skills/skills → .claude/commands}/process-automation.md +226 -226
  31. package/{tech_hub_skills/skills → .claude/commands}/process-changelog.md +184 -184
  32. package/{tech_hub_skills/skills → .claude/commands}/process-documentation.md +484 -484
  33. package/{tech_hub_skills/skills → .claude/commands}/process-kanban.md +324 -324
  34. package/{tech_hub_skills/skills → .claude/commands}/process-versioning.md +214 -214
  35. package/{tech_hub_skills/skills → .claude/commands}/product-designer.md +104 -104
  36. package/{tech_hub_skills/skills → .claude/commands}/project-starter.md +443 -443
  37. package/{tech_hub_skills/skills → .claude/commands}/qa-engineer.md +109 -109
  38. package/{tech_hub_skills/skills → .claude/commands}/security-architect.md +135 -135
  39. package/{tech_hub_skills/skills → .claude/commands}/sre.md +109 -109
  40. package/{tech_hub_skills/skills → .claude/commands}/system-design.md +126 -126
  41. package/{tech_hub_skills/skills → .claude/commands}/technical-writer.md +101 -101
  42. package/.claude/package.json +46 -0
  43. package/{tech_hub_skills → .claude}/roles/ai-engineer/skills/01-prompt-engineering/README.md +252 -252
  44. package/.claude/roles/ai-engineer/skills/01-prompt-engineering/prompt_ab_tester.py +356 -0
  45. package/.claude/roles/ai-engineer/skills/01-prompt-engineering/prompt_template_manager.py +274 -0
  46. package/.claude/roles/ai-engineer/skills/01-prompt-engineering/token_cost_estimator.py +324 -0
  47. package/{tech_hub_skills → .claude}/roles/ai-engineer/skills/02-rag-pipeline/README.md +448 -448
  48. package/.claude/roles/ai-engineer/skills/02-rag-pipeline/document_chunker.py +336 -0
  49. package/.claude/roles/ai-engineer/skills/02-rag-pipeline/rag_pipeline.sql +213 -0
  50. package/{tech_hub_skills → .claude}/roles/ai-engineer/skills/03-agent-orchestration/README.md +599 -599
  51. package/{tech_hub_skills → .claude}/roles/ai-engineer/skills/04-llm-guardrails/README.md +735 -735
  52. package/{tech_hub_skills → .claude}/roles/ai-engineer/skills/05-vector-embeddings/README.md +711 -711
  53. package/{tech_hub_skills → .claude}/roles/ai-engineer/skills/06-llm-evaluation/README.md +777 -777
  54. package/{tech_hub_skills → .claude}/roles/azure/skills/01-infrastructure-fundamentals/README.md +264 -264
  55. package/{tech_hub_skills → .claude}/roles/azure/skills/02-data-factory/README.md +264 -264
  56. package/{tech_hub_skills → .claude}/roles/azure/skills/03-synapse-analytics/README.md +264 -264
  57. package/{tech_hub_skills → .claude}/roles/azure/skills/04-databricks/README.md +264 -264
  58. package/{tech_hub_skills → .claude}/roles/azure/skills/05-functions/README.md +264 -264
  59. package/{tech_hub_skills → .claude}/roles/azure/skills/06-kubernetes-service/README.md +264 -264
  60. package/{tech_hub_skills → .claude}/roles/azure/skills/07-openai-service/README.md +264 -264
  61. package/{tech_hub_skills → .claude}/roles/azure/skills/08-machine-learning/README.md +264 -264
  62. package/{tech_hub_skills → .claude}/roles/azure/skills/09-storage-adls/README.md +264 -264
  63. package/{tech_hub_skills → .claude}/roles/azure/skills/10-networking/README.md +264 -264
  64. package/{tech_hub_skills → .claude}/roles/azure/skills/11-sql-cosmos/README.md +264 -264
  65. package/{tech_hub_skills → .claude}/roles/azure/skills/12-event-hubs/README.md +264 -264
  66. package/{tech_hub_skills → .claude}/roles/code-review/skills/01-automated-code-review/README.md +394 -394
  67. package/{tech_hub_skills → .claude}/roles/code-review/skills/02-pr-review-workflow/README.md +427 -427
  68. package/{tech_hub_skills → .claude}/roles/code-review/skills/03-code-quality-gates/README.md +518 -518
  69. package/{tech_hub_skills → .claude}/roles/code-review/skills/04-reviewer-assignment/README.md +504 -504
  70. package/{tech_hub_skills → .claude}/roles/code-review/skills/05-review-analytics/README.md +540 -540
  71. package/{tech_hub_skills → .claude}/roles/data-engineer/skills/01-lakehouse-architecture/README.md +550 -550
  72. package/.claude/roles/data-engineer/skills/01-lakehouse-architecture/bronze_ingestion.py +337 -0
  73. package/.claude/roles/data-engineer/skills/01-lakehouse-architecture/medallion_queries.sql +300 -0
  74. package/{tech_hub_skills → .claude}/roles/data-engineer/skills/02-etl-pipeline/README.md +580 -580
  75. package/{tech_hub_skills → .claude}/roles/data-engineer/skills/03-data-quality/README.md +579 -579
  76. package/{tech_hub_skills → .claude}/roles/data-engineer/skills/04-streaming-pipelines/README.md +608 -608
  77. package/{tech_hub_skills → .claude}/roles/data-engineer/skills/05-performance-optimization/README.md +547 -547
  78. package/{tech_hub_skills → .claude}/roles/data-governance/skills/01-data-catalog/README.md +112 -112
  79. package/{tech_hub_skills → .claude}/roles/data-governance/skills/02-data-lineage/README.md +129 -129
  80. package/{tech_hub_skills → .claude}/roles/data-governance/skills/03-data-quality-framework/README.md +182 -182
  81. package/{tech_hub_skills → .claude}/roles/data-governance/skills/04-access-control/README.md +39 -39
  82. package/{tech_hub_skills → .claude}/roles/data-governance/skills/05-master-data-management/README.md +40 -40
  83. package/{tech_hub_skills → .claude}/roles/data-governance/skills/06-compliance-privacy/README.md +46 -46
  84. package/{tech_hub_skills → .claude}/roles/data-scientist/skills/01-eda-automation/README.md +230 -230
  85. package/.claude/roles/data-scientist/skills/01-eda-automation/eda_generator.py +446 -0
  86. package/{tech_hub_skills → .claude}/roles/data-scientist/skills/02-statistical-modeling/README.md +264 -264
  87. package/{tech_hub_skills → .claude}/roles/data-scientist/skills/03-feature-engineering/README.md +264 -264
  88. package/{tech_hub_skills → .claude}/roles/data-scientist/skills/04-predictive-modeling/README.md +264 -264
  89. package/{tech_hub_skills → .claude}/roles/data-scientist/skills/05-customer-analytics/README.md +264 -264
  90. package/{tech_hub_skills → .claude}/roles/data-scientist/skills/06-campaign-analysis/README.md +264 -264
  91. package/{tech_hub_skills → .claude}/roles/data-scientist/skills/07-experimentation/README.md +264 -264
  92. package/{tech_hub_skills → .claude}/roles/data-scientist/skills/08-data-visualization/README.md +264 -264
  93. package/{tech_hub_skills → .claude}/roles/devops/skills/01-cicd-pipeline/README.md +264 -264
  94. package/{tech_hub_skills → .claude}/roles/devops/skills/02-container-orchestration/README.md +264 -264
  95. package/{tech_hub_skills → .claude}/roles/devops/skills/03-infrastructure-as-code/README.md +264 -264
  96. package/{tech_hub_skills → .claude}/roles/devops/skills/04-gitops/README.md +264 -264
  97. package/{tech_hub_skills → .claude}/roles/devops/skills/05-environment-management/README.md +264 -264
  98. package/{tech_hub_skills → .claude}/roles/devops/skills/06-automated-testing/README.md +264 -264
  99. package/{tech_hub_skills → .claude}/roles/devops/skills/07-release-management/README.md +264 -264
  100. package/{tech_hub_skills → .claude}/roles/devops/skills/08-monitoring-alerting/README.md +264 -264
  101. package/{tech_hub_skills → .claude}/roles/devops/skills/09-devsecops/README.md +265 -265
  102. package/{tech_hub_skills → .claude}/roles/finops/skills/01-cost-visibility/README.md +264 -264
  103. package/{tech_hub_skills → .claude}/roles/finops/skills/02-resource-tagging/README.md +264 -264
  104. package/{tech_hub_skills → .claude}/roles/finops/skills/03-budget-management/README.md +264 -264
  105. package/{tech_hub_skills → .claude}/roles/finops/skills/04-reserved-instances/README.md +264 -264
  106. package/{tech_hub_skills → .claude}/roles/finops/skills/05-spot-optimization/README.md +264 -264
  107. package/{tech_hub_skills → .claude}/roles/finops/skills/06-storage-tiering/README.md +264 -264
  108. package/{tech_hub_skills → .claude}/roles/finops/skills/07-compute-rightsizing/README.md +264 -264
  109. package/{tech_hub_skills → .claude}/roles/finops/skills/08-chargeback/README.md +264 -264
  110. package/{tech_hub_skills → .claude}/roles/ml-engineer/skills/01-mlops-pipeline/README.md +566 -566
  111. package/{tech_hub_skills → .claude}/roles/ml-engineer/skills/02-feature-engineering/README.md +655 -655
  112. package/{tech_hub_skills → .claude}/roles/ml-engineer/skills/03-model-training/README.md +704 -704
  113. package/{tech_hub_skills → .claude}/roles/ml-engineer/skills/04-model-serving/README.md +845 -845
  114. package/{tech_hub_skills → .claude}/roles/ml-engineer/skills/05-model-monitoring/README.md +874 -874
  115. package/{tech_hub_skills → .claude}/roles/mlops/skills/01-ml-pipeline-orchestration/README.md +264 -264
  116. package/{tech_hub_skills → .claude}/roles/mlops/skills/02-experiment-tracking/README.md +264 -264
  117. package/{tech_hub_skills → .claude}/roles/mlops/skills/03-model-registry/README.md +264 -264
  118. package/{tech_hub_skills → .claude}/roles/mlops/skills/04-feature-store/README.md +264 -264
  119. package/{tech_hub_skills → .claude}/roles/mlops/skills/05-model-deployment/README.md +264 -264
  120. package/{tech_hub_skills → .claude}/roles/mlops/skills/06-model-observability/README.md +264 -264
  121. package/{tech_hub_skills → .claude}/roles/mlops/skills/07-data-versioning/README.md +264 -264
  122. package/{tech_hub_skills → .claude}/roles/mlops/skills/08-ab-testing/README.md +264 -264
  123. package/{tech_hub_skills → .claude}/roles/mlops/skills/09-automated-retraining/README.md +264 -264
  124. package/{tech_hub_skills → .claude}/roles/platform-engineer/skills/01-internal-developer-platform/README.md +153 -153
  125. package/{tech_hub_skills → .claude}/roles/platform-engineer/skills/02-self-service-infrastructure/README.md +57 -57
  126. package/{tech_hub_skills → .claude}/roles/platform-engineer/skills/03-slo-sli-management/README.md +59 -59
  127. package/{tech_hub_skills → .claude}/roles/platform-engineer/skills/04-developer-experience/README.md +57 -57
  128. package/{tech_hub_skills → .claude}/roles/platform-engineer/skills/05-incident-management/README.md +73 -73
  129. package/{tech_hub_skills → .claude}/roles/platform-engineer/skills/06-capacity-management/README.md +59 -59
  130. package/{tech_hub_skills → .claude}/roles/product-designer/skills/01-requirements-discovery/README.md +407 -407
  131. package/{tech_hub_skills → .claude}/roles/product-designer/skills/02-user-research/README.md +382 -382
  132. package/{tech_hub_skills → .claude}/roles/product-designer/skills/03-brainstorming-ideation/README.md +437 -437
  133. package/{tech_hub_skills → .claude}/roles/product-designer/skills/04-ux-design/README.md +496 -496
  134. package/{tech_hub_skills → .claude}/roles/product-designer/skills/05-product-market-fit/README.md +376 -376
  135. package/{tech_hub_skills → .claude}/roles/product-designer/skills/06-stakeholder-management/README.md +412 -412
  136. package/{tech_hub_skills → .claude}/roles/security-architect/skills/01-pii-detection/README.md +319 -319
  137. package/{tech_hub_skills → .claude}/roles/security-architect/skills/02-threat-modeling/README.md +264 -264
  138. package/{tech_hub_skills → .claude}/roles/security-architect/skills/03-infrastructure-security/README.md +264 -264
  139. package/{tech_hub_skills → .claude}/roles/security-architect/skills/04-iam/README.md +264 -264
  140. package/{tech_hub_skills → .claude}/roles/security-architect/skills/05-application-security/README.md +264 -264
  141. package/{tech_hub_skills → .claude}/roles/security-architect/skills/06-secrets-management/README.md +264 -264
  142. package/{tech_hub_skills → .claude}/roles/security-architect/skills/07-security-monitoring/README.md +264 -264
  143. package/{tech_hub_skills → .claude}/roles/system-design/skills/01-architecture-patterns/README.md +337 -337
  144. package/{tech_hub_skills → .claude}/roles/system-design/skills/02-requirements-engineering/README.md +264 -264
  145. package/{tech_hub_skills → .claude}/roles/system-design/skills/03-scalability/README.md +264 -264
  146. package/{tech_hub_skills → .claude}/roles/system-design/skills/04-high-availability/README.md +264 -264
  147. package/{tech_hub_skills → .claude}/roles/system-design/skills/05-cost-optimization-design/README.md +264 -264
  148. package/{tech_hub_skills → .claude}/roles/system-design/skills/06-api-design/README.md +264 -264
  149. package/{tech_hub_skills → .claude}/roles/system-design/skills/07-observability-architecture/README.md +264 -264
  150. package/{tech_hub_skills → .claude}/roles/system-design/skills/08-process-automation/PROCESS_TEMPLATE.md +336 -336
  151. package/{tech_hub_skills → .claude}/roles/system-design/skills/08-process-automation/README.md +521 -521
  152. package/.claude/roles/system-design/skills/08-process-automation/ai_prompt_generator.py +744 -0
  153. package/.claude/roles/system-design/skills/08-process-automation/automation_recommender.py +688 -0
  154. package/.claude/roles/system-design/skills/08-process-automation/plan_generator.py +679 -0
  155. package/.claude/roles/system-design/skills/08-process-automation/process_analyzer.py +528 -0
  156. package/.claude/roles/system-design/skills/08-process-automation/process_parser.py +684 -0
  157. package/.claude/roles/system-design/skills/08-process-automation/role_matcher.py +615 -0
  158. package/.claude/skills/README.md +336 -0
  159. package/.claude/skills/ai-engineer.md +104 -0
  160. package/.claude/skills/aws.md +143 -0
  161. package/.claude/skills/azure.md +149 -0
  162. package/.claude/skills/backend-developer.md +108 -0
  163. package/.claude/skills/code-review.md +399 -0
  164. package/.claude/skills/compliance-automation.md +747 -0
  165. package/.claude/skills/compliance-officer.md +108 -0
  166. package/.claude/skills/data-engineer.md +113 -0
  167. package/.claude/skills/data-governance.md +102 -0
  168. package/.claude/skills/data-scientist.md +123 -0
  169. package/.claude/skills/database-admin.md +109 -0
  170. package/.claude/skills/devops.md +160 -0
  171. package/.claude/skills/docker.md +160 -0
  172. package/.claude/skills/enterprise-dashboard.md +613 -0
  173. package/.claude/skills/finops.md +184 -0
  174. package/.claude/skills/frontend-developer.md +108 -0
  175. package/.claude/skills/gcp.md +143 -0
  176. package/.claude/skills/ml-engineer.md +115 -0
  177. package/.claude/skills/mlops.md +187 -0
  178. package/.claude/skills/network-engineer.md +109 -0
  179. package/.claude/skills/optimization-advisor.md +329 -0
  180. package/.claude/skills/orchestrator.md +623 -0
  181. package/.claude/skills/platform-engineer.md +102 -0
  182. package/.claude/skills/process-automation.md +226 -0
  183. package/.claude/skills/process-changelog.md +184 -0
  184. package/.claude/skills/process-documentation.md +484 -0
  185. package/.claude/skills/process-kanban.md +324 -0
  186. package/.claude/skills/process-versioning.md +214 -0
  187. package/.claude/skills/product-designer.md +104 -0
  188. package/.claude/skills/project-starter.md +443 -0
  189. package/.claude/skills/qa-engineer.md +109 -0
  190. package/.claude/skills/security-architect.md +135 -0
  191. package/.claude/skills/sre.md +109 -0
  192. package/.claude/skills/system-design.md +126 -0
  193. package/.claude/skills/technical-writer.md +101 -0
  194. package/.gitattributes +2 -0
  195. package/GITHUB_COPILOT.md +106 -0
  196. package/README.md +192 -291
  197. package/package.json +16 -46
  198. package/bin/cli.js +0 -241
@@ -1,182 +1,182 @@
1
- /**
2
- * GitHub Copilot integration utilities
3
- */
4
-
5
- const fs = require('fs');
6
- const path = require('path');
7
-
8
- /**
9
- * Generate GitHub Copilot instructions content
10
- */
11
- function generateCopilotInstructions() {
12
- return `# GitHub Copilot Instructions - Tech Hub Skills
13
-
14
- ## Overview
15
- This workspace uses Tech Hub Skills - 110+ production-ready AI agent skills for software engineering.
16
-
17
- ## Available Expert Roles
18
-
19
- ### Orchestrator
20
- - **Focus**: Project coordination
21
- - **Skills**: Routes all
22
-
23
- ### AI Engineer
24
- - **Focus**: LLMs, RAG, Agents
25
- - **Skills**: 8 specialized capabilities
26
-
27
- ### Data Engineer
28
- - **Focus**: Pipelines, Lakehouse
29
- - **Skills**: 9 specialized capabilities
30
-
31
- ### ML Engineer
32
- - **Focus**: Training, Serving, MLOps
33
- - **Skills**: 9 specialized capabilities
34
-
35
- ### Data Scientist
36
- - **Focus**: Analytics, Modeling
37
- - **Skills**: 8 specialized capabilities
38
-
39
- ### Security Architect
40
- - **Focus**: PII, IAM, Compliance
41
- - **Skills**: 7 specialized capabilities
42
-
43
- ### System Design
44
- - **Focus**: Architecture, Scalability
45
- - **Skills**: 8 specialized capabilities
46
-
47
- ### Platform Engineer
48
- - **Focus**: IDP, SLOs
49
- - **Skills**: 6 specialized capabilities
50
-
51
- ### Data Governance
52
- - **Focus**: Catalog, Lineage, Quality
53
- - **Skills**: 6 specialized capabilities
54
-
55
- ### DevOps
56
- - **Focus**: CI/CD, Containers, IaC
57
- - **Skills**: 9 specialized capabilities
58
-
59
- ### MLOps
60
- - **Focus**: Experiments, Registry
61
- - **Skills**: 9 specialized capabilities
62
-
63
- ### FinOps
64
- - **Focus**: Cost Optimization
65
- - **Skills**: 8 specialized capabilities
66
-
67
- ### Azure
68
- - **Focus**: Azure Services
69
- - **Skills**: 12 specialized capabilities
70
-
71
- ### Code Review
72
- - **Focus**: PR Automation, Quality Gates
73
- - **Skills**: 5 specialized capabilities
74
-
75
- ### Product Designer
76
- - **Focus**: Requirements, UX
77
- - **Skills**: 6 specialized capabilities
78
-
79
- ## How to Use These Skills
80
-
81
- When working on tasks, Copilot will reference these expert roles automatically. You can also:
82
-
83
- 1. **Mention roles in comments**: \`// Using AI Engineer approach for RAG pipeline\`
84
- 2. **Request specific expertise**: \`# Apply Security Architect best practices\`
85
- 3. **Combine roles**: \`/* DevOps + FinOps: optimize CI/CD costs */\`
86
-
87
- ## Coding Standards
88
-
89
- ### Security (Security Architect)
90
- - Always validate and sanitize user inputs
91
- - Implement proper authentication and authorization
92
- - Never hardcode secrets or credentials
93
- - Use parameterized queries to prevent SQL injection
94
- - Apply principle of least privilege
95
- - Scan for PII before logging
96
-
97
- ### AI/ML Development (AI Engineer)
98
- - Implement guardrails for LLM outputs
99
- - Use prompt templates for consistency
100
- - Monitor token usage and costs
101
- - Implement proper error handling for API calls
102
- - Cache embeddings when possible
103
- - Version control prompts and models
104
-
105
- ### Data Engineering (Data Engineer)
106
- - Follow medallion architecture (bronze/silver/gold)
107
- - Implement idempotent pipelines
108
- - Add data quality checks at each stage
109
- - Use partitioning for large datasets
110
- - Implement proper error handling and retries
111
- - Document data lineage
112
-
113
- ### DevOps Practices
114
- - Write infrastructure as code (IaC)
115
- - Implement CI/CD pipelines
116
- - Use containerization (Docker)
117
- - Apply GitOps principles
118
- - Implement monitoring and alerting
119
- - Automate testing at all levels
120
-
121
- ## Project Structure
122
-
123
- Follow these conventions:
124
- - \`/src\` - Source code
125
- - \`/tests\` - Test files
126
- - \`/docs\` - Documentation
127
- - \`/infrastructure\` - IaC templates
128
- - \`/pipelines\` - CI/CD configurations
129
- - \`/.github\` - GitHub workflows and configurations
130
-
131
- ## Quality Gates
132
-
133
- All code should:
134
- - ✓ Pass unit tests (>80% coverage)
135
- - ✓ Pass linting and formatting
136
- - ✓ Include error handling
137
- - ✓ Have inline documentation
138
- - ✓ Follow security best practices
139
- - ✓ Be optimized for performance
140
-
141
- ## Tech Hub Skills Integration
142
-
143
- These instructions are generated from Tech Hub Skills package.
144
- To update: \`npx tech-hub-skills install --copilot\`
145
-
146
- ---
147
- *Generated by Tech Hub Skills v1.0.0*
148
- `;
149
- }
150
-
151
- /**
152
- * Install GitHub Copilot instructions to project
153
- */
154
- function installCopilotInstructions(options = {}) {
155
- const projectDir = process.cwd();
156
- const githubDir = path.join(projectDir, '.github');
157
- const copilotFile = path.join(githubDir, 'copilot-instructions.md');
158
-
159
- // Check if file exists
160
- if (fs.existsSync(copilotFile) && !options.force) {
161
- console.log(` ⚠️ Copilot instructions already exist at: ${copilotFile}`);
162
- console.log(` Use --force to overwrite`);
163
- return false;
164
- }
165
-
166
- // Create .github directory if needed
167
- if (!fs.existsSync(githubDir)) {
168
- fs.mkdirSync(githubDir, { recursive: true });
169
- }
170
-
171
- // Write instructions
172
- const content = generateCopilotInstructions();
173
- fs.writeFileSync(copilotFile, content, 'utf8');
174
-
175
- console.log(` ✓ GitHub Copilot instructions created: ${copilotFile}`);
176
- return true;
177
- }
178
-
179
- module.exports = {
180
- generateCopilotInstructions,
181
- installCopilotInstructions
182
- };
1
+ /**
2
+ * GitHub Copilot integration utilities
3
+ */
4
+
5
+ const fs = require('fs');
6
+ const path = require('path');
7
+
8
+ /**
9
+ * Generate GitHub Copilot instructions content
10
+ */
11
+ function generateCopilotInstructions() {
12
+ return `# GitHub Copilot Instructions - Tech Hub Skills
13
+
14
+ ## Overview
15
+ This workspace uses Tech Hub Skills - 110+ production-ready AI agent skills for software engineering.
16
+
17
+ ## Available Expert Roles
18
+
19
+ ### Orchestrator
20
+ - **Focus**: Project coordination
21
+ - **Skills**: Routes all
22
+
23
+ ### AI Engineer
24
+ - **Focus**: LLMs, RAG, Agents
25
+ - **Skills**: 8 specialized capabilities
26
+
27
+ ### Data Engineer
28
+ - **Focus**: Pipelines, Lakehouse
29
+ - **Skills**: 9 specialized capabilities
30
+
31
+ ### ML Engineer
32
+ - **Focus**: Training, Serving, MLOps
33
+ - **Skills**: 9 specialized capabilities
34
+
35
+ ### Data Scientist
36
+ - **Focus**: Analytics, Modeling
37
+ - **Skills**: 8 specialized capabilities
38
+
39
+ ### Security Architect
40
+ - **Focus**: PII, IAM, Compliance
41
+ - **Skills**: 7 specialized capabilities
42
+
43
+ ### System Design
44
+ - **Focus**: Architecture, Scalability
45
+ - **Skills**: 8 specialized capabilities
46
+
47
+ ### Platform Engineer
48
+ - **Focus**: IDP, SLOs
49
+ - **Skills**: 6 specialized capabilities
50
+
51
+ ### Data Governance
52
+ - **Focus**: Catalog, Lineage, Quality
53
+ - **Skills**: 6 specialized capabilities
54
+
55
+ ### DevOps
56
+ - **Focus**: CI/CD, Containers, IaC
57
+ - **Skills**: 9 specialized capabilities
58
+
59
+ ### MLOps
60
+ - **Focus**: Experiments, Registry
61
+ - **Skills**: 9 specialized capabilities
62
+
63
+ ### FinOps
64
+ - **Focus**: Cost Optimization
65
+ - **Skills**: 8 specialized capabilities
66
+
67
+ ### Azure
68
+ - **Focus**: Azure Services
69
+ - **Skills**: 12 specialized capabilities
70
+
71
+ ### Code Review
72
+ - **Focus**: PR Automation, Quality Gates
73
+ - **Skills**: 5 specialized capabilities
74
+
75
+ ### Product Designer
76
+ - **Focus**: Requirements, UX
77
+ - **Skills**: 6 specialized capabilities
78
+
79
+ ## How to Use These Skills
80
+
81
+ When working on tasks, Copilot will reference these expert roles automatically. You can also:
82
+
83
+ 1. **Mention roles in comments**: \`// Using AI Engineer approach for RAG pipeline\`
84
+ 2. **Request specific expertise**: \`# Apply Security Architect best practices\`
85
+ 3. **Combine roles**: \`/* DevOps + FinOps: optimize CI/CD costs */\`
86
+
87
+ ## Coding Standards
88
+
89
+ ### Security (Security Architect)
90
+ - Always validate and sanitize user inputs
91
+ - Implement proper authentication and authorization
92
+ - Never hardcode secrets or credentials
93
+ - Use parameterized queries to prevent SQL injection
94
+ - Apply principle of least privilege
95
+ - Scan for PII before logging
96
+
97
+ ### AI/ML Development (AI Engineer)
98
+ - Implement guardrails for LLM outputs
99
+ - Use prompt templates for consistency
100
+ - Monitor token usage and costs
101
+ - Implement proper error handling for API calls
102
+ - Cache embeddings when possible
103
+ - Version control prompts and models
104
+
105
+ ### Data Engineering (Data Engineer)
106
+ - Follow medallion architecture (bronze/silver/gold)
107
+ - Implement idempotent pipelines
108
+ - Add data quality checks at each stage
109
+ - Use partitioning for large datasets
110
+ - Implement proper error handling and retries
111
+ - Document data lineage
112
+
113
+ ### DevOps Practices
114
+ - Write infrastructure as code (IaC)
115
+ - Implement CI/CD pipelines
116
+ - Use containerization (Docker)
117
+ - Apply GitOps principles
118
+ - Implement monitoring and alerting
119
+ - Automate testing at all levels
120
+
121
+ ## Project Structure
122
+
123
+ Follow these conventions:
124
+ - \`/src\` - Source code
125
+ - \`/tests\` - Test files
126
+ - \`/docs\` - Documentation
127
+ - \`/infrastructure\` - IaC templates
128
+ - \`/pipelines\` - CI/CD configurations
129
+ - \`/.github\` - GitHub workflows and configurations
130
+
131
+ ## Quality Gates
132
+
133
+ All code should:
134
+ - ✓ Pass unit tests (>80% coverage)
135
+ - ✓ Pass linting and formatting
136
+ - ✓ Include error handling
137
+ - ✓ Have inline documentation
138
+ - ✓ Follow security best practices
139
+ - ✓ Be optimized for performance
140
+
141
+ ## Tech Hub Skills Integration
142
+
143
+ These instructions are generated from Tech Hub Skills package.
144
+ To update: \`npx tech-hub-skills install --copilot\`
145
+
146
+ ---
147
+ *Generated by Tech Hub Skills v1.0.0*
148
+ `;
149
+ }
150
+
151
+ /**
152
+ * Install GitHub Copilot instructions to project
153
+ */
154
+ function installCopilotInstructions(options = {}) {
155
+ const projectDir = process.cwd();
156
+ const githubDir = path.join(projectDir, '.github');
157
+ const copilotFile = path.join(githubDir, 'copilot-instructions.md');
158
+
159
+ // Check if file exists
160
+ if (fs.existsSync(copilotFile) && !options.force) {
161
+ console.log(` ⚠️ Copilot instructions already exist at: ${copilotFile}`);
162
+ console.log(` Use --force to overwrite`);
163
+ return false;
164
+ }
165
+
166
+ // Create .github directory if needed
167
+ if (!fs.existsSync(githubDir)) {
168
+ fs.mkdirSync(githubDir, { recursive: true });
169
+ }
170
+
171
+ // Write instructions
172
+ const content = generateCopilotInstructions();
173
+ fs.writeFileSync(copilotFile, content, 'utf8');
174
+
175
+ console.log(` ✓ GitHub Copilot instructions created: ${copilotFile}`);
176
+ return true;
177
+ }
178
+
179
+ module.exports = {
180
+ generateCopilotInstructions,
181
+ installCopilotInstructions
182
+ };
@@ -1,42 +1,42 @@
1
- #!/usr/bin/env node
2
-
3
- /**
4
- * Post-install script for tech-hub-skills npm package
5
- * Shows installation success message but doesn't auto-install to avoid unwanted side effects
6
- */
7
-
8
- const colors = {
9
- reset: '\x1b[0m',
10
- bright: '\x1b[1m',
11
- cyan: '\x1b[36m',
12
- green: '\x1b[32m',
13
- yellow: '\x1b[33m',
14
- };
15
-
16
- console.log(`
17
- ${colors.cyan}
18
- ╔═══════════════════════════════════════════════════════════╗
19
- ║ TECH HUB SKILLS - Successfully Installed! ║
20
- ╚═══════════════════════════════════════════════════════════╝${colors.reset}
21
-
22
- ${colors.green}✓ Package installed successfully!${colors.reset}
23
-
24
- ${colors.bright}Next Steps:${colors.reset}
25
-
26
- 1. Install skills to your project:
27
- ${colors.cyan}npx tech-hub-skills install${colors.reset}
28
-
29
- 2. Or install globally:
30
- ${colors.cyan}npx tech-hub-skills install --global${colors.reset}
31
-
32
- 3. View all available skills:
33
- ${colors.cyan}npx tech-hub-skills list${colors.reset}
34
-
35
- ${colors.bright}Quick Start:${colors.reset}
36
- After installing, use in Claude Code:
37
- ${colors.yellow}@orchestrator "Build a customer churn prediction model"${colors.reset}
38
-
39
- ${colors.bright}Documentation:${colors.reset}
40
- https://github.com/6ogo/Tech-Skills
41
-
42
- `);
1
+ #!/usr/bin/env node
2
+
3
+ /**
4
+ * Post-install script for tech-hub-skills npm package
5
+ * Shows installation success message but doesn't auto-install to avoid unwanted side effects
6
+ */
7
+
8
+ const colors = {
9
+ reset: '\x1b[0m',
10
+ bright: '\x1b[1m',
11
+ cyan: '\x1b[36m',
12
+ green: '\x1b[32m',
13
+ yellow: '\x1b[33m',
14
+ };
15
+
16
+ console.log(`
17
+ ${colors.cyan}
18
+ ╔═══════════════════════════════════════════════════════════╗
19
+ ║ TECH HUB SKILLS - Successfully Installed! ║
20
+ ╚═══════════════════════════════════════════════════════════╝${colors.reset}
21
+
22
+ ${colors.green}✓ Package installed successfully!${colors.reset}
23
+
24
+ ${colors.bright}Next Steps:${colors.reset}
25
+
26
+ 1. Install skills to your project:
27
+ ${colors.cyan}npx tech-hub-skills install${colors.reset}
28
+
29
+ 2. Or install globally:
30
+ ${colors.cyan}npx tech-hub-skills install --global${colors.reset}
31
+
32
+ 3. View all available skills:
33
+ ${colors.cyan}npx tech-hub-skills list${colors.reset}
34
+
35
+ ${colors.bright}Quick Start:${colors.reset}
36
+ After installing, use in Claude Code:
37
+ ${colors.yellow}@orchestrator "Build a customer churn prediction model"${colors.reset}
38
+
39
+ ${colors.bright}Documentation:${colors.reset}
40
+ https://github.com/6ogo/Tech-Skills
41
+
42
+ `);