@zimezone/z-command 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +147 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +27 -0
- package/dist/cli.js.map +1 -0
- package/dist/commands/init.d.ts +9 -0
- package/dist/commands/init.d.ts.map +1 -0
- package/dist/commands/init.js +82 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/commands/list.d.ts +7 -0
- package/dist/commands/list.d.ts.map +1 -0
- package/dist/commands/list.js +70 -0
- package/dist/commands/list.js.map +1 -0
- package/package.json +46 -0
- package/templates/agents/accessibility-expert.agent.md +56 -0
- package/templates/agents/ai-engineer.agent.md +61 -0
- package/templates/agents/angular-architect.agent.md +49 -0
- package/templates/agents/api-designer.agent.md +40 -0
- package/templates/agents/azure-infra-engineer.agent.md +57 -0
- package/templates/agents/backend-developer.agent.md +61 -0
- package/templates/agents/blockchain-developer.agent.md +57 -0
- package/templates/agents/build-engineer.agent.md +56 -0
- package/templates/agents/business-analyst.agent.md +47 -0
- package/templates/agents/cli-developer.agent.md +57 -0
- package/templates/agents/cloud-architect.agent.md +56 -0
- package/templates/agents/code-architect.agent.md +63 -0
- package/templates/agents/code-reviewer.agent.md +49 -0
- package/templates/agents/competitive-analyst.agent.md +48 -0
- package/templates/agents/context-manager.agent.md +55 -0
- package/templates/agents/cpp-pro.agent.md +59 -0
- package/templates/agents/csharp-developer.agent.md +57 -0
- package/templates/agents/data-engineer.agent.md +55 -0
- package/templates/agents/data-researcher.agent.md +55 -0
- package/templates/agents/data-scientist.agent.md +56 -0
- package/templates/agents/database-administrator.agent.md +50 -0
- package/templates/agents/devops-engineer.agent.md +59 -0
- package/templates/agents/django-developer.agent.md +50 -0
- package/templates/agents/documentation-engineer.agent.md +57 -0
- package/templates/agents/electron-pro.agent.md +56 -0
- package/templates/agents/embedded-systems.agent.md +55 -0
- package/templates/agents/fintech-engineer.agent.md +57 -0
- package/templates/agents/flutter-expert.agent.md +50 -0
- package/templates/agents/frontend-developer.agent.md +59 -0
- package/templates/agents/fullstack-developer.agent.md +46 -0
- package/templates/agents/game-developer.agent.md +57 -0
- package/templates/agents/git-workflow-manager.agent.md +57 -0
- package/templates/agents/golang-pro.agent.md +50 -0
- package/templates/agents/graphql-architect.agent.md +48 -0
- package/templates/agents/iot-engineer.agent.md +56 -0
- package/templates/agents/java-architect.agent.md +48 -0
- package/templates/agents/kotlin-specialist.agent.md +50 -0
- package/templates/agents/kubernetes-specialist.agent.md +56 -0
- package/templates/agents/laravel-specialist.agent.md +50 -0
- package/templates/agents/legacy-modernizer.agent.md +56 -0
- package/templates/agents/llm-architect.agent.md +58 -0
- package/templates/agents/market-researcher.agent.md +47 -0
- package/templates/agents/mcp-developer.agent.md +54 -0
- package/templates/agents/microservices-architect.agent.md +47 -0
- package/templates/agents/ml-engineer.agent.md +56 -0
- package/templates/agents/mlops-engineer.agent.md +56 -0
- package/templates/agents/mobile-developer.agent.md +45 -0
- package/templates/agents/multi-agent-coordinator.agent.md +55 -0
- package/templates/agents/network-engineer.agent.md +57 -0
- package/templates/agents/nextjs-developer.agent.md +48 -0
- package/templates/agents/nlp-engineer.agent.md +58 -0
- package/templates/agents/payment-integration.agent.md +56 -0
- package/templates/agents/performance-optimizer.agent.md +57 -0
- package/templates/agents/platform-engineer.agent.md +57 -0
- package/templates/agents/postgres-pro.agent.md +58 -0
- package/templates/agents/product-manager.agent.md +55 -0
- package/templates/agents/project-manager.agent.md +57 -0
- package/templates/agents/prompt-engineer.agent.md +58 -0
- package/templates/agents/python-pro.agent.md +48 -0
- package/templates/agents/rails-expert.agent.md +50 -0
- package/templates/agents/react-specialist.agent.md +49 -0
- package/templates/agents/refactoring-specialist.agent.md +56 -0
- package/templates/agents/research-analyst.agent.md +63 -0
- package/templates/agents/scrum-master.agent.md +54 -0
- package/templates/agents/security-analyst.agent.md +57 -0
- package/templates/agents/security-engineer.agent.md +57 -0
- package/templates/agents/seo-specialist.agent.md +57 -0
- package/templates/agents/sre-engineer.agent.md +58 -0
- package/templates/agents/swift-expert.agent.md +49 -0
- package/templates/agents/task-distributor.agent.md +47 -0
- package/templates/agents/technical-writer.agent.md +48 -0
- package/templates/agents/terraform-engineer.agent.md +57 -0
- package/templates/agents/test-engineer.agent.md +55 -0
- package/templates/agents/trend-analyst.agent.md +47 -0
- package/templates/agents/typescript-pro.agent.md +48 -0
- package/templates/agents/ui-designer.agent.md +48 -0
- package/templates/agents/ux-researcher.agent.md +48 -0
- package/templates/agents/vue-expert.agent.md +48 -0
- package/templates/agents/websocket-engineer.agent.md +49 -0
- package/templates/agents/workflow-orchestrator.agent.md +48 -0
- package/templates/skills/code-review/SKILL.md +62 -0
- package/templates/skills/security-review/SKILL.md +78 -0
- package/templates/skills/systematic-debugging/SKILL.md +57 -0
- package/templates/skills/test-driven-development/SKILL.md +46 -0
- package/templates/skills/writing-plans/SKILL.md +64 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
# z-command
|
|
2
|
+
|
|
3
|
+
Install curated GitHub Copilot skills and agents for your project.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g z-command
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
### Initialize skills and agents
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
# Install all skills and agents to current project
|
|
17
|
+
z-command init
|
|
18
|
+
|
|
19
|
+
# Install to global user directory (~/.copilot/)
|
|
20
|
+
z-command init --global
|
|
21
|
+
|
|
22
|
+
# Install only skills
|
|
23
|
+
z-command init --skills
|
|
24
|
+
|
|
25
|
+
# Install only agents
|
|
26
|
+
z-command init --agents
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### List available templates
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
z-command list
|
|
33
|
+
z-command list --skills
|
|
34
|
+
z-command list --agents
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Included Templates
|
|
38
|
+
|
|
39
|
+
### Skills
|
|
40
|
+
|
|
41
|
+
| Skill | Description |
|
|
42
|
+
| ------------------------- | ------------------------------------ |
|
|
43
|
+
| `test-driven-development` | RED-GREEN-REFACTOR cycle |
|
|
44
|
+
| `systematic-debugging` | 4-phase root cause process |
|
|
45
|
+
| `code-review` | Automated code review checklist |
|
|
46
|
+
| `security-review` | OWASP Top 10 vulnerability detection |
|
|
47
|
+
| `writing-plans` | Detailed implementation plans |
|
|
48
|
+
|
|
49
|
+
### Agents (80 total)
|
|
50
|
+
|
|
51
|
+
**01. Core Development**
|
|
52
|
+
`api-designer` · `backend-developer` · `frontend-developer` · `fullstack-developer` · `mobile-developer` · `ui-designer` · `graphql-architect` · `microservices-architect` · `websocket-engineer` · `electron-pro`
|
|
53
|
+
|
|
54
|
+
**02. Language Specialists**
|
|
55
|
+
`typescript-pro` · `python-pro` · `golang-pro` · `java-architect` · `react-specialist` · `nextjs-developer` · `vue-expert` · `angular-architect` · `django-developer` · `rails-expert` · `laravel-specialist` · `flutter-expert` · `swift-expert` · `kotlin-specialist` · `csharp-developer` · `cpp-pro`
|
|
56
|
+
|
|
57
|
+
**03. Infrastructure**
|
|
58
|
+
`cloud-architect` · `devops-engineer` · `kubernetes-specialist` · `terraform-engineer` · `sre-engineer` · `platform-engineer` · `database-administrator` · `network-engineer` · `security-engineer` · `azure-infra-engineer`
|
|
59
|
+
|
|
60
|
+
**04. Quality & Security**
|
|
61
|
+
`code-reviewer` · `security-analyst` · `test-engineer` · `accessibility-expert` · `performance-optimizer`
|
|
62
|
+
|
|
63
|
+
**05. Data & AI**
|
|
64
|
+
`ai-engineer` · `ml-engineer` · `data-scientist` · `data-engineer` · `llm-architect` · `prompt-engineer` · `nlp-engineer` · `mlops-engineer` · `postgres-pro`
|
|
65
|
+
|
|
66
|
+
**06. Developer Experience**
|
|
67
|
+
`cli-developer` · `documentation-engineer` · `refactoring-specialist` · `legacy-modernizer` · `mcp-developer` · `git-workflow-manager` · `build-engineer`
|
|
68
|
+
|
|
69
|
+
**07. Specialized Domains**
|
|
70
|
+
`blockchain-developer` · `game-developer` · `fintech-engineer` · `iot-engineer` · `embedded-systems` · `payment-integration` · `seo-specialist`
|
|
71
|
+
|
|
72
|
+
**08. Business & Product**
|
|
73
|
+
`product-manager` · `project-manager` · `business-analyst` · `technical-writer` · `scrum-master` · `ux-researcher`
|
|
74
|
+
|
|
75
|
+
**09. Meta & Orchestration**
|
|
76
|
+
`workflow-orchestrator` · `multi-agent-coordinator` · `context-manager` · `task-distributor`
|
|
77
|
+
|
|
78
|
+
**10. Research & Analysis**
|
|
79
|
+
`research-analyst` · `competitive-analyst` · `market-researcher` · `trend-analyst` · `data-researcher`
|
|
80
|
+
|
|
81
|
+
## Output Structure
|
|
82
|
+
|
|
83
|
+
After running `z-command init`, your project will have:
|
|
84
|
+
|
|
85
|
+
```
|
|
86
|
+
.github/
|
|
87
|
+
├── skills/
|
|
88
|
+
│ ├── test-driven-development/
|
|
89
|
+
│ │ └── SKILL.md
|
|
90
|
+
│ ├── code-review/
|
|
91
|
+
│ │ └── SKILL.md
|
|
92
|
+
│ └── ...
|
|
93
|
+
└── agents/
|
|
94
|
+
├── backend-developer.agent.md
|
|
95
|
+
├── frontend-developer.agent.md
|
|
96
|
+
└── ...
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
## Development
|
|
100
|
+
|
|
101
|
+
### Local Setup
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
|
|
105
|
+
# Install dependencies
|
|
106
|
+
npm install
|
|
107
|
+
|
|
108
|
+
# Build the project
|
|
109
|
+
npm run build
|
|
110
|
+
|
|
111
|
+
# Link locally for testing
|
|
112
|
+
npm link
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### Running Tests
|
|
116
|
+
|
|
117
|
+
```bash
|
|
118
|
+
# Run all tests
|
|
119
|
+
npm test
|
|
120
|
+
|
|
121
|
+
# Run tests with coverage report
|
|
122
|
+
npm run test:coverage
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
### Local Development
|
|
126
|
+
|
|
127
|
+
```bash
|
|
128
|
+
# Run directly without building
|
|
129
|
+
npm run dev init
|
|
130
|
+
npm run dev list
|
|
131
|
+
|
|
132
|
+
# Or after npm link
|
|
133
|
+
z-command init
|
|
134
|
+
z-command list
|
|
135
|
+
|
|
136
|
+
## Sources
|
|
137
|
+
|
|
138
|
+
This project aggregates best practices from:
|
|
139
|
+
|
|
140
|
+
- [obra/superpowers](https://github.com/obra/superpowers)
|
|
141
|
+
- [VoltAgent/awesome-claude-code-subagents](https://github.com/VoltAgent/awesome-claude-code-subagents)
|
|
142
|
+
- [OneRedOak/claude-code-workflows](https://github.com/OneRedOak/claude-code-workflows)
|
|
143
|
+
|
|
144
|
+
## License
|
|
145
|
+
|
|
146
|
+
MIT
|
|
147
|
+
```
|
package/dist/cli.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":""}
|
package/dist/cli.js
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
"use strict";
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
const commander_1 = require("commander");
|
|
5
|
+
const init_1 = require("./commands/init");
|
|
6
|
+
const list_1 = require("./commands/list");
|
|
7
|
+
const program = new commander_1.Command();
|
|
8
|
+
program
|
|
9
|
+
.name('z-command')
|
|
10
|
+
.description('Install curated GitHub Copilot skills and agents for your project')
|
|
11
|
+
.version('1.0.0');
|
|
12
|
+
program
|
|
13
|
+
.command('init')
|
|
14
|
+
.description('Initialize skills and agents in current project')
|
|
15
|
+
.option('-s, --skills', 'Install skills only')
|
|
16
|
+
.option('-a, --agents', 'Install agents only')
|
|
17
|
+
.option('-g, --global', 'Install to user home directory')
|
|
18
|
+
.option('-c, --category <name>', 'Install specific category only')
|
|
19
|
+
.action(init_1.initCommand);
|
|
20
|
+
program
|
|
21
|
+
.command('list')
|
|
22
|
+
.description('List available skills and agents')
|
|
23
|
+
.option('-s, --skills', 'List skills only')
|
|
24
|
+
.option('-a, --agents', 'List agents only')
|
|
25
|
+
.action(list_1.listCommand);
|
|
26
|
+
program.parse();
|
|
27
|
+
//# sourceMappingURL=cli.js.map
|
package/dist/cli.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";;;AAEA,yCAAoC;AAEpC,0CAA8C;AAC9C,0CAA8C;AAE9C,MAAM,OAAO,GAAG,IAAI,mBAAO,EAAE,CAAC;AAE9B,OAAO;KACJ,IAAI,CAAC,WAAW,CAAC;KACjB,WAAW,CAAC,mEAAmE,CAAC;KAChF,OAAO,CAAC,OAAO,CAAC,CAAC;AAEpB,OAAO;KACJ,OAAO,CAAC,MAAM,CAAC;KACf,WAAW,CAAC,iDAAiD,CAAC;KAC9D,MAAM,CAAC,cAAc,EAAE,qBAAqB,CAAC;KAC7C,MAAM,CAAC,cAAc,EAAE,qBAAqB,CAAC;KAC7C,MAAM,CAAC,cAAc,EAAE,gCAAgC,CAAC;KACxD,MAAM,CAAC,uBAAuB,EAAE,gCAAgC,CAAC;KACjE,MAAM,CAAC,kBAAW,CAAC,CAAC;AAEvB,OAAO;KACJ,OAAO,CAAC,MAAM,CAAC;KACf,WAAW,CAAC,kCAAkC,CAAC;KAC/C,MAAM,CAAC,cAAc,EAAE,kBAAkB,CAAC;KAC1C,MAAM,CAAC,cAAc,EAAE,kBAAkB,CAAC;KAC1C,MAAM,CAAC,kBAAW,CAAC,CAAC;AAEvB,OAAO,CAAC,KAAK,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../src/commands/init.ts"],"names":[],"mappings":"AAKA,UAAU,WAAW;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAID,wBAAsB,WAAW,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CA2BrE"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.initCommand = initCommand;
|
|
7
|
+
const path_1 = __importDefault(require("path"));
|
|
8
|
+
const fs_extra_1 = __importDefault(require("fs-extra"));
|
|
9
|
+
const chalk_1 = __importDefault(require("chalk"));
|
|
10
|
+
const os_1 = __importDefault(require("os"));
|
|
11
|
+
const TEMPLATES_DIR = path_1.default.join(__dirname, '..', '..', 'templates');
|
|
12
|
+
async function initCommand(options) {
|
|
13
|
+
console.log(chalk_1.default.cyan('\n🚀 Z-Command - Installing GitHub Copilot Skills & Agents\n'));
|
|
14
|
+
const targetBase = options.global
|
|
15
|
+
? path_1.default.join(os_1.default.homedir(), '.copilot')
|
|
16
|
+
: path_1.default.join(process.cwd(), '.github');
|
|
17
|
+
const installSkills = !options.agents || options.skills;
|
|
18
|
+
const installAgents = !options.skills || options.agents;
|
|
19
|
+
let skillsCount = 0;
|
|
20
|
+
let agentsCount = 0;
|
|
21
|
+
// Install skills
|
|
22
|
+
if (installSkills) {
|
|
23
|
+
skillsCount = await copySkills(targetBase, options.category);
|
|
24
|
+
}
|
|
25
|
+
// Install agents
|
|
26
|
+
if (installAgents) {
|
|
27
|
+
agentsCount = await copyAgents(targetBase, options.category);
|
|
28
|
+
}
|
|
29
|
+
console.log(chalk_1.default.green('\n✅ Installation complete!'));
|
|
30
|
+
console.log(chalk_1.default.dim(` Skills: ${skillsCount}`));
|
|
31
|
+
console.log(chalk_1.default.dim(` Agents: ${agentsCount}`));
|
|
32
|
+
console.log(chalk_1.default.dim(` Location: ${targetBase}\n`));
|
|
33
|
+
}
|
|
34
|
+
async function copySkills(targetBase, category) {
|
|
35
|
+
const skillsSource = path_1.default.join(TEMPLATES_DIR, 'skills');
|
|
36
|
+
const skillsTarget = path_1.default.join(targetBase, 'skills');
|
|
37
|
+
if (!await fs_extra_1.default.pathExists(skillsSource)) {
|
|
38
|
+
console.log(chalk_1.default.yellow('⚠ No skills templates found'));
|
|
39
|
+
return 0;
|
|
40
|
+
}
|
|
41
|
+
await fs_extra_1.default.ensureDir(skillsTarget);
|
|
42
|
+
const skills = await fs_extra_1.default.readdir(skillsSource);
|
|
43
|
+
let count = 0;
|
|
44
|
+
for (const skill of skills) {
|
|
45
|
+
const sourcePath = path_1.default.join(skillsSource, skill);
|
|
46
|
+
const targetPath = path_1.default.join(skillsTarget, skill);
|
|
47
|
+
if (category && !skill.includes(category))
|
|
48
|
+
continue;
|
|
49
|
+
const stat = await fs_extra_1.default.stat(sourcePath);
|
|
50
|
+
if (stat.isDirectory()) {
|
|
51
|
+
await fs_extra_1.default.copy(sourcePath, targetPath, { overwrite: false });
|
|
52
|
+
console.log(chalk_1.default.green(` ✓ Skill: ${skill}`));
|
|
53
|
+
count++;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
return count;
|
|
57
|
+
}
|
|
58
|
+
async function copyAgents(targetBase, category) {
|
|
59
|
+
const agentsSource = path_1.default.join(TEMPLATES_DIR, 'agents');
|
|
60
|
+
const agentsTarget = path_1.default.join(targetBase, 'agents');
|
|
61
|
+
if (!await fs_extra_1.default.pathExists(agentsSource)) {
|
|
62
|
+
console.log(chalk_1.default.yellow('⚠ No agents templates found'));
|
|
63
|
+
return 0;
|
|
64
|
+
}
|
|
65
|
+
await fs_extra_1.default.ensureDir(agentsTarget);
|
|
66
|
+
const agents = await fs_extra_1.default.readdir(agentsSource);
|
|
67
|
+
let count = 0;
|
|
68
|
+
for (const agent of agents) {
|
|
69
|
+
const sourcePath = path_1.default.join(agentsSource, agent);
|
|
70
|
+
const targetPath = path_1.default.join(agentsTarget, agent);
|
|
71
|
+
if (category && !agent.includes(category))
|
|
72
|
+
continue;
|
|
73
|
+
const stat = await fs_extra_1.default.stat(sourcePath);
|
|
74
|
+
if (stat.isFile() && agent.endsWith('.agent.md')) {
|
|
75
|
+
await fs_extra_1.default.copy(sourcePath, targetPath, { overwrite: false });
|
|
76
|
+
console.log(chalk_1.default.green(` ✓ Agent: ${agent.replace('.agent.md', '')}`));
|
|
77
|
+
count++;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
return count;
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=init.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"init.js","sourceRoot":"","sources":["../../src/commands/init.ts"],"names":[],"mappings":";;;;;AAcA,kCA2BC;AAzCD,gDAAwB;AACxB,wDAA0B;AAC1B,kDAA0B;AAC1B,4CAAoB;AASpB,MAAM,aAAa,GAAG,cAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,WAAW,CAAC,CAAC;AAE7D,KAAK,UAAU,WAAW,CAAC,OAAoB;IACpD,OAAO,CAAC,GAAG,CAAC,eAAK,CAAC,IAAI,CAAC,8DAA8D,CAAC,CAAC,CAAC;IAExF,MAAM,UAAU,GAAG,OAAO,CAAC,MAAM;QAC/B,CAAC,CAAC,cAAI,CAAC,IAAI,CAAC,YAAE,CAAC,OAAO,EAAE,EAAE,UAAU,CAAC;QACrC,CAAC,CAAC,cAAI,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,SAAS,CAAC,CAAC;IAExC,MAAM,aAAa,GAAG,CAAC,OAAO,CAAC,MAAM,IAAI,OAAO,CAAC,MAAM,CAAC;IACxD,MAAM,aAAa,GAAG,CAAC,OAAO,CAAC,MAAM,IAAI,OAAO,CAAC,MAAM,CAAC;IAExD,IAAI,WAAW,GAAG,CAAC,CAAC;IACpB,IAAI,WAAW,GAAG,CAAC,CAAC;IAEpB,iBAAiB;IACjB,IAAI,aAAa,EAAE,CAAC;QAClB,WAAW,GAAG,MAAM,UAAU,CAAC,UAAU,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC/D,CAAC;IAED,iBAAiB;IAC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AI,CAAC,YAAY,EAAE,KAAK,CAAC,CAAC;QAElD,IAAI,QAAQ,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,QAAQ,CAAC;YAAE,SAAS;QAEpD,MAAM,IAAI,GAAG,MAAM,kBAAE,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACvC,IAAI,IAAI,CAAC,MAAM,EAAE,IAAI,KAAK,CAAC,QAAQ,CAAC,WAAW,CAAC,EAAE,CAAC;YACjD,MAAM,kBAAE,CAAC,IAAI,CAAC,UAAU,EAAE,UAAU,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,CAAC;YAC5D,OAAO,CAAC,GAAG,CAAC,eAAK,CAAC,KAAK,CAAC,cAAc,KAAK,CAAC,OAAO,CAAC,WAAW,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;YACzE,KAAK,EAAE,CAAC;QACV,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../src/commands/list.ts"],"names":[],"mappings":"AAIA,UAAU,WAAW;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAID,wBAAsB,WAAW,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAarE"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.listCommand = listCommand;
|
|
7
|
+
const path_1 = __importDefault(require("path"));
|
|
8
|
+
const fs_extra_1 = __importDefault(require("fs-extra"));
|
|
9
|
+
const chalk_1 = __importDefault(require("chalk"));
|
|
10
|
+
const TEMPLATES_DIR = path_1.default.join(__dirname, '..', '..', 'templates');
|
|
11
|
+
async function listCommand(options) {
|
|
12
|
+
console.log(chalk_1.default.cyan('\n📋 Available Templates\n'));
|
|
13
|
+
const listSkills = !options.agents || options.skills;
|
|
14
|
+
const listAgents = !options.skills || options.agents;
|
|
15
|
+
if (listSkills) {
|
|
16
|
+
await listSkillsTemplates();
|
|
17
|
+
}
|
|
18
|
+
if (listAgents) {
|
|
19
|
+
await listAgentsTemplates();
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
async function listSkillsTemplates() {
|
|
23
|
+
const skillsDir = path_1.default.join(TEMPLATES_DIR, 'skills');
|
|
24
|
+
if (!await fs_extra_1.default.pathExists(skillsDir)) {
|
|
25
|
+
console.log(chalk_1.default.yellow('No skills found\n'));
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
console.log(chalk_1.default.bold('Skills:'));
|
|
29
|
+
const skills = await fs_extra_1.default.readdir(skillsDir);
|
|
30
|
+
for (const skill of skills) {
|
|
31
|
+
const skillPath = path_1.default.join(skillsDir, skill);
|
|
32
|
+
const stat = await fs_extra_1.default.stat(skillPath);
|
|
33
|
+
if (stat.isDirectory()) {
|
|
34
|
+
const skillMd = path_1.default.join(skillPath, 'SKILL.md');
|
|
35
|
+
if (await fs_extra_1.default.pathExists(skillMd)) {
|
|
36
|
+
const content = await fs_extra_1.default.readFile(skillMd, 'utf-8');
|
|
37
|
+
const description = extractDescription(content);
|
|
38
|
+
console.log(chalk_1.default.green(` • ${skill}`) + chalk_1.default.dim(` - ${description}`));
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
console.log();
|
|
43
|
+
}
|
|
44
|
+
async function listAgentsTemplates() {
|
|
45
|
+
const agentsDir = path_1.default.join(TEMPLATES_DIR, 'agents');
|
|
46
|
+
if (!await fs_extra_1.default.pathExists(agentsDir)) {
|
|
47
|
+
console.log(chalk_1.default.yellow('No agents found\n'));
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
console.log(chalk_1.default.bold('Agents:'));
|
|
51
|
+
const agents = await fs_extra_1.default.readdir(agentsDir);
|
|
52
|
+
for (const agent of agents) {
|
|
53
|
+
if (agent.endsWith('.agent.md')) {
|
|
54
|
+
const agentPath = path_1.default.join(agentsDir, agent);
|
|
55
|
+
const content = await fs_extra_1.default.readFile(agentPath, 'utf-8');
|
|
56
|
+
const description = extractDescription(content);
|
|
57
|
+
const name = agent.replace('.agent.md', '');
|
|
58
|
+
console.log(chalk_1.default.green(` • ${name}`) + chalk_1.default.dim(` - ${description}`));
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
console.log();
|
|
62
|
+
}
|
|
63
|
+
function extractDescription(content) {
|
|
64
|
+
const match = content.match(/description:\s*(.+)/i);
|
|
65
|
+
if (match) {
|
|
66
|
+
return match[1].trim().substring(0, 60);
|
|
67
|
+
}
|
|
68
|
+
return 'No description';
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../src/commands/list.ts"],"names":[],"mappings":";;;;;AAWA,kCAaC;AAxBD,gDAAwB;AACxB,wDAA0B;AAC1B,kDAA0B;AAO1B,MAAM,aAAa,GAAG,cAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,WAAW,CAAC,CAAC;AAE7D,KAAK,UAAU,WAAW,CAAC,OAAoB;IACpD,OAAO,CAAC,GAAG,CAAC,eAAK,CAAC,IAAI,CAAC,4BAA4B,CAAC,CAAC,CAAC;IAEtD,MAAM,UAAU,GAAG,CAAC,OAAO,CAAC,MAAM,IAAI,OAAO,CAAC,MAAM,CAAC;IACrD,MAAM,UAAU,GAAG,CAAC,OAAO,CAAC,MAAM,IAAI,OAAO,CAAC,MAAM,CAAC;IAErD,IAAI,UAAU,EAAE,CAAC;QACf,MAAM,mBAAmB,EAAE,CAAC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IACpD,IAAI,KAAK,EAAE,CAAC;QACV,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAC1C,CAAC;IACD,OAAO,gBAAgB,CAAC;AAC1B,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@zimezone/z-command",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Install curated GitHub Copilot skills and agents for your project",
|
|
5
|
+
"main": "dist/cli.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"z-command": "./dist/cli.js"
|
|
8
|
+
},
|
|
9
|
+
"scripts": {
|
|
10
|
+
"build": "tsc",
|
|
11
|
+
"dev": "ts-node src/cli.ts",
|
|
12
|
+
"test": "jest",
|
|
13
|
+
"test:coverage": "jest --coverage",
|
|
14
|
+
"prepublishOnly": "npm run build && npm test"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"github-copilot",
|
|
18
|
+
"ai-agents",
|
|
19
|
+
"skills",
|
|
20
|
+
"cli",
|
|
21
|
+
"developer-tools"
|
|
22
|
+
],
|
|
23
|
+
"author": "",
|
|
24
|
+
"license": "MIT",
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"chalk": "^4.1.2",
|
|
27
|
+
"commander": "^11.1.0",
|
|
28
|
+
"fs-extra": "^11.2.0"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@types/fs-extra": "^11.0.4",
|
|
32
|
+
"@types/jest": "^30.0.0",
|
|
33
|
+
"@types/node": "^20.10.0",
|
|
34
|
+
"jest": "^30.2.0",
|
|
35
|
+
"ts-jest": "^29.4.6",
|
|
36
|
+
"ts-node": "^10.9.2",
|
|
37
|
+
"typescript": "^5.3.0"
|
|
38
|
+
},
|
|
39
|
+
"engines": {
|
|
40
|
+
"node": ">=16.0.0"
|
|
41
|
+
},
|
|
42
|
+
"files": [
|
|
43
|
+
"dist",
|
|
44
|
+
"templates"
|
|
45
|
+
]
|
|
46
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Web accessibility expert for WCAG compliance
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Accessibility Expert
|
|
6
|
+
|
|
7
|
+
You are an expert accessibility specialist focused on ensuring digital products are usable by everyone, following WCAG guidelines and inclusive design principles.
|
|
8
|
+
|
|
9
|
+
## Core Responsibilities
|
|
10
|
+
|
|
11
|
+
- Audit for accessibility compliance
|
|
12
|
+
- Implement WCAG 2.1/2.2 guidelines
|
|
13
|
+
- Fix accessibility issues
|
|
14
|
+
- Design inclusive user experiences
|
|
15
|
+
- Train teams on accessibility
|
|
16
|
+
- Test with assistive technologies
|
|
17
|
+
|
|
18
|
+
## WCAG Principles (POUR)
|
|
19
|
+
|
|
20
|
+
- Perceivable: Content accessible to senses
|
|
21
|
+
- Operable: Interface navigable and usable
|
|
22
|
+
- Understandable: Content and UI comprehensible
|
|
23
|
+
- Robust: Works with assistive technologies
|
|
24
|
+
|
|
25
|
+
## Key Focus Areas
|
|
26
|
+
|
|
27
|
+
- Semantic HTML structure
|
|
28
|
+
- Keyboard navigation
|
|
29
|
+
- Screen reader compatibility
|
|
30
|
+
- Color contrast ratios
|
|
31
|
+
- Focus management
|
|
32
|
+
- ARIA attributes (when needed)
|
|
33
|
+
- Alternative text for media
|
|
34
|
+
|
|
35
|
+
## Testing Methods
|
|
36
|
+
|
|
37
|
+
- Keyboard-only navigation
|
|
38
|
+
- Screen reader testing (NVDA, VoiceOver)
|
|
39
|
+
- Automated tools (axe, Lighthouse)
|
|
40
|
+
- Color contrast checkers
|
|
41
|
+
- Manual auditing
|
|
42
|
+
|
|
43
|
+
## Tools & Technologies
|
|
44
|
+
|
|
45
|
+
- axe DevTools
|
|
46
|
+
- WAVE
|
|
47
|
+
- Lighthouse
|
|
48
|
+
- Screen readers
|
|
49
|
+
- Color contrast analyzers
|
|
50
|
+
|
|
51
|
+
## Communication Style
|
|
52
|
+
|
|
53
|
+
- Explain the "why" for users
|
|
54
|
+
- Provide practical solutions
|
|
55
|
+
- Reference WCAG success criteria
|
|
56
|
+
- Consider diverse user needs
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ai-engineer
|
|
3
|
+
description: AI system design, model implementation, and production deployment
|
|
4
|
+
tools: [Read, Write, Edit, Bash, Glob, Grep]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
You are an AI engineer specializing in building production AI/ML systems.
|
|
8
|
+
|
|
9
|
+
## Expertise
|
|
10
|
+
|
|
11
|
+
- Large Language Models (LLMs)
|
|
12
|
+
- Prompt engineering
|
|
13
|
+
- RAG architectures
|
|
14
|
+
- Model fine-tuning
|
|
15
|
+
- MLOps and deployment
|
|
16
|
+
- Vector databases
|
|
17
|
+
- AI agents and tools
|
|
18
|
+
|
|
19
|
+
## Best Practices
|
|
20
|
+
|
|
21
|
+
### Prompt Engineering
|
|
22
|
+
|
|
23
|
+
- Clear, specific instructions
|
|
24
|
+
- Few-shot examples when helpful
|
|
25
|
+
- Chain-of-thought for reasoning
|
|
26
|
+
- Output format specification
|
|
27
|
+
- Temperature and token tuning
|
|
28
|
+
|
|
29
|
+
### RAG Systems
|
|
30
|
+
|
|
31
|
+
- Chunking strategies
|
|
32
|
+
- Embedding model selection
|
|
33
|
+
- Vector store optimization
|
|
34
|
+
- Retrieval evaluation
|
|
35
|
+
- Context window management
|
|
36
|
+
|
|
37
|
+
### Production ML
|
|
38
|
+
|
|
39
|
+
- Model versioning
|
|
40
|
+
- A/B testing
|
|
41
|
+
- Monitoring for drift
|
|
42
|
+
- Cost optimization
|
|
43
|
+
- Fallback strategies
|
|
44
|
+
|
|
45
|
+
### Safety
|
|
46
|
+
|
|
47
|
+
- Input/output filtering
|
|
48
|
+
- Rate limiting
|
|
49
|
+
- Cost controls
|
|
50
|
+
- Bias evaluation
|
|
51
|
+
- Human-in-the-loop
|
|
52
|
+
|
|
53
|
+
## Communication Protocol
|
|
54
|
+
|
|
55
|
+
When asked about AI features:
|
|
56
|
+
|
|
57
|
+
1. Clarify the use case
|
|
58
|
+
2. Recommend appropriate models/tools
|
|
59
|
+
3. Design the architecture
|
|
60
|
+
4. Implement with proper testing
|
|
61
|
+
5. Set up monitoring and evaluation
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Angular architect for enterprise-scale applications
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Angular Architect
|
|
6
|
+
|
|
7
|
+
You are an expert Angular architect specializing in building enterprise-scale applications with Angular's powerful features and best practices.
|
|
8
|
+
|
|
9
|
+
## Core Responsibilities
|
|
10
|
+
|
|
11
|
+
- Design large-scale Angular architectures
|
|
12
|
+
- Implement feature modules and lazy loading
|
|
13
|
+
- Build reusable component libraries
|
|
14
|
+
- Optimize bundle size and performance
|
|
15
|
+
- Implement state management patterns
|
|
16
|
+
- Lead Angular upgrade strategies
|
|
17
|
+
|
|
18
|
+
## Angular Expertise
|
|
19
|
+
|
|
20
|
+
- Standalone components
|
|
21
|
+
- Signals and fine-grained reactivity
|
|
22
|
+
- Dependency injection patterns
|
|
23
|
+
- RxJS and reactive patterns
|
|
24
|
+
- Angular CLI and schematics
|
|
25
|
+
- Server-side rendering with Angular Universal
|
|
26
|
+
|
|
27
|
+
## Architecture Patterns
|
|
28
|
+
|
|
29
|
+
- Feature module organization
|
|
30
|
+
- Smart/Dumb component pattern
|
|
31
|
+
- Service layer abstraction
|
|
32
|
+
- NgRx for complex state
|
|
33
|
+
- Micro-frontend integration
|
|
34
|
+
|
|
35
|
+
## Tools & Technologies
|
|
36
|
+
|
|
37
|
+
- Angular CLI and workspaces
|
|
38
|
+
- NgRx, NGXS, or Akita
|
|
39
|
+
- Angular Material and CDK
|
|
40
|
+
- Jest and Testing Library
|
|
41
|
+
- Nx for monorepos
|
|
42
|
+
- Cypress for E2E
|
|
43
|
+
|
|
44
|
+
## Communication Style
|
|
45
|
+
|
|
46
|
+
- Follow Angular style guide
|
|
47
|
+
- Design for enterprise scale
|
|
48
|
+
- Balance RxJS with simplicity
|
|
49
|
+
- Consider upgrade path and maintenance
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Expert API architecture and RESTful design specialist
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# API Designer
|
|
6
|
+
|
|
7
|
+
You are an expert API designer specializing in RESTful architecture, GraphQL schemas, and API-first development. You create intuitive, scalable, and well-documented APIs.
|
|
8
|
+
|
|
9
|
+
## Core Responsibilities
|
|
10
|
+
|
|
11
|
+
- Design RESTful APIs following best practices (HATEOAS, proper HTTP methods, status codes)
|
|
12
|
+
- Create OpenAPI/Swagger specifications
|
|
13
|
+
- Design GraphQL schemas with efficient resolvers
|
|
14
|
+
- Plan API versioning strategies
|
|
15
|
+
- Implement rate limiting and throttling designs
|
|
16
|
+
- Design authentication/authorization flows (OAuth2, JWT, API keys)
|
|
17
|
+
|
|
18
|
+
## Design Principles
|
|
19
|
+
|
|
20
|
+
- Resource-oriented architecture
|
|
21
|
+
- Consistent naming conventions
|
|
22
|
+
- Proper error handling and response formats
|
|
23
|
+
- Pagination and filtering strategies
|
|
24
|
+
- Idempotency for safe retries
|
|
25
|
+
- Backward compatibility
|
|
26
|
+
|
|
27
|
+
## Tools & Technologies
|
|
28
|
+
|
|
29
|
+
- OpenAPI 3.0/Swagger
|
|
30
|
+
- GraphQL SDL
|
|
31
|
+
- Postman/Insomnia for testing
|
|
32
|
+
- API Gateway patterns
|
|
33
|
+
- JSON:API specification
|
|
34
|
+
|
|
35
|
+
## Communication Style
|
|
36
|
+
|
|
37
|
+
- Provide clear API documentation examples
|
|
38
|
+
- Explain design decisions with rationale
|
|
39
|
+
- Include request/response examples
|
|
40
|
+
- Consider consumer developer experience
|