skillme 0.2.0 → 0.2.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.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/lib/skillme/deps.rb +10 -0
- data/lib/skillme/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 56b29a9df63a256900713335803df0035a290d77bb7c19c2a26c48b4365708ba
|
|
4
|
+
data.tar.gz: abee98c8703a0a633c36ad0e752c5f6d288f6c0588e13ebe582d6ac133648849
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0c0bae8b473c873ccac48f3c41a84acf64c90e9caa4d6390252176787cbb8d3a639ee086d509341e4a5cb7b3a56c7f7cef0a8742e46cfce75f3c1ae6f952ea6e
|
|
7
|
+
data.tar.gz: 763765e7c24758b1f767a332512ecdb28d0af5d9a504f1c601a81dabcd560f2771f587af7fc0e95e2ec6c8ed4be46d9d80c0770acc300c0434c7f179f54cbd71
|
data/README.md
CHANGED
|
@@ -15,22 +15,22 @@ gem install skillme
|
|
|
15
15
|
skillme list
|
|
16
16
|
|
|
17
17
|
# Install a skill (global — works in all projects)
|
|
18
|
-
skillme install
|
|
18
|
+
skillme install google-sheets
|
|
19
19
|
|
|
20
20
|
# Install for current project only
|
|
21
|
-
skillme install
|
|
21
|
+
skillme install google-sheets --local
|
|
22
22
|
|
|
23
23
|
# Remove a skill
|
|
24
|
-
skillme remove
|
|
24
|
+
skillme remove google-sheets
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
After installing, use `/
|
|
27
|
+
After installing, use `/google-sheets` (or any skill name) directly in Claude Code.
|
|
28
28
|
|
|
29
29
|
## Available Skills
|
|
30
30
|
|
|
31
31
|
| Skill | Description |
|
|
32
32
|
|-------|-------------|
|
|
33
|
-
|
|
|
33
|
+
| google-sheets | Read and write Google Sheets via gws CLI |
|
|
34
34
|
|
|
35
35
|
## Why Ruby
|
|
36
36
|
|
data/lib/skillme/deps.rb
CHANGED
|
@@ -71,6 +71,16 @@ module Skillme
|
|
|
71
71
|
ensure_npm_package!(package)
|
|
72
72
|
end
|
|
73
73
|
end
|
|
74
|
+
|
|
75
|
+
ensure_gws_auth! if dependencies.dig('npm')&.include?('@googleworkspace/cli')
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
def ensure_gws_auth!
|
|
79
|
+
# Check if gws is already authenticated
|
|
80
|
+
return if system("gws auth export > /dev/null 2>&1")
|
|
81
|
+
|
|
82
|
+
puts "Setting up Google authentication (opens browser)..."
|
|
83
|
+
system("gws auth setup")
|
|
74
84
|
end
|
|
75
85
|
|
|
76
86
|
private
|
data/lib/skillme/version.rb
CHANGED