@trendai-crem/claude-skills 1.1.1 → 1.3.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 +4 -1
- package/cli.js +44 -1
- package/package.json +1 -1
- package/sources.json +8 -0
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@ Auto-update runs at session start — you'll be notified when a new version is a
|
|
|
33
33
|
|
|
34
34
|
## Marketplace Plugins
|
|
35
35
|
|
|
36
|
-
Installed from [ai-skill-marketplace](https://github.com/trend-ai-taskforce/ai-skill-marketplace), `claude-plugins-official`, and `
|
|
36
|
+
Installed from [ai-skill-marketplace](https://github.com/trend-ai-taskforce/ai-skill-marketplace), `claude-plugins-official`, `openai-codex`, and `everything-claude-code`. Configure in `sources.json`.
|
|
37
37
|
|
|
38
38
|
| Plugin | Marketplace | Description |
|
|
39
39
|
|--------|-------------|-------------|
|
|
@@ -43,6 +43,9 @@ Installed from [ai-skill-marketplace](https://github.com/trend-ai-taskforce/ai-s
|
|
|
43
43
|
| **service-doc-generator** | ai-skill-marketplace | Systematic service documentation generation |
|
|
44
44
|
| **ralph-loop** | claude-plugins-official | Ralph Loop autonomous agent plugin |
|
|
45
45
|
| **codex** | openai-codex | Official OpenAI Codex plugin — CLI runtime, review commands, rescue agent, GPT prompting guides |
|
|
46
|
+
| **everything-claude-code** | everything-claude-code | Battle-tested agents, skills, hooks, and commands — TDD, code review, security, Go/Python/Swift patterns, and more |
|
|
47
|
+
|
|
48
|
+
> **Note:** The `everything-claude-code` plugin installs skills, agents, commands, and hooks via the marketplace. Its **rules** are automatically copied to `~/.claude/rules/` on install (all languages, no-clobber — existing files are never overwritten).
|
|
46
49
|
|
|
47
50
|
## For Maintainers
|
|
48
51
|
|
package/cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { execFileSync } from 'child_process';
|
|
4
|
-
import { readFileSync, writeFileSync, copyFileSync, mkdirSync, existsSync } from 'fs';
|
|
4
|
+
import { readFileSync, writeFileSync, copyFileSync, mkdirSync, existsSync, readdirSync } from 'fs';
|
|
5
5
|
import { fileURLToPath } from 'url';
|
|
6
6
|
import { dirname, join } from 'path';
|
|
7
7
|
import { homedir, tmpdir } from 'os';
|
|
@@ -81,6 +81,49 @@ if (!manifest._writeSkipped) {
|
|
|
81
81
|
}
|
|
82
82
|
printSummary(allResults);
|
|
83
83
|
|
|
84
|
+
// ── ECC rules (no-clobber) ───────────────────────────────────────────────────
|
|
85
|
+
|
|
86
|
+
installEccRules();
|
|
87
|
+
|
|
88
|
+
function installEccRules() {
|
|
89
|
+
const eccMarketplace = join(
|
|
90
|
+
homedir(), '.claude', 'plugins', 'marketplaces', 'everything-claude-code'
|
|
91
|
+
);
|
|
92
|
+
const eccRulesDir = join(eccMarketplace, 'rules');
|
|
93
|
+
if (!existsSync(eccRulesDir)) return;
|
|
94
|
+
|
|
95
|
+
const destDir = join(homedir(), '.claude', 'rules');
|
|
96
|
+
const languages = readdirSync(eccRulesDir, { withFileTypes: true })
|
|
97
|
+
.filter(d => d.isDirectory())
|
|
98
|
+
.map(d => d.name);
|
|
99
|
+
|
|
100
|
+
let copied = 0;
|
|
101
|
+
let skipped = 0;
|
|
102
|
+
|
|
103
|
+
for (const lang of languages) {
|
|
104
|
+
const srcLang = join(eccRulesDir, lang);
|
|
105
|
+
const destLang = join(destDir, lang);
|
|
106
|
+
mkdirSync(destLang, { recursive: true });
|
|
107
|
+
|
|
108
|
+
const files = readdirSync(srcLang).filter(f => f.endsWith('.md'));
|
|
109
|
+
for (const file of files) {
|
|
110
|
+
const destFile = join(destLang, file);
|
|
111
|
+
if (existsSync(destFile)) {
|
|
112
|
+
skipped++;
|
|
113
|
+
continue;
|
|
114
|
+
}
|
|
115
|
+
copyFileSync(join(srcLang, file), destFile);
|
|
116
|
+
copied++;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
if (copied > 0) {
|
|
121
|
+
console.log(`\n✓ ECC rules: ${copied} installed, ${skipped} skipped (already exist)`);
|
|
122
|
+
} else if (skipped > 0) {
|
|
123
|
+
console.log(`\n✓ ECC rules: up to date (${skipped} already installed)`);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
84
127
|
// ── Auto-update hooks ─────────────────────────────────────────────────────────
|
|
85
128
|
|
|
86
129
|
setupAutoUpdate();
|
package/package.json
CHANGED