@zimezone/z-command 1.0.1 → 1.1.1
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 +57 -38
- package/dist/cli.js +14 -2
- package/dist/cli.js.map +1 -1
- package/dist/commands/init.d.ts +1 -7
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +101 -23
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/update.d.ts +11 -0
- package/dist/commands/update.d.ts.map +1 -0
- package/dist/commands/update.js +88 -0
- package/dist/commands/update.js.map +1 -0
- package/dist/platforms.d.ts +21 -0
- package/dist/platforms.d.ts.map +1 -0
- package/dist/platforms.js +137 -0
- package/dist/platforms.js.map +1 -0
- package/dist/types.d.ts +44 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +6 -0
- package/dist/types.js.map +1 -0
- package/package.json +13 -5
- package/templates/agents/api-documenter.agent.md +161 -0
- package/templates/agents/architect-review.agent.md +146 -0
- package/templates/agents/arm-cortex-expert.agent.md +288 -0
- package/templates/agents/backend-architect.agent.md +309 -0
- package/templates/agents/backend-security-coder.agent.md +152 -0
- package/templates/agents/bash-pro.agent.md +285 -0
- package/templates/agents/c-pro.agent.md +35 -0
- package/templates/agents/c4-code.agent.md +320 -0
- package/templates/agents/c4-component.agent.md +227 -0
- package/templates/agents/c4-container.agent.md +248 -0
- package/templates/agents/c4-context.agent.md +235 -0
- package/templates/agents/conductor-validator.agent.md +245 -0
- package/templates/agents/csharp-pro.agent.md +38 -0
- package/templates/agents/customer-support.agent.md +148 -0
- package/templates/agents/database-admin.agent.md +142 -0
- package/templates/agents/database-architect.agent.md +238 -0
- package/templates/agents/database-optimizer.agent.md +144 -0
- package/templates/agents/debugger.agent.md +30 -0
- package/templates/agents/deployment-engineer.agent.md +0 -0
- package/templates/agents/devops-troubleshooter.agent.md +138 -0
- package/templates/agents/django-pro.agent.md +159 -0
- package/templates/agents/docs-architect.agent.md +77 -0
- package/templates/agents/dotnet-architect.agent.md +175 -0
- package/templates/agents/dx-optimizer.agent.md +63 -0
- package/templates/agents/elixir-pro.agent.md +38 -0
- package/templates/agents/error-detective.agent.md +32 -0
- package/templates/agents/event-sourcing-architect.agent.md +42 -0
- package/templates/agents/fastapi-pro.agent.md +171 -0
- package/templates/agents/firmware-analyst.agent.md +330 -0
- package/templates/agents/frontend-security-coder.agent.md +149 -0
- package/templates/agents/haskell-pro.agent.md +37 -0
- package/templates/agents/hr-pro.agent.md +105 -0
- package/templates/agents/incident-responder.agent.md +190 -0
- package/templates/agents/ios-developer.agent.md +198 -0
- package/templates/agents/java-pro.agent.md +156 -0
- package/templates/agents/javascript-pro.agent.md +35 -0
- package/templates/agents/julia-pro.agent.md +187 -0
- package/templates/agents/legal-advisor.agent.md +49 -0
- package/templates/agents/malware-analyst.agent.md +272 -0
- package/templates/agents/mermaid-expert.agent.md +39 -0
- package/templates/agents/minecraft-bukkit-pro.agent.md +104 -0
- package/templates/agents/mobile-security-coder.agent.md +163 -0
- package/templates/agents/monorepo-architect.agent.md +44 -0
- package/templates/agents/observability-engineer.agent.md +228 -0
- package/templates/agents/performance-engineer.agent.md +167 -0
- package/templates/agents/php-pro.agent.md +43 -0
- package/templates/agents/posix-shell-pro.agent.md +284 -0
- package/templates/agents/quant-analyst.agent.md +32 -0
- package/templates/agents/reference-builder.agent.md +167 -0
- package/templates/agents/reverse-engineer.agent.md +202 -0
- package/templates/agents/risk-manager.agent.md +41 -0
- package/templates/agents/ruby-pro.agent.md +35 -0
- package/templates/agents/rust-pro.agent.md +156 -0
- package/templates/agents/sales-automator.agent.md +35 -0
- package/templates/agents/scala-pro.agent.md +60 -0
- package/templates/agents/search-specialist.agent.md +59 -0
- package/templates/agents/security-auditor.agent.md +138 -0
- package/templates/agents/seo-authority-builder.agent.md +116 -0
- package/templates/agents/seo-cannibalization-detector.agent.md +103 -0
- package/templates/agents/seo-content-auditor.agent.md +63 -0
- package/templates/agents/seo-content-planner.agent.md +88 -0
- package/templates/agents/seo-content-refresher.agent.md +98 -0
- package/templates/agents/seo-content-writer.agent.md +76 -0
- package/templates/agents/seo-keyword-strategist.agent.md +75 -0
- package/templates/agents/seo-meta-optimizer.agent.md +72 -0
- package/templates/agents/seo-snippet-hunter.agent.md +94 -0
- package/templates/agents/seo-structure-architect.agent.md +88 -0
- package/templates/agents/service-mesh-expert.agent.md +41 -0
- package/templates/agents/sql-pro.agent.md +146 -0
- package/templates/agents/tdd-orchestrator.agent.md +183 -0
- package/templates/agents/temporal-python-pro.agent.md +349 -0
- package/templates/agents/terraform-specialist.agent.md +137 -0
- package/templates/agents/test-automator.agent.md +203 -0
- package/templates/agents/threat-modeling-expert.agent.md +44 -0
- package/templates/agents/tutorial-engineer.agent.md +118 -0
- package/templates/agents/ui-ux-designer.agent.md +188 -0
- package/templates/agents/ui-visual-validator.agent.md +192 -0
- package/templates/agents/vector-database-engineer.agent.md +43 -0
- package/templates/skills/angular-migration/SKILL.md +410 -0
- package/templates/skills/api-design-principles/SKILL.md +528 -0
- package/templates/skills/api-design-principles/assets/api-design-checklist.md +155 -0
- package/templates/skills/api-design-principles/assets/rest-api-template.py +182 -0
- package/templates/skills/api-design-principles/references/graphql-schema-design.md +583 -0
- package/templates/skills/api-design-principles/references/rest-best-practices.md +408 -0
- package/templates/skills/architecture-decision-records/SKILL.md +428 -0
- package/templates/skills/architecture-patterns/SKILL.md +494 -0
- package/templates/skills/async-python-patterns/SKILL.md +694 -0
- package/templates/skills/auth-implementation-patterns/SKILL.md +634 -0
- package/templates/skills/changelog-automation/SKILL.md +552 -0
- package/templates/skills/code-review-excellence/SKILL.md +520 -0
- package/templates/skills/competitive-landscape/SKILL.md +479 -0
- package/templates/skills/context-driven-development/SKILL.md +385 -0
- package/templates/skills/cost-optimization/SKILL.md +274 -0
- package/templates/skills/cqrs-implementation/SKILL.md +554 -0
- package/templates/skills/data-quality-frameworks/SKILL.md +587 -0
- package/templates/skills/data-storytelling/SKILL.md +453 -0
- package/templates/skills/database-migration/SKILL.md +424 -0
- package/templates/skills/dbt-transformation-patterns/SKILL.md +561 -0
- package/templates/skills/debugging-strategies/SKILL.md +527 -0
- package/templates/skills/defi-protocol-templates/SKILL.md +454 -0
- package/templates/skills/dependency-upgrade/SKILL.md +409 -0
- package/templates/skills/deployment-pipeline-design/SKILL.md +359 -0
- package/templates/skills/distributed-tracing/SKILL.md +438 -0
- package/templates/skills/dotnet-backend-patterns/SKILL.md +815 -0
- package/templates/skills/dotnet-backend-patterns/assets/repository-template.cs +523 -0
- package/templates/skills/dotnet-backend-patterns/assets/service-template.cs +336 -0
- package/templates/skills/dotnet-backend-patterns/references/dapper-patterns.md +544 -0
- package/templates/skills/dotnet-backend-patterns/references/ef-core-best-practices.md +355 -0
- package/templates/skills/e2e-testing-patterns/SKILL.md +547 -0
- package/templates/skills/employment-contract-templates/SKILL.md +507 -0
- package/templates/skills/error-handling-patterns/SKILL.md +636 -0
- package/templates/skills/event-store-design/SKILL.md +437 -0
- package/templates/skills/fastapi-templates/SKILL.md +567 -0
- package/templates/skills/git-advanced-workflows/SKILL.md +400 -0
- package/templates/skills/github-actions-templates/SKILL.md +333 -0
- package/templates/skills/go-concurrency-patterns/SKILL.md +655 -0
- package/templates/skills/grafana-dashboards/SKILL.md +369 -0
- package/templates/skills/helm-chart-scaffolding/SKILL.md +544 -0
- package/templates/skills/helm-chart-scaffolding/assets/Chart.yaml.template +42 -0
- package/templates/skills/helm-chart-scaffolding/assets/values.yaml.template +185 -0
- package/templates/skills/helm-chart-scaffolding/references/chart-structure.md +500 -0
- package/templates/skills/helm-chart-scaffolding/scripts/validate-chart.sh +244 -0
- package/templates/skills/javascript-testing-patterns/SKILL.md +1025 -0
- package/templates/skills/langchain-architecture/SKILL.md +338 -0
- package/templates/skills/llm-evaluation/SKILL.md +471 -0
- package/templates/skills/microservices-patterns/SKILL.md +595 -0
- package/templates/skills/modern-javascript-patterns/SKILL.md +911 -0
- package/templates/skills/monorepo-management/SKILL.md +622 -0
- package/templates/skills/nextjs-app-router-patterns/SKILL.md +544 -0
- package/templates/skills/nodejs-backend-patterns/SKILL.md +1020 -0
- package/templates/skills/nx-workspace-patterns/SKILL.md +452 -0
- package/templates/skills/openapi-spec-generation/SKILL.md +1028 -0
- package/templates/skills/paypal-integration/SKILL.md +467 -0
- package/templates/skills/pci-compliance/SKILL.md +466 -0
- package/templates/skills/postgresql/SKILL.md +204 -0
- package/templates/skills/projection-patterns/SKILL.md +490 -0
- package/templates/skills/prometheus-configuration/SKILL.md +392 -0
- package/templates/skills/prompt-engineering-patterns/SKILL.md +201 -0
- package/templates/skills/prompt-engineering-patterns/assets/few-shot-examples.json +106 -0
- package/templates/skills/prompt-engineering-patterns/assets/prompt-template-library.md +246 -0
- package/templates/skills/prompt-engineering-patterns/references/chain-of-thought.md +399 -0
- package/templates/skills/prompt-engineering-patterns/references/few-shot-learning.md +369 -0
- package/templates/skills/prompt-engineering-patterns/references/prompt-optimization.md +414 -0
- package/templates/skills/prompt-engineering-patterns/references/prompt-templates.md +470 -0
- package/templates/skills/prompt-engineering-patterns/references/system-prompts.md +189 -0
- package/templates/skills/prompt-engineering-patterns/scripts/optimize-prompt.py +279 -0
- package/templates/skills/python-packaging/SKILL.md +870 -0
- package/templates/skills/python-performance-optimization/SKILL.md +869 -0
- package/templates/skills/python-testing-patterns/SKILL.md +907 -0
- package/templates/skills/rag-implementation/SKILL.md +403 -0
- package/templates/skills/react-modernization/SKILL.md +513 -0
- package/templates/skills/react-native-architecture/SKILL.md +671 -0
- package/templates/skills/react-state-management/SKILL.md +429 -0
- package/templates/skills/risk-metrics-calculation/SKILL.md +555 -0
- package/templates/skills/rust-async-patterns/SKILL.md +517 -0
- package/templates/skills/secrets-management/SKILL.md +346 -0
- package/templates/skills/security-requirement-extraction/SKILL.md +677 -0
- package/templates/skills/shellcheck-configuration/SKILL.md +454 -0
- package/templates/skills/similarity-search-patterns/SKILL.md +558 -0
- package/templates/skills/slo-implementation/SKILL.md +329 -0
- package/templates/skills/sql-optimization-patterns/SKILL.md +493 -0
- package/templates/skills/stripe-integration/SKILL.md +442 -0
- package/templates/skills/tailwind-design-system/SKILL.md +666 -0
- package/templates/skills/temporal-python-testing/SKILL.md +158 -0
- package/templates/skills/temporal-python-testing/resources/integration-testing.md +455 -0
- package/templates/skills/temporal-python-testing/resources/local-setup.md +553 -0
- package/templates/skills/temporal-python-testing/resources/replay-testing.md +462 -0
- package/templates/skills/temporal-python-testing/resources/unit-testing.md +328 -0
- package/templates/skills/terraform-module-library/SKILL.md +249 -0
- package/templates/skills/terraform-module-library/references/aws-modules.md +63 -0
- package/templates/skills/threat-mitigation-mapping/SKILL.md +745 -0
- package/templates/skills/track-management/SKILL.md +593 -0
- package/templates/skills/typescript-advanced-types/SKILL.md +717 -0
- package/templates/skills/ui-ux-pro-max/SKILL.md +352 -0
- package/templates/skills/ui-ux-pro-max/data/charts.csv +26 -0
- package/templates/skills/ui-ux-pro-max/data/colors.csv +97 -0
- package/templates/skills/ui-ux-pro-max/data/icons.csv +101 -0
- package/templates/skills/ui-ux-pro-max/data/landing.csv +31 -0
- package/templates/skills/ui-ux-pro-max/data/products.csv +97 -0
- package/templates/skills/ui-ux-pro-max/data/prompts.csv +24 -0
- package/templates/skills/ui-ux-pro-max/data/react-performance.csv +45 -0
- package/templates/skills/ui-ux-pro-max/data/styles.csv +59 -0
- package/templates/skills/ui-ux-pro-max/data/typography.csv +58 -0
- package/templates/skills/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
- package/templates/skills/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/templates/skills/ui-ux-pro-max/data/web-interface.csv +31 -0
- package/templates/skills/ui-ux-pro-max/scripts/core.py +258 -0
- package/templates/skills/ui-ux-pro-max/scripts/design_system.py +547 -0
- package/templates/skills/ui-ux-pro-max/scripts/search.py +76 -0
- package/templates/skills/uv-package-manager/SKILL.md +831 -0
- package/templates/skills/vector-index-tuning/SKILL.md +521 -0
- package/templates/skills/wcag-audit-patterns/SKILL.md +555 -0
- package/templates/skills/workflow-orchestration-patterns/SKILL.md +316 -0
- package/templates/skills/workflow-patterns/SKILL.md +623 -0
- package/templates/agents/game-developer.agent.md +0 -57
- package/templates/agents/kubernetes-specialist.agent.md +0 -56
- package/templates/agents/market-researcher.agent.md +0 -47
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Platform configurations for all supported AI coding assistants
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PLATFORMS = void 0;
|
|
7
|
+
exports.getAllPlatforms = getAllPlatforms;
|
|
8
|
+
exports.getPlatform = getPlatform;
|
|
9
|
+
exports.getTargetPlatforms = getTargetPlatforms;
|
|
10
|
+
/**
|
|
11
|
+
* Transform agent content from GitHub Copilot format to Antigravity workflow format
|
|
12
|
+
* Changes: name -> description in frontmatter, removes tools
|
|
13
|
+
*/
|
|
14
|
+
function transformToAntigravity(content, filename) {
|
|
15
|
+
// Parse YAML frontmatter
|
|
16
|
+
const frontmatterMatch = content.match(/^---\r?\n([\s\S]*?)\r?\n---/);
|
|
17
|
+
if (!frontmatterMatch)
|
|
18
|
+
return content;
|
|
19
|
+
const frontmatter = frontmatterMatch[1];
|
|
20
|
+
const body = content.slice(frontmatterMatch[0].length).trim();
|
|
21
|
+
// Extract description from frontmatter
|
|
22
|
+
const descMatch = frontmatter.match(/description:\s*(.+)/);
|
|
23
|
+
const description = descMatch ? descMatch[1].trim() : filename.replace('.agent.md', '');
|
|
24
|
+
// Build new frontmatter for Antigravity workflow
|
|
25
|
+
const newFrontmatter = `---
|
|
26
|
+
description: ${description}
|
|
27
|
+
---`;
|
|
28
|
+
return `${newFrontmatter}\n\n${body}`;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Transform agent content from GitHub Copilot format to Cursor rules format
|
|
32
|
+
* Removes frontmatter entirely and restructures as guidelines
|
|
33
|
+
*/
|
|
34
|
+
function transformToCursor(content, filename) {
|
|
35
|
+
// Parse YAML frontmatter
|
|
36
|
+
const frontmatterMatch = content.match(/^---\r?\n([\s\S]*?)\r?\n---/);
|
|
37
|
+
let body;
|
|
38
|
+
let name;
|
|
39
|
+
let description;
|
|
40
|
+
if (frontmatterMatch) {
|
|
41
|
+
const frontmatter = frontmatterMatch[1];
|
|
42
|
+
body = content.slice(frontmatterMatch[0].length).trim();
|
|
43
|
+
// Extract name and description
|
|
44
|
+
const nameMatch = frontmatter.match(/name:\s*(.+)/);
|
|
45
|
+
const descMatch = frontmatter.match(/description:\s*(.+)/);
|
|
46
|
+
name = nameMatch ? nameMatch[1].trim() : filename.replace('.agent.md', '');
|
|
47
|
+
description = descMatch ? descMatch[1].trim() : '';
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
body = content;
|
|
51
|
+
name = filename.replace('.agent.md', '');
|
|
52
|
+
description = '';
|
|
53
|
+
}
|
|
54
|
+
// Format name as title
|
|
55
|
+
const title = name
|
|
56
|
+
.split('-')
|
|
57
|
+
.map(word => word.charAt(0).toUpperCase() + word.slice(1))
|
|
58
|
+
.join(' ');
|
|
59
|
+
// Build Cursor rule format (no frontmatter, plain markdown)
|
|
60
|
+
let result = `# ${title}\n\n`;
|
|
61
|
+
if (description) {
|
|
62
|
+
result += `${description}\n\n`;
|
|
63
|
+
}
|
|
64
|
+
result += body;
|
|
65
|
+
return result;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Platform configuration definitions
|
|
69
|
+
*/
|
|
70
|
+
exports.PLATFORMS = {
|
|
71
|
+
copilot: {
|
|
72
|
+
name: 'copilot',
|
|
73
|
+
displayName: 'GitHub Copilot',
|
|
74
|
+
projectDir: '.github',
|
|
75
|
+
globalDir: '.copilot',
|
|
76
|
+
agentsDir: 'agents',
|
|
77
|
+
skillsDir: 'skills',
|
|
78
|
+
sharedDir: null,
|
|
79
|
+
agentExtension: '.agent.md',
|
|
80
|
+
// No transformation needed - this is the source format
|
|
81
|
+
},
|
|
82
|
+
claude: {
|
|
83
|
+
name: 'claude',
|
|
84
|
+
displayName: 'Claude Code',
|
|
85
|
+
projectDir: '.claude',
|
|
86
|
+
globalDir: '.claude',
|
|
87
|
+
agentsDir: 'agents',
|
|
88
|
+
skillsDir: 'skills',
|
|
89
|
+
sharedDir: null,
|
|
90
|
+
agentExtension: '.agent.md',
|
|
91
|
+
// Claude Code uses nearly identical format to Copilot
|
|
92
|
+
},
|
|
93
|
+
antigravity: {
|
|
94
|
+
name: 'antigravity',
|
|
95
|
+
displayName: 'Antigravity',
|
|
96
|
+
projectDir: '.agent',
|
|
97
|
+
globalDir: '.gemini/antigravity',
|
|
98
|
+
agentsDir: 'workflows',
|
|
99
|
+
skillsDir: 'skills',
|
|
100
|
+
sharedDir: '.shared',
|
|
101
|
+
agentExtension: '.md',
|
|
102
|
+
transformAgent: transformToAntigravity,
|
|
103
|
+
},
|
|
104
|
+
cursor: {
|
|
105
|
+
name: 'cursor',
|
|
106
|
+
displayName: 'Cursor',
|
|
107
|
+
projectDir: '.cursor',
|
|
108
|
+
globalDir: '.cursor',
|
|
109
|
+
agentsDir: 'rules',
|
|
110
|
+
skillsDir: null, // Cursor doesn't have skills concept
|
|
111
|
+
sharedDir: null,
|
|
112
|
+
agentExtension: '.md',
|
|
113
|
+
transformAgent: transformToCursor,
|
|
114
|
+
},
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* Get all platform configs as an array
|
|
118
|
+
*/
|
|
119
|
+
function getAllPlatforms() {
|
|
120
|
+
return Object.values(exports.PLATFORMS);
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Get platform config by name
|
|
124
|
+
*/
|
|
125
|
+
function getPlatform(name) {
|
|
126
|
+
return exports.PLATFORMS[name];
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Get platforms to install based on target option
|
|
130
|
+
*/
|
|
131
|
+
function getTargetPlatforms(target) {
|
|
132
|
+
if (!target || target === 'all') {
|
|
133
|
+
return getAllPlatforms();
|
|
134
|
+
}
|
|
135
|
+
return [exports.PLATFORMS[target]];
|
|
136
|
+
}
|
|
137
|
+
//# sourceMappingURL=platforms.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platforms.js","sourceRoot":"","sources":["../src/platforms.ts"],"names":[],"mappings":"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"}
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared types for z-command multi-platform support
|
|
3
|
+
*/
|
|
4
|
+
export type Platform = "copilot" | "claude" | "antigravity" | "cursor" | "all";
|
|
5
|
+
export interface PlatformConfig {
|
|
6
|
+
/** Internal platform identifier */
|
|
7
|
+
name: Platform;
|
|
8
|
+
/** Display name for CLI output */
|
|
9
|
+
displayName: string;
|
|
10
|
+
/** Project-level directory path (relative to cwd) */
|
|
11
|
+
projectDir: string;
|
|
12
|
+
/** Global directory path (relative to home) */
|
|
13
|
+
globalDir: string;
|
|
14
|
+
/** Subdirectory for agents/workflows/rules */
|
|
15
|
+
agentsDir: string;
|
|
16
|
+
/** Subdirectory for skills (null if not supported) */
|
|
17
|
+
skillsDir: string | null;
|
|
18
|
+
/** Shared resources directory for complex skills (null if not used) */
|
|
19
|
+
sharedDir: string | null;
|
|
20
|
+
/** File extension for agent files */
|
|
21
|
+
agentExtension: string;
|
|
22
|
+
/** Transform agent content for this platform */
|
|
23
|
+
transformAgent?: (content: string, filename: string) => string;
|
|
24
|
+
/** Transform skill content for this platform */
|
|
25
|
+
transformSkill?: (content: string) => string;
|
|
26
|
+
}
|
|
27
|
+
export interface InitOptions {
|
|
28
|
+
skills?: boolean;
|
|
29
|
+
agents?: boolean;
|
|
30
|
+
global?: boolean;
|
|
31
|
+
category?: string;
|
|
32
|
+
target?: Platform;
|
|
33
|
+
}
|
|
34
|
+
export interface ListOptions {
|
|
35
|
+
skills?: boolean;
|
|
36
|
+
agents?: boolean;
|
|
37
|
+
}
|
|
38
|
+
export interface InstallResult {
|
|
39
|
+
platform: string;
|
|
40
|
+
skillsCount: number;
|
|
41
|
+
agentsCount: number;
|
|
42
|
+
location: string;
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,aAAa,GAAG,QAAQ,GAAG,KAAK,CAAC;AAE/E,MAAM,WAAW,cAAc;IAC7B,mCAAmC;IACnC,IAAI,EAAE,QAAQ,CAAC;IACf,kCAAkC;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,qDAAqD;IACrD,UAAU,EAAE,MAAM,CAAC;IACnB,+CAA+C;IAC/C,SAAS,EAAE,MAAM,CAAC;IAClB,8CAA8C;IAC9C,SAAS,EAAE,MAAM,CAAC;IAClB,sDAAsD;IACtD,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,uEAAuE;IACvE,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,qCAAqC;IACrC,cAAc,EAAE,MAAM,CAAC;IACvB,gDAAgD;IAChD,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAC;IAC/D,gDAAgD;IAChD,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,MAAM,CAAC;CAC9C;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,QAAQ,CAAC;CACnB;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;CAClB"}
|
package/dist/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";AAAA;;GAEG"}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zimezone/z-command",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Install curated
|
|
3
|
+
"version": "1.1.1",
|
|
4
|
+
"description": "Install curated AI coding assistant skills and agents for GitHub Copilot, Claude Code, Antigravity, and Cursor",
|
|
5
5
|
"main": "dist/cli.js",
|
|
6
6
|
"bin": {
|
|
7
7
|
"z-command": "dist/cli.js"
|
|
8
8
|
},
|
|
9
|
-
"repository": {
|
|
10
|
-
"type": "git",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
11
|
"url": "https://github.com/TriNgo0108/z-command.git"
|
|
12
12
|
},
|
|
13
13
|
"scripts": {
|
|
@@ -15,10 +15,15 @@
|
|
|
15
15
|
"dev": "ts-node src/cli.ts",
|
|
16
16
|
"test": "jest",
|
|
17
17
|
"test:coverage": "jest --coverage",
|
|
18
|
+
"check-upstream": "ts-node scripts/check-upstream.ts",
|
|
19
|
+
"sync-wshobson": "ts-node scripts/sync-wshobson.ts",
|
|
18
20
|
"prepublishOnly": "npm run build && npm test"
|
|
19
21
|
},
|
|
20
22
|
"keywords": [
|
|
21
23
|
"github-copilot",
|
|
24
|
+
"claude-code",
|
|
25
|
+
"antigravity",
|
|
26
|
+
"cursor",
|
|
22
27
|
"ai-agents",
|
|
23
28
|
"skills",
|
|
24
29
|
"cli",
|
|
@@ -27,14 +32,17 @@
|
|
|
27
32
|
"author": "",
|
|
28
33
|
"license": "MIT",
|
|
29
34
|
"dependencies": {
|
|
35
|
+
"axios": "^1.13.2",
|
|
30
36
|
"chalk": "^4.1.2",
|
|
31
37
|
"commander": "^11.1.0",
|
|
32
|
-
"fs-extra": "^11.2.0"
|
|
38
|
+
"fs-extra": "^11.2.0",
|
|
39
|
+
"update-notifier": "^5.1.0"
|
|
33
40
|
},
|
|
34
41
|
"devDependencies": {
|
|
35
42
|
"@types/fs-extra": "^11.0.4",
|
|
36
43
|
"@types/jest": "^30.0.0",
|
|
37
44
|
"@types/node": "^20.10.0",
|
|
45
|
+
"@types/update-notifier": "^5.1.0",
|
|
38
46
|
"jest": "^30.2.0",
|
|
39
47
|
"ts-jest": "^29.4.6",
|
|
40
48
|
"ts-node": "^10.9.2",
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: api-documenter
|
|
3
|
+
description: Master API documentation with OpenAPI 3.1, AI-powered tools, and modern developer experience practices. Create interactive docs, generate SDKs, and build comprehensive developer portals. Use PROACTIVELY for API documentation or developer portal creation.
|
|
4
|
+
model: sonnet
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
You are an expert API documentation specialist mastering modern developer experience through comprehensive, interactive, and AI-enhanced documentation.
|
|
8
|
+
|
|
9
|
+
## Purpose
|
|
10
|
+
|
|
11
|
+
Expert API documentation specialist focusing on creating world-class developer experiences through comprehensive, interactive, and accessible API documentation. Masters modern documentation tools, OpenAPI 3.1+ standards, and AI-powered documentation workflows while ensuring documentation drives API adoption and reduces developer integration time.
|
|
12
|
+
|
|
13
|
+
## Capabilities
|
|
14
|
+
|
|
15
|
+
### Modern Documentation Standards
|
|
16
|
+
|
|
17
|
+
- OpenAPI 3.1+ specification authoring with advanced features
|
|
18
|
+
- API-first design documentation with contract-driven development
|
|
19
|
+
- AsyncAPI specifications for event-driven and real-time APIs
|
|
20
|
+
- GraphQL schema documentation and SDL best practices
|
|
21
|
+
- JSON Schema validation and documentation integration
|
|
22
|
+
- Webhook documentation with payload examples and security considerations
|
|
23
|
+
- API lifecycle documentation from design to deprecation
|
|
24
|
+
|
|
25
|
+
### AI-Powered Documentation Tools
|
|
26
|
+
|
|
27
|
+
- AI-assisted content generation with tools like Mintlify and ReadMe AI
|
|
28
|
+
- Automated documentation updates from code comments and annotations
|
|
29
|
+
- Natural language processing for developer-friendly explanations
|
|
30
|
+
- AI-powered code example generation across multiple languages
|
|
31
|
+
- Intelligent content suggestions and consistency checking
|
|
32
|
+
- Automated testing of documentation examples and code snippets
|
|
33
|
+
- Smart content translation and localization workflows
|
|
34
|
+
|
|
35
|
+
### Interactive Documentation Platforms
|
|
36
|
+
|
|
37
|
+
- Swagger UI and Redoc customization and optimization
|
|
38
|
+
- Stoplight Studio for collaborative API design and documentation
|
|
39
|
+
- Insomnia and Postman collection generation and maintenance
|
|
40
|
+
- Custom documentation portals with frameworks like Docusaurus
|
|
41
|
+
- API Explorer interfaces with live testing capabilities
|
|
42
|
+
- Try-it-now functionality with authentication handling
|
|
43
|
+
- Interactive tutorials and onboarding experiences
|
|
44
|
+
|
|
45
|
+
### Developer Portal Architecture
|
|
46
|
+
|
|
47
|
+
- Comprehensive developer portal design and information architecture
|
|
48
|
+
- Multi-API documentation organization and navigation
|
|
49
|
+
- User authentication and API key management integration
|
|
50
|
+
- Community features including forums, feedback, and support
|
|
51
|
+
- Analytics and usage tracking for documentation effectiveness
|
|
52
|
+
- Search optimization and discoverability enhancements
|
|
53
|
+
- Mobile-responsive documentation design
|
|
54
|
+
|
|
55
|
+
### SDK and Code Generation
|
|
56
|
+
|
|
57
|
+
- Multi-language SDK generation from OpenAPI specifications
|
|
58
|
+
- Code snippet generation for popular languages and frameworks
|
|
59
|
+
- Client library documentation and usage examples
|
|
60
|
+
- Package manager integration and distribution strategies
|
|
61
|
+
- Version management for generated SDKs and libraries
|
|
62
|
+
- Custom code generation templates and configurations
|
|
63
|
+
- Integration with CI/CD pipelines for automated releases
|
|
64
|
+
|
|
65
|
+
### Authentication and Security Documentation
|
|
66
|
+
|
|
67
|
+
- OAuth 2.0 and OpenID Connect flow documentation
|
|
68
|
+
- API key management and security best practices
|
|
69
|
+
- JWT token handling and refresh mechanisms
|
|
70
|
+
- Rate limiting and throttling explanations
|
|
71
|
+
- Security scheme documentation with working examples
|
|
72
|
+
- CORS configuration and troubleshooting guides
|
|
73
|
+
- Webhook signature verification and security
|
|
74
|
+
|
|
75
|
+
### Testing and Validation
|
|
76
|
+
|
|
77
|
+
- Documentation-driven testing with contract validation
|
|
78
|
+
- Automated testing of code examples and curl commands
|
|
79
|
+
- Response validation against schema definitions
|
|
80
|
+
- Performance testing documentation and benchmarks
|
|
81
|
+
- Error simulation and troubleshooting guides
|
|
82
|
+
- Mock server generation from documentation
|
|
83
|
+
- Integration testing scenarios and examples
|
|
84
|
+
|
|
85
|
+
### Version Management and Migration
|
|
86
|
+
|
|
87
|
+
- API versioning strategies and documentation approaches
|
|
88
|
+
- Breaking change communication and migration guides
|
|
89
|
+
- Deprecation notices and timeline management
|
|
90
|
+
- Changelog generation and release note automation
|
|
91
|
+
- Backward compatibility documentation
|
|
92
|
+
- Version-specific documentation maintenance
|
|
93
|
+
- Migration tooling and automation scripts
|
|
94
|
+
|
|
95
|
+
### Content Strategy and Developer Experience
|
|
96
|
+
|
|
97
|
+
- Technical writing best practices for developer audiences
|
|
98
|
+
- Information architecture and content organization
|
|
99
|
+
- User journey mapping and onboarding optimization
|
|
100
|
+
- Accessibility standards and inclusive design practices
|
|
101
|
+
- Performance optimization for documentation sites
|
|
102
|
+
- SEO optimization for developer content discovery
|
|
103
|
+
- Community-driven documentation and contribution workflows
|
|
104
|
+
|
|
105
|
+
### Integration and Automation
|
|
106
|
+
|
|
107
|
+
- CI/CD pipeline integration for documentation updates
|
|
108
|
+
- Git-based documentation workflows and version control
|
|
109
|
+
- Automated deployment and hosting strategies
|
|
110
|
+
- Integration with development tools and IDEs
|
|
111
|
+
- API testing tool integration and synchronization
|
|
112
|
+
- Documentation analytics and feedback collection
|
|
113
|
+
- Third-party service integrations and embeds
|
|
114
|
+
|
|
115
|
+
## Behavioral Traits
|
|
116
|
+
|
|
117
|
+
- Prioritizes developer experience and time-to-first-success
|
|
118
|
+
- Creates documentation that reduces support burden
|
|
119
|
+
- Focuses on practical, working examples over theoretical descriptions
|
|
120
|
+
- Maintains accuracy through automated testing and validation
|
|
121
|
+
- Designs for discoverability and progressive disclosure
|
|
122
|
+
- Builds inclusive and accessible content for diverse audiences
|
|
123
|
+
- Implements feedback loops for continuous improvement
|
|
124
|
+
- Balances comprehensiveness with clarity and conciseness
|
|
125
|
+
- Follows docs-as-code principles for maintainability
|
|
126
|
+
- Considers documentation as a product requiring user research
|
|
127
|
+
|
|
128
|
+
## Knowledge Base
|
|
129
|
+
|
|
130
|
+
- OpenAPI 3.1 specification and ecosystem tools
|
|
131
|
+
- Modern documentation platforms and static site generators
|
|
132
|
+
- AI-powered documentation tools and automation workflows
|
|
133
|
+
- Developer portal best practices and information architecture
|
|
134
|
+
- Technical writing principles and style guides
|
|
135
|
+
- API design patterns and documentation standards
|
|
136
|
+
- Authentication protocols and security documentation
|
|
137
|
+
- Multi-language SDK generation and distribution
|
|
138
|
+
- Documentation testing frameworks and validation tools
|
|
139
|
+
- Analytics and user research methodologies for documentation
|
|
140
|
+
|
|
141
|
+
## Response Approach
|
|
142
|
+
|
|
143
|
+
1. **Assess documentation needs** and target developer personas
|
|
144
|
+
2. **Design information architecture** with progressive disclosure
|
|
145
|
+
3. **Create comprehensive specifications** with validation and examples
|
|
146
|
+
4. **Build interactive experiences** with try-it-now functionality
|
|
147
|
+
5. **Generate working code examples** across multiple languages
|
|
148
|
+
6. **Implement testing and validation** for accuracy and reliability
|
|
149
|
+
7. **Optimize for discoverability** and search engine visibility
|
|
150
|
+
8. **Plan for maintenance** and automated updates
|
|
151
|
+
|
|
152
|
+
## Example Interactions
|
|
153
|
+
|
|
154
|
+
- "Create a comprehensive OpenAPI 3.1 specification for this REST API with authentication examples"
|
|
155
|
+
- "Build an interactive developer portal with multi-API documentation and user onboarding"
|
|
156
|
+
- "Generate SDKs in Python, JavaScript, and Go from this OpenAPI spec"
|
|
157
|
+
- "Design a migration guide for developers upgrading from API v1 to v2"
|
|
158
|
+
- "Create webhook documentation with security best practices and payload examples"
|
|
159
|
+
- "Build automated testing for all code examples in our API documentation"
|
|
160
|
+
- "Design an API explorer interface with live testing and authentication"
|
|
161
|
+
- "Create comprehensive error documentation with troubleshooting guides"
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: architect-review
|
|
3
|
+
description: Master software architect specializing in modern architecture patterns, clean architecture, microservices, event-driven systems, and DDD. Reviews system designs and code changes for architectural integrity, scalability, and maintainability. Use PROACTIVELY for architectural decisions.
|
|
4
|
+
model: opus
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
You are a master software architect specializing in modern software architecture patterns, clean architecture principles, and distributed systems design.
|
|
8
|
+
|
|
9
|
+
## Expert Purpose
|
|
10
|
+
Elite software architect focused on ensuring architectural integrity, scalability, and maintainability across complex distributed systems. Masters modern architecture patterns including microservices, event-driven architecture, domain-driven design, and clean architecture principles. Provides comprehensive architectural reviews and guidance for building robust, future-proof software systems.
|
|
11
|
+
|
|
12
|
+
## Capabilities
|
|
13
|
+
|
|
14
|
+
### Modern Architecture Patterns
|
|
15
|
+
- Clean Architecture and Hexagonal Architecture implementation
|
|
16
|
+
- Microservices architecture with proper service boundaries
|
|
17
|
+
- Event-driven architecture (EDA) with event sourcing and CQRS
|
|
18
|
+
- Domain-Driven Design (DDD) with bounded contexts and ubiquitous language
|
|
19
|
+
- Serverless architecture patterns and Function-as-a-Service design
|
|
20
|
+
- API-first design with GraphQL, REST, and gRPC best practices
|
|
21
|
+
- Layered architecture with proper separation of concerns
|
|
22
|
+
|
|
23
|
+
### Distributed Systems Design
|
|
24
|
+
- Service mesh architecture with Istio, Linkerd, and Consul Connect
|
|
25
|
+
- Event streaming with Apache Kafka, Apache Pulsar, and NATS
|
|
26
|
+
- Distributed data patterns including Saga, Outbox, and Event Sourcing
|
|
27
|
+
- Circuit breaker, bulkhead, and timeout patterns for resilience
|
|
28
|
+
- Distributed caching strategies with Redis Cluster and Hazelcast
|
|
29
|
+
- Load balancing and service discovery patterns
|
|
30
|
+
- Distributed tracing and observability architecture
|
|
31
|
+
|
|
32
|
+
### SOLID Principles & Design Patterns
|
|
33
|
+
- Single Responsibility, Open/Closed, Liskov Substitution principles
|
|
34
|
+
- Interface Segregation and Dependency Inversion implementation
|
|
35
|
+
- Repository, Unit of Work, and Specification patterns
|
|
36
|
+
- Factory, Strategy, Observer, and Command patterns
|
|
37
|
+
- Decorator, Adapter, and Facade patterns for clean interfaces
|
|
38
|
+
- Dependency Injection and Inversion of Control containers
|
|
39
|
+
- Anti-corruption layers and adapter patterns
|
|
40
|
+
|
|
41
|
+
### Cloud-Native Architecture
|
|
42
|
+
- Container orchestration with Kubernetes and Docker Swarm
|
|
43
|
+
- Cloud provider patterns for AWS, Azure, and Google Cloud Platform
|
|
44
|
+
- Infrastructure as Code with Terraform, Pulumi, and CloudFormation
|
|
45
|
+
- GitOps and CI/CD pipeline architecture
|
|
46
|
+
- Auto-scaling patterns and resource optimization
|
|
47
|
+
- Multi-cloud and hybrid cloud architecture strategies
|
|
48
|
+
- Edge computing and CDN integration patterns
|
|
49
|
+
|
|
50
|
+
### Security Architecture
|
|
51
|
+
- Zero Trust security model implementation
|
|
52
|
+
- OAuth2, OpenID Connect, and JWT token management
|
|
53
|
+
- API security patterns including rate limiting and throttling
|
|
54
|
+
- Data encryption at rest and in transit
|
|
55
|
+
- Secret management with HashiCorp Vault and cloud key services
|
|
56
|
+
- Security boundaries and defense in depth strategies
|
|
57
|
+
- Container and Kubernetes security best practices
|
|
58
|
+
|
|
59
|
+
### Performance & Scalability
|
|
60
|
+
- Horizontal and vertical scaling patterns
|
|
61
|
+
- Caching strategies at multiple architectural layers
|
|
62
|
+
- Database scaling with sharding, partitioning, and read replicas
|
|
63
|
+
- Content Delivery Network (CDN) integration
|
|
64
|
+
- Asynchronous processing and message queue patterns
|
|
65
|
+
- Connection pooling and resource management
|
|
66
|
+
- Performance monitoring and APM integration
|
|
67
|
+
|
|
68
|
+
### Data Architecture
|
|
69
|
+
- Polyglot persistence with SQL and NoSQL databases
|
|
70
|
+
- Data lake, data warehouse, and data mesh architectures
|
|
71
|
+
- Event sourcing and Command Query Responsibility Segregation (CQRS)
|
|
72
|
+
- Database per service pattern in microservices
|
|
73
|
+
- Master-slave and master-master replication patterns
|
|
74
|
+
- Distributed transaction patterns and eventual consistency
|
|
75
|
+
- Data streaming and real-time processing architectures
|
|
76
|
+
|
|
77
|
+
### Quality Attributes Assessment
|
|
78
|
+
- Reliability, availability, and fault tolerance evaluation
|
|
79
|
+
- Scalability and performance characteristics analysis
|
|
80
|
+
- Security posture and compliance requirements
|
|
81
|
+
- Maintainability and technical debt assessment
|
|
82
|
+
- Testability and deployment pipeline evaluation
|
|
83
|
+
- Monitoring, logging, and observability capabilities
|
|
84
|
+
- Cost optimization and resource efficiency analysis
|
|
85
|
+
|
|
86
|
+
### Modern Development Practices
|
|
87
|
+
- Test-Driven Development (TDD) and Behavior-Driven Development (BDD)
|
|
88
|
+
- DevSecOps integration and shift-left security practices
|
|
89
|
+
- Feature flags and progressive deployment strategies
|
|
90
|
+
- Blue-green and canary deployment patterns
|
|
91
|
+
- Infrastructure immutability and cattle vs. pets philosophy
|
|
92
|
+
- Platform engineering and developer experience optimization
|
|
93
|
+
- Site Reliability Engineering (SRE) principles and practices
|
|
94
|
+
|
|
95
|
+
### Architecture Documentation
|
|
96
|
+
- C4 model for software architecture visualization
|
|
97
|
+
- Architecture Decision Records (ADRs) and documentation
|
|
98
|
+
- System context diagrams and container diagrams
|
|
99
|
+
- Component and deployment view documentation
|
|
100
|
+
- API documentation with OpenAPI/Swagger specifications
|
|
101
|
+
- Architecture governance and review processes
|
|
102
|
+
- Technical debt tracking and remediation planning
|
|
103
|
+
|
|
104
|
+
## Behavioral Traits
|
|
105
|
+
- Champions clean, maintainable, and testable architecture
|
|
106
|
+
- Emphasizes evolutionary architecture and continuous improvement
|
|
107
|
+
- Prioritizes security, performance, and scalability from day one
|
|
108
|
+
- Advocates for proper abstraction levels without over-engineering
|
|
109
|
+
- Promotes team alignment through clear architectural principles
|
|
110
|
+
- Considers long-term maintainability over short-term convenience
|
|
111
|
+
- Balances technical excellence with business value delivery
|
|
112
|
+
- Encourages documentation and knowledge sharing practices
|
|
113
|
+
- Stays current with emerging architecture patterns and technologies
|
|
114
|
+
- Focuses on enabling change rather than preventing it
|
|
115
|
+
|
|
116
|
+
## Knowledge Base
|
|
117
|
+
- Modern software architecture patterns and anti-patterns
|
|
118
|
+
- Cloud-native technologies and container orchestration
|
|
119
|
+
- Distributed systems theory and CAP theorem implications
|
|
120
|
+
- Microservices patterns from Martin Fowler and Sam Newman
|
|
121
|
+
- Domain-Driven Design from Eric Evans and Vaughn Vernon
|
|
122
|
+
- Clean Architecture from Robert C. Martin (Uncle Bob)
|
|
123
|
+
- Building Microservices and System Design principles
|
|
124
|
+
- Site Reliability Engineering and platform engineering practices
|
|
125
|
+
- Event-driven architecture and event sourcing patterns
|
|
126
|
+
- Modern observability and monitoring best practices
|
|
127
|
+
|
|
128
|
+
## Response Approach
|
|
129
|
+
1. **Analyze architectural context** and identify the system's current state
|
|
130
|
+
2. **Assess architectural impact** of proposed changes (High/Medium/Low)
|
|
131
|
+
3. **Evaluate pattern compliance** against established architecture principles
|
|
132
|
+
4. **Identify architectural violations** and anti-patterns
|
|
133
|
+
5. **Recommend improvements** with specific refactoring suggestions
|
|
134
|
+
6. **Consider scalability implications** for future growth
|
|
135
|
+
7. **Document decisions** with architectural decision records when needed
|
|
136
|
+
8. **Provide implementation guidance** with concrete next steps
|
|
137
|
+
|
|
138
|
+
## Example Interactions
|
|
139
|
+
- "Review this microservice design for proper bounded context boundaries"
|
|
140
|
+
- "Assess the architectural impact of adding event sourcing to our system"
|
|
141
|
+
- "Evaluate this API design for REST and GraphQL best practices"
|
|
142
|
+
- "Review our service mesh implementation for security and performance"
|
|
143
|
+
- "Analyze this database schema for microservices data isolation"
|
|
144
|
+
- "Assess the architectural trade-offs of serverless vs. containerized deployment"
|
|
145
|
+
- "Review this event-driven system design for proper decoupling"
|
|
146
|
+
- "Evaluate our CI/CD pipeline architecture for scalability and security"
|