tech-hub-skills 1.6.5 → 1.6.7

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 CHANGED
@@ -1,12 +1,29 @@
1
- # Tech Hub Skills - Complete Role Documentation
1
+ # Tech Hub Skills
2
2
 
3
- This document provides detailed information about all available roles and their skills.
3
+ **180+ production-ready AI agent skills for Claude Code and GitHub Copilot**
4
4
 
5
- For installation instructions, see the [main README](https://github.com/6ogo/Tech-Skills/blob/main/README.md).
5
+ [![npm version](https://badge.fury.io/js/tech-hub-skills.svg)](https://www.npmjs.com/package/tech-hub-skills)
6
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
6
7
 
7
- ## Quick Reference
8
+ ## Installation
8
9
 
9
- Use skills in Claude Code with `@` mentions:
10
+ ```bash
11
+ # Install the package
12
+ npm install tech-hub-skills
13
+
14
+ # Install skills to your project's .claude folder
15
+ npx tech-hub-skills install
16
+
17
+ # Or install globally to ~/.claude
18
+ npx tech-hub-skills install --global
19
+
20
+ # With GitHub Copilot integration
21
+ npx tech-hub-skills install --copilot
22
+ ```
23
+
24
+ ## Quick Start
25
+
26
+ After installation, use skills in Claude Code with `@` mentions:
10
27
 
11
28
  ```bash
12
29
  # Start with the orchestrator (routes to all skills)
@@ -25,146 +42,117 @@ Use skills in Claude Code with `@` mentions:
25
42
 
26
43
  ### Core Engineering (48 skills)
27
44
 
28
- | Role | Skills | Focus |
29
- | ---------------------- | ------ | -------------------------------------------- |
30
- | **AI Engineer** | 8 | LLMs, RAG, Agents, Guardrails, Embeddings |
31
- | **Data Engineer** | 9 | Lakehouse, ETL/ELT, Streaming, Quality |
32
- | **ML Engineer** | 9 | MLOps, Training, Serving, Monitoring |
33
- | **Data Scientist** | 8 | EDA, Modeling, Analytics, Experimentation |
34
- | **Frontend Developer** | 7 | React/Vue/Angular, TypeScript, A11y, Testing |
35
- | **Backend Developer** | 7 | REST, GraphQL, Microservices, Caching |
36
-
37
- ### Architecture & Security Roles (22 skills)
38
-
39
- | Role | Skills | Focus |
40
- | ---------------------- | ------ | ------------------------------------------- |
41
- | **Security Architect** | 7 | PII, Threat Modeling, IAM, Secrets |
42
- | **System Design** | 8 | Architecture, Scalability, HA/DR, APIs |
43
- | **Network Engineer** | 7 | Topology, VPN/VPC, Load Balancers, CDN, DNS |
44
-
45
- ### Platform & Operations Roles (59 skills)
46
-
47
- | Role | Skills | Focus |
48
- | --------------------- | ------ | ------------------------------------------- |
49
- | **Platform Engineer** | 6 | IDP, Self-Service, SLOs |
50
- | **SRE** | 7 | Incident Response, Chaos Engineering, SLOs |
51
- | **Database Admin** | 7 | Query Optimization, Replication, Migrations |
52
- | **Data Governance** | 6 | Catalog, Lineage, Quality, Compliance |
53
- | **DevOps** | 9 | CI/CD, Containers, IaC, GitOps |
54
- | **MLOps** | 9 | Experiments, Registry, Deployment |
55
- | **FinOps** | 8 | Cost Visibility, Optimization |
56
- | **Docker** | 5 | Containers, Security, Optimization |
57
-
58
- ### Enterprise Governance Roles (17 skills)
59
-
60
- | Role | Skills | Focus |
61
- | ------------------------- | ---------- | --------------------------------------- |
62
- | **Code Review** | 5 | PR Automation, Quality Gates, Analytics |
63
- | **Compliance Officer** | 7 | SOC 2, GDPR, HIPAA, PCI-DSS, ISO 27001 |
64
- | **Compliance Automation** | Integrated | Policy-as-Code, Evidence Collection |
65
- | **Dashboard** | Integrated | Security, Compliance, DORA Metrics |
66
-
67
- ### Product, Design & Quality Roles (19 skills)
68
-
69
- | Role | Skills | Focus |
70
- | -------------------- | ------ | ----------------------------------------- |
71
- | **Product Designer** | 6 | Requirements, Research, UX, Brainstorming |
72
- | **QA Engineer** | 7 | Test Strategy, Automation, Performance |
73
- | **Technical Writer** | 6 | API Docs, ADRs, Runbooks, Knowledge Base |
74
-
75
- ### Cloud Platform Roles (36 skills)
76
-
77
- | Role | Skills | Focus |
78
- | --------- | ------ | ------------------------------- |
79
- | **Azure** | 12 | All Azure services |
80
- | **AWS** | 12 | EC2, Lambda, S3, RDS, VPC, EKS |
81
- | **GCP** | 12 | Compute, BigQuery, GKE, Pub/Sub |
82
-
83
- ## Directory Structure
45
+ | Role | Skills | Focus |
46
+ |------|--------|-------|
47
+ | **AI Engineer** | 8 | LLMs, RAG, Agents, Guardrails, Embeddings |
48
+ | **Data Engineer** | 9 | Lakehouse, ETL/ELT, Streaming, Quality |
49
+ | **ML Engineer** | 9 | MLOps, Training, Serving, Monitoring |
50
+ | **Data Scientist** | 8 | EDA, Modeling, Analytics, Experimentation |
51
+ | **Frontend Developer** | 7 | React/Vue/Angular, TypeScript, A11y |
52
+ | **Backend Developer** | 7 | REST, GraphQL, Microservices, Caching |
53
+
54
+ ### Architecture & Security (22 skills)
55
+
56
+ | Role | Skills | Focus |
57
+ |------|--------|-------|
58
+ | **Security Architect** | 7 | PII, Threat Modeling, IAM, Secrets |
59
+ | **System Design** | 8 | Architecture, Scalability, HA/DR, APIs |
60
+ | **Network Engineer** | 7 | Topology, VPN/VPC, Load Balancers, CDN |
61
+
62
+ ### Platform & Operations (59 skills)
63
+
64
+ | Role | Skills | Focus |
65
+ |------|--------|-------|
66
+ | **Platform Engineer** | 6 | IDP, Self-Service, SLOs |
67
+ | **SRE** | 7 | Incident Response, Chaos Engineering |
68
+ | **Database Admin** | 7 | Query Optimization, Replication |
69
+ | **Data Governance** | 6 | Catalog, Lineage, Quality, Compliance |
70
+ | **DevOps** | 9 | CI/CD, Containers, IaC, GitOps |
71
+ | **MLOps** | 9 | Experiments, Registry, Deployment |
72
+ | **FinOps** | 8 | Cost Visibility, Optimization |
73
+ | **Docker** | 5 | Containers, Security, Optimization |
74
+
75
+ ### Cloud Platforms (36 skills)
76
+
77
+ | Role | Skills | Focus |
78
+ |------|--------|-------|
79
+ | **Azure** | 12 | All Azure services |
80
+ | **AWS** | 12 | EC2, Lambda, S3, RDS, VPC, EKS |
81
+ | **GCP** | 12 | Compute, BigQuery, GKE, Pub/Sub |
82
+
83
+ ### Enterprise Governance (17 skills)
84
+
85
+ | Role | Skills | Focus |
86
+ |------|--------|-------|
87
+ | **Code Review** | 5 | PR Automation, Quality Gates |
88
+ | **Compliance Officer** | 7 | SOC 2, GDPR, HIPAA, PCI-DSS |
89
+ | **Compliance Automation** | Integrated | Policy-as-Code, Evidence Collection |
90
+
91
+ ### Product, Design & Quality (19 skills)
92
+
93
+ | Role | Skills | Focus |
94
+ |------|--------|-------|
95
+ | **Product Designer** | 6 | Requirements, Research, UX |
96
+ | **QA Engineer** | 7 | Test Strategy, Automation |
97
+ | **Technical Writer** | 6 | API Docs, ADRs, Runbooks |
98
+
99
+ ## CLI Commands
84
100
 
101
+ ```bash
102
+ # Install skills to current project
103
+ npx tech-hub-skills install
104
+
105
+ # Install with GitHub Copilot integration
106
+ npx tech-hub-skills install --copilot
107
+
108
+ # Install globally
109
+ npx tech-hub-skills install --global
110
+
111
+ # Force overwrite existing installation
112
+ npx tech-hub-skills install --force
113
+
114
+ # Initialize with enterprise mode
115
+ npx tech-hub-skills init --enterprise
116
+
117
+ # List all available roles
118
+ npx tech-hub-skills list
119
+
120
+ # Show help
121
+ npx tech-hub-skills help
85
122
  ```
86
- .claude/
87
- ├── skills/ # Role skill files (invoke with @role-name)
88
- │ ├── orchestrator.md # Main orchestrator - routes to all skills
89
- │ ├── ai-engineer.md
90
- │ ├── data-engineer.md
91
- │ ├── security-architect.md
92
- │ ├── code-review.md
93
- │ ├── compliance-automation.md
94
- │ └── ...
95
- ├── roles/ # Detailed skill implementations
96
- │ ├── ai-engineer/
97
- │ │ └── skills/
98
- │ │ ├── 01-prompt-engineering/README.md
99
- │ │ ├── 02-rag-pipeline/README.md
100
- │ │ └── ...
101
- │ ├── security-architect/
102
- │ │ └── skills/
103
- │ │ ├── 01-pii-detection/README.md
104
- │ │ ├── 02-threat-modeling/README.md
105
- │ │ └── ...
106
- │ └── ...
107
- └── README.md # This file
108
- ```
109
123
 
110
- ## Skill ID Reference
111
-
112
- | Role | Prefix | Skills |
113
- | ------------------ | ------ | ---------------- |
114
- | AI Engineer | `ai-` | ai-01 to ai-08 |
115
- | Data Engineer | `de-` | de-01 to de-09 |
116
- | ML Engineer | `ml-` | ml-01 to ml-09 |
117
- | Data Scientist | `ds-` | ds-01 to ds-08 |
118
- | Frontend Developer | `fe-` | fe-01 to fe-07 |
119
- | Backend Developer | `be-` | be-01 to be-07 |
120
- | Security Architect | `sa-` | sa-01 to sa-07 |
121
- | System Design | `sd-` | sd-01 to sd-08 |
122
- | Network Engineer | `ne-` | ne-01 to ne-07 |
123
- | Platform Engineer | `pe-` | pe-01 to pe-06 |
124
- | SRE | `sr-` | sr-01 to sr-07 |
125
- | Database Admin | `db-` | db-01 to db-07 |
126
- | Data Governance | `dg-` | dg-01 to dg-06 |
127
- | DevOps | `do-` | do-01 to do-09 |
128
- | MLOps | `mo-` | mo-01 to mo-09 |
129
- | FinOps | `fo-` | fo-01 to fo-08 |
130
- | Azure | `az-` | az-01 to az-12 |
131
- | AWS | `aws-` | aws-01 to aws-12 |
132
- | GCP | `gcp-` | gcp-01 to gcp-12 |
133
- | Code Review | `cr-` | cr-01 to cr-05 |
134
- | Compliance Officer | `co-` | co-01 to co-07 |
135
- | Product Designer | `pd-` | pd-01 to pd-06 |
136
- | QA Engineer | `qa-` | qa-01 to qa-07 |
137
- | Technical Writer | `tw-` | tw-01 to tw-06 |
124
+ ## Directory Structure (After Installation)
125
+
126
+ ```
127
+ your-project/
128
+ └── .claude/
129
+ ├── skills/ # Role skill files
130
+ │ ├── orchestrator.md # Main orchestrator
131
+ │ ├── ai-engineer.md
132
+ │ ├── data-engineer.md
133
+ │ ├── security-architect.md
134
+ │ └── ...
135
+ ├── roles/ # Detailed skill implementations
136
+ ├── ai-engineer/skills/
137
+ │ ├── security-architect/skills/
138
+ │ └── ...
139
+ └── commands/ # CLI commands for Claude Code
140
+ ```
138
141
 
139
142
  ## Enterprise Mode
140
143
 
141
- For production applications, use Enterprise Mode to ensure security and governance:
144
+ For production applications, use Enterprise Mode:
142
145
 
143
146
  ```bash
144
147
  @project-starter --enterprise "Build a production API"
145
148
  ```
146
149
 
147
- Enterprise Mode **automatically includes**:
148
-
150
+ Enterprise Mode automatically includes:
149
151
  - Security Architect (sa-01 to sa-07)
150
152
  - Data Governance (dg-01 to dg-06)
151
153
  - Code Review (cr-01 to cr-05)
152
154
  - Compliance Automation
153
155
 
154
- ### Enterprise Workflow
155
-
156
- ```
157
- Requirements → Security Assessment → Data Classification
158
-
159
- Architecture → Security Review → Governance Review
160
-
161
- Development → Code Review → Compliance Check
162
-
163
- Deployment → Security Scan → Production Approval
164
-
165
- Monitoring → Continuous Compliance
166
- ```
167
-
168
156
  ### Enterprise Quality Gates
169
157
 
170
158
  - No critical/high vulnerabilities
@@ -176,115 +164,39 @@ Monitoring → Continuous Compliance
176
164
  ## Examples
177
165
 
178
166
  ### AI/ML Project
179
-
180
167
  ```bash
181
168
  @orchestrator "Build a customer churn prediction model with GDPR compliance"
182
169
  ```
183
170
 
184
- Auto-includes: sa-01 (PII), dg-01 (catalog), ml-01-05, mo-01-06
185
-
186
171
  ### RAG Application
187
-
188
172
  ```bash
189
173
  @ai-engineer ai-02 "Create a RAG pipeline for internal docs"
190
174
  ```
191
175
 
192
176
  ### Security Review
193
-
194
177
  ```bash
195
178
  @security-architect "Audit this codebase for security vulnerabilities"
196
179
  ```
197
180
 
198
181
  ### Enterprise Platform
199
-
200
182
  ```bash
201
183
  @project-starter --enterprise "Build a customer data platform"
202
184
  ```
203
185
 
204
- Auto-includes: ALL security + governance + compliance skills
205
-
206
- ## Integration Options
207
-
208
- ### Claude Code (Primary)
209
-
210
- Skills are designed for Claude Code's `@` mention system.
211
-
212
- ### CrewAI
213
-
214
- ```python
215
- from crewai import Agent, Task, Crew
216
-
217
- orchestrator = Agent(
218
- role="Tech Hub Orchestrator",
219
- goal="Coordinate skills for optimal project execution",
220
- backstory=open(".claude/skills/orchestrator.md").read()
221
- )
222
- ```
223
-
224
- ### LangGraph
225
-
226
- ```python
227
- from langgraph.graph import StateGraph
228
-
229
- # Load skills as node definitions
230
- skills = load_skills(".claude/skills/")
231
- ```
232
-
233
- ## Integration Options
186
+ ## Python Installation
234
187
 
235
- ### Claude Code (Primary)
188
+ Also available via pip:
236
189
 
237
- Skills are designed for Claude Code's `@` mention system.
238
-
239
- ### CrewAI
240
-
241
- ```python
242
- from crewai import Agent, Task, Crew
243
-
244
- orchestrator = Agent(
245
- role="Tech Hub Orchestrator",
246
- goal="Coordinate skills for optimal project execution",
247
- backstory=open(".claude/skills/orchestrator.md").read()
248
- )
249
- ```
250
-
251
- ### LangGraph
252
-
253
- ```python
254
- from langgraph.graph import StateGraph
255
-
256
- # Load skills as node definitions
257
- skills = load_skills(".claude/skills/")
258
- ```
259
-
260
- ## Repository Structure
261
-
262
- ```
263
- .claude/
264
- ├── skills/ # Role skill files (invoke with @role-name)
265
- │ ├── orchestrator.md # Main orchestrator - routes to all skills
266
- │ ├── ai-engineer.md
267
- │ ├── data-engineer.md
268
- │ ├── security-architect.md
269
- │ └── ...
270
- ├── roles/ # Detailed skill implementations
271
- │ ├── ai-engineer/
272
- │ │ └── skills/
273
- │ │ ├── 01-prompt-engineering/README.md
274
- │ │ ├── 02-rag-pipeline/README.md
275
- │ │ └── ...
276
- │ └── ...
277
- └── README.md # This file
190
+ ```bash
191
+ pip install tech-hub-skills
192
+ tech-hub-skills install
278
193
  ```
279
194
 
280
- ## Contributing
281
-
282
- 1. Fork the repository
283
- 2. Add skills to `roles/{role}/skills/{skill-id}/`
284
- 3. Update `skills/{role}.md`
285
- 4. Submit PR
195
+ ## Links
286
196
 
287
- For publishing instructions (maintainers only), see [PUBLISHING.md](https://github.com/6ogo/Tech-Skills/blob/main/PUBLISHING.md).
197
+ - [GitHub Repository](https://github.com/6ogo/Tech-Skills)
198
+ - [Issues](https://github.com/6ogo/Tech-Skills/issues)
199
+ - [Full Documentation](https://github.com/6ogo/Tech-Skills/blob/main/README.md)
288
200
 
289
201
  ## License
290
202
 
package/bin/cli.js CHANGED
@@ -60,10 +60,21 @@ function copyDir(src, dest) {
60
60
  }
61
61
 
62
62
  function install(options = {}) {
63
- const isGlobal = options.global;
63
+ const isGlobal = options.global || process.env.npm_config_global === "true";
64
+ const projectRoot = process.env.INIT_CWD || process.cwd();
65
+
64
66
  const targetDir = isGlobal
65
67
  ? path.join(require("os").homedir(), ".claude")
66
- : path.join(process.cwd(), ".claude");
68
+ : path.join(projectRoot, ".claude");
69
+
70
+ // Prevent self-copying if running from the source repo
71
+ if (path.resolve(SKILLS_DIR) === path.resolve(targetDir)) {
72
+ print(
73
+ "\nℹ️ Running from source directory, skipping installation to avoid self-overwrite.",
74
+ "yellow"
75
+ );
76
+ return;
77
+ }
67
78
 
68
79
  print(`\n📦 Installing Tech Hub Skills to: ${targetDir}`, "cyan");
69
80
 
@@ -255,7 +266,10 @@ ${colors.bright}After Installation:${colors.reset}
255
266
  const args = process.argv.slice(2);
256
267
  const command = args[0];
257
268
  const options = {
258
- global: args.includes("--global") || args.includes("-g"),
269
+ global:
270
+ args.includes("--global") ||
271
+ args.includes("-g") ||
272
+ process.env.npm_config_global === "true",
259
273
  enterprise: args.includes("--enterprise") || args.includes("-E"),
260
274
  copilot: args.includes("--copilot") || args.includes("-c"),
261
275
  force: args.includes("--force") || args.includes("-f"),
@@ -6,37 +6,54 @@
6
6
  */
7
7
 
8
8
  const colors = {
9
- reset: '\x1b[0m',
10
- bright: '\x1b[1m',
11
- cyan: '\x1b[36m',
12
- green: '\x1b[32m',
13
- yellow: '\x1b[33m',
9
+ reset: "\x1b[0m",
10
+ bright: "\x1b[1m",
11
+ cyan: "\x1b[36m",
12
+ green: "\x1b[32m",
13
+ yellow: "\x1b[33m",
14
+ red: "\x1b[31m",
14
15
  };
15
16
 
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}
17
+ async function runInstall() {
18
+ try {
19
+ const cliPath = path.join(__dirname, "cli.js");
20
+
21
+ // Determine if it's a global install
22
+ const isGlobal = process.env.npm_config_global === "true";
23
+
24
+ if (isGlobal) {
25
+ console.log(
26
+ `${colors.cyan}Installing Tech Hub Skills globally...${colors.reset}`
27
+ );
28
+ execSync(`node "${cliPath}" install --global`, { stdio: "inherit" });
29
+ } else {
30
+ console.log(
31
+ `${colors.cyan}Installing Tech Hub Skills to project...${colors.reset}`
32
+ );
33
+ // Use INIT_CWD if available (set by npm), otherwise process.cwd()
34
+ const targetDir = process.env.INIT_CWD || process.cwd();
35
+ execSync(`node "${cliPath}" install`, {
36
+ stdio: "inherit",
37
+ env: { ...process.env, INIT_CWD: targetDir },
38
+ });
39
+ }
40
+
41
+ console.log(`
42
+ ${colors.green}✓ Tech Hub Skills auto-installation complete!${colors.reset}
23
43
 
24
44
  ${colors.bright}Next Steps:${colors.reset}
45
+ - In Claude Code: Type ${colors.yellow}/orchestrator${colors.reset} or ${colors.yellow}@orchestrator${colors.reset}
46
+ - View all skills: ${colors.cyan}npx tech-hub-skills list${colors.reset}
47
+ `);
48
+ } catch (error) {
49
+ console.log(`
50
+ ${colors.yellow}⚠️ Auto-installation partially skipped or failed.${colors.reset}
51
+ This is normal if you are developing the package itself or have strict permissions.
25
52
 
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
-
53
+ To manually install skills, run:
54
+ ${colors.cyan}npx tech-hub-skills install${colors.reset}
42
55
  `);
56
+ }
57
+ }
58
+
59
+ runInstall();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tech-hub-skills",
3
- "version": "1.6.5",
3
+ "version": "1.6.7",
4
4
  "description": "180+ production-ready AI agent skills for Claude Code and GitHub Copilot",
5
5
  "main": "bin/cli.js",
6
6
  "bin": {