skillstore 0.0.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/package.json +19 -0
- package/src/index.js +16 -0
package/package.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "skillstore",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "AI Skillstore SDK",
|
|
5
|
+
"main": "src/index.js",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"start": "node src/index.js",
|
|
9
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
10
|
+
},
|
|
11
|
+
"keywords": [
|
|
12
|
+
"skillstore",
|
|
13
|
+
"ai",
|
|
14
|
+
"skills",
|
|
15
|
+
"claude"
|
|
16
|
+
],
|
|
17
|
+
"author": "",
|
|
18
|
+
"license": "MIT"
|
|
19
|
+
}
|
package/src/index.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Skillstore SDK
|
|
3
|
+
* AI Skills marketplace for Claude Code
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
export function hello() {
|
|
7
|
+
return 'Hello, World!';
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export function greet(name) {
|
|
11
|
+
return `Hello, ${name}!`;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
if (import.meta.url === `file://${process.argv[1]}`) {
|
|
15
|
+
console.log(hello());
|
|
16
|
+
}
|