@qubiit/lmagent 2.5.0 → 2.5.6
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/CLAUDE.md +2 -0
- package/README.md +93 -34
- package/install.js +3 -3
- package/package.json +2 -2
- package/scripts/create_skill.js +2 -2
- package/scripts/validate_skills.js +1 -1
package/CLAUDE.md
CHANGED
package/README.md
CHANGED
|
@@ -19,41 +19,66 @@
|
|
|
19
19
|
|
|
20
20
|
## 🚀 Quick Start Guide
|
|
21
21
|
|
|
22
|
-
Get your agent infrastructure up and running in
|
|
22
|
+
Get your universal agent infrastructure up and running in minutes.
|
|
23
23
|
|
|
24
|
-
###
|
|
25
|
-
|
|
24
|
+
### 📋 Prerequisites
|
|
25
|
+
- **Node.js 18+** installed.
|
|
26
|
+
- An existing project (or create one with `npm init`).
|
|
27
|
+
|
|
28
|
+
### Option A: Per-Project Setup (Recommended)
|
|
29
|
+
Use `npx` to run LMAgent without installing it globally. This ensures you always use the latest version and keeps your project dependencies clean.
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
# 1. Initialize LMAgent (Copies AGENTS.md, CLAUDE.md & Configs)
|
|
33
|
+
# This gives your AI Agent the "Context" it needs to understand the skills.
|
|
34
|
+
npx @qubiit/lmagent init
|
|
35
|
+
|
|
36
|
+
# 2. Install Skills & Rules to your IDE
|
|
37
|
+
# This configures .cursor, .vscode, or .windsurf with the actual executable prompts.
|
|
38
|
+
npx @qubiit/lmagent install
|
|
39
|
+
|
|
40
|
+
# 3. Verify System Status
|
|
41
|
+
npx @qubiit/lmagent doctor
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Option B: Global Installation
|
|
45
|
+
If you prefer having the `lmagent` command available globally in your terminal:
|
|
26
46
|
|
|
27
47
|
```bash
|
|
28
|
-
#
|
|
29
|
-
|
|
48
|
+
# 1. Install Global Package
|
|
49
|
+
npm install -g @qubiit/lmagent
|
|
30
50
|
|
|
31
|
-
#
|
|
32
|
-
|
|
51
|
+
# 2. Run Commands Directly
|
|
52
|
+
lmagent init
|
|
53
|
+
lmagent install
|
|
54
|
+
lmagent doctor
|
|
55
|
+
```
|
|
33
56
|
|
|
34
|
-
|
|
35
|
-
|
|
57
|
+
### Option C: Local Development (Contributors)
|
|
58
|
+
If you are developing the LMAgent framework itself:
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
git clone https://github.com/QuBit/lmagent.git
|
|
62
|
+
cd lmagent
|
|
63
|
+
npm install
|
|
64
|
+
npm link
|
|
65
|
+
lmagent install
|
|
36
66
|
```
|
|
37
67
|
|
|
38
|
-
|
|
39
|
-
If you want to contribute or fork the project:
|
|
68
|
+
---
|
|
40
69
|
|
|
41
|
-
|
|
42
|
-
```bash
|
|
43
|
-
git clone https://github.com/QuBit/lmagent.git
|
|
44
|
-
cd lmagent
|
|
45
|
-
```
|
|
70
|
+
## 🛠️ CLI Reference
|
|
46
71
|
|
|
47
|
-
|
|
48
|
-
```bash
|
|
49
|
-
npm install
|
|
50
|
-
```
|
|
72
|
+
LMAgent includes a powerful CLI to manage your AI context.
|
|
51
73
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
74
|
+
| Command | Usage | Description |
|
|
75
|
+
| :--- | :--- | :--- |
|
|
76
|
+
| **`init`** | `npx @qubiit/lmagent init` | Initializes the project. Copies `AGENTS.md` (catalog) and `CLAUDE.md` to your root. |
|
|
77
|
+
| **`install`** | `npx @qubiit/lmagent install` | **Core Command**. Installs selected Skills, Rules & Workflows into your IDE configuration (Cursor, VSCode, Windsurf, etc.). |
|
|
78
|
+
| **`update`** | `npx @qubiit/lmagent update` | Alias for `install`. Use this to refresh your skills when new versions are released. |
|
|
79
|
+
| **`doctor`** | `npx @qubiit/lmagent doctor` | Verifies your environment, checking for correct file structures using `validate_skills` logic. |
|
|
80
|
+
| **`validate`** | `npx @qubiit/lmagent validate` | Scans all `SKILL.md` files for syntax errors or missing required fields. |
|
|
81
|
+
| **`create-skill`** | `npx @qubiit/lmagent create-skill` | Interactive wizard to generate a new Skill structure best practices. |
|
|
57
82
|
|
|
58
83
|
---
|
|
59
84
|
|
|
@@ -84,12 +109,19 @@ graph TD
|
|
|
84
109
|
| Skill Name | Description | Tools Included |
|
|
85
110
|
| :--- | :--- | :--- |
|
|
86
111
|
| **ai-agent-engineer** | Expert in building LLM-based systems & MCP servers. | `create-agent`, `scaffold-mcp` |
|
|
112
|
+
| **api-designer** | Design REST/GraphQL contracts, OpenAPI standards. | `scaffold-api`, `lint-openapi` |
|
|
87
113
|
| **architect** | System design, scalable patterns, cloud infrastructure. | `design-system`, `review-architecture` |
|
|
88
114
|
| **automation-engineer** | n8n workflows, Zapier integration, scripting. | `deploy-n8n`, `check-webhook` |
|
|
89
115
|
| **backend-engineer** | API design, Database schema, Authentication. | `scaffold-api`, `optimize-query` |
|
|
116
|
+
| **bmad-methodology** | Scale-Adaptive Intelligence, project kickoff, complexity classification. | `classify-level`, `kickoff-project` |
|
|
117
|
+
| **browser-agent** | Web automation, scraping, UI testing with Playwright. | `scrape-site`, `automate-flow` |
|
|
118
|
+
| **code-reviewer** | Static analysis, logic verification, clean code standards. | `review-pr`, `analyze-complexity` |
|
|
90
119
|
| **data-engineer** | ETL pipelines, SQL optimization, Data warehousing. | `analyze-schema`, `run-migration` |
|
|
91
120
|
| **devops-engineer** | CI/CD, Docker, Kubernetes, Terraform. | `docker-build`, `k8s-deploy` |
|
|
121
|
+
| **document-generator** | Programmatic PDF/DOCX/XLSX generation. | `gen-pdf`, `gen-report` |
|
|
92
122
|
| **frontend-engineer** | React, Next.js, Tailwind, State Management. | `scaffold-component`, `check-accessibility` |
|
|
123
|
+
| **git-workflow** | Branch management, conventional commits, release flow. | `feature-start`, `release-prep` |
|
|
124
|
+
| **mcp-builder** | Build MCP servers, tools, and resources. | `new-mcp-server`, `test-tool` |
|
|
93
125
|
| **mobile-engineer** | React Native, Expo, iOS/Android build pipelines. | `build-ios`, `debug-android` |
|
|
94
126
|
| **orchestrator** | High-level task planning and agent coordination. | `plan-task`, `delegate-subtask` |
|
|
95
127
|
| **performance-engineer** | Profiling, load testing, optimization. | `run-lighthouse`, `profile-memory` |
|
|
@@ -98,12 +130,15 @@ graph TD
|
|
|
98
130
|
| **qa-engineer** | E2E testing (Playwright), Unit tests, QA strategy. | `run-playwright`, `generate-test-plan` |
|
|
99
131
|
| **scrum-master** | Agile ceremonies, sprint planning, retrospective. | `start-sprint`, `generate-retro` |
|
|
100
132
|
| **security-analyst** | Vulnerability scanning, code auditing, OWASP. | `scan-vulnerabilities`, `audit-code` |
|
|
133
|
+
| **seo-auditor** | Technical SEO, Core Web Vitals, accessibility audit. | `audit-seo`, `check-meta` |
|
|
134
|
+
| **spec-driven-dev** | Spec-first development pipeline: SPECIFY → PLAN → TASKS → IMPLEMENT → VERIFY. | `create-spec`, `validate-spec` |
|
|
135
|
+
| **supabase-expert** | Supabase architecture, RLS, Edge Functions. | `init-supabase`, `deploy-edge` |
|
|
136
|
+
| **swe-agent** | Autonomous issue resolution, trajectory logging, Edit-Lint-Test loops. | `resolve-issue`, `trajectory-log` |
|
|
137
|
+
| **systematic-debugger** | Methodical 4-phase debugging (RCA). | `debug-session`, `analyze-logs` |
|
|
101
138
|
| **tech-lead** | Code review, technical decision making, mentoring. | `review-pr`, `enforce-standards` |
|
|
102
139
|
| **technical-writer** | Documentation, API refs, user guides. | `generate-docs`, `update-readme` |
|
|
140
|
+
| **testing-strategist** | Test planning, pyramid strategy, coverage goals. | `plan-testing`, `define-coverage` |
|
|
103
141
|
| **ux-ui-designer** | Design systems, user flow, prototyping. | `analyze-ux`, `generate-palette` |
|
|
104
|
-
| **bmad-methodology** | Scale-Adaptive Intelligence, project kickoff, complexity classification. | `classify-level`, `kickoff-project` |
|
|
105
|
-
| **swe-agent** | Autonomous issue resolution, trajectory logging, Edit-Lint-Test loops. | `resolve-issue`, `trajectory-log` |
|
|
106
|
-
| **spec-driven-dev** | Spec-first development pipeline: SPECIFY → PLAN → TASKS → IMPLEMENT → VERIFY. | `create-spec`, `validate-spec` |
|
|
107
142
|
|
|
108
143
|
|
|
109
144
|
### 2. 📜 Rules (Context & Guardrails)
|
|
@@ -155,18 +190,42 @@ LMAgent creates a **Single Source of Truth** in your home directory.
|
|
|
155
190
|
|
|
156
191
|
### 🧩 Multi-IDE Support
|
|
157
192
|
|
|
158
|
-
|
|
159
|
-
| :--- | :--- | :--- |
|
|
193
|
+
|
|
160
194
|
| **Cursor** | ✅ Full | `.cursor/` |
|
|
161
195
|
| **Windsurf** | ✅ Full | `.windsurf/` |
|
|
162
196
|
| **VSCode / Copilot** | ✅ Full | `.github/` |
|
|
163
197
|
| **Zed** | ✅ Full | `.rules/` |
|
|
164
198
|
| **Continue** | ✅ Full | `.continue/` |
|
|
165
199
|
| **Trae** | ✅ Full | `.trae/` |
|
|
166
|
-
| **Antigravity** | ✅ Full | `.
|
|
167
|
-
| **Cline / Roo Code** | ✅ Full | `.clinerules/` |
|
|
200
|
+
| **Antigravity** | ✅ Full | `.agent/` |
|
|
201
|
+
| **Cline / Roo Code** | ✅ Full | `.clinerules/` / `.roo/` |
|
|
168
202
|
| **Claude Code** | ✅ Full | `.claude/` |
|
|
169
203
|
| **Qodo** | ✅ Full | `agents/` |
|
|
204
|
+
| **Amp / Kimi / Replit** | ✅ Full | `.agents/` |
|
|
205
|
+
| **Augment** | ✅ Full | `.augment/` |
|
|
206
|
+
| **OpenHands** | ✅ Full | `.openhands/` |
|
|
207
|
+
| **Goose** | ✅ Full | `.goose/` |
|
|
208
|
+
| **Mistral Vibe** | ✅ Full | `.vibe/` |
|
|
209
|
+
| **Envoid (OpenClaw)** | ✅ Full | `openclaw.json` |
|
|
210
|
+
| **CodeBuddy** | ✅ Full | `.codebuddy/` |
|
|
211
|
+
| **Command Code** | ✅ Full | `.commandcode/` |
|
|
212
|
+
| **Crush** | ✅ Full | `.crush/` |
|
|
213
|
+
| **Droid** | ✅ Full | `.factory/` |
|
|
214
|
+
| **Junie** | ✅ Full | `.junie/` |
|
|
215
|
+
| **iFlow** | ✅ Full | `.iflow/` |
|
|
216
|
+
| **Kilo Code** | ✅ Full | `.kilocode/` |
|
|
217
|
+
| **Kiro** | ✅ Full | `.kiro/` |
|
|
218
|
+
| **Kode** | ✅ Full | `.kode/` |
|
|
219
|
+
| **MCPJam** | ✅ Full | `.mcpjam/` |
|
|
220
|
+
| **Mux** | ✅ Full | `.mux/` |
|
|
221
|
+
| **Pi** | ✅ Full | `.pi/` |
|
|
222
|
+
| **Qoder** | ✅ Full | `.qoder/` |
|
|
223
|
+
| **Qwen Code** | ✅ Full | `.qwen/` |
|
|
224
|
+
| **Trae CN** | ✅ Full | `.trae-cn/` |
|
|
225
|
+
| **Zencoder** | ✅ Full | `.zencoder/` |
|
|
226
|
+
| **Neovate** | ✅ Full | `.neovate/` |
|
|
227
|
+
| **Pochi** | ✅ Full | `.pochi/` |
|
|
228
|
+
| **AdaL** | ✅ Full | `.adal/` |
|
|
170
229
|
|
|
171
230
|
---
|
|
172
231
|
|
|
@@ -180,10 +239,10 @@ Need a custom agent? Use the interactive generator:
|
|
|
180
239
|
|
|
181
240
|
```bash
|
|
182
241
|
# Verify structure of existing skills
|
|
183
|
-
|
|
242
|
+
npx @qubiit/lmagent validate
|
|
184
243
|
|
|
185
244
|
# Create a new skill interactively
|
|
186
|
-
|
|
245
|
+
npx @qubiit/lmagent create-skill
|
|
187
246
|
```
|
|
188
247
|
This will generate the standard directory structure and `SKILL.md` template for you.
|
|
189
248
|
|
package/install.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
1
|
+
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
const fs = require('fs');
|
|
4
4
|
const path = require('path');
|
|
@@ -335,9 +335,9 @@ const IDE_CONFIGS = [
|
|
|
335
335
|
];
|
|
336
336
|
|
|
337
337
|
program
|
|
338
|
-
.name('lmagent
|
|
338
|
+
.name('lmagent')
|
|
339
339
|
.description('CLI para instalar skills y reglas de LMAgent')
|
|
340
|
-
.version('2.5.
|
|
340
|
+
.version('2.5.6'); // Version bump
|
|
341
341
|
|
|
342
342
|
program.command('install')
|
|
343
343
|
.description('Instalar skills, rules y workflows en el IDE del proyecto')
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "2.5.
|
|
6
|
+
"version": "2.5.6",
|
|
7
7
|
"description": "CLI to install LMAgent skills and rules into your IDE",
|
|
8
8
|
"main": "install.js",
|
|
9
9
|
"bin": {
|
|
@@ -32,4 +32,4 @@
|
|
|
32
32
|
"gradient-string": "^3.0.0",
|
|
33
33
|
"inquirer": "^8.2.6"
|
|
34
34
|
}
|
|
35
|
-
}
|
|
35
|
+
}
|
package/scripts/create_skill.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* LMAgent Skill Generator — v2.
|
|
4
|
+
* LMAgent Skill Generator — v2.5.6
|
|
5
5
|
*
|
|
6
6
|
* Genera la estructura completa de un nuevo skill interactivamente.
|
|
7
7
|
*
|
|
@@ -212,7 +212,7 @@ Antes de considerar una tarea terminada, verifica TODO:
|
|
|
212
212
|
|
|
213
213
|
// ─── Main ─────────────────────────────────────────────────────
|
|
214
214
|
async function main() {
|
|
215
|
-
console.log(c.bold('\n🛠️ LMAgent Skill Generator v2.
|
|
215
|
+
console.log(c.bold('\n🛠️ LMAgent Skill Generator v2.5.6\n'));
|
|
216
216
|
|
|
217
217
|
const prompt = createPrompt();
|
|
218
218
|
|