javi-forge 1.1.0 → 1.3.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/ci-local/ci-local.sh +38 -10
- package/ci-local/hooks/pre-commit +10 -155
- package/ci-local/hooks/pre-push +12 -29
- package/dist/commands/ci.d.ts +33 -0
- package/dist/commands/ci.js +341 -0
- package/dist/commands/init.js +5 -0
- package/dist/index.js +39 -5
- package/dist/lib/docker.d.ts +43 -0
- package/dist/lib/docker.js +223 -0
- package/dist/ui/CI.d.ts +9 -0
- package/dist/ui/CI.js +91 -0
- package/package.json +9 -1
- package/ai-config/.skillignore +0 -15
- package/ai-config/AUTO_INVOKE.md +0 -300
- package/ai-config/agents/_TEMPLATE.md +0 -93
- package/ai-config/agents/business/api-designer.md +0 -1657
- package/ai-config/agents/business/business-analyst.md +0 -1331
- package/ai-config/agents/business/product-strategist.md +0 -206
- package/ai-config/agents/business/project-manager.md +0 -178
- package/ai-config/agents/business/requirements-analyst.md +0 -1277
- package/ai-config/agents/business/technical-writer.md +0 -1679
- package/ai-config/agents/creative/ux-designer.md +0 -205
- package/ai-config/agents/data-ai/ai-engineer.md +0 -487
- package/ai-config/agents/data-ai/analytics-engineer.md +0 -953
- package/ai-config/agents/data-ai/data-engineer.md +0 -173
- package/ai-config/agents/data-ai/data-scientist.md +0 -672
- package/ai-config/agents/data-ai/mlops-engineer.md +0 -814
- package/ai-config/agents/data-ai/prompt-engineer.md +0 -772
- package/ai-config/agents/development/angular-expert.md +0 -620
- package/ai-config/agents/development/backend-architect.md +0 -795
- package/ai-config/agents/development/database-specialist.md +0 -212
- package/ai-config/agents/development/frontend-specialist.md +0 -686
- package/ai-config/agents/development/fullstack-engineer.md +0 -668
- package/ai-config/agents/development/golang-pro.md +0 -338
- package/ai-config/agents/development/java-enterprise.md +0 -400
- package/ai-config/agents/development/javascript-pro.md +0 -422
- package/ai-config/agents/development/nextjs-pro.md +0 -474
- package/ai-config/agents/development/python-pro.md +0 -570
- package/ai-config/agents/development/react-pro.md +0 -487
- package/ai-config/agents/development/rust-pro.md +0 -246
- package/ai-config/agents/development/spring-boot-4-expert.md +0 -326
- package/ai-config/agents/development/typescript-pro.md +0 -336
- package/ai-config/agents/development/vue-specialist.md +0 -605
- package/ai-config/agents/infrastructure/cloud-architect.md +0 -472
- package/ai-config/agents/infrastructure/deployment-manager.md +0 -358
- package/ai-config/agents/infrastructure/devops-engineer.md +0 -455
- package/ai-config/agents/infrastructure/incident-responder.md +0 -519
- package/ai-config/agents/infrastructure/kubernetes-expert.md +0 -705
- package/ai-config/agents/infrastructure/monitoring-specialist.md +0 -674
- package/ai-config/agents/infrastructure/performance-engineer.md +0 -658
- package/ai-config/agents/orchestrator.md +0 -241
- package/ai-config/agents/quality/accessibility-auditor.md +0 -1204
- package/ai-config/agents/quality/code-reviewer-compact.md +0 -123
- package/ai-config/agents/quality/code-reviewer.md +0 -363
- package/ai-config/agents/quality/dependency-manager.md +0 -743
- package/ai-config/agents/quality/e2e-test-specialist.md +0 -1005
- package/ai-config/agents/quality/performance-tester.md +0 -1086
- package/ai-config/agents/quality/security-auditor.md +0 -133
- package/ai-config/agents/quality/test-engineer.md +0 -453
- package/ai-config/agents/specialists/api-designer.md +0 -87
- package/ai-config/agents/specialists/backend-architect.md +0 -73
- package/ai-config/agents/specialists/code-reviewer.md +0 -77
- package/ai-config/agents/specialists/db-optimizer.md +0 -75
- package/ai-config/agents/specialists/devops-engineer.md +0 -83
- package/ai-config/agents/specialists/documentation-writer.md +0 -78
- package/ai-config/agents/specialists/frontend-developer.md +0 -75
- package/ai-config/agents/specialists/performance-analyst.md +0 -82
- package/ai-config/agents/specialists/refactor-specialist.md +0 -74
- package/ai-config/agents/specialists/security-auditor.md +0 -74
- package/ai-config/agents/specialists/test-engineer.md +0 -81
- package/ai-config/agents/specialists/ux-consultant.md +0 -76
- package/ai-config/agents/specialized/agent-generator.md +0 -1190
- package/ai-config/agents/specialized/blockchain-developer.md +0 -149
- package/ai-config/agents/specialized/code-migrator.md +0 -892
- package/ai-config/agents/specialized/context-manager.md +0 -978
- package/ai-config/agents/specialized/documentation-writer.md +0 -1078
- package/ai-config/agents/specialized/ecommerce-expert.md +0 -1756
- package/ai-config/agents/specialized/embedded-engineer.md +0 -1714
- package/ai-config/agents/specialized/error-detective.md +0 -1034
- package/ai-config/agents/specialized/fintech-specialist.md +0 -1659
- package/ai-config/agents/specialized/freelance-project-planner-v2.md +0 -1988
- package/ai-config/agents/specialized/freelance-project-planner-v3.md +0 -2136
- package/ai-config/agents/specialized/freelance-project-planner-v4.md +0 -4503
- package/ai-config/agents/specialized/freelance-project-planner.md +0 -722
- package/ai-config/agents/specialized/game-developer.md +0 -1963
- package/ai-config/agents/specialized/healthcare-dev.md +0 -1620
- package/ai-config/agents/specialized/mobile-developer.md +0 -188
- package/ai-config/agents/specialized/parallel-plan-executor.md +0 -506
- package/ai-config/agents/specialized/plan-executor.md +0 -485
- package/ai-config/agents/specialized/solo-dev-planner-modular/00-INDEX.md +0 -485
- package/ai-config/agents/specialized/solo-dev-planner-modular/01-CORE.md +0 -3493
- package/ai-config/agents/specialized/solo-dev-planner-modular/02-SELF-CORRECTION.md +0 -778
- package/ai-config/agents/specialized/solo-dev-planner-modular/03-PROGRESSIVE-SETUP.md +0 -918
- package/ai-config/agents/specialized/solo-dev-planner-modular/04-DEPLOYMENT.md +0 -1537
- package/ai-config/agents/specialized/solo-dev-planner-modular/05-TESTING.md +0 -2633
- package/ai-config/agents/specialized/solo-dev-planner-modular/06-OPERATIONS.md +0 -5610
- package/ai-config/agents/specialized/solo-dev-planner-modular/INSTALL.md +0 -335
- package/ai-config/agents/specialized/solo-dev-planner-modular/QUICK-REFERENCE.txt +0 -215
- package/ai-config/agents/specialized/solo-dev-planner-modular/README.md +0 -260
- package/ai-config/agents/specialized/solo-dev-planner-modular/START-HERE.md +0 -379
- package/ai-config/agents/specialized/solo-dev-planner-modular/WORKFLOW-DIAGRAM.md +0 -355
- package/ai-config/agents/specialized/solo-dev-planner-modular/solo-dev-planner.md +0 -279
- package/ai-config/agents/specialized/template-writer.md +0 -347
- package/ai-config/agents/specialized/test-runner.md +0 -99
- package/ai-config/agents/specialized/vibekanban-smart-worker.md +0 -244
- package/ai-config/agents/specialized/wave-executor.md +0 -138
- package/ai-config/agents/specialized/workflow-optimizer.md +0 -1114
- package/ai-config/commands/git/changelog.md +0 -32
- package/ai-config/commands/git/ci-local.md +0 -70
- package/ai-config/commands/git/commit.md +0 -35
- package/ai-config/commands/git/fix-issue.md +0 -23
- package/ai-config/commands/git/pr-create.md +0 -42
- package/ai-config/commands/git/pr-review.md +0 -50
- package/ai-config/commands/git/worktree.md +0 -39
- package/ai-config/commands/refactoring/cleanup.md +0 -24
- package/ai-config/commands/refactoring/dead-code.md +0 -40
- package/ai-config/commands/refactoring/extract.md +0 -31
- package/ai-config/commands/testing/e2e.md +0 -30
- package/ai-config/commands/testing/tdd.md +0 -36
- package/ai-config/commands/testing/test-coverage.md +0 -30
- package/ai-config/commands/testing/test-fix.md +0 -24
- package/ai-config/commands/workflow/generate-agents-md.md +0 -85
- package/ai-config/commands/workflow/planning.md +0 -47
- package/ai-config/commands/workflows/compound.md +0 -89
- package/ai-config/commands/workflows/diagnose.md +0 -70
- package/ai-config/commands/workflows/discover.md +0 -86
- package/ai-config/commands/workflows/plan.md +0 -77
- package/ai-config/commands/workflows/review.md +0 -78
- package/ai-config/commands/workflows/work.md +0 -75
- package/ai-config/config.yaml +0 -18
- package/ai-config/hooks/_TEMPLATE.md +0 -96
- package/ai-config/hooks/block-dangerous-commands.md +0 -75
- package/ai-config/hooks/commit-guard.md +0 -90
- package/ai-config/hooks/context-loader.md +0 -73
- package/ai-config/hooks/improve-prompt.md +0 -91
- package/ai-config/hooks/learning-log.md +0 -72
- package/ai-config/hooks/model-router.md +0 -86
- package/ai-config/hooks/secret-scanner.md +0 -64
- package/ai-config/hooks/skill-validator.md +0 -102
- package/ai-config/hooks/task-artifact.md +0 -114
- package/ai-config/hooks/validate-workflow.md +0 -100
- package/ai-config/prompts/base.md +0 -71
- package/ai-config/prompts/modes/debug.md +0 -34
- package/ai-config/prompts/modes/deploy.md +0 -40
- package/ai-config/prompts/modes/research.md +0 -32
- package/ai-config/prompts/modes/review.md +0 -33
- package/ai-config/prompts/review-policy.md +0 -79
- package/ai-config/skills/_TEMPLATE.md +0 -157
- package/ai-config/skills/backend/api-gateway/SKILL.md +0 -254
- package/ai-config/skills/backend/bff-concepts/SKILL.md +0 -239
- package/ai-config/skills/backend/bff-spring/SKILL.md +0 -364
- package/ai-config/skills/backend/chi-router/SKILL.md +0 -396
- package/ai-config/skills/backend/error-handling/SKILL.md +0 -255
- package/ai-config/skills/backend/exceptions-spring/SKILL.md +0 -323
- package/ai-config/skills/backend/fastapi/SKILL.md +0 -302
- package/ai-config/skills/backend/gateway-spring/SKILL.md +0 -390
- package/ai-config/skills/backend/go-backend/SKILL.md +0 -457
- package/ai-config/skills/backend/gradle-multimodule/SKILL.md +0 -274
- package/ai-config/skills/backend/graphql-concepts/SKILL.md +0 -352
- package/ai-config/skills/backend/graphql-spring/SKILL.md +0 -398
- package/ai-config/skills/backend/grpc-concepts/SKILL.md +0 -283
- package/ai-config/skills/backend/grpc-spring/SKILL.md +0 -445
- package/ai-config/skills/backend/jwt-auth/SKILL.md +0 -412
- package/ai-config/skills/backend/notifications-concepts/SKILL.md +0 -259
- package/ai-config/skills/backend/recommendations-concepts/SKILL.md +0 -261
- package/ai-config/skills/backend/search-concepts/SKILL.md +0 -263
- package/ai-config/skills/backend/search-spring/SKILL.md +0 -375
- package/ai-config/skills/backend/spring-boot-4/SKILL.md +0 -172
- package/ai-config/skills/backend/websockets/SKILL.md +0 -532
- package/ai-config/skills/data-ai/ai-ml/SKILL.md +0 -423
- package/ai-config/skills/data-ai/analytics-concepts/SKILL.md +0 -195
- package/ai-config/skills/data-ai/analytics-spring/SKILL.md +0 -340
- package/ai-config/skills/data-ai/duckdb-analytics/SKILL.md +0 -440
- package/ai-config/skills/data-ai/langchain/SKILL.md +0 -238
- package/ai-config/skills/data-ai/mlflow/SKILL.md +0 -302
- package/ai-config/skills/data-ai/onnx-inference/SKILL.md +0 -290
- package/ai-config/skills/data-ai/powerbi/SKILL.md +0 -352
- package/ai-config/skills/data-ai/pytorch/SKILL.md +0 -274
- package/ai-config/skills/data-ai/scikit-learn/SKILL.md +0 -321
- package/ai-config/skills/data-ai/vector-db/SKILL.md +0 -301
- package/ai-config/skills/database/graph-databases/SKILL.md +0 -218
- package/ai-config/skills/database/graph-spring/SKILL.md +0 -361
- package/ai-config/skills/database/pgx-postgres/SKILL.md +0 -512
- package/ai-config/skills/database/redis-cache/SKILL.md +0 -343
- package/ai-config/skills/database/sqlite-embedded/SKILL.md +0 -388
- package/ai-config/skills/database/timescaledb/SKILL.md +0 -320
- package/ai-config/skills/docs/api-documentation/SKILL.md +0 -293
- package/ai-config/skills/docs/docs-spring/SKILL.md +0 -377
- package/ai-config/skills/docs/mustache-templates/SKILL.md +0 -190
- package/ai-config/skills/docs/technical-docs/SKILL.md +0 -447
- package/ai-config/skills/frontend/astro-ssr/SKILL.md +0 -441
- package/ai-config/skills/frontend/frontend-design/SKILL.md +0 -54
- package/ai-config/skills/frontend/frontend-web/SKILL.md +0 -368
- package/ai-config/skills/frontend/mantine-ui/SKILL.md +0 -396
- package/ai-config/skills/frontend/tanstack-query/SKILL.md +0 -439
- package/ai-config/skills/frontend/zod-validation/SKILL.md +0 -417
- package/ai-config/skills/frontend/zustand-state/SKILL.md +0 -350
- package/ai-config/skills/infrastructure/chaos-engineering/SKILL.md +0 -244
- package/ai-config/skills/infrastructure/chaos-spring/SKILL.md +0 -378
- package/ai-config/skills/infrastructure/devops-infra/SKILL.md +0 -435
- package/ai-config/skills/infrastructure/docker-containers/SKILL.md +0 -420
- package/ai-config/skills/infrastructure/kubernetes/SKILL.md +0 -456
- package/ai-config/skills/infrastructure/opentelemetry/SKILL.md +0 -546
- package/ai-config/skills/infrastructure/traefik-proxy/SKILL.md +0 -474
- package/ai-config/skills/infrastructure/woodpecker-ci/SKILL.md +0 -315
- package/ai-config/skills/mobile/ionic-capacitor/SKILL.md +0 -504
- package/ai-config/skills/mobile/mobile-ionic/SKILL.md +0 -448
- package/ai-config/skills/prompt-improver/SKILL.md +0 -125
- package/ai-config/skills/quality/ghagga-review/SKILL.md +0 -216
- package/ai-config/skills/references/hooks-patterns/SKILL.md +0 -238
- package/ai-config/skills/references/mcp-servers/SKILL.md +0 -275
- package/ai-config/skills/references/plugins-reference/SKILL.md +0 -110
- package/ai-config/skills/references/skills-reference/SKILL.md +0 -420
- package/ai-config/skills/references/subagent-templates/SKILL.md +0 -193
- package/ai-config/skills/systems-iot/modbus-protocol/SKILL.md +0 -410
- package/ai-config/skills/systems-iot/mqtt-rumqttc/SKILL.md +0 -408
- package/ai-config/skills/systems-iot/rust-systems/SKILL.md +0 -386
- package/ai-config/skills/systems-iot/tokio-async/SKILL.md +0 -324
- package/ai-config/skills/testing/playwright-e2e/SKILL.md +0 -289
- package/ai-config/skills/testing/testcontainers/SKILL.md +0 -299
- package/ai-config/skills/testing/vitest-testing/SKILL.md +0 -381
- package/ai-config/skills/workflow/ci-local-guide/SKILL.md +0 -118
- package/ai-config/skills/workflow/claude-automation-recommender/SKILL.md +0 -299
- package/ai-config/skills/workflow/claude-md-improver/SKILL.md +0 -158
- package/ai-config/skills/workflow/finishing-a-development-branch/SKILL.md +0 -117
- package/ai-config/skills/workflow/git-github/SKILL.md +0 -334
- package/ai-config/skills/workflow/git-github/references/examples.md +0 -160
- package/ai-config/skills/workflow/git-workflow/SKILL.md +0 -214
- package/ai-config/skills/workflow/ide-plugins/SKILL.md +0 -277
- package/ai-config/skills/workflow/ide-plugins-intellij/SKILL.md +0 -401
- package/ai-config/skills/workflow/obsidian-brain-workflow/SKILL.md +0 -199
- package/ai-config/skills/workflow/using-git-worktrees/SKILL.md +0 -100
- package/ai-config/skills/workflow/verification-before-completion/SKILL.md +0 -73
- package/ai-config/skills/workflow/wave-workflow/SKILL.md +0 -178
- package/schemas/agent.schema.json +0 -34
- package/schemas/ai-config.schema.json +0 -28
- package/schemas/plugin.schema.json +0 -62
- package/schemas/skill.schema.json +0 -44
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
import { execFile, spawn } from 'child_process';
|
|
2
|
+
import { promisify } from 'util';
|
|
3
|
+
import crypto from 'crypto';
|
|
4
|
+
import fs from 'fs-extra';
|
|
5
|
+
import path from 'path';
|
|
6
|
+
const execFileAsync = promisify(execFile);
|
|
7
|
+
// =============================================================================
|
|
8
|
+
// Image name
|
|
9
|
+
// =============================================================================
|
|
10
|
+
export function getImageName(stack) {
|
|
11
|
+
return `javi-forge-ci-${stack}`;
|
|
12
|
+
}
|
|
13
|
+
// =============================================================================
|
|
14
|
+
// Dockerfile content per stack
|
|
15
|
+
// =============================================================================
|
|
16
|
+
export function getDockerfileContent(stack) {
|
|
17
|
+
switch (stack) {
|
|
18
|
+
case 'java-gradle':
|
|
19
|
+
case 'java-maven':
|
|
20
|
+
return [
|
|
21
|
+
'ARG JAVA_VERSION=21',
|
|
22
|
+
'FROM eclipse-temurin:${JAVA_VERSION}-jdk-noble',
|
|
23
|
+
'RUN apt-get update && apt-get install -y git curl unzip && rm -rf /var/lib/apt/lists/*',
|
|
24
|
+
'RUN useradd -m -s /bin/bash runner',
|
|
25
|
+
'USER runner',
|
|
26
|
+
'WORKDIR /home/runner/work',
|
|
27
|
+
'ENTRYPOINT ["/bin/bash", "-c"]',
|
|
28
|
+
].join('\n');
|
|
29
|
+
case 'node':
|
|
30
|
+
return [
|
|
31
|
+
'FROM node:22-slim',
|
|
32
|
+
'RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*',
|
|
33
|
+
'RUN npm install -g pnpm',
|
|
34
|
+
'RUN useradd -m -s /bin/bash runner',
|
|
35
|
+
'USER runner',
|
|
36
|
+
'WORKDIR /home/runner/work',
|
|
37
|
+
'ENTRYPOINT ["/bin/bash", "-c"]',
|
|
38
|
+
].join('\n');
|
|
39
|
+
case 'python':
|
|
40
|
+
return [
|
|
41
|
+
'FROM python:3.12-slim',
|
|
42
|
+
'RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*',
|
|
43
|
+
'RUN pip install --no-cache-dir pytest ruff pylint poetry',
|
|
44
|
+
'RUN useradd -m -s /bin/bash runner',
|
|
45
|
+
'USER runner',
|
|
46
|
+
'WORKDIR /home/runner/work',
|
|
47
|
+
'ENTRYPOINT ["/bin/bash", "-c"]',
|
|
48
|
+
].join('\n');
|
|
49
|
+
case 'go':
|
|
50
|
+
return [
|
|
51
|
+
'FROM golang:1.23-bookworm',
|
|
52
|
+
'RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*',
|
|
53
|
+
'RUN go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.62.0 && mv /root/go/bin/golangci-lint /usr/local/bin/',
|
|
54
|
+
'RUN useradd -m -s /bin/bash runner',
|
|
55
|
+
'USER runner',
|
|
56
|
+
'WORKDIR /home/runner/work',
|
|
57
|
+
'ENTRYPOINT ["/bin/bash", "-c"]',
|
|
58
|
+
].join('\n');
|
|
59
|
+
case 'rust':
|
|
60
|
+
return [
|
|
61
|
+
'FROM rust:1.83-slim',
|
|
62
|
+
'RUN apt-get update && apt-get install -y git pkg-config libssl-dev && rm -rf /var/lib/apt/lists/*',
|
|
63
|
+
'RUN rustup component add clippy rustfmt',
|
|
64
|
+
'RUN useradd -m -s /bin/bash runner',
|
|
65
|
+
'USER runner',
|
|
66
|
+
'WORKDIR /home/runner/work',
|
|
67
|
+
'ENTRYPOINT ["/bin/bash", "-c"]',
|
|
68
|
+
].join('\n');
|
|
69
|
+
default:
|
|
70
|
+
return [
|
|
71
|
+
'FROM ubuntu:24.04',
|
|
72
|
+
'RUN apt-get update && apt-get install -y git curl && rm -rf /var/lib/apt/lists/*',
|
|
73
|
+
'RUN useradd -m -s /bin/bash runner',
|
|
74
|
+
'USER runner',
|
|
75
|
+
'WORKDIR /home/runner/work',
|
|
76
|
+
'ENTRYPOINT ["/bin/bash", "-c"]',
|
|
77
|
+
].join('\n');
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
// =============================================================================
|
|
81
|
+
// Docker availability
|
|
82
|
+
// =============================================================================
|
|
83
|
+
export async function isDockerAvailable() {
|
|
84
|
+
try {
|
|
85
|
+
await execFileAsync('docker', ['info'], { timeout: 5000 });
|
|
86
|
+
return true;
|
|
87
|
+
}
|
|
88
|
+
catch {
|
|
89
|
+
return false;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
// =============================================================================
|
|
93
|
+
// Image management
|
|
94
|
+
// =============================================================================
|
|
95
|
+
/**
|
|
96
|
+
* Ensure a CI Docker image exists and is up-to-date.
|
|
97
|
+
* Rebuilds only if the Dockerfile content has changed (hash-based staleness check).
|
|
98
|
+
* Returns the image name.
|
|
99
|
+
*/
|
|
100
|
+
export async function ensureImage(options) {
|
|
101
|
+
const { stack, javaVersion, dockerfilesDir } = options;
|
|
102
|
+
const imageName = getImageName(stack);
|
|
103
|
+
// Resolve Dockerfile path
|
|
104
|
+
const dockerDir = dockerfilesDir ?? path.join(path.dirname(new URL(import.meta.url).pathname), '../../ci-local/docker');
|
|
105
|
+
const dockerfilePath = path.join(dockerDir, `${stack}.Dockerfile`);
|
|
106
|
+
// Write Dockerfile if it doesn't exist yet (first run)
|
|
107
|
+
if (!await fs.pathExists(dockerfilePath)) {
|
|
108
|
+
await fs.ensureDir(dockerDir);
|
|
109
|
+
await fs.writeFile(dockerfilePath, getDockerfileContent(stack), 'utf-8');
|
|
110
|
+
}
|
|
111
|
+
// Staleness check: compare Dockerfile hash with the one embedded in the image label
|
|
112
|
+
const content = await fs.readFile(dockerfilePath, 'utf-8');
|
|
113
|
+
const currentHash = crypto.createHash('sha256').update(content).digest('hex');
|
|
114
|
+
let imageHash = '';
|
|
115
|
+
try {
|
|
116
|
+
const { stdout } = await execFileAsync('docker', [
|
|
117
|
+
'inspect', '--format', '{{index .Config.Labels "dockerfile-hash"}}', imageName,
|
|
118
|
+
]);
|
|
119
|
+
imageHash = stdout.trim();
|
|
120
|
+
}
|
|
121
|
+
catch {
|
|
122
|
+
// Image doesn't exist yet
|
|
123
|
+
}
|
|
124
|
+
if (currentHash === imageHash) {
|
|
125
|
+
return imageName;
|
|
126
|
+
}
|
|
127
|
+
// Build image
|
|
128
|
+
const buildArgs = [
|
|
129
|
+
'build',
|
|
130
|
+
'--label', `dockerfile-hash=${currentHash}`,
|
|
131
|
+
'-f', dockerfilePath,
|
|
132
|
+
'-t', imageName,
|
|
133
|
+
];
|
|
134
|
+
if (javaVersion && (stack === 'java-gradle' || stack === 'java-maven')) {
|
|
135
|
+
buildArgs.push('--build-arg', `JAVA_VERSION=${javaVersion}`);
|
|
136
|
+
}
|
|
137
|
+
buildArgs.push(dockerDir);
|
|
138
|
+
await new Promise((resolve, reject) => {
|
|
139
|
+
const proc = spawn('docker', buildArgs, { stdio: 'inherit' });
|
|
140
|
+
proc.on('close', code => code === 0 ? resolve() : reject(new Error(`docker build exited with code ${code}`)));
|
|
141
|
+
proc.on('error', reject);
|
|
142
|
+
});
|
|
143
|
+
return imageName;
|
|
144
|
+
}
|
|
145
|
+
// =============================================================================
|
|
146
|
+
// Run command in container
|
|
147
|
+
// =============================================================================
|
|
148
|
+
/**
|
|
149
|
+
* Run a shell command inside the CI Docker container.
|
|
150
|
+
* Mounts projectDir as /home/runner/work.
|
|
151
|
+
* Streams output to process.stdout/stderr by default.
|
|
152
|
+
*/
|
|
153
|
+
export async function runInContainer(options) {
|
|
154
|
+
const { projectDir, command, timeout = 600, stream = true } = options;
|
|
155
|
+
const stack = await detectStackFromDir(projectDir);
|
|
156
|
+
const imageName = getImageName(stack);
|
|
157
|
+
const isInteractive = process.stdin.isTTY && stream;
|
|
158
|
+
const dockerArgs = [
|
|
159
|
+
'run', '--rm',
|
|
160
|
+
...(isInteractive ? ['-it'] : []),
|
|
161
|
+
'--stop-timeout', '30',
|
|
162
|
+
'--entrypoint', '',
|
|
163
|
+
'-v', `${projectDir}:/home/runner/work`,
|
|
164
|
+
'-e', 'CI=true',
|
|
165
|
+
imageName,
|
|
166
|
+
'timeout', String(timeout), 'bash', '-c', command,
|
|
167
|
+
];
|
|
168
|
+
return new Promise((resolve, reject) => {
|
|
169
|
+
const proc = spawn('docker', dockerArgs, {
|
|
170
|
+
stdio: stream ? 'inherit' : 'pipe',
|
|
171
|
+
});
|
|
172
|
+
let stdout = '';
|
|
173
|
+
let stderr = '';
|
|
174
|
+
if (!stream) {
|
|
175
|
+
proc.stdout?.on('data', (d) => { stdout += d.toString(); });
|
|
176
|
+
proc.stderr?.on('data', (d) => { stderr += d.toString(); });
|
|
177
|
+
}
|
|
178
|
+
proc.on('close', code => resolve({ exitCode: code ?? 1, stdout, stderr }));
|
|
179
|
+
proc.on('error', reject);
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* Open an interactive shell inside the CI container.
|
|
184
|
+
*/
|
|
185
|
+
export async function openShell(projectDir) {
|
|
186
|
+
const stack = await detectStackFromDir(projectDir);
|
|
187
|
+
const imageName = getImageName(stack);
|
|
188
|
+
await new Promise((resolve, reject) => {
|
|
189
|
+
const proc = spawn('docker', [
|
|
190
|
+
'run', '--rm', '-it',
|
|
191
|
+
'--entrypoint', '',
|
|
192
|
+
'-v', `${projectDir}:/home/runner/work`,
|
|
193
|
+
'-e', 'CI=true',
|
|
194
|
+
imageName,
|
|
195
|
+
'bash', '-c', 'cd /home/runner/work && exec bash',
|
|
196
|
+
], { stdio: 'inherit' });
|
|
197
|
+
proc.on('close', () => resolve());
|
|
198
|
+
proc.on('error', reject);
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
// =============================================================================
|
|
202
|
+
// Internal helpers
|
|
203
|
+
// =============================================================================
|
|
204
|
+
async function detectStackFromDir(projectDir) {
|
|
205
|
+
if (await fs.pathExists(path.join(projectDir, 'build.gradle.kts')))
|
|
206
|
+
return 'java-gradle';
|
|
207
|
+
if (await fs.pathExists(path.join(projectDir, 'build.gradle')))
|
|
208
|
+
return 'java-gradle';
|
|
209
|
+
if (await fs.pathExists(path.join(projectDir, 'pom.xml')))
|
|
210
|
+
return 'java-maven';
|
|
211
|
+
if (await fs.pathExists(path.join(projectDir, 'package.json')))
|
|
212
|
+
return 'node';
|
|
213
|
+
if (await fs.pathExists(path.join(projectDir, 'go.mod')))
|
|
214
|
+
return 'go';
|
|
215
|
+
if (await fs.pathExists(path.join(projectDir, 'Cargo.toml')))
|
|
216
|
+
return 'rust';
|
|
217
|
+
if (await fs.pathExists(path.join(projectDir, 'pyproject.toml')) ||
|
|
218
|
+
await fs.pathExists(path.join(projectDir, 'requirements.txt')) ||
|
|
219
|
+
await fs.pathExists(path.join(projectDir, 'setup.py')))
|
|
220
|
+
return 'python';
|
|
221
|
+
return 'node'; // fallback
|
|
222
|
+
}
|
|
223
|
+
//# sourceMappingURL=docker.js.map
|
package/dist/ui/CI.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { CIOptions } from '../commands/ci.js';
|
|
3
|
+
interface CIProps extends CIOptions {
|
|
4
|
+
/** Called when CI finishes (success or failure) */
|
|
5
|
+
onDone?: (success: boolean) => void;
|
|
6
|
+
}
|
|
7
|
+
export default function CI(props: CIProps): React.JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=CI.d.ts.map
|
package/dist/ui/CI.js
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import React, { useEffect, useState, useRef } from 'react';
|
|
2
|
+
import { Box, Text, useApp } from 'ink';
|
|
3
|
+
import Spinner from 'ink-spinner';
|
|
4
|
+
import { runCI } from '../commands/ci.js';
|
|
5
|
+
import Header from './Header.js';
|
|
6
|
+
import { theme } from './theme.js';
|
|
7
|
+
// =============================================================================
|
|
8
|
+
// Icons
|
|
9
|
+
// =============================================================================
|
|
10
|
+
const STATUS_ICON = {
|
|
11
|
+
pending: '○',
|
|
12
|
+
running: '●',
|
|
13
|
+
done: '✓',
|
|
14
|
+
error: '✗',
|
|
15
|
+
skipped: '–',
|
|
16
|
+
};
|
|
17
|
+
const STATUS_COLOR = {
|
|
18
|
+
pending: theme.muted,
|
|
19
|
+
running: theme.warning,
|
|
20
|
+
done: theme.success,
|
|
21
|
+
error: theme.error,
|
|
22
|
+
skipped: theme.muted,
|
|
23
|
+
};
|
|
24
|
+
// =============================================================================
|
|
25
|
+
// Component
|
|
26
|
+
// =============================================================================
|
|
27
|
+
export default function CI(props) {
|
|
28
|
+
const { exit } = useApp();
|
|
29
|
+
const [steps, setSteps] = useState([]);
|
|
30
|
+
const [done, setDone] = useState(false);
|
|
31
|
+
const [success, setSuccess] = useState(null);
|
|
32
|
+
const started = useRef(false);
|
|
33
|
+
useEffect(() => {
|
|
34
|
+
if (started.current)
|
|
35
|
+
return;
|
|
36
|
+
started.current = true;
|
|
37
|
+
const onStep = (step) => {
|
|
38
|
+
setSteps(prev => {
|
|
39
|
+
const idx = prev.findIndex(s => s.id === step.id);
|
|
40
|
+
if (idx >= 0) {
|
|
41
|
+
const next = [...prev];
|
|
42
|
+
next[idx] = step;
|
|
43
|
+
return next;
|
|
44
|
+
}
|
|
45
|
+
return [...prev, step];
|
|
46
|
+
});
|
|
47
|
+
};
|
|
48
|
+
runCI(props, onStep)
|
|
49
|
+
.then(() => {
|
|
50
|
+
setSuccess(true);
|
|
51
|
+
setDone(true);
|
|
52
|
+
props.onDone?.(true);
|
|
53
|
+
setTimeout(() => exit(), 200);
|
|
54
|
+
})
|
|
55
|
+
.catch(() => {
|
|
56
|
+
setSuccess(false);
|
|
57
|
+
setDone(true);
|
|
58
|
+
props.onDone?.(false);
|
|
59
|
+
// Give user time to read the error before exiting with failure code
|
|
60
|
+
setTimeout(() => {
|
|
61
|
+
exit();
|
|
62
|
+
process.exitCode = 1;
|
|
63
|
+
}, 300);
|
|
64
|
+
});
|
|
65
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
66
|
+
}, []);
|
|
67
|
+
const mode = props.mode ?? 'full';
|
|
68
|
+
const subtitle = mode === 'quick' ? 'ci — quick' : mode === 'shell' ? 'ci — shell' : 'ci';
|
|
69
|
+
return (React.createElement(Box, { flexDirection: "column", padding: 1 },
|
|
70
|
+
React.createElement(Header, { subtitle: subtitle }),
|
|
71
|
+
React.createElement(Box, { flexDirection: "column", marginBottom: 1 }, steps.map(step => (React.createElement(Box, { key: step.id },
|
|
72
|
+
React.createElement(Text, { color: STATUS_COLOR[step.status] },
|
|
73
|
+
step.status === 'running'
|
|
74
|
+
? React.createElement(Spinner, { type: "dots" })
|
|
75
|
+
: `${STATUS_ICON[step.status]} `,
|
|
76
|
+
step.label,
|
|
77
|
+
step.detail
|
|
78
|
+
? React.createElement(Text, { color: theme.muted, dimColor: true },
|
|
79
|
+
' ',
|
|
80
|
+
step.detail)
|
|
81
|
+
: null))))),
|
|
82
|
+
done && success === true && (React.createElement(Box, { marginTop: 1, flexDirection: "column" },
|
|
83
|
+
React.createElement(Text, { color: theme.success, bold: true }, "\u2713 CI passed \u2014 safe to push!"))),
|
|
84
|
+
done && success === false && (React.createElement(Box, { marginTop: 1, flexDirection: "column" },
|
|
85
|
+
React.createElement(Text, { color: theme.error, bold: true }, "\u2717 CI failed \u2014 fix the issues above before pushing."),
|
|
86
|
+
React.createElement(Text, { color: theme.muted, dimColor: true }, " To skip: git push --no-verify"))),
|
|
87
|
+
!done && steps.length === 0 && (React.createElement(Text, { color: theme.warning },
|
|
88
|
+
React.createElement(Spinner, { type: "dots" }),
|
|
89
|
+
' Starting CI...'))));
|
|
90
|
+
}
|
|
91
|
+
//# sourceMappingURL=CI.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "javi-forge",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Project scaffolding and AI-ready CI bootstrap",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -23,9 +23,14 @@
|
|
|
23
23
|
"ink-spinner": "^5.0.0",
|
|
24
24
|
"meow": "^14.1.0",
|
|
25
25
|
"react": "^19.2.4",
|
|
26
|
+
"update-notifier": "^7.3.1",
|
|
26
27
|
"yaml": "^2.8.2"
|
|
27
28
|
},
|
|
28
29
|
"devDependencies": {
|
|
30
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
31
|
+
"@semantic-release/exec": "^7.1.0",
|
|
32
|
+
"@semantic-release/git": "^10.0.1",
|
|
33
|
+
"@semantic-release/github": "^12.0.6",
|
|
29
34
|
"@stryker-mutator/core": "^9.6.0",
|
|
30
35
|
"@stryker-mutator/typescript-checker": "^9.6.0",
|
|
31
36
|
"@stryker-mutator/vitest-runner": "^9.6.0",
|
|
@@ -33,7 +38,10 @@
|
|
|
33
38
|
"@types/glob": "^9.0.0",
|
|
34
39
|
"@types/node": "^25.5.0",
|
|
35
40
|
"@types/react": "^19.2.14",
|
|
41
|
+
"@types/update-notifier": "^6.0.8",
|
|
36
42
|
"@vitest/coverage-v8": "^4.1.0",
|
|
43
|
+
"conventional-changelog-conventionalcommits": "^9.3.0",
|
|
44
|
+
"semantic-release": "^25.0.3",
|
|
37
45
|
"tsx": "^4.21.0",
|
|
38
46
|
"typescript": "^5.9.3",
|
|
39
47
|
"vitest": "^4.1.0"
|
package/ai-config/.skillignore
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# .skillignore — Exclude skills from sync targets
|
|
2
|
-
#
|
|
3
|
-
# Format:
|
|
4
|
-
# skill-name → exclude from ALL targets
|
|
5
|
-
# target:skill-name → exclude only from that target
|
|
6
|
-
# category/skill-name → use full relative path (no extension, no /SKILL.md)
|
|
7
|
-
#
|
|
8
|
-
# Targets: claude, opencode, cursor, aider, gemini
|
|
9
|
-
#
|
|
10
|
-
# Examples:
|
|
11
|
-
# cursor:data-ai/onnx-export # skip heavy ML skill in Cursor
|
|
12
|
-
# opencode:systems-iot/mqtt-rumqttc # skip IoT skill in OpenCode
|
|
13
|
-
# references/ai-sdk-5 # skip from all targets
|
|
14
|
-
|
|
15
|
-
# Add your exclusions below:
|
package/ai-config/AUTO_INVOKE.md
DELETED
|
@@ -1,300 +0,0 @@
|
|
|
1
|
-
# Auto-Invoke Rules
|
|
2
|
-
|
|
3
|
-
> Reglas de invocación automática de skills y agentes.
|
|
4
|
-
> **OBLIGATORIO:** Antes de realizar estas acciones, SIEMPRE carga la skill correspondiente.
|
|
5
|
-
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
## Skill Auto-Invoke Table
|
|
9
|
-
|
|
10
|
-
| Acción del Usuario | Skill a Cargar | Scope (Carpetas) |
|
|
11
|
-
|--------------------|----------------|------------------|
|
|
12
|
-
| Crear componente React/Astro | `frontend-web` | `src/`, `components/`, `pages/` |
|
|
13
|
-
| Crear componente Mantine UI | `mantine-ui` | `src/`, `components/` |
|
|
14
|
-
| Configurar Astro SSR | `astro-ssr` | `src/`, `astro.config.*` |
|
|
15
|
-
| Data fetching con React Query | `tanstack-query` | `src/`, `hooks/`, `api/` |
|
|
16
|
-
| Validar schemas/forms | `zod-validation` | `src/`, `schemas/`, `validators/` |
|
|
17
|
-
| Estado global Zustand | `zustand-state` | `src/`, `store/`, `stores/` |
|
|
18
|
-
| Crear endpoint Go/Chi | `chi-router` | `cmd/`, `internal/`, `api/` |
|
|
19
|
-
| Queries PostgreSQL con pgx | `pgx-postgres` | `internal/`, `repository/`, `db/` |
|
|
20
|
-
| Backend Go completo | `go-backend` | `cmd/`, `internal/`, `pkg/` |
|
|
21
|
-
| Crear endpoint FastAPI | `fastapi` | `src/`, `app/`, `api/` |
|
|
22
|
-
| Autenticación JWT | `jwt-auth` | `auth/`, `middleware/`, `security/` |
|
|
23
|
-
| Async Rust con Tokio | `tokio-async` | `src/`, `Cargo.toml` |
|
|
24
|
-
| IoT/MQTT messaging | `mqtt-rumqttc` | `src/`, `iot/`, `mqtt/` |
|
|
25
|
-
| Protocolo Modbus | `modbus-protocol` | `src/`, `industrial/`, `modbus/` |
|
|
26
|
-
| WebSockets real-time | `websockets` | `src/`, `ws/`, `realtime/` |
|
|
27
|
-
| Rust systems programming | `rust-systems` | `src/`, `Cargo.toml` |
|
|
28
|
-
| Time-series TimescaleDB | `timescaledb` | `db/`, `migrations/`, `sql/` |
|
|
29
|
-
| Cache Redis | `redis-cache` | `cache/`, `redis/`, `internal/` |
|
|
30
|
-
| SQLite embedded/mobile | `sqlite-embedded` | `db/`, `mobile/`, `offline/` |
|
|
31
|
-
| Analytics DuckDB | `duckdb-analytics` | `analytics/`, `data/`, `scripts/` |
|
|
32
|
-
| Deploy Kubernetes | `kubernetes` | `k8s/`, `deploy/`, `manifests/` |
|
|
33
|
-
| CI/CD DevOps | `devops-infra` | `.github/`, `ci/`, `docker/` |
|
|
34
|
-
| Docker containers | `docker-containers` | `Dockerfile*`, `docker-compose*` |
|
|
35
|
-
| Traefik routing | `traefik-proxy` | `traefik/`, `proxy/`, `ingress/` |
|
|
36
|
-
| Observability/tracing | `opentelemetry` | `observability/`, `telemetry/` |
|
|
37
|
-
| LangChain/LLM apps | `langchain` | `agents/`, `chains/`, `llm/` |
|
|
38
|
-
| AI/ML pipelines | `ai-ml` | `ml/`, `models/`, `training/` |
|
|
39
|
-
| ONNX model inference | `onnx-inference` | `models/`, `inference/`, `onnx/` |
|
|
40
|
-
| PyTorch training | `pytorch` | `training/`, `models/`, `nn/` |
|
|
41
|
-
| Scikit-learn ML | `scikit-learn` | `ml/`, `models/`, `sklearn/` |
|
|
42
|
-
| MLflow experiments | `mlflow` | `experiments/`, `mlruns/`, `mlflow/` |
|
|
43
|
-
| Vector databases/RAG | `vector-db` | `vectorstore/`, `embeddings/`, `rag/` |
|
|
44
|
-
| E2E tests Playwright | `playwright-e2e` | `tests/`, `e2e/`, `playwright/` |
|
|
45
|
-
| Unit tests Vitest | `vitest-testing` | `tests/`, `__tests__/`, `*.test.*` |
|
|
46
|
-
| Mobile Ionic/Capacitor | `mobile-ionic`, `ionic-capacitor` | `src/`, `mobile/`, `capacitor/` |
|
|
47
|
-
| Git workflow/branches | `git-workflow` | `.git/`, root |
|
|
48
|
-
| GitHub API/CLI | `git-github` | `.github/`, root |
|
|
49
|
-
| Technical documentation | `technical-docs` | `docs/`, `*.md` |
|
|
50
|
-
| Power BI reports | `powerbi` | `reports/`, `bi/`, `dashboards/` |
|
|
51
|
-
|
|
52
|
-
---
|
|
53
|
-
|
|
54
|
-
## Agent Auto-Invoke Table
|
|
55
|
-
|
|
56
|
-
| Contexto de Trabajo | Agente a Usar | Cuándo |
|
|
57
|
-
|---------------------|---------------|--------|
|
|
58
|
-
| Diseño de APIs | `api-designer` | Crear/diseñar REST, GraphQL, OpenAPI |
|
|
59
|
-
| Arquitectura backend | `backend-architect` | Diseño de servicios, microservicios |
|
|
60
|
-
| Frontend React | `react-pro` | Patterns avanzados React |
|
|
61
|
-
| Frontend Vue | `vue-specialist` | Vue 3, Composition API |
|
|
62
|
-
| Frontend Angular | `angular-expert` | Angular 17+, signals |
|
|
63
|
-
| TypeScript avanzado | `typescript-pro` | Tipos complejos, generics |
|
|
64
|
-
| Go development | `golang-pro` | Concurrencia, patterns Go |
|
|
65
|
-
| Rust systems | `rust-pro` | Memory safety, async Rust |
|
|
66
|
-
| Python development | `python-pro` | Async, type hints, FastAPI |
|
|
67
|
-
| Java/Spring | `java-enterprise` | Spring Boot, JPA |
|
|
68
|
-
| Code review | `code-reviewer` | Revisar PRs, quality checks |
|
|
69
|
-
| Testing strategy | `test-engineer` | Test planning, coverage |
|
|
70
|
-
| E2E testing | `e2e-test-specialist` | Playwright, Cypress |
|
|
71
|
-
| Security audit | `security-auditor` | OWASP, vulnerabilities |
|
|
72
|
-
| Performance | `performance-engineer` | Profiling, optimization |
|
|
73
|
-
| DevOps/CI-CD | `devops-engineer` | Pipelines, containers |
|
|
74
|
-
| Kubernetes | `kubernetes-expert` | K8s troubleshooting |
|
|
75
|
-
| Cloud architecture | `cloud-architect` | AWS, GCP, Azure design |
|
|
76
|
-
| Data engineering | `data-engineer` | ETL, data pipelines |
|
|
77
|
-
| ML/AI | `ai-engineer` | LLMs, ML production |
|
|
78
|
-
| Data science | `data-scientist` | Statistics, ML models |
|
|
79
|
-
| Documentation | `technical-writer` | Docs, guides, ADRs |
|
|
80
|
-
|
|
81
|
-
---
|
|
82
|
-
|
|
83
|
-
## Inventario Completo de Skills
|
|
84
|
-
|
|
85
|
-
> Incluye **todas** las skills disponibles (auto o manual). Las reglas automáticas siguen siendo las de la tabla anterior.
|
|
86
|
-
|
|
87
|
-
| Skill | Auto-Invoke | Scope/Notas |
|
|
88
|
-
|-------|------------|------------|
|
|
89
|
-
| `_TEMPLATE` | Manual | Plantilla |
|
|
90
|
-
| `ai-ml` | Manual | General |
|
|
91
|
-
| `analytics-concepts` | Manual | General |
|
|
92
|
-
| `analytics-spring` | Manual | General |
|
|
93
|
-
| `api-documentation` | Manual | General |
|
|
94
|
-
| `api-gateway` | Manual | General |
|
|
95
|
-
| `astro-ssr` | Auto | `src/`, `astro.config.*` |
|
|
96
|
-
| `bff-concepts` | Manual | General |
|
|
97
|
-
| `bff-spring` | Manual | General |
|
|
98
|
-
| `chaos-engineering` | Manual | General |
|
|
99
|
-
| `chaos-spring` | Manual | General |
|
|
100
|
-
| `chi-router` | Auto | `cmd/`, `internal/`, `api/` |
|
|
101
|
-
| `ci-local-guide` | Manual | General |
|
|
102
|
-
| `claude-automation-recommender` | Manual | General |
|
|
103
|
-
| `claude-md-improver` | Manual | General |
|
|
104
|
-
| `devops-infra` | Auto | `.github/`, `ci/`, `docker/` |
|
|
105
|
-
| `docker-containers` | Auto | `Dockerfile*`, `docker-compose*` |
|
|
106
|
-
| `docs-spring` | Manual | General |
|
|
107
|
-
| `duckdb-analytics` | Auto | `analytics/`, `data/`, `scripts/` |
|
|
108
|
-
| `error-handling` | Manual | General |
|
|
109
|
-
| `exceptions-spring` | Manual | General |
|
|
110
|
-
| `fastapi` | Auto | `src/`, `app/`, `api/` |
|
|
111
|
-
| `frontend-design` | Manual | General |
|
|
112
|
-
| `frontend-web` | Auto | `src/`, `components/`, `pages/` |
|
|
113
|
-
| `gateway-spring` | Manual | General |
|
|
114
|
-
| `git-github` | Auto | `.github/`, root |
|
|
115
|
-
| `git-workflow` | Auto | `.git/`, root |
|
|
116
|
-
| `go-backend` | Auto | `cmd/`, `internal/`, `pkg/` |
|
|
117
|
-
| `gradle-multimodule` | Manual | General |
|
|
118
|
-
| `graph-databases` | Manual | General |
|
|
119
|
-
| `graph-spring` | Manual | General |
|
|
120
|
-
| `graphql-concepts` | Manual | General |
|
|
121
|
-
| `graphql-spring` | Manual | General |
|
|
122
|
-
| `grpc-concepts` | Manual | General |
|
|
123
|
-
| `grpc-spring` | Manual | General |
|
|
124
|
-
| `ide-plugins` | Manual | General |
|
|
125
|
-
| `ide-plugins-intellij` | Manual | General |
|
|
126
|
-
| `ionic-capacitor` | Auto | `src/`, `mobile/`, `capacitor/` |
|
|
127
|
-
| `jwt-auth` | Auto | `auth/`, `middleware/`, `security/` |
|
|
128
|
-
| `kubernetes` | Auto | `k8s/`, `deploy/`, `manifests/` |
|
|
129
|
-
| `langchain` | Auto | `agents/`, `chains/`, `llm/` |
|
|
130
|
-
| `mantine-ui` | Auto | `src/`, `components/` |
|
|
131
|
-
| `mlflow` | Manual | General |
|
|
132
|
-
| `mobile-ionic` | Auto | `src/`, `mobile/`, `capacitor/` |
|
|
133
|
-
| `modbus-protocol` | Auto | `src/`, `industrial/`, `modbus/` |
|
|
134
|
-
| `mqtt-rumqttc` | Auto | `src/`, `iot/`, `mqtt/` |
|
|
135
|
-
| `mustache-templates` | Manual | General |
|
|
136
|
-
| `notifications-concepts` | Manual | General |
|
|
137
|
-
| `onnx-inference` | Auto | `models/`, `inference/`, `onnx/` |
|
|
138
|
-
| `opentelemetry` | Auto | `observability/`, `telemetry/` |
|
|
139
|
-
| `pgx-postgres` | Auto | `internal/`, `repository/`, `db/` |
|
|
140
|
-
| `playwright-e2e` | Auto | `tests/`, `e2e/`, `playwright/` |
|
|
141
|
-
| `powerbi` | Auto | `reports/`, `bi/`, `dashboards/` |
|
|
142
|
-
| `pytorch` | Auto | `training/`, `models/`, `nn/` |
|
|
143
|
-
| `recommendations-concepts` | Manual | General |
|
|
144
|
-
| `redis-cache` | Auto | `cache/`, `redis/`, `internal/` |
|
|
145
|
-
| `references/hooks-patterns` | Manual | Referencia |
|
|
146
|
-
| `references/mcp-servers` | Manual | Referencia |
|
|
147
|
-
| `references/plugins-reference` | Manual | Referencia |
|
|
148
|
-
| `references/skills-reference` | Manual | Referencia |
|
|
149
|
-
| `references/subagent-templates` | Manual | Referencia |
|
|
150
|
-
| `rust-systems` | Auto | `src/`, `Cargo.toml` |
|
|
151
|
-
| `scikit-learn` | Auto | `ml/`, `models/`, `sklearn/` |
|
|
152
|
-
| `search-concepts` | Manual | General |
|
|
153
|
-
| `search-spring` | Manual | General |
|
|
154
|
-
| `spring-boot-4` | Manual | General |
|
|
155
|
-
| `sqlite-embedded` | Auto | `db/`, `mobile/`, `offline/` |
|
|
156
|
-
| `tanstack-query` | Auto | `src/`, `hooks/`, `api/` |
|
|
157
|
-
| `technical-docs` | Auto | `docs/`, `*.md` |
|
|
158
|
-
| `testcontainers` | Manual | General |
|
|
159
|
-
| `timescaledb` | Auto | `db/`, `migrations/`, `sql/` |
|
|
160
|
-
| `tokio-async` | Auto | `src/`, `Cargo.toml` |
|
|
161
|
-
| `traefik-proxy` | Auto | `traefik/`, `proxy/`, `ingress/` |
|
|
162
|
-
| `vector-db` | Auto | `vectorstore/`, `embeddings/`, `rag/` |
|
|
163
|
-
| `vitest-testing` | Auto | `tests/`, `__tests__/`, `*.test.*` |
|
|
164
|
-
| `obsidian-brain-workflow` | Manual | `.project/`, `.obsidian/` |
|
|
165
|
-
| `wave-workflow` | Manual | General |
|
|
166
|
-
| `websockets` | Auto | `src/`, `ws/`, `realtime/` |
|
|
167
|
-
| `woodpecker-ci` | Manual | General |
|
|
168
|
-
| `zod-validation` | Auto | `src/`, `schemas/`, `validators/` |
|
|
169
|
-
| `zustand-state` | Auto | `src/`, `store/`, `stores/` |
|
|
170
|
-
|
|
171
|
-
---
|
|
172
|
-
|
|
173
|
-
## Inventario Completo de Agentes
|
|
174
|
-
|
|
175
|
-
> Incluye **todos** los agentes disponibles (auto o manual). Las reglas automáticas siguen siendo las de la tabla anterior.
|
|
176
|
-
|
|
177
|
-
| Agente | Auto-Invoke | Notas |
|
|
178
|
-
|--------|------------|-------|
|
|
179
|
-
| `_TEMPLATE` | Manual | Plantilla |
|
|
180
|
-
| `api-designer` | Auto | Diseño de APIs |
|
|
181
|
-
| `business-analyst` | Manual | Business |
|
|
182
|
-
| `product-strategist` | Manual | Business |
|
|
183
|
-
| `project-manager` | Manual | Business |
|
|
184
|
-
| `requirements-analyst` | Manual | Business |
|
|
185
|
-
| `technical-writer` | Auto | Documentation |
|
|
186
|
-
| `code-reviewer` | Auto | Code review |
|
|
187
|
-
| `code-reviewer-compact` | Manual | Quick review checklist |
|
|
188
|
-
| `ux-designer` | Manual | Creative |
|
|
189
|
-
| `ai-engineer` | Auto | ML/AI |
|
|
190
|
-
| `analytics-engineer` | Manual | Data/AI |
|
|
191
|
-
| `data-engineer` | Auto | Data engineering |
|
|
192
|
-
| `data-scientist` | Auto | Data science |
|
|
193
|
-
| `mlops-engineer` | Manual | Data/AI |
|
|
194
|
-
| `prompt-engineer` | Manual | Data/AI |
|
|
195
|
-
| `angular-expert` | Auto | Frontend Angular |
|
|
196
|
-
| `backend-architect` | Auto | Arquitectura backend |
|
|
197
|
-
| `database-specialist` | Manual | Development |
|
|
198
|
-
| `frontend-specialist` | Manual | Development |
|
|
199
|
-
| `fullstack-engineer` | Manual | Development |
|
|
200
|
-
| `golang-pro` | Auto | Go development |
|
|
201
|
-
| `java-enterprise` | Auto | Java/Spring |
|
|
202
|
-
| `javascript-pro` | Manual | Development |
|
|
203
|
-
| `nextjs-pro` | Manual | Development |
|
|
204
|
-
| `python-pro` | Auto | Python development |
|
|
205
|
-
| `react-pro` | Auto | Frontend React |
|
|
206
|
-
| `rust-pro` | Auto | Rust systems |
|
|
207
|
-
| `typescript-pro` | Auto | TypeScript avanzado |
|
|
208
|
-
| `vue-specialist` | Auto | Frontend Vue |
|
|
209
|
-
| `cloud-architect` | Auto | Cloud architecture |
|
|
210
|
-
| `deployment-manager` | Manual | Infra |
|
|
211
|
-
| `devops-engineer` | Auto | DevOps/CI-CD |
|
|
212
|
-
| `incident-responder` | Manual | Infra |
|
|
213
|
-
| `kubernetes-expert` | Auto | Kubernetes |
|
|
214
|
-
| `monitoring-specialist` | Manual | Infra |
|
|
215
|
-
| `performance-engineer` | Auto | Performance |
|
|
216
|
-
| `orchestrator` | Manual | Orquestación |
|
|
217
|
-
| `accessibility-auditor` | Manual | Quality |
|
|
218
|
-
| `dependency-manager` | Manual | Quality |
|
|
219
|
-
| `e2e-test-specialist` | Auto | E2E testing |
|
|
220
|
-
| `performance-tester` | Manual | Quality |
|
|
221
|
-
| `security-auditor` | Auto | Security audit |
|
|
222
|
-
| `test-engineer` | Auto | Testing strategy |
|
|
223
|
-
| `agent-generator` | Manual | Specialized |
|
|
224
|
-
| `blockchain-developer` | Manual | Specialized |
|
|
225
|
-
| `code-migrator` | Manual | Specialized |
|
|
226
|
-
| `context-manager` | Manual | Specialized |
|
|
227
|
-
| `documentation-writer` | Manual | Specialized |
|
|
228
|
-
| `ecommerce-expert` | Manual | Specialized |
|
|
229
|
-
| `embedded-engineer` | Manual | Specialized |
|
|
230
|
-
| `error-detective` | Manual | Specialized |
|
|
231
|
-
| `fintech-specialist` | Manual | Specialized |
|
|
232
|
-
| `freelance-project-planner` | Manual | Specialized |
|
|
233
|
-
| `freelance-project-planner-v2` | Manual | Specialized |
|
|
234
|
-
| `freelance-project-planner-v3` | Manual | Specialized |
|
|
235
|
-
| `freelance-project-planner-v4` | Manual | Specialized |
|
|
236
|
-
| `game-developer` | Manual | Specialized |
|
|
237
|
-
| `healthcare-dev` | Manual | Specialized |
|
|
238
|
-
| `mobile-developer` | Manual | Specialized |
|
|
239
|
-
| `parallel-plan-executor` | Manual | Specialized |
|
|
240
|
-
| `plan-executor` | Manual | Specialized |
|
|
241
|
-
| `solo-dev-planner-modular/00-INDEX` | Manual | Specialized docs |
|
|
242
|
-
| `solo-dev-planner-modular/01-CORE` | Manual | Specialized docs |
|
|
243
|
-
| `solo-dev-planner-modular/02-SELF-CORRECTION` | Manual | Specialized docs |
|
|
244
|
-
| `solo-dev-planner-modular/03-PROGRESSIVE-SETUP` | Manual | Specialized docs |
|
|
245
|
-
| `solo-dev-planner-modular/04-DEPLOYMENT` | Manual | Specialized docs |
|
|
246
|
-
| `solo-dev-planner-modular/05-TESTING` | Manual | Specialized docs |
|
|
247
|
-
| `solo-dev-planner-modular/06-OPERATIONS` | Manual | Specialized docs |
|
|
248
|
-
| `solo-dev-planner-modular/INSTALL` | Manual | Specialized docs |
|
|
249
|
-
| `solo-dev-planner-modular/README` | Manual | Specialized docs |
|
|
250
|
-
| `solo-dev-planner-modular/solo-dev-planner` | Manual | Specialized docs |
|
|
251
|
-
| `solo-dev-planner-modular/START-HERE` | Manual | Specialized docs |
|
|
252
|
-
| `solo-dev-planner-modular/WORKFLOW-DIAGRAM` | Manual | Specialized docs |
|
|
253
|
-
| `vibekanban-smart-worker` | Manual | Specialized |
|
|
254
|
-
| `workflow-optimizer` | Manual | Specialized |
|
|
255
|
-
| `spring-boot-4-expert` | Manual | Specialized |
|
|
256
|
-
| `template-writer` | Manual | Specialized |
|
|
257
|
-
| `test-runner` | Manual | Specialized |
|
|
258
|
-
| `wave-executor` | Manual | Specialized |
|
|
259
|
-
|
|
260
|
-
## Reglas de Invocación
|
|
261
|
-
|
|
262
|
-
### 1. Detección por Carpeta (Scope)
|
|
263
|
-
```
|
|
264
|
-
Si el archivo está en src/components/ → Cargar frontend-web, mantine-ui
|
|
265
|
-
Si el archivo está en internal/api/ → Cargar chi-router, go-backend
|
|
266
|
-
Si el archivo está en k8s/ → Cargar kubernetes, devops-infra
|
|
267
|
-
```
|
|
268
|
-
|
|
269
|
-
### 2. Detección por Extensión
|
|
270
|
-
```
|
|
271
|
-
*.tsx, *.jsx → frontend-web, tanstack-query
|
|
272
|
-
*.go → go-backend, chi-router
|
|
273
|
-
*.rs → rust-systems, tokio-async
|
|
274
|
-
*.py → fastapi, ai-ml
|
|
275
|
-
*.yaml (k8s) → kubernetes
|
|
276
|
-
```
|
|
277
|
-
|
|
278
|
-
### 3. Detección por Contenido
|
|
279
|
-
```
|
|
280
|
-
import { useQuery } → tanstack-query
|
|
281
|
-
import { z } from 'zod' → zod-validation
|
|
282
|
-
from fastapi import → fastapi
|
|
283
|
-
use tokio:: → tokio-async
|
|
284
|
-
```
|
|
285
|
-
|
|
286
|
-
---
|
|
287
|
-
|
|
288
|
-
## Ejemplo de Uso
|
|
289
|
-
|
|
290
|
-
**Usuario:** "Crea un componente de tabla con paginación"
|
|
291
|
-
|
|
292
|
-
**Proceso del Orquestador:**
|
|
293
|
-
1. Detecta: "componente" → Cargar `frontend-web`
|
|
294
|
-
2. Detecta: "tabla" → Cargar `mantine-ui` (tiene DataTable pattern)
|
|
295
|
-
3. Si hay data fetching → Cargar `tanstack-query`
|
|
296
|
-
4. Ejecutar con contexto de los 3 skills cargados
|
|
297
|
-
|
|
298
|
-
---
|
|
299
|
-
|
|
300
|
-
*Auto-generado. Mantener sincronizado con skills disponibles.*
|