@intellectronica/ruler 0.3.33 → 0.3.34
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 +4 -4
- package/dist/constants.js +1 -1
- package/dist/core/SkillsProcessor.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -76,7 +76,7 @@ Ruler solves this by providing a **single source of truth** for all your AI agen
|
|
|
76
76
|
| Junie | `.junie/guidelines.md` | - | - |
|
|
77
77
|
| AugmentCode | `.augment/rules/ruler_augment_instructions.md` | - | - |
|
|
78
78
|
| Kilo Code | `AGENTS.md` | `.kilocode/mcp.json` | `.claude/skills/` |
|
|
79
|
-
| OpenCode | `AGENTS.md` | `opencode.json` | `.opencode/
|
|
79
|
+
| OpenCode | `AGENTS.md` | `opencode.json` | `.opencode/skills/` |
|
|
80
80
|
| Goose | `.goosehints` | - | `.agents/skills/` |
|
|
81
81
|
| Qwen Code | `AGENTS.md` | `.qwen/settings.json` | - |
|
|
82
82
|
| RooCode | `AGENTS.md` | `.roo/mcp.json` | `.roo/skills/` |
|
|
@@ -578,7 +578,7 @@ Skills are specialized knowledge packages that extend AI agent capabilities with
|
|
|
578
578
|
- **GitHub Copilot**: `.claude/skills/` (shared with Claude Code)
|
|
579
579
|
- **Kilo Code**: `.claude/skills/` (shared with Claude Code)
|
|
580
580
|
- **OpenAI Codex CLI**: `.codex/skills/`
|
|
581
|
-
- **OpenCode**: `.opencode/
|
|
581
|
+
- **OpenCode**: `.opencode/skills/`
|
|
582
582
|
- **Pi Coding Agent**: `.pi/skills/`
|
|
583
583
|
- **Goose**: `.agents/skills/`
|
|
584
584
|
- **Amp**: `.agents/skills/` (shared with Goose)
|
|
@@ -644,7 +644,7 @@ When skills support is enabled and gitignore integration is active, Ruler automa
|
|
|
644
644
|
|
|
645
645
|
- `.claude/skills/` (for Claude Code, GitHub Copilot, and Kilo Code)
|
|
646
646
|
- `.codex/skills/` (for OpenAI Codex CLI)
|
|
647
|
-
- `.opencode/
|
|
647
|
+
- `.opencode/skills/` (for OpenCode)
|
|
648
648
|
- `.pi/skills/` (for Pi Coding Agent)
|
|
649
649
|
- `.agents/skills/` (for Goose and Amp)
|
|
650
650
|
- `.agent/skills/` (for Antigravity)
|
|
@@ -703,7 +703,7 @@ ruler apply
|
|
|
703
703
|
# 3. Skills are now available to compatible agents:
|
|
704
704
|
# - Claude Code, GitHub Copilot & Kilo Code: .claude/skills/my-skill/
|
|
705
705
|
# - OpenAI Codex CLI: .codex/skills/my-skill/
|
|
706
|
-
# - OpenCode: .opencode/
|
|
706
|
+
# - OpenCode: .opencode/skills/my-skill/
|
|
707
707
|
# - Pi Coding Agent: .pi/skills/my-skill/
|
|
708
708
|
# - Goose & Amp: .agents/skills/my-skill/
|
|
709
709
|
# - Antigravity: .agent/skills/my-skill/
|
package/dist/constants.js
CHANGED
|
@@ -54,7 +54,7 @@ exports.SKILLS_DIR = 'skills';
|
|
|
54
54
|
exports.RULER_SKILLS_PATH = '.ruler/skills';
|
|
55
55
|
exports.CLAUDE_SKILLS_PATH = '.claude/skills';
|
|
56
56
|
exports.CODEX_SKILLS_PATH = '.codex/skills';
|
|
57
|
-
exports.OPENCODE_SKILLS_PATH = '.opencode/
|
|
57
|
+
exports.OPENCODE_SKILLS_PATH = '.opencode/skills';
|
|
58
58
|
exports.PI_SKILLS_PATH = '.pi/skills';
|
|
59
59
|
exports.GOOSE_SKILLS_PATH = '.agents/skills';
|
|
60
60
|
exports.VIBE_SKILLS_PATH = '.vibe/skills';
|
|
@@ -186,7 +186,7 @@ async function cleanupSkillsDirectories(projectRoot, dryRun, verbose) {
|
|
|
186
186
|
catch {
|
|
187
187
|
// Directory doesn't exist, nothing to clean
|
|
188
188
|
}
|
|
189
|
-
// Clean up .opencode/
|
|
189
|
+
// Clean up .opencode/skills
|
|
190
190
|
try {
|
|
191
191
|
await fs.access(opencodeSkillsPath);
|
|
192
192
|
if (dryRun) {
|
|
@@ -510,7 +510,7 @@ async function propagateSkillsForCodex(projectRoot, options) {
|
|
|
510
510
|
return [];
|
|
511
511
|
}
|
|
512
512
|
/**
|
|
513
|
-
* Propagates skills for OpenCode by copying .ruler/skills to .opencode/
|
|
513
|
+
* Propagates skills for OpenCode by copying .ruler/skills to .opencode/skills.
|
|
514
514
|
* Uses atomic replace to ensure safe overwriting of existing skills.
|
|
515
515
|
* Returns dry-run steps if dryRun is true, otherwise returns empty array.
|
|
516
516
|
*/
|