@qubiit/lmagent 2.5.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/.editorconfig +18 -0
- package/AGENTS.md +169 -0
- package/CLAUDE.md +122 -0
- package/CONTRIBUTING.md +90 -0
- package/LICENSE +21 -0
- package/README.md +195 -0
- package/config/commands.yaml +194 -0
- package/config/levels.yaml +135 -0
- package/config/models.yaml +192 -0
- package/config/settings.yaml +405 -0
- package/config/tools-extended.yaml +534 -0
- package/config/tools.yaml +437 -0
- package/docs/assets/logo.png +0 -0
- package/docs/commands.md +132 -0
- package/docs/customization-guide.md +445 -0
- package/docs/getting-started.md +154 -0
- package/docs/how-to-start.md +242 -0
- package/docs/navigation-index.md +227 -0
- package/docs/usage-guide.md +113 -0
- package/install.js +1044 -0
- package/package.json +35 -0
- package/pyproject.toml +182 -0
- package/rules/_bootstrap.md +138 -0
- package/rules/agents-ia.md +607 -0
- package/rules/api-design.md +337 -0
- package/rules/automations-n8n.md +646 -0
- package/rules/code-style.md +570 -0
- package/rules/documentation.md +98 -0
- package/rules/security.md +316 -0
- package/rules/stack.md +395 -0
- package/rules/testing.md +326 -0
- package/rules/workflow.md +353 -0
- package/scripts/create_skill.js +300 -0
- package/scripts/validate_skills.js +283 -0
- package/skills/ai-agent-engineer/SKILL.md +394 -0
- package/skills/ai-agent-engineer/references/agent-patterns.md +149 -0
- package/skills/api-designer/SKILL.md +429 -0
- package/skills/api-designer/references/api-standards.md +13 -0
- package/skills/architect/SKILL.md +285 -0
- package/skills/architect/references/c4-model.md +133 -0
- package/skills/automation-engineer/SKILL.md +352 -0
- package/skills/automation-engineer/references/n8n-patterns.md +127 -0
- package/skills/backend-engineer/SKILL.md +261 -0
- package/skills/backend-engineer/assets/fastapi-project-structure.yaml +74 -0
- package/skills/backend-engineer/references/debugging-guide.md +174 -0
- package/skills/backend-engineer/references/design-patterns.md +208 -0
- package/skills/backend-engineer/scripts/scaffold_backend.py +313 -0
- package/skills/bmad-methodology/SKILL.md +202 -0
- package/skills/bmad-methodology/references/scale-adaptive-levels.md +141 -0
- package/skills/browser-agent/SKILL.md +502 -0
- package/skills/browser-agent/scripts/playwright_setup.ts +16 -0
- package/skills/code-reviewer/SKILL.md +306 -0
- package/skills/code-reviewer/references/code-review-checklist.md +16 -0
- package/skills/data-engineer/SKILL.md +474 -0
- package/skills/data-engineer/assets/pg-monitoring-queries.sql +154 -0
- package/skills/data-engineer/references/index-strategy.md +128 -0
- package/skills/data-engineer/scripts/backup_postgres.py +221 -0
- package/skills/devops-engineer/SKILL.md +547 -0
- package/skills/devops-engineer/references/ci-cd-patterns.md +265 -0
- package/skills/devops-engineer/scripts/docker_healthcheck.py +125 -0
- package/skills/document-generator/SKILL.md +746 -0
- package/skills/document-generator/references/pdf-generation.md +22 -0
- package/skills/frontend-engineer/SKILL.md +532 -0
- package/skills/frontend-engineer/references/accessibility-guide.md +146 -0
- package/skills/frontend-engineer/scripts/audit_bundle.py +144 -0
- package/skills/git-workflow/SKILL.md +374 -0
- package/skills/git-workflow/references/git-flow.md +25 -0
- package/skills/mcp-builder/SKILL.md +471 -0
- package/skills/mcp-builder/references/mcp-server-guide.md +23 -0
- package/skills/mobile-engineer/SKILL.md +502 -0
- package/skills/mobile-engineer/references/platform-guidelines.md +160 -0
- package/skills/orchestrator/SKILL.md +246 -0
- package/skills/orchestrator/references/methodology-routing.md +117 -0
- package/skills/orchestrator/references/persona-mapping.md +85 -0
- package/skills/orchestrator/references/routing-logic.md +110 -0
- package/skills/performance-engineer/SKILL.md +549 -0
- package/skills/performance-engineer/references/caching-patterns.md +181 -0
- package/skills/performance-engineer/scripts/profile_endpoint.py +170 -0
- package/skills/product-manager/SKILL.md +488 -0
- package/skills/product-manager/references/prioritization-frameworks.md +126 -0
- package/skills/prompt-engineer/SKILL.md +433 -0
- package/skills/prompt-engineer/references/prompt-patterns.md +158 -0
- package/skills/qa-engineer/SKILL.md +441 -0
- package/skills/qa-engineer/references/testing-strategy.md +166 -0
- package/skills/qa-engineer/scripts/run_coverage.py +147 -0
- package/skills/scrum-master/SKILL.md +225 -0
- package/skills/scrum-master/references/sprint-ceremonies.md +159 -0
- package/skills/security-analyst/SKILL.md +390 -0
- package/skills/security-analyst/references/owasp-top10.md +188 -0
- package/skills/security-analyst/scripts/audit_security.py +242 -0
- package/skills/seo-auditor/SKILL.md +523 -0
- package/skills/seo-auditor/references/seo-checklist.md +17 -0
- package/skills/spec-driven-dev/SKILL.md +342 -0
- package/skills/spec-driven-dev/references/phase-gates.md +107 -0
- package/skills/supabase-expert/SKILL.md +602 -0
- package/skills/supabase-expert/references/supabase-patterns.md +19 -0
- package/skills/swe-agent/SKILL.md +311 -0
- package/skills/swe-agent/references/trajectory-format.md +134 -0
- package/skills/systematic-debugger/SKILL.md +512 -0
- package/skills/systematic-debugger/references/debugging-guide.md +12 -0
- package/skills/tech-lead/SKILL.md +409 -0
- package/skills/tech-lead/references/code-review-checklist.md +111 -0
- package/skills/technical-writer/SKILL.md +631 -0
- package/skills/technical-writer/references/doc-templates.md +218 -0
- package/skills/testing-strategist/SKILL.md +476 -0
- package/skills/testing-strategist/references/testing-pyramid.md +16 -0
- package/skills/ux-ui-designer/SKILL.md +419 -0
- package/skills/ux-ui-designer/references/design-system-foundation.md +168 -0
- package/skills_overview.txt +94 -0
- package/templates/PROJECT_KICKOFF.md +284 -0
- package/templates/SKILL_TEMPLATE.md +131 -0
- package/templates/USAGE.md +95 -0
- package/templates/agent-python/README.md +71 -0
- package/templates/agent-python/agent.py +272 -0
- package/templates/agent-python/config.yaml +76 -0
- package/templates/agent-python/prompts/system.md +109 -0
- package/templates/agent-python/requirements.txt +7 -0
- package/templates/automation-n8n/README.md +14 -0
- package/templates/automation-n8n/webhook-handler.json +57 -0
- package/templates/backend-node/Dockerfile +12 -0
- package/templates/backend-node/README.md +15 -0
- package/templates/backend-node/package.json +30 -0
- package/templates/backend-node/src/index.ts +19 -0
- package/templates/backend-node/src/routes.ts +7 -0
- package/templates/backend-node/tsconfig.json +22 -0
- package/templates/backend-python/Dockerfile +11 -0
- package/templates/backend-python/README.md +78 -0
- package/templates/backend-python/app/core/config.py +12 -0
- package/templates/backend-python/app/core/database.py +12 -0
- package/templates/backend-python/app/main.py +17 -0
- package/templates/backend-python/app/routers/__init__.py +1 -0
- package/templates/backend-python/app/routers/health.py +7 -0
- package/templates/backend-python/requirements-dev.txt +6 -0
- package/templates/backend-python/requirements.txt +4 -0
- package/templates/backend-python/tests/test_health.py +9 -0
- package/templates/checkpoint.yaml +117 -0
- package/templates/database/README.md +474 -0
- package/templates/frontend-react/README.md +446 -0
- package/templates/plan.yaml +320 -0
- package/templates/session.yaml +125 -0
- package/templates/spec.yaml +229 -0
- package/templates/tasks.yaml +330 -0
- package/workflows/bugfix-backend.md +380 -0
- package/workflows/documentation.md +232 -0
- package/workflows/generate-prd.md +320 -0
- package/workflows/ideation.md +396 -0
- package/workflows/new-agent-ia.md +497 -0
- package/workflows/new-automation.md +374 -0
- package/workflows/new-feature.md +290 -0
- package/workflows/optimize-performance.md +373 -0
- package/workflows/resolve-github-issue.md +524 -0
- package/workflows/security-review.md +291 -0
- package/workflows/spec-driven.md +476 -0
- package/workflows/testing-strategy.md +296 -0
- package/workflows/third-party-integration.md +277 -0
|
@@ -0,0 +1,437 @@
|
|
|
1
|
+
# LMAgent Tool Registry
|
|
2
|
+
# Configuración declarativa de herramientas disponibles para agentes
|
|
3
|
+
# Inspirado en SWE-agent tool system
|
|
4
|
+
|
|
5
|
+
version: "1.0"
|
|
6
|
+
|
|
7
|
+
# Configuración global de tools
|
|
8
|
+
settings:
|
|
9
|
+
default_timeout: 30
|
|
10
|
+
max_retries: 3
|
|
11
|
+
sandbox_enabled: true
|
|
12
|
+
cost_tracking: true
|
|
13
|
+
trajectory_logging: true
|
|
14
|
+
|
|
15
|
+
# Registro de herramientas
|
|
16
|
+
tools:
|
|
17
|
+
# ============================================
|
|
18
|
+
# HTTP & API Tools
|
|
19
|
+
# ============================================
|
|
20
|
+
http_request:
|
|
21
|
+
name: "HTTP Request"
|
|
22
|
+
module: "lmagent.tools.http_tool"
|
|
23
|
+
class: "HttpTool"
|
|
24
|
+
description: "Realiza requests HTTP a APIs externas"
|
|
25
|
+
category: "network"
|
|
26
|
+
parameters:
|
|
27
|
+
- name: url
|
|
28
|
+
type: string
|
|
29
|
+
required: true
|
|
30
|
+
description: "URL completa del endpoint"
|
|
31
|
+
- name: method
|
|
32
|
+
type: string
|
|
33
|
+
enum: [GET, POST, PUT, PATCH, DELETE]
|
|
34
|
+
default: "GET"
|
|
35
|
+
- name: headers
|
|
36
|
+
type: object
|
|
37
|
+
required: false
|
|
38
|
+
description: "Headers HTTP adicionales"
|
|
39
|
+
- name: body
|
|
40
|
+
type: object
|
|
41
|
+
required: false
|
|
42
|
+
description: "Body del request (para POST/PUT/PATCH)"
|
|
43
|
+
- name: timeout
|
|
44
|
+
type: integer
|
|
45
|
+
default: 30
|
|
46
|
+
description: "Timeout en segundos"
|
|
47
|
+
returns:
|
|
48
|
+
type: object
|
|
49
|
+
properties:
|
|
50
|
+
status_code: integer
|
|
51
|
+
headers: object
|
|
52
|
+
body: any
|
|
53
|
+
|
|
54
|
+
# ============================================
|
|
55
|
+
# Database Tools
|
|
56
|
+
# ============================================
|
|
57
|
+
database_query:
|
|
58
|
+
name: "Database Query"
|
|
59
|
+
module: "lmagent.tools.database_tool"
|
|
60
|
+
class: "DatabaseTool"
|
|
61
|
+
description: "Ejecuta queries en PostgreSQL"
|
|
62
|
+
category: "database"
|
|
63
|
+
parameters:
|
|
64
|
+
- name: query
|
|
65
|
+
type: string
|
|
66
|
+
required: true
|
|
67
|
+
description: "Query SQL a ejecutar"
|
|
68
|
+
- name: params
|
|
69
|
+
type: array
|
|
70
|
+
required: false
|
|
71
|
+
description: "Parámetros para query parametrizada"
|
|
72
|
+
- name: fetch
|
|
73
|
+
type: string
|
|
74
|
+
enum: [all, one, none]
|
|
75
|
+
default: "all"
|
|
76
|
+
description: "Tipo de fetch para resultados"
|
|
77
|
+
requires:
|
|
78
|
+
- DATABASE_URL
|
|
79
|
+
security:
|
|
80
|
+
- "Solo queries SELECT permitidas por defecto"
|
|
81
|
+
- "Queries de modificación requieren confirmación"
|
|
82
|
+
returns:
|
|
83
|
+
type: array
|
|
84
|
+
items: object
|
|
85
|
+
|
|
86
|
+
database_schema:
|
|
87
|
+
name: "Database Schema"
|
|
88
|
+
module: "lmagent.tools.database_tool"
|
|
89
|
+
class: "DatabaseSchemaTool"
|
|
90
|
+
description: "Obtiene información del schema de la base de datos"
|
|
91
|
+
category: "database"
|
|
92
|
+
parameters:
|
|
93
|
+
- name: table
|
|
94
|
+
type: string
|
|
95
|
+
required: false
|
|
96
|
+
description: "Nombre de tabla específica (opcional)"
|
|
97
|
+
requires:
|
|
98
|
+
- DATABASE_URL
|
|
99
|
+
returns:
|
|
100
|
+
type: object
|
|
101
|
+
|
|
102
|
+
# ============================================
|
|
103
|
+
# Cache & State Tools
|
|
104
|
+
# ============================================
|
|
105
|
+
redis_cache:
|
|
106
|
+
name: "Redis Cache"
|
|
107
|
+
module: "lmagent.tools.redis_tool"
|
|
108
|
+
class: "RedisTool"
|
|
109
|
+
description: "Operaciones de cache y estado rápido en Redis"
|
|
110
|
+
category: "cache"
|
|
111
|
+
parameters:
|
|
112
|
+
- name: operation
|
|
113
|
+
type: string
|
|
114
|
+
enum: [get, set, delete, expire, exists, keys]
|
|
115
|
+
required: true
|
|
116
|
+
- name: key
|
|
117
|
+
type: string
|
|
118
|
+
required: true
|
|
119
|
+
description: "Clave Redis"
|
|
120
|
+
- name: value
|
|
121
|
+
type: any
|
|
122
|
+
required: false
|
|
123
|
+
description: "Valor para operación SET"
|
|
124
|
+
- name: ttl
|
|
125
|
+
type: integer
|
|
126
|
+
required: false
|
|
127
|
+
description: "TTL en segundos para SET/EXPIRE"
|
|
128
|
+
requires:
|
|
129
|
+
- REDIS_URL
|
|
130
|
+
returns:
|
|
131
|
+
type: any
|
|
132
|
+
|
|
133
|
+
# ============================================
|
|
134
|
+
# GitHub Tools
|
|
135
|
+
# ============================================
|
|
136
|
+
github_issue:
|
|
137
|
+
name: "GitHub Issue"
|
|
138
|
+
module: "lmagent.tools.github_tool"
|
|
139
|
+
class: "GitHubIssueTool"
|
|
140
|
+
description: "Interactúa con GitHub Issues"
|
|
141
|
+
category: "github"
|
|
142
|
+
parameters:
|
|
143
|
+
- name: action
|
|
144
|
+
type: string
|
|
145
|
+
enum: [get, list, create, update, close, comment]
|
|
146
|
+
required: true
|
|
147
|
+
- name: owner
|
|
148
|
+
type: string
|
|
149
|
+
required: true
|
|
150
|
+
description: "Owner del repositorio"
|
|
151
|
+
- name: repo
|
|
152
|
+
type: string
|
|
153
|
+
required: true
|
|
154
|
+
description: "Nombre del repositorio"
|
|
155
|
+
- name: issue_number
|
|
156
|
+
type: integer
|
|
157
|
+
required: false
|
|
158
|
+
description: "Número del issue (para get/update/close/comment)"
|
|
159
|
+
- name: title
|
|
160
|
+
type: string
|
|
161
|
+
required: false
|
|
162
|
+
description: "Título (para create)"
|
|
163
|
+
- name: body
|
|
164
|
+
type: string
|
|
165
|
+
required: false
|
|
166
|
+
description: "Contenido del issue o comentario"
|
|
167
|
+
- name: labels
|
|
168
|
+
type: array
|
|
169
|
+
required: false
|
|
170
|
+
description: "Labels a aplicar"
|
|
171
|
+
requires:
|
|
172
|
+
- GITHUB_TOKEN
|
|
173
|
+
returns:
|
|
174
|
+
type: object
|
|
175
|
+
|
|
176
|
+
github_pr:
|
|
177
|
+
name: "GitHub Pull Request"
|
|
178
|
+
module: "lmagent.tools.github_tool"
|
|
179
|
+
class: "GitHubPRTool"
|
|
180
|
+
description: "Interactúa con GitHub Pull Requests"
|
|
181
|
+
category: "github"
|
|
182
|
+
parameters:
|
|
183
|
+
- name: action
|
|
184
|
+
type: string
|
|
185
|
+
enum: [get, list, create, update, merge, review]
|
|
186
|
+
required: true
|
|
187
|
+
- name: owner
|
|
188
|
+
type: string
|
|
189
|
+
required: true
|
|
190
|
+
- name: repo
|
|
191
|
+
type: string
|
|
192
|
+
required: true
|
|
193
|
+
- name: pr_number
|
|
194
|
+
type: integer
|
|
195
|
+
required: false
|
|
196
|
+
- name: title
|
|
197
|
+
type: string
|
|
198
|
+
required: false
|
|
199
|
+
- name: body
|
|
200
|
+
type: string
|
|
201
|
+
required: false
|
|
202
|
+
- name: head
|
|
203
|
+
type: string
|
|
204
|
+
required: false
|
|
205
|
+
description: "Branch de origen"
|
|
206
|
+
- name: base
|
|
207
|
+
type: string
|
|
208
|
+
required: false
|
|
209
|
+
default: "main"
|
|
210
|
+
description: "Branch destino"
|
|
211
|
+
requires:
|
|
212
|
+
- GITHUB_TOKEN
|
|
213
|
+
returns:
|
|
214
|
+
type: object
|
|
215
|
+
|
|
216
|
+
# ============================================
|
|
217
|
+
# Code Execution Tools
|
|
218
|
+
# ============================================
|
|
219
|
+
sandbox_execute:
|
|
220
|
+
name: "Sandbox Execute"
|
|
221
|
+
module: "lmagent.tools.sandbox_tool"
|
|
222
|
+
class: "SandboxTool"
|
|
223
|
+
description: "Ejecuta código en un sandbox Docker aislado"
|
|
224
|
+
category: "execution"
|
|
225
|
+
parameters:
|
|
226
|
+
- name: code
|
|
227
|
+
type: string
|
|
228
|
+
required: true
|
|
229
|
+
description: "Código a ejecutar"
|
|
230
|
+
- name: language
|
|
231
|
+
type: string
|
|
232
|
+
enum: [python, node, bash]
|
|
233
|
+
default: "python"
|
|
234
|
+
- name: timeout
|
|
235
|
+
type: integer
|
|
236
|
+
default: 30
|
|
237
|
+
max: 300
|
|
238
|
+
description: "Timeout en segundos"
|
|
239
|
+
- name: files
|
|
240
|
+
type: object
|
|
241
|
+
required: false
|
|
242
|
+
description: "Archivos adicionales a montar"
|
|
243
|
+
config:
|
|
244
|
+
image: "lmagent/sandbox:latest"
|
|
245
|
+
max_memory: "256m"
|
|
246
|
+
max_cpu: "0.5"
|
|
247
|
+
network: "none"
|
|
248
|
+
security:
|
|
249
|
+
- "Ejecución aislada en container"
|
|
250
|
+
- "Sin acceso a red por defecto"
|
|
251
|
+
- "Recursos limitados"
|
|
252
|
+
returns:
|
|
253
|
+
type: object
|
|
254
|
+
properties:
|
|
255
|
+
stdout: string
|
|
256
|
+
stderr: string
|
|
257
|
+
exit_code: integer
|
|
258
|
+
duration_ms: integer
|
|
259
|
+
|
|
260
|
+
# ============================================
|
|
261
|
+
# File System Tools
|
|
262
|
+
# ============================================
|
|
263
|
+
file_read:
|
|
264
|
+
name: "File Read"
|
|
265
|
+
module: "lmagent.tools.file_tool"
|
|
266
|
+
class: "FileReadTool"
|
|
267
|
+
description: "Lee contenido de archivos del proyecto"
|
|
268
|
+
category: "filesystem"
|
|
269
|
+
parameters:
|
|
270
|
+
- name: path
|
|
271
|
+
type: string
|
|
272
|
+
required: true
|
|
273
|
+
description: "Ruta relativa al archivo"
|
|
274
|
+
- name: start_line
|
|
275
|
+
type: integer
|
|
276
|
+
required: false
|
|
277
|
+
description: "Línea inicial (1-indexed)"
|
|
278
|
+
- name: end_line
|
|
279
|
+
type: integer
|
|
280
|
+
required: false
|
|
281
|
+
description: "Línea final (inclusive)"
|
|
282
|
+
security:
|
|
283
|
+
- "Solo archivos dentro del proyecto"
|
|
284
|
+
- "Respeta .gitignore"
|
|
285
|
+
returns:
|
|
286
|
+
type: object
|
|
287
|
+
properties:
|
|
288
|
+
content: string
|
|
289
|
+
lines: integer
|
|
290
|
+
path: string
|
|
291
|
+
|
|
292
|
+
file_write:
|
|
293
|
+
name: "File Write"
|
|
294
|
+
module: "lmagent.tools.file_tool"
|
|
295
|
+
class: "FileWriteTool"
|
|
296
|
+
description: "Escribe o modifica archivos del proyecto"
|
|
297
|
+
category: "filesystem"
|
|
298
|
+
parameters:
|
|
299
|
+
- name: path
|
|
300
|
+
type: string
|
|
301
|
+
required: true
|
|
302
|
+
- name: content
|
|
303
|
+
type: string
|
|
304
|
+
required: true
|
|
305
|
+
- name: mode
|
|
306
|
+
type: string
|
|
307
|
+
enum: [overwrite, append, insert]
|
|
308
|
+
default: "overwrite"
|
|
309
|
+
- name: line
|
|
310
|
+
type: integer
|
|
311
|
+
required: false
|
|
312
|
+
description: "Línea para mode=insert"
|
|
313
|
+
security:
|
|
314
|
+
- "Requiere confirmación para archivos críticos"
|
|
315
|
+
- "Backup automático antes de modificar"
|
|
316
|
+
returns:
|
|
317
|
+
type: object
|
|
318
|
+
properties:
|
|
319
|
+
success: boolean
|
|
320
|
+
path: string
|
|
321
|
+
backup_path: string
|
|
322
|
+
|
|
323
|
+
file_search:
|
|
324
|
+
name: "File Search"
|
|
325
|
+
module: "lmagent.tools.file_tool"
|
|
326
|
+
class: "FileSearchTool"
|
|
327
|
+
description: "Busca patrones en archivos del proyecto"
|
|
328
|
+
category: "filesystem"
|
|
329
|
+
parameters:
|
|
330
|
+
- name: pattern
|
|
331
|
+
type: string
|
|
332
|
+
required: true
|
|
333
|
+
description: "Patrón de búsqueda (regex soportado)"
|
|
334
|
+
- name: path
|
|
335
|
+
type: string
|
|
336
|
+
default: "."
|
|
337
|
+
description: "Directorio base de búsqueda"
|
|
338
|
+
- name: include
|
|
339
|
+
type: array
|
|
340
|
+
required: false
|
|
341
|
+
description: "Patrones de archivos a incluir (ej: *.py)"
|
|
342
|
+
- name: exclude
|
|
343
|
+
type: array
|
|
344
|
+
required: false
|
|
345
|
+
description: "Patrones de archivos a excluir"
|
|
346
|
+
- name: max_results
|
|
347
|
+
type: integer
|
|
348
|
+
default: 50
|
|
349
|
+
returns:
|
|
350
|
+
type: array
|
|
351
|
+
items:
|
|
352
|
+
type: object
|
|
353
|
+
properties:
|
|
354
|
+
file: string
|
|
355
|
+
line: integer
|
|
356
|
+
content: string
|
|
357
|
+
|
|
358
|
+
# ============================================
|
|
359
|
+
# n8n Integration Tools
|
|
360
|
+
# ============================================
|
|
361
|
+
n8n_webhook:
|
|
362
|
+
name: "n8n Webhook Trigger"
|
|
363
|
+
module: "lmagent.tools.n8n_tool"
|
|
364
|
+
class: "N8nWebhookTool"
|
|
365
|
+
description: "Dispara webhooks de n8n"
|
|
366
|
+
category: "automation"
|
|
367
|
+
parameters:
|
|
368
|
+
- name: webhook_url
|
|
369
|
+
type: string
|
|
370
|
+
required: true
|
|
371
|
+
description: "URL del webhook de n8n"
|
|
372
|
+
- name: payload
|
|
373
|
+
type: object
|
|
374
|
+
required: true
|
|
375
|
+
description: "Datos a enviar al webhook"
|
|
376
|
+
- name: method
|
|
377
|
+
type: string
|
|
378
|
+
enum: [GET, POST]
|
|
379
|
+
default: "POST"
|
|
380
|
+
returns:
|
|
381
|
+
type: object
|
|
382
|
+
|
|
383
|
+
n8n_workflow:
|
|
384
|
+
name: "n8n Workflow Execute"
|
|
385
|
+
module: "lmagent.tools.n8n_tool"
|
|
386
|
+
class: "N8nWorkflowTool"
|
|
387
|
+
description: "Ejecuta workflows de n8n via API"
|
|
388
|
+
category: "automation"
|
|
389
|
+
parameters:
|
|
390
|
+
- name: workflow_id
|
|
391
|
+
type: string
|
|
392
|
+
required: true
|
|
393
|
+
- name: data
|
|
394
|
+
type: object
|
|
395
|
+
required: false
|
|
396
|
+
requires:
|
|
397
|
+
- N8N_API_URL
|
|
398
|
+
- N8N_API_KEY
|
|
399
|
+
returns:
|
|
400
|
+
type: object
|
|
401
|
+
|
|
402
|
+
# Categorías de herramientas
|
|
403
|
+
categories:
|
|
404
|
+
network:
|
|
405
|
+
name: "Network & APIs"
|
|
406
|
+
description: "Herramientas para comunicación HTTP"
|
|
407
|
+
icon: "🌐"
|
|
408
|
+
|
|
409
|
+
database:
|
|
410
|
+
name: "Database"
|
|
411
|
+
description: "Herramientas para interactuar con bases de datos"
|
|
412
|
+
icon: "🗄️"
|
|
413
|
+
|
|
414
|
+
cache:
|
|
415
|
+
name: "Cache & State"
|
|
416
|
+
description: "Herramientas para cache y estado temporal"
|
|
417
|
+
icon: "⚡"
|
|
418
|
+
|
|
419
|
+
github:
|
|
420
|
+
name: "GitHub"
|
|
421
|
+
description: "Herramientas para interactuar con GitHub"
|
|
422
|
+
icon: "🐙"
|
|
423
|
+
|
|
424
|
+
execution:
|
|
425
|
+
name: "Code Execution"
|
|
426
|
+
description: "Herramientas para ejecutar código"
|
|
427
|
+
icon: "▶️"
|
|
428
|
+
|
|
429
|
+
filesystem:
|
|
430
|
+
name: "File System"
|
|
431
|
+
description: "Herramientas para trabajar con archivos"
|
|
432
|
+
icon: "📁"
|
|
433
|
+
|
|
434
|
+
automation:
|
|
435
|
+
name: "Automation"
|
|
436
|
+
description: "Herramientas para automatización (n8n, etc.)"
|
|
437
|
+
icon: "🤖"
|
|
Binary file
|
package/docs/commands.md
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
# LMAgent IDE Commands & Aliases
|
|
2
|
+
|
|
3
|
+
Este documento define los comandos rápidos para activar personas y funcionalidades.
|
|
4
|
+
|
|
5
|
+
## Personas
|
|
6
|
+
|
|
7
|
+
| Comando | Alias | Activa | Uso |
|
|
8
|
+
|---------|-------|--------|-----|
|
|
9
|
+
| `/pm` | `/product` | Product Manager | Requisitos, user stories, PRDs |
|
|
10
|
+
| `/arch` | `/architect` | Architect | Diseño de sistemas, ADRs |
|
|
11
|
+
| `/dev` | `/backend` | Backend Engineer | Implementación backend |
|
|
12
|
+
| `/frontend` | `/fe` | Frontend Engineer | React/Next.js, UI |
|
|
13
|
+
| `/auto` | `/n8n` | Automation Engineer | Automatizaciones, webhooks |
|
|
14
|
+
| `/ai` | `/agent` | AI Agent Engineer | Agentes de IA, prompts |
|
|
15
|
+
| `/qa` | `/test` | QA Engineer | Testing, calidad |
|
|
16
|
+
| `/sec` | `/security` | Security Analyst | Seguridad, auditoría |
|
|
17
|
+
| `/sm` | `/scrum` | Scrum Master | Ceremonias, métricas |
|
|
18
|
+
| `/orch` | `/orchestrator` | Orchestrator | Meta-routing automático |
|
|
19
|
+
| `/ux` | `/ui`, `/design` | UX/UI Designer | Diseño, accesibilidad |
|
|
20
|
+
| `/devops` | `/ops` | DevOps Engineer | CI/CD, infraestructura |
|
|
21
|
+
| `/dba` | `/db`, `/data` | Data Engineer | Base de datos, SQL |
|
|
22
|
+
| `/lead` | `/tl` | Tech Lead | Decisiones, mentoring |
|
|
23
|
+
| `/writer` | `/docs` | Technical Writer | Documentación |
|
|
24
|
+
| `/mobile` | `/rn` | Mobile Engineer | React Native, apps |
|
|
25
|
+
| `/perf` | `/performance` | Performance Engineer | Optimización |
|
|
26
|
+
| `/bmad` | `/kickoff`, `/classify` | BMAD Methodology | Scale-adaptive intelligence, niveles |
|
|
27
|
+
| `/swe` | `/issue-solve`, `/trajectory` | SWE-Agent | Resolución autónoma de issues |
|
|
28
|
+
| `/spec-dev` | `/sdd-skill`, `/spec-method` | Spec-Driven Dev | Pipeline SPECIFY→PLAN→TASKS→IMPL→VERIFY |
|
|
29
|
+
|
|
30
|
+
## Modos
|
|
31
|
+
|
|
32
|
+
| Comando | Descripción |
|
|
33
|
+
|---------|-------------|
|
|
34
|
+
| `/yolo` | Modo sin confirmaciones (Level 0-2) |
|
|
35
|
+
| `/verbose` | Respuestas detalladas |
|
|
36
|
+
| `/minimal` | Respuestas concisas |
|
|
37
|
+
| `/plan` | Solo planificar, no ejecutar |
|
|
38
|
+
| `/execute` | Ejecutar plan previamente aprobado |
|
|
39
|
+
|
|
40
|
+
## Workflows
|
|
41
|
+
|
|
42
|
+
| Comando | Workflow |
|
|
43
|
+
|---------|----------|
|
|
44
|
+
| `/new-auto` | new-automation.md |
|
|
45
|
+
| `/new-agent` | new-agent-ia.md |
|
|
46
|
+
| `/fix` | bugfix-backend.md |
|
|
47
|
+
| `/perf` | optimize-performance.md |
|
|
48
|
+
| `/issue` | resolve-github-issue.md |
|
|
49
|
+
| `/security-review` | security-review.md |
|
|
50
|
+
| `/prd` | generate-prd.md |
|
|
51
|
+
| `/brainstorm` | ideation.md |
|
|
52
|
+
| `/spec` | spec-driven.md |
|
|
53
|
+
| `/feature` | new-feature.md |
|
|
54
|
+
|
|
55
|
+
## Niveles
|
|
56
|
+
|
|
57
|
+
| Comando | Nivel | Confirmación |
|
|
58
|
+
|---------|-------|--------------|
|
|
59
|
+
| `/l0` | Trivial | No |
|
|
60
|
+
| `/l1` | Small | No |
|
|
61
|
+
| `/l2` | Medium | Sí |
|
|
62
|
+
| `/l3` | Complex | Sí + Artefactos |
|
|
63
|
+
| `/l4` | Enterprise | Múltiples |
|
|
64
|
+
|
|
65
|
+
## Ejemplos de Uso
|
|
66
|
+
|
|
67
|
+
```
|
|
68
|
+
Usuario: /pm Necesito definir requisitos para un sistema de login
|
|
69
|
+
|
|
70
|
+
→ Activa Product Manager, inicia análisis de requisitos
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
```
|
|
74
|
+
Usuario: /yolo /dev Arregla el typo en la línea 42 de app.py
|
|
75
|
+
|
|
76
|
+
→ Activa Backend Engineer en modo sin confirmación
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
```
|
|
80
|
+
Usuario: /issue #123
|
|
81
|
+
|
|
82
|
+
→ Inicia workflow de resolución autónoma de GitHub issue
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
```
|
|
86
|
+
Usuario: /brainstorm Ideas para mejorar el onboarding
|
|
87
|
+
|
|
88
|
+
→ Inicia sesión de ideación
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
## Configuración de Shortcuts
|
|
92
|
+
|
|
93
|
+
Para configurar en cada IDE:
|
|
94
|
+
|
|
95
|
+
### Antigravity
|
|
96
|
+
Los comandos se reconocen automáticamente al usar `/` al inicio.
|
|
97
|
+
|
|
98
|
+
### Cursor
|
|
99
|
+
Agregar en `.cursorrules`:
|
|
100
|
+
```
|
|
101
|
+
# Shortcuts
|
|
102
|
+
/pm = Activate Product Manager persona
|
|
103
|
+
/dev = Activate Backend Engineer persona
|
|
104
|
+
...
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
### Claude Code
|
|
108
|
+
Agregar en `CLAUDE.md`:
|
|
109
|
+
```markdown
|
|
110
|
+
## Quick Commands
|
|
111
|
+
- /pm: Product Manager mode
|
|
112
|
+
- /dev: Developer mode
|
|
113
|
+
...
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
### VS Code (con extensión)
|
|
117
|
+
Configurar snippets en `settings.json`.
|
|
118
|
+
|
|
119
|
+
## Combinaciones Avanzadas
|
|
120
|
+
|
|
121
|
+
```
|
|
122
|
+
/pm + /arch # PM + Architect para diseño de producto técnico
|
|
123
|
+
/dev + /qa # Dev + QA para TDD
|
|
124
|
+
/ai + /sec # AI Engineer + Security para agentes seguros
|
|
125
|
+
/auto + /dev # Automation + Dev para webhooks con backend
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
## Notas
|
|
129
|
+
|
|
130
|
+
- Los comandos son **case-insensitive** (`/PM` = `/pm`)
|
|
131
|
+
- Se pueden combinar comandos (`/yolo /dev`)
|
|
132
|
+
- El Orchestrator (`/orch`) decide automáticamente si no especificas
|