@workingpayload/agent-skills 2.0.0 → 2.0.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/CodeMap/skill.md +194 -0
- package/README.md +440 -416
- package/RefactorX/skill.md +27 -1
- package/bin/cli.js +85 -26
- package/package.json +3 -2
- package/scripts/doctor.py +4 -3
- package/scripts/install.py +53 -14
- package/scripts/test_skill.py +30 -2
- package/skills-routing.json +27 -2
- package/skills.json +132 -4
package/RefactorX/skill.md
CHANGED
|
@@ -58,7 +58,33 @@ Never attempt a "big bang" rewrite. Each strangler step should be independently
|
|
|
58
58
|
Each refactoring step must be:
|
|
59
59
|
- **A single logical change** (rename, extract, move — not all three at once).
|
|
60
60
|
- **Behavior-preserving**: run the test suite after each step and commit only if green.
|
|
61
|
-
- **Independently committable**: each commit should have a descriptive message referencing the pattern used
|
|
61
|
+
- **Independently committable**: each commit should have a descriptive message referencing the pattern used.
|
|
62
|
+
|
|
63
|
+
Example — Extract Method:
|
|
64
|
+
|
|
65
|
+
```python
|
|
66
|
+
# Before: long method with inline validation
|
|
67
|
+
def create_order(user_id, items, coupon_code):
|
|
68
|
+
if not items or len(items) > 100:
|
|
69
|
+
raise ValueError("Invalid item count")
|
|
70
|
+
if coupon_code and not re.match(r'^[A-Z0-9]{6,10}$', coupon_code):
|
|
71
|
+
raise ValueError("Invalid coupon format")
|
|
72
|
+
# ... 40 more lines of order logic
|
|
73
|
+
|
|
74
|
+
# After: extracted validation into focused methods
|
|
75
|
+
def _validate_items(items):
|
|
76
|
+
if not items or len(items) > 100:
|
|
77
|
+
raise ValueError("Invalid item count")
|
|
78
|
+
|
|
79
|
+
def _validate_coupon(coupon_code):
|
|
80
|
+
if coupon_code and not re.match(r'^[A-Z0-9]{6,10}$', coupon_code):
|
|
81
|
+
raise ValueError("Invalid coupon format")
|
|
82
|
+
|
|
83
|
+
def create_order(user_id, items, coupon_code):
|
|
84
|
+
_validate_items(items)
|
|
85
|
+
_validate_coupon(coupon_code)
|
|
86
|
+
# ... order logic, now shorter and focused
|
|
87
|
+
```
|
|
62
88
|
|
|
63
89
|
Avoid mixing refactoring commits with feature additions or bug fixes.
|
|
64
90
|
|
package/bin/cli.js
CHANGED
|
@@ -13,6 +13,7 @@ const HOME = os.homedir();
|
|
|
13
13
|
const TARGETS = {
|
|
14
14
|
claude: path.join(HOME, ".claude", "commands"),
|
|
15
15
|
gemini: path.join(HOME, ".gemini", "commands"),
|
|
16
|
+
antigravity: path.join(HOME, ".gemini", "antigravity", "skills"),
|
|
16
17
|
};
|
|
17
18
|
|
|
18
19
|
// ── Helpers ────────────────────────────────────────────────────────
|
|
@@ -66,6 +67,19 @@ function slugify(name) {
|
|
|
66
67
|
return name.toLowerCase().replace(/\s+/g, "-").replace(/[^a-z0-9-]/g, "");
|
|
67
68
|
}
|
|
68
69
|
|
|
70
|
+
function copyDirSync(src, dest) {
|
|
71
|
+
fs.mkdirSync(dest, { recursive: true });
|
|
72
|
+
for (const entry of fs.readdirSync(src, { withFileTypes: true })) {
|
|
73
|
+
const srcPath = path.join(src, entry.name);
|
|
74
|
+
const destPath = path.join(dest, entry.name);
|
|
75
|
+
if (entry.isDirectory()) {
|
|
76
|
+
copyDirSync(srcPath, destPath);
|
|
77
|
+
} else {
|
|
78
|
+
fs.copyFileSync(srcPath, destPath);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
69
83
|
// ── Commands ───────────────────────────────────────────────────────
|
|
70
84
|
|
|
71
85
|
function cmdInstall(args) {
|
|
@@ -75,11 +89,12 @@ function cmdInstall(args) {
|
|
|
75
89
|
let target = flags.target;
|
|
76
90
|
if (!target) {
|
|
77
91
|
if (fs.existsSync(TARGETS.claude)) target = "claude";
|
|
92
|
+
else if (fs.existsSync(TARGETS.antigravity)) target = "antigravity";
|
|
78
93
|
else if (fs.existsSync(TARGETS.gemini)) target = "gemini";
|
|
79
94
|
else target = "claude"; // default
|
|
80
95
|
}
|
|
81
96
|
if (!TARGETS[target]) {
|
|
82
|
-
console.error(`Unknown target: ${target}. Use "claude" or "
|
|
97
|
+
console.error(`Unknown target: ${target}. Use "claude", "gemini", or "antigravity".`);
|
|
83
98
|
process.exit(1);
|
|
84
99
|
}
|
|
85
100
|
|
|
@@ -112,7 +127,10 @@ function cmdInstall(args) {
|
|
|
112
127
|
const slug = slugify(skill.name);
|
|
113
128
|
const dest = path.join(installDir, `${slug}.md`);
|
|
114
129
|
|
|
115
|
-
|
|
130
|
+
const existsAlready = target === "antigravity"
|
|
131
|
+
? fs.existsSync(path.join(installDir, slug, "SKILL.md"))
|
|
132
|
+
: fs.existsSync(dest);
|
|
133
|
+
if (existsAlready && !force) {
|
|
116
134
|
if (!dryRun) console.log(` SKIP ${slug} (already exists, use --force to overwrite)`);
|
|
117
135
|
skipped++;
|
|
118
136
|
continue;
|
|
@@ -129,24 +147,60 @@ function cmdInstall(args) {
|
|
|
129
147
|
}
|
|
130
148
|
}
|
|
131
149
|
|
|
132
|
-
if (
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
150
|
+
if (target === "antigravity") {
|
|
151
|
+
// Antigravity uses directory-based skills: each skill is a directory with SKILL.md
|
|
152
|
+
const skillDir = path.join(installDir, slug);
|
|
153
|
+
const destFile = path.join(skillDir, "SKILL.md");
|
|
154
|
+
|
|
155
|
+
if (dryRun) {
|
|
156
|
+
console.log(` Would install ${slug}`);
|
|
157
|
+
console.log(` src : ${skill.fullPath}`);
|
|
158
|
+
console.log(` dest: ${destFile}`);
|
|
159
|
+
} else {
|
|
160
|
+
try {
|
|
161
|
+
fs.mkdirSync(skillDir, { recursive: true });
|
|
162
|
+
fs.copyFileSync(skill.fullPath, destFile);
|
|
163
|
+
// Copy optional assets (scripts/, references/) if they exist in source
|
|
164
|
+
const srcDir = path.dirname(skill.fullPath);
|
|
165
|
+
for (const subdir of ["scripts", "references", "assets"]) {
|
|
166
|
+
const srcSub = path.join(srcDir, subdir);
|
|
167
|
+
if (fs.existsSync(srcSub) && fs.statSync(srcSub).isDirectory()) {
|
|
168
|
+
copyDirSync(srcSub, path.join(skillDir, subdir));
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
meta[slug] = {
|
|
172
|
+
name: slug,
|
|
173
|
+
source: skill.fullPath,
|
|
174
|
+
installed_at: new Date().toISOString(),
|
|
175
|
+
directory: skill.dir,
|
|
176
|
+
};
|
|
177
|
+
installed++;
|
|
178
|
+
console.log(` OK ${slug}`);
|
|
179
|
+
} catch (err) {
|
|
180
|
+
console.log(` FAIL ${slug} — ${err.message}`);
|
|
181
|
+
failed++;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
136
184
|
} else {
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
185
|
+
if (dryRun) {
|
|
186
|
+
console.log(` Would install ${slug}`);
|
|
187
|
+
console.log(` src : ${skill.fullPath}`);
|
|
188
|
+
console.log(` dest: ${dest}`);
|
|
189
|
+
} else {
|
|
190
|
+
try {
|
|
191
|
+
fs.copyFileSync(skill.fullPath, dest);
|
|
192
|
+
meta[slug] = {
|
|
193
|
+
name: slug,
|
|
194
|
+
source: skill.fullPath,
|
|
195
|
+
installed_at: new Date().toISOString(),
|
|
196
|
+
directory: skill.dir,
|
|
197
|
+
};
|
|
198
|
+
installed++;
|
|
199
|
+
console.log(` OK ${slug}`);
|
|
200
|
+
} catch (err) {
|
|
201
|
+
console.log(` FAIL ${slug} — ${err.message}`);
|
|
202
|
+
failed++;
|
|
203
|
+
}
|
|
150
204
|
}
|
|
151
205
|
}
|
|
152
206
|
}
|
|
@@ -162,6 +216,10 @@ function cmdInstall(args) {
|
|
|
162
216
|
if (target === "claude") {
|
|
163
217
|
console.log(` In Claude Code, type /<skill-name> to invoke a skill.`);
|
|
164
218
|
console.log(` Examples: /codesage, /testcrafter, /dockmaster, /python-master`);
|
|
219
|
+
} else if (target === "antigravity") {
|
|
220
|
+
console.log(` Skills are now available in Google Antigravity.`);
|
|
221
|
+
console.log(` The agent will automatically match skills to your tasks via semantic triggering.`);
|
|
222
|
+
console.log(` Installed to: ${installDir}`);
|
|
165
223
|
} else {
|
|
166
224
|
console.log(` Skills are now available in your Gemini context.`);
|
|
167
225
|
}
|
|
@@ -175,7 +233,7 @@ function cmdUninstall(args) {
|
|
|
175
233
|
const names = flags._.filter(n => n !== "uninstall");
|
|
176
234
|
|
|
177
235
|
if (names.length === 0) {
|
|
178
|
-
console.error("Usage: agent-skills uninstall <skill-name> [<skill-name>...] [-t claude|gemini]");
|
|
236
|
+
console.error("Usage: agent-skills uninstall <skill-name> [<skill-name>...] [-t claude|gemini|antigravity]");
|
|
179
237
|
process.exit(1);
|
|
180
238
|
}
|
|
181
239
|
|
|
@@ -252,24 +310,24 @@ function cmdBuildIndex(args) {
|
|
|
252
310
|
|
|
253
311
|
function cmdHelp() {
|
|
254
312
|
console.log(`
|
|
255
|
-
agent-skills — AI-powered developer skills for Claude and
|
|
313
|
+
agent-skills — AI-powered developer skills for Claude, Gemini, and Antigravity
|
|
256
314
|
|
|
257
315
|
Usage:
|
|
258
316
|
agent-skills <command> [options]
|
|
259
317
|
|
|
260
318
|
Commands:
|
|
261
|
-
install Install skills to Claude or
|
|
262
|
-
-t, --target Target: "claude" or "
|
|
319
|
+
install Install skills to Claude, Gemini, or Antigravity
|
|
320
|
+
-t, --target Target: "claude", "gemini", or "antigravity" (default: auto-detect)
|
|
263
321
|
-s, --skills Comma-separated skill names (default: all)
|
|
264
322
|
--force Overwrite existing skills
|
|
265
323
|
--dry-run Preview without writing files
|
|
266
324
|
--validate Validate skills before installing
|
|
267
325
|
|
|
268
326
|
uninstall <names> Remove installed skills
|
|
269
|
-
-t, --target Target: "claude" or "
|
|
327
|
+
-t, --target Target: "claude", "gemini", or "antigravity"
|
|
270
328
|
|
|
271
329
|
list List installed skills
|
|
272
|
-
-t, --target Target: "claude" or "
|
|
330
|
+
-t, --target Target: "claude", "gemini", or "antigravity"
|
|
273
331
|
|
|
274
332
|
route "<prompt>" Find the best skill for a task
|
|
275
333
|
-n, --top-n Number of results (default: 3)
|
|
@@ -277,7 +335,7 @@ Commands:
|
|
|
277
335
|
--interactive Interactive prompt mode
|
|
278
336
|
|
|
279
337
|
doctor Check health of installed skills
|
|
280
|
-
-t, --target Target: "claude" or "
|
|
338
|
+
-t, --target Target: "claude", "gemini", or "antigravity" (default: all)
|
|
281
339
|
|
|
282
340
|
validate Lint all skill files
|
|
283
341
|
--fix Auto-fix known issues
|
|
@@ -292,6 +350,7 @@ Commands:
|
|
|
292
350
|
Examples:
|
|
293
351
|
npx agent-skills install # Install all to Claude
|
|
294
352
|
npx agent-skills install -t gemini -s CodeSage,TestCrafter
|
|
353
|
+
npx agent-skills install -t antigravity # Install all to Google Antigravity
|
|
295
354
|
npx agent-skills route "review my Python code"
|
|
296
355
|
npx agent-skills doctor
|
|
297
356
|
npx agent-skills list
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workingpayload/agent-skills",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "Install and run AI-powered developer skills across Claude and
|
|
3
|
+
"version": "2.0.1",
|
|
4
|
+
"description": "Install and run AI-powered developer skills across Claude, Gemini, and Google Antigravity",
|
|
5
5
|
"bin": {
|
|
6
6
|
"agent-skills": "./bin/cli.js"
|
|
7
7
|
},
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"ai",
|
|
16
16
|
"claude",
|
|
17
17
|
"gemini",
|
|
18
|
+
"antigravity",
|
|
18
19
|
"skills",
|
|
19
20
|
"developer-tools",
|
|
20
21
|
"code-review",
|
package/scripts/doctor.py
CHANGED
|
@@ -34,6 +34,7 @@ META_FILENAME = ".skills-meta.json"
|
|
|
34
34
|
INSTALL_DIRS = {
|
|
35
35
|
"claude": Path.home() / ".claude" / "commands",
|
|
36
36
|
"gemini": Path.home() / ".gemini" / "commands",
|
|
37
|
+
"antigravity": Path.home() / ".gemini" / "antigravity" / "skills",
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
|
|
@@ -474,13 +475,13 @@ def main() -> int:
|
|
|
474
475
|
)
|
|
475
476
|
parser.add_argument(
|
|
476
477
|
"--target", "-t",
|
|
477
|
-
choices=["claude", "gemini"],
|
|
478
|
+
choices=["claude", "gemini", "antigravity"],
|
|
478
479
|
default=None,
|
|
479
|
-
help="Which install target to check (default:
|
|
480
|
+
help="Which install target to check (default: all).",
|
|
480
481
|
)
|
|
481
482
|
args = parser.parse_args()
|
|
482
483
|
|
|
483
|
-
targets = [args.target] if args.target else ["claude", "gemini"]
|
|
484
|
+
targets = [args.target] if args.target else ["claude", "gemini", "antigravity"]
|
|
484
485
|
|
|
485
486
|
repo_root = Path(__file__).resolve().parent.parent
|
|
486
487
|
|
package/scripts/install.py
CHANGED
|
@@ -34,11 +34,13 @@ META_FILE = ".skills-meta.json"
|
|
|
34
34
|
INSTALL_DIRS = {
|
|
35
35
|
"claude": Path.home() / ".claude" / "commands",
|
|
36
36
|
"gemini": Path.home() / ".gemini" / "commands",
|
|
37
|
+
"antigravity": Path.home() / ".gemini" / "antigravity" / "skills",
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
POST_INSTALL_INSTRUCTIONS = {
|
|
40
41
|
"claude": "Use skills by typing /skill-name in Claude Code",
|
|
41
42
|
"gemini": "Skills are available in your Gemini context",
|
|
43
|
+
"antigravity": "Skills are available in Google Antigravity via semantic triggering",
|
|
42
44
|
}
|
|
43
45
|
|
|
44
46
|
# ---------------------------------------------------------------------------
|
|
@@ -234,24 +236,57 @@ def install_skills(
|
|
|
234
236
|
continue
|
|
235
237
|
|
|
236
238
|
# Skip if already installed and not forcing
|
|
237
|
-
|
|
239
|
+
exists_already = (
|
|
240
|
+
(install_dir / skill_name / "SKILL.md").exists()
|
|
241
|
+
if target == "antigravity"
|
|
242
|
+
else dest.exists()
|
|
243
|
+
)
|
|
244
|
+
if exists_already and not force:
|
|
238
245
|
print(f" SKIP {skill_name} (already installed; use --force to overwrite)")
|
|
239
246
|
skipped_count += 1
|
|
240
247
|
continue
|
|
241
248
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
249
|
+
if target == "antigravity":
|
|
250
|
+
# Antigravity: directory-based skills with SKILL.md
|
|
251
|
+
skill_dir = install_dir / skill_name
|
|
252
|
+
dest_file = skill_dir / "SKILL.md"
|
|
253
|
+
action = "Would install" if dry_run else "Installing"
|
|
254
|
+
print(f" {action} {skill_name}")
|
|
255
|
+
print(f" src : {skill_file}")
|
|
256
|
+
print(f" dest: {dest_file}")
|
|
257
|
+
|
|
258
|
+
if not dry_run:
|
|
259
|
+
skill_dir.mkdir(parents=True, exist_ok=True)
|
|
260
|
+
shutil.copy2(str(skill_file), str(dest_file))
|
|
261
|
+
# Copy optional asset directories (scripts/, references/, assets/)
|
|
262
|
+
src_dir = skill_file.parent
|
|
263
|
+
for subdir_name in ("scripts", "references", "assets"):
|
|
264
|
+
src_sub = src_dir / subdir_name
|
|
265
|
+
if src_sub.is_dir():
|
|
266
|
+
dest_sub = skill_dir / subdir_name
|
|
267
|
+
if dest_sub.exists():
|
|
268
|
+
shutil.rmtree(str(dest_sub))
|
|
269
|
+
shutil.copytree(str(src_sub), str(dest_sub))
|
|
270
|
+
meta[skill_name] = {
|
|
271
|
+
"name": skill_name,
|
|
272
|
+
"version": git_hash(skill_file),
|
|
273
|
+
"installed_at": datetime.now(timezone.utc).isoformat(),
|
|
274
|
+
"source_path": str(skill_file),
|
|
275
|
+
}
|
|
276
|
+
else:
|
|
277
|
+
action = "Would install" if dry_run else "Installing"
|
|
278
|
+
print(f" {action} {skill_name}")
|
|
279
|
+
print(f" src : {skill_file}")
|
|
280
|
+
print(f" dest: {dest}")
|
|
246
281
|
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
282
|
+
if not dry_run:
|
|
283
|
+
shutil.copy2(str(skill_file), str(dest))
|
|
284
|
+
meta[skill_name] = {
|
|
285
|
+
"name": skill_name,
|
|
286
|
+
"version": git_hash(skill_file),
|
|
287
|
+
"installed_at": datetime.now(timezone.utc).isoformat(),
|
|
288
|
+
"source_path": str(skill_file),
|
|
289
|
+
}
|
|
255
290
|
|
|
256
291
|
installed_count += 1
|
|
257
292
|
|
|
@@ -271,6 +306,10 @@ def install_skills(
|
|
|
271
306
|
if target == "claude":
|
|
272
307
|
print(f" {instruction}")
|
|
273
308
|
print(f" Example: /codesage, /uismith, /bugHunter-pro")
|
|
309
|
+
elif target == "antigravity":
|
|
310
|
+
print(f" {instruction}")
|
|
311
|
+
print(f" The agent will automatically match skills to your tasks.")
|
|
312
|
+
print(f" Skills installed as directories with SKILL.md files.")
|
|
274
313
|
else:
|
|
275
314
|
print(f" {instruction}")
|
|
276
315
|
print(f"\nInstall directory: {install_dir}")
|
|
@@ -289,7 +328,7 @@ def parse_args(argv: list[str] | None = None) -> argparse.Namespace:
|
|
|
289
328
|
|
|
290
329
|
parser.add_argument(
|
|
291
330
|
"--target", "-t",
|
|
292
|
-
choices=["claude", "gemini"],
|
|
331
|
+
choices=["claude", "gemini", "antigravity"],
|
|
293
332
|
default=None,
|
|
294
333
|
help="Target platform (default: auto-detect based on existing directories).",
|
|
295
334
|
)
|
package/scripts/test_skill.py
CHANGED
|
@@ -88,6 +88,25 @@ def count_named_tools(text: str) -> int:
|
|
|
88
88
|
r"\bgit\b", r"\bnginx\b", r"\bapache\b", r"\bkafka\b", r"\brabbitmq\b",
|
|
89
89
|
r"\bcelery\b", r"\bsqlalchemy\b", r"\bprisma\b", r"\bdrizzle\b",
|
|
90
90
|
r"\bstorybook\b", r"\bfigma\b",
|
|
91
|
+
# Additional tools/frameworks
|
|
92
|
+
r"\bpydantic\b", r"\bfastapi\b", r"\bflask\b", r"\bdjango\b", r"\bexpress\b",
|
|
93
|
+
r"\bspring\b", r"\brails\b", r"\blaravel\b",
|
|
94
|
+
r"\balembic\b", r"\bflyway\b", r"\bknex\b", r"\btypeorm\b", r"\bsequelize\b",
|
|
95
|
+
r"\bgrpc\b", r"\bgraphql\b", r"\bopenapi\b", r"\bswagger\b",
|
|
96
|
+
r"\bzod\b", r"\bjoi\b", r"\byup\b",
|
|
97
|
+
r"\bbullmq\b", r"\btemporal\b", r"\bsidekiq\b",
|
|
98
|
+
r"\bsentry\b", r"\bjaeger\b", r"\bloki\b", r"\btempo\b",
|
|
99
|
+
r"\bpandas\b", r"\bpolars\b", r"\bnumpy\b",
|
|
100
|
+
r"\bcurl\b", r"\bpostman\b", r"\binsomnia\b",
|
|
101
|
+
r"\bcheerio\b", r"\bbeautifulsoup\b", r"\bscrapy\b",
|
|
102
|
+
r"\bshellcheck\b", r"\bbash\b", r"\bpowershell\b",
|
|
103
|
+
r"\bjson\b", r"\byaml\b", r"\btoml\b",
|
|
104
|
+
r"\bsemver\b", r"\bconventional commit\b",
|
|
105
|
+
r"\blaunchdarkly\b", r"\bunleash\b",
|
|
106
|
+
r"\bargocd\b", r"\bflux\b",
|
|
107
|
+
r"\bcss\b", r"\bhtml\b", r"\bsass\b", r"\bless\b",
|
|
108
|
+
r"\bnpm\b", r"\byarn\b", r"\bpnpm\b", r"\buv\b", r"\bpoetry\b", r"\bpip\b",
|
|
109
|
+
r"\bcargo\b", r"\bmaven\b", r"\bgradle\b",
|
|
91
110
|
]
|
|
92
111
|
lower = text.lower()
|
|
93
112
|
return sum(1 for pattern in known_tools if re.search(pattern, lower))
|
|
@@ -104,6 +123,14 @@ def count_edge_cases(text: str) -> int:
|
|
|
104
123
|
r"\boff-by-one\b", r"\btruncati\b", r"\bspecial character\b",
|
|
105
124
|
r"\bunicode\b", r"\butf-?8\b", r"\blarge file\b", r"\bempty list\b",
|
|
106
125
|
r"\bnegative\b", r"\bwhen .{1,40} is (empty|null|missing|invalid|zero)",
|
|
126
|
+
# Additional patterns for edge-case-like content
|
|
127
|
+
r"\berror handl\b", r"\bfailure\b", r"\bfails?\b",
|
|
128
|
+
r"\bdeadlock\b", r"\bcircular\b", r"\bstale\b", r"\borphan\b",
|
|
129
|
+
r"\bmissing\b", r"\bbroken\b", r"\bcorrupt\b", r"\binconsisten\b",
|
|
130
|
+
r"\bwhat if\b", r"\bwhat happens\b", r"\bwhen .{1,40} (fails?|breaks?|crashes?)\b",
|
|
131
|
+
r"\bfalse positive\b", r"\bfalse negative\b",
|
|
132
|
+
r"\bbackward.?compat\b", r"\bdeprecated?\b", r"\bmigrat\b",
|
|
133
|
+
r"\bmonorepo\b", r"\blarge.?scale\b", r"\blegacy\b",
|
|
107
134
|
]
|
|
108
135
|
lower = text.lower()
|
|
109
136
|
return sum(1 for p in patterns if re.search(p, lower))
|
|
@@ -115,8 +142,9 @@ def has_code_example(text: str) -> bool:
|
|
|
115
142
|
|
|
116
143
|
|
|
117
144
|
def has_numbered_workflow(text: str) -> bool:
|
|
118
|
-
"""Return True if there are at least 3 numbered steps (e.g., '1. ' '
|
|
119
|
-
|
|
145
|
+
"""Return True if there are at least 3 numbered steps (e.g., '1. ', '### 1. ')."""
|
|
146
|
+
# Match both numbered list items and numbered headings (### 1. Step Name)
|
|
147
|
+
steps = re.findall(r"^\s*(?:#{1,4}\s+)?\d+\.", text, re.MULTILINE)
|
|
120
148
|
return len(steps) >= 3
|
|
121
149
|
|
|
122
150
|
|
package/skills-routing.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0",
|
|
3
|
-
"generated_at": "2026-03-
|
|
4
|
-
"skill_count":
|
|
3
|
+
"generated_at": "2026-03-28T18:44:36+00:00",
|
|
4
|
+
"skill_count": 55,
|
|
5
5
|
"skills": [
|
|
6
6
|
{
|
|
7
7
|
"name": "accessplus",
|
|
@@ -197,6 +197,31 @@
|
|
|
197
197
|
"changelog"
|
|
198
198
|
]
|
|
199
199
|
},
|
|
200
|
+
{
|
|
201
|
+
"name": "codemap",
|
|
202
|
+
"description": "Generates and maintains a structured codemap file that gives AI agents instant codebase context without costly exploration. Produces a navigable index of entry points, modules, key abstractions, dependency flow, and file roles. Use when starting a new session, after major refactors, at PR boundaries, or when an agent is burning context on repeated file discovery.",
|
|
203
|
+
"categories": [
|
|
204
|
+
"database",
|
|
205
|
+
"git",
|
|
206
|
+
"ai/ml"
|
|
207
|
+
],
|
|
208
|
+
"triggers": [
|
|
209
|
+
"starting",
|
|
210
|
+
"new",
|
|
211
|
+
"session",
|
|
212
|
+
"after",
|
|
213
|
+
"major",
|
|
214
|
+
"refactors",
|
|
215
|
+
"boundaries",
|
|
216
|
+
"when",
|
|
217
|
+
"agent",
|
|
218
|
+
"burning",
|
|
219
|
+
"context",
|
|
220
|
+
"repeated",
|
|
221
|
+
"file",
|
|
222
|
+
"discovery"
|
|
223
|
+
]
|
|
224
|
+
},
|
|
200
225
|
{
|
|
201
226
|
"name": "codesage",
|
|
202
227
|
"description": "Performs structured code reviews with severity-tiered findings covering security, correctness, performance, and maintainability. Uses language-specific linters and static analysis tools. Use when a user submits code for review, asks for feedback on a PR, or needs an audit of a module or function.",
|
package/skills.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0",
|
|
3
|
-
"generated_at": "2026-03-
|
|
4
|
-
"skill_count":
|
|
3
|
+
"generated_at": "2026-03-28T18:44:36+00:00",
|
|
4
|
+
"skill_count": 55,
|
|
5
5
|
"skills": [
|
|
6
6
|
{
|
|
7
7
|
"name": "accessplus",
|
|
@@ -596,6 +596,134 @@
|
|
|
596
596
|
"git log v1.4.3..v1.5.0"
|
|
597
597
|
]
|
|
598
598
|
},
|
|
599
|
+
{
|
|
600
|
+
"name": "codemap",
|
|
601
|
+
"description": "Generates and maintains a structured codemap file that gives AI agents instant codebase context without costly exploration. Produces a navigable index of entry points, modules, key abstractions, dependency flow, and file roles. Use when starting a new session, after major refactors, at PR boundaries, or when an agent is burning context on repeated file discovery.",
|
|
602
|
+
"path": "CodeMap/skill.md",
|
|
603
|
+
"directory": "CodeMap",
|
|
604
|
+
"triggers": [
|
|
605
|
+
"starting",
|
|
606
|
+
"new",
|
|
607
|
+
"session",
|
|
608
|
+
"after",
|
|
609
|
+
"major",
|
|
610
|
+
"refactors",
|
|
611
|
+
"boundaries",
|
|
612
|
+
"when",
|
|
613
|
+
"agent",
|
|
614
|
+
"burning",
|
|
615
|
+
"context",
|
|
616
|
+
"repeated",
|
|
617
|
+
"file",
|
|
618
|
+
"discovery"
|
|
619
|
+
],
|
|
620
|
+
"categories": [
|
|
621
|
+
"database",
|
|
622
|
+
"git",
|
|
623
|
+
"ai/ml"
|
|
624
|
+
],
|
|
625
|
+
"line_count": 194,
|
|
626
|
+
"has_code_examples": true,
|
|
627
|
+
"tools_mentioned": [
|
|
628
|
+
".codemap.md",
|
|
629
|
+
"package.json",
|
|
630
|
+
"pyproject.toml",
|
|
631
|
+
"go.mod",
|
|
632
|
+
"Cargo.toml",
|
|
633
|
+
"workspaces",
|
|
634
|
+
"packages/",
|
|
635
|
+
"apps/",
|
|
636
|
+
"Makefile",
|
|
637
|
+
"docker-compose.yml",
|
|
638
|
+
"glob",
|
|
639
|
+
"node_modules",
|
|
640
|
+
".git",
|
|
641
|
+
"dist",
|
|
642
|
+
"build",
|
|
643
|
+
"__pycache__",
|
|
644
|
+
".venv",
|
|
645
|
+
"vendor",
|
|
646
|
+
"coverage",
|
|
647
|
+
".next",
|
|
648
|
+
"main.py",
|
|
649
|
+
"index.ts",
|
|
650
|
+
"cmd/server/main.go",
|
|
651
|
+
"App.tsx",
|
|
652
|
+
"routes/*.py",
|
|
653
|
+
"app/api/**/*.ts",
|
|
654
|
+
"controllers/",
|
|
655
|
+
"models/",
|
|
656
|
+
"schema.prisma",
|
|
657
|
+
"types.ts",
|
|
658
|
+
"entities/",
|
|
659
|
+
"services/",
|
|
660
|
+
"usecases/",
|
|
661
|
+
"domain/",
|
|
662
|
+
"repositories/",
|
|
663
|
+
"dal/",
|
|
664
|
+
"db/queries/",
|
|
665
|
+
"config/",
|
|
666
|
+
"settings.py",
|
|
667
|
+
".env.example",
|
|
668
|
+
"next.config.js",
|
|
669
|
+
"tests/",
|
|
670
|
+
"__tests__/",
|
|
671
|
+
"*_test.go",
|
|
672
|
+
"*.spec.ts",
|
|
673
|
+
"migrations/",
|
|
674
|
+
"alembic/versions/",
|
|
675
|
+
"prisma/migrations/",
|
|
676
|
+
"Dockerfile",
|
|
677
|
+
"k8s/",
|
|
678
|
+
"terraform/",
|
|
679
|
+
"scripts/",
|
|
680
|
+
"bin/",
|
|
681
|
+
"components/",
|
|
682
|
+
"pages/",
|
|
683
|
+
"views/",
|
|
684
|
+
"templates/",
|
|
685
|
+
"middleware/",
|
|
686
|
+
"interceptors/",
|
|
687
|
+
"utils/",
|
|
688
|
+
"lib/",
|
|
689
|
+
"helpers/",
|
|
690
|
+
"common/",
|
|
691
|
+
"[generated]",
|
|
692
|
+
"apps/web/app/layout.tsx",
|
|
693
|
+
"apps/api/main.py",
|
|
694
|
+
"apps/api/worker.py",
|
|
695
|
+
"authenticate_user()",
|
|
696
|
+
"create_tokens()",
|
|
697
|
+
"refresh_access_token()",
|
|
698
|
+
"repositories/user_repo",
|
|
699
|
+
"models/user",
|
|
700
|
+
"utils/jwt",
|
|
701
|
+
"config/settings",
|
|
702
|
+
"apiClient",
|
|
703
|
+
"useQuery",
|
|
704
|
+
"packages/shared/types",
|
|
705
|
+
"apps/api/services/auth.py",
|
|
706
|
+
"apps/web/app/(dashboard)/page.tsx",
|
|
707
|
+
"apps/api/routes/billing.py",
|
|
708
|
+
"apps/web/components/PricingTable.tsx",
|
|
709
|
+
".codemap-meta.json",
|
|
710
|
+
"git_sha",
|
|
711
|
+
"HEAD",
|
|
712
|
+
"/codemap",
|
|
713
|
+
"packages/auth/.codemap.md",
|
|
714
|
+
"--scope <package>",
|
|
715
|
+
"[generated — do not edit]",
|
|
716
|
+
"proto/*.proto",
|
|
717
|
+
"hot_files_window_days",
|
|
718
|
+
"stat",
|
|
719
|
+
"[large — 1,247 lines]",
|
|
720
|
+
"[HTTP]",
|
|
721
|
+
"[gRPC]",
|
|
722
|
+
".gitattributes",
|
|
723
|
+
"merge=ours",
|
|
724
|
+
".gitignore"
|
|
725
|
+
]
|
|
726
|
+
},
|
|
599
727
|
{
|
|
600
728
|
"name": "codesage",
|
|
601
729
|
"description": "Performs structured code reviews with severity-tiered findings covering security, correctness, performance, and maintainability. Uses language-specific linters and static analysis tools. Use when a user submits code for review, asks for feedback on a PR, or needs an audit of a module or function.",
|
|
@@ -2521,8 +2649,8 @@
|
|
|
2521
2649
|
"maintainability"
|
|
2522
2650
|
],
|
|
2523
2651
|
"categories": [],
|
|
2524
|
-
"line_count":
|
|
2525
|
-
"has_code_examples":
|
|
2652
|
+
"line_count": 110,
|
|
2653
|
+
"has_code_examples": true,
|
|
2526
2654
|
"tools_mentioned": [
|
|
2527
2655
|
"pytest",
|
|
2528
2656
|
"npm test",
|