@kurokeita/add-skill 1.21.0 → 2.1.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/README.md +17 -8
- package/dist/bin/cli.js +576 -792
- package/dist/skills/git-commit/SKILL.md +101 -37
- package/dist/skills/handoff/SKILL.md +16 -0
- package/dist/skills/init-agents-md/SKILL.md +51 -0
- package/dist/skills/init-agents-md/references/agents_template.md +42 -0
- package/dist/skills/init-agents-md/references/patterns_template.md +19 -0
- package/dist/skills/statusline-setup/SKILL.md +603 -134
- package/dist/skills/universalize-agents/SKILL.md +245 -0
- package/dist/skills/universalize-agents/reference/hook-templates/README.md +30 -0
- package/dist/skills/universalize-agents/reference/hook-templates/claude-code.json +15 -0
- package/dist/skills/universalize-agents/reference/hook-templates/codex.toml +10 -0
- package/dist/skills/universalize-agents/reference/hook-templates/copilot.json +9 -0
- package/dist/skills/universalize-agents/reference/hook-templates/gemini.json +11 -0
- package/dist/skills/universalize-agents/reference/mapping.md +100 -0
- package/dist/skills/universalize-agents/scripts/agent-setup.ps1 +83 -0
- package/dist/skills/universalize-agents/scripts/agent-setup.sh +98 -0
- package/dist/skills/update-agents-md/SKILL.md +43 -0
- package/package.json +2 -5
- package/dist/skills/serena-file-processing/SKILL.md +0 -47
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kurokeita/add-skill",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "CLI to install AI agent skills to various platforms",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
],
|
|
13
13
|
"scripts": {
|
|
14
14
|
"dev": "tsx bin/cli.ts",
|
|
15
|
-
"update:readme": "tsx scripts/update-readme.ts",
|
|
16
15
|
"build": "tsc --noEmit && esbuild bin/cli.ts --bundle --platform=node --format=esm --outfile=dist/bin/cli.js --packages=external && tsx scripts/copy-assets.ts",
|
|
17
16
|
"prepublishOnly": "pnpm run build",
|
|
18
17
|
"test": "vitest run",
|
|
@@ -41,17 +40,15 @@
|
|
|
41
40
|
"@clack/prompts": "^1.2.0",
|
|
42
41
|
"commander": "^14.0.2",
|
|
43
42
|
"fs-extra": "^11.3.3",
|
|
44
|
-
"js-yaml": "^4.1.1",
|
|
45
43
|
"picocolors": "^1.1.1"
|
|
46
44
|
},
|
|
47
45
|
"devDependencies": {
|
|
48
46
|
"@biomejs/biome": "^2.3.11",
|
|
49
47
|
"@semantic-release/git": "^10.0.1",
|
|
50
48
|
"@types/fs-extra": "^11.0.4",
|
|
51
|
-
"@types/js-yaml": "^4.0.9",
|
|
52
49
|
"@types/node": "^25.0.9",
|
|
53
50
|
"@vitest/coverage-v8": "^4.0.18",
|
|
54
|
-
"esbuild": "^0.
|
|
51
|
+
"esbuild": "^0.28.1",
|
|
55
52
|
"markdownlint-cli": "^0.47.0",
|
|
56
53
|
"semantic-release": "^25.0.2",
|
|
57
54
|
"tsx": "^4.21.0",
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: serena-file-processing
|
|
3
|
-
description: Master instructions for using Serena MCP tools for code navigation, search, navigation, and editing. Includes rules for terminal usage and memory management.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Serena File Processing Skill
|
|
7
|
-
|
|
8
|
-
This skill defines the **authoritative rules** for using Serena tools (`view_file`, `replace_file_content`, `grep_search`, etc.) and interactions with other tools in Antigravity.
|
|
9
|
-
|
|
10
|
-
## Core Rules
|
|
11
|
-
|
|
12
|
-
### 1. Terminal Execution
|
|
13
|
-
|
|
14
|
-
- ❌ NEVER use `mcp_serena_execute_shell_command`.
|
|
15
|
-
- ✅ ALWAYS use `run_command` for terminal operations in Antigravity.
|
|
16
|
-
|
|
17
|
-
## Workflow Best Practices
|
|
18
|
-
|
|
19
|
-
### 2. Code Navigation
|
|
20
|
-
|
|
21
|
-
- **Symbolic First**: Use `view_file_outline` to understand file structure before reading content.
|
|
22
|
-
- **Search Smart**: Use `grep_search` to find usages. Constraint searches to relevant paths.
|
|
23
|
-
- **Jumping**: Use `view_code_item` to inspect specific functions/classes without reading the whole file.
|
|
24
|
-
|
|
25
|
-
### 3. Code Editing
|
|
26
|
-
|
|
27
|
-
- **Pattern Matching**: When using `replace_file_content` or `multi_replace_file_content`, ensure `TargetContent` is unique.
|
|
28
|
-
- **Context**: Use `view_file` around the target area first to ensure you have the exact string for replacement.
|
|
29
|
-
|
|
30
|
-
### 4. Memory Management
|
|
31
|
-
|
|
32
|
-
- **Limit Output**: When reading large files, read in chunks or use `view_child_nodes`.
|
|
33
|
-
- **Close Context**: You don't need to explicitly "close" files, but don't re-read files unnecessarily.
|
|
34
|
-
|
|
35
|
-
## Integration with Other Skills
|
|
36
|
-
|
|
37
|
-
- **Layering**: Use this skill as the foundational layer for file operations.
|
|
38
|
-
- **Specifics**: Higher-level skills (like `bliksund-pr-reviewer`) define *what* to look for; this skill defines *how* to look for it reliably.
|
|
39
|
-
|
|
40
|
-
## Troubleshooting
|
|
41
|
-
|
|
42
|
-
### 5. Connection Issues
|
|
43
|
-
|
|
44
|
-
If you encounter errors connecting to the Serena MCP server or tools are unavailable:
|
|
45
|
-
|
|
46
|
-
1. **Check Process Status**: Ask the user to verify if the Serena process has started.
|
|
47
|
-
2. **Check Workspace Config**: Ask the user to confirm if the Serena configuration has been initiated for the current workspace.
|