@veyralabs/skills 0.4.0 → 0.4.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/README.md +25 -7
- package/bin/cli.js +33 -0
- package/install.sh +35 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
# VeyraSkills
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
  
|
|
4
|
+
|
|
5
|
+
Skills for Claude Code and other AI coding agents. Each skill is a plain text file that teaches your agent a specialized workflow - naming, branding, website cloning, Shopify development, and more.
|
|
4
6
|
|
|
5
7
|
```bash
|
|
6
8
|
npx @veyralabs/skills install naming-suite
|
|
7
9
|
npx @veyralabs/skills install webcloner
|
|
10
|
+
npx @veyralabs/skills install shopify-suite
|
|
8
11
|
```
|
|
9
12
|
|
|
10
13
|
Or install everything at once:
|
|
@@ -30,6 +33,15 @@ Four skills for naming products, auditing brands, mapping competitors, and build
|
|
|
30
33
|
|
|
31
34
|
Works best in sequence: run `competitornames` to understand the landscape, then `domainforge` to generate names that stand out from it.
|
|
32
35
|
|
|
36
|
+
### shopify-suite
|
|
37
|
+
|
|
38
|
+
Two skills covering the full Shopify stack - one for developers building themes and apps, one for merchants auditing and optimizing stores.
|
|
39
|
+
|
|
40
|
+
| Skill | What it does |
|
|
41
|
+
|-------|-------------|
|
|
42
|
+
| [shopify-dev](./skills/shopify-suite/shopify-dev/SKILL.md) | Shopify development across all layers: Liquid themes, JSON templates, app development with Remix, Storefront and Admin API, CLI workflows, checkout extensions, Hydrogen. Fetches live Shopify documentation via Context7 before answering version-sensitive questions |
|
|
43
|
+
| [shopify-store](./skills/shopify-suite/shopify-store/SKILL.md) | Store audit and optimization. Works in two modes: Mode A uses shopify-mcp to read real store data (products, orders, apps, metafields); Mode B uses public extraction when MCP is not available. Audits 6 dimensions: catalog health, collection architecture, navigation, SEO, app stack, conversion signals |
|
|
44
|
+
|
|
33
45
|
### webcloner
|
|
34
46
|
|
|
35
47
|
Clone any landing page, marketing site, portfolio, or ecommerce storefront into a pixel-accurate Next.js replica.
|
|
@@ -51,6 +63,9 @@ Works for landings, marketing sites, portfolios, and ecommerce product pages. No
|
|
|
51
63
|
```bash
|
|
52
64
|
npx @veyralabs/skills install naming-suite
|
|
53
65
|
npx @veyralabs/skills install webcloner
|
|
66
|
+
npx @veyralabs/skills install shopify-suite
|
|
67
|
+
npx @veyralabs/skills install shopify-dev
|
|
68
|
+
npx @veyralabs/skills install shopify-store
|
|
54
69
|
npx @veyralabs/skills install domainforge
|
|
55
70
|
```
|
|
56
71
|
|
|
@@ -109,14 +124,14 @@ npx @veyralabs/skills install domainforge
|
|
|
109
124
|
## Coming soon
|
|
110
125
|
|
|
111
126
|
**brand-suite**
|
|
112
|
-
- `brandvoice`
|
|
113
|
-
- `brandpositioning`
|
|
114
|
-
- `taglineforge`
|
|
127
|
+
- `brandvoice` - tone of voice guide generator
|
|
128
|
+
- `brandpositioning` - positioning statement and competitive differentiation
|
|
129
|
+
- `taglineforge` - tagline generation with scoring
|
|
115
130
|
|
|
116
131
|
**gtm-suite**
|
|
117
|
-
- `icp`
|
|
118
|
-
- `pricingstrategy`
|
|
119
|
-
- `gtmplan`
|
|
132
|
+
- `icp` - Ideal Customer Profile builder
|
|
133
|
+
- `pricingstrategy` - pricing model analysis
|
|
134
|
+
- `gtmplan` - go-to-market plan generator
|
|
120
135
|
|
|
121
136
|
---
|
|
122
137
|
|
|
@@ -126,6 +141,9 @@ Each skill is also published as a standalone npm package if you only want one:
|
|
|
126
141
|
|
|
127
142
|
- `@veyralabs/naming-suite`
|
|
128
143
|
- `@veyralabs/webcloner`
|
|
144
|
+
- `@veyralabs/shopify-suite`
|
|
145
|
+
- `@veyralabs/shopify-dev`
|
|
146
|
+
- `@veyralabs/shopify-store`
|
|
129
147
|
|
|
130
148
|
---
|
|
131
149
|
|
package/bin/cli.js
CHANGED
|
@@ -4,10 +4,17 @@
|
|
|
4
4
|
const fs = require('fs');
|
|
5
5
|
const path = require('path');
|
|
6
6
|
const os = require('os');
|
|
7
|
+
const { execFileSync } = require('child_process');
|
|
7
8
|
|
|
8
9
|
const SKILLS_DIR = path.join(__dirname, '..', 'skills');
|
|
9
10
|
const COMMANDS_DIR = path.join(__dirname, '..', 'commands');
|
|
10
11
|
|
|
12
|
+
// pip packages required per skill
|
|
13
|
+
const SKILL_PIP_DEPS = {
|
|
14
|
+
'shopify-store': ['scrapling'],
|
|
15
|
+
'webcloner': ['scrapling'],
|
|
16
|
+
};
|
|
17
|
+
|
|
11
18
|
const AGENT_PATHS = {
|
|
12
19
|
claude: { local: '.claude/skills', global: '.claude/skills' },
|
|
13
20
|
cursor: { local: '.cursor/skills', global: '.cursor/skills' },
|
|
@@ -78,6 +85,31 @@ function copySkill(name, skillPath, dest) {
|
|
|
78
85
|
console.log(` ✓ ${name}`);
|
|
79
86
|
}
|
|
80
87
|
|
|
88
|
+
function installPipDeps(skillNames) {
|
|
89
|
+
const pkgs = [...new Set(skillNames.flatMap(n => SKILL_PIP_DEPS[n] || []))];
|
|
90
|
+
if (pkgs.length === 0) return;
|
|
91
|
+
|
|
92
|
+
let pip = null;
|
|
93
|
+
for (const cmd of ['pip3', 'pip']) {
|
|
94
|
+
try { execFileSync(cmd, ['--version'], { stdio: 'ignore' }); pip = cmd; break; } catch {}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
if (!pip) {
|
|
98
|
+
console.log(` ⚠ Python pip not found. Install manually: pip install ${pkgs.join(' ')}`);
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
for (const pkg of pkgs) {
|
|
103
|
+
try {
|
|
104
|
+
console.log(` Installing Python dependency: ${pkg}...`);
|
|
105
|
+
execFileSync(pip, ['install', pkg, '-q'], { stdio: 'inherit' });
|
|
106
|
+
console.log(` ✓ ${pkg}`);
|
|
107
|
+
} catch {
|
|
108
|
+
console.log(` ⚠ Failed to install ${pkg}. Run: ${pip} install ${pkg}`);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
81
113
|
// Copy slash commands — Claude Code only (.claude/commands/)
|
|
82
114
|
function copyCommands(agent, isGlobal) {
|
|
83
115
|
if (agent !== 'claude') return;
|
|
@@ -170,6 +202,7 @@ if (command === 'install') {
|
|
|
170
202
|
console.log(`\nInstalling into ${dest} [${agent}/${scope}]\n`);
|
|
171
203
|
toInstall.forEach(name => copySkill(name, skills[name], dest));
|
|
172
204
|
copyCommands(agent, isGlobal);
|
|
205
|
+
installPipDeps(toInstall);
|
|
173
206
|
console.log('\nDone. Restart your agent to activate skills.\n');
|
|
174
207
|
process.exit(0);
|
|
175
208
|
}
|
package/install.sh
CHANGED
|
@@ -114,6 +114,37 @@ check_deps() {
|
|
|
114
114
|
fi
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
+
# Skills that require Python packages: skill_name -> pip packages (space-separated)
|
|
118
|
+
declare -A SKILL_PIP_DEPS=(
|
|
119
|
+
["shopify-store"]="scrapling"
|
|
120
|
+
["webcloner"]="scrapling"
|
|
121
|
+
)
|
|
122
|
+
|
|
123
|
+
install_pip_deps() {
|
|
124
|
+
local skill="$1"
|
|
125
|
+
local pkgs="${SKILL_PIP_DEPS[$skill]:-}"
|
|
126
|
+
[[ -z "$pkgs" ]] && return
|
|
127
|
+
|
|
128
|
+
local pip=""
|
|
129
|
+
for cmd in pip3 pip; do
|
|
130
|
+
command -v "$cmd" &>/dev/null && pip="$cmd" && break
|
|
131
|
+
done
|
|
132
|
+
|
|
133
|
+
if [[ -z "$pip" ]]; then
|
|
134
|
+
echo " Warning: pip not found. Install manually: pip install $pkgs"
|
|
135
|
+
return
|
|
136
|
+
fi
|
|
137
|
+
|
|
138
|
+
for pkg in $pkgs; do
|
|
139
|
+
echo " Installing Python dependency: $pkg..."
|
|
140
|
+
if "$pip" install "$pkg" -q; then
|
|
141
|
+
echo " ✓ $pkg"
|
|
142
|
+
else
|
|
143
|
+
echo " Warning: failed to install $pkg. Run: $pip install $pkg"
|
|
144
|
+
fi
|
|
145
|
+
done
|
|
146
|
+
}
|
|
147
|
+
|
|
117
148
|
install_skill() {
|
|
118
149
|
local skill="$1"
|
|
119
150
|
local dest_dir="$2"
|
|
@@ -236,11 +267,15 @@ main() {
|
|
|
236
267
|
if [[ -n "$SKILL_NAME" ]]; then
|
|
237
268
|
echo "Installing '$SKILL_NAME' → $dest/"
|
|
238
269
|
install_skill "$SKILL_NAME" "$dest"
|
|
270
|
+
install_pip_deps "$SKILL_NAME"
|
|
239
271
|
echo ""
|
|
240
272
|
echo "Done. ${dest}/${SKILL_NAME}/ is ready."
|
|
241
273
|
else
|
|
242
274
|
echo "Installing all skills → $dest/"
|
|
243
275
|
install_all "$dest"
|
|
276
|
+
for skill in "${!SKILL_PIP_DEPS[@]}"; do
|
|
277
|
+
install_pip_deps "$skill"
|
|
278
|
+
done
|
|
244
279
|
echo ""
|
|
245
280
|
echo "Done. All skills installed to ${dest}/"
|
|
246
281
|
fi
|