@hasna/skills 0.1.49 → 0.1.51
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/bin/index.js +6 -4
- package/bin/mcp.js +6 -4
- package/dist/index.js +6 -4
- package/package.json +6 -4
- package/skills/apidocs/.env.example +2 -2
- package/skills/convert/.env.example +2 -2
- package/skills/convert/README.md +2 -2
- package/skills/image/examples/{xai-examples.sh → aurora-examples.sh} +5 -5
package/bin/index.js
CHANGED
|
@@ -36860,12 +36860,12 @@ var package_default;
|
|
|
36860
36860
|
var init_package = __esm(() => {
|
|
36861
36861
|
package_default = {
|
|
36862
36862
|
name: "@hasna/skills",
|
|
36863
|
-
version: "0.1.
|
|
36863
|
+
version: "0.1.51",
|
|
36864
36864
|
description: "Skills library for AI coding agents",
|
|
36865
36865
|
type: "module",
|
|
36866
36866
|
bin: {
|
|
36867
|
-
skills: "
|
|
36868
|
-
"skills-mcp": "
|
|
36867
|
+
skills: "bin/index.js",
|
|
36868
|
+
"skills-mcp": "bin/mcp.js"
|
|
36869
36869
|
},
|
|
36870
36870
|
exports: {
|
|
36871
36871
|
".": {
|
|
@@ -36901,7 +36901,9 @@ var init_package = __esm(() => {
|
|
|
36901
36901
|
"dev:watch": "bun --watch run ./src/cli/index.tsx",
|
|
36902
36902
|
"dev:mcp": "bun --watch run ./src/mcp/index.ts",
|
|
36903
36903
|
typecheck: "tsc --noEmit",
|
|
36904
|
-
|
|
36904
|
+
"verify:release": "bun run scripts/release-guard.ts",
|
|
36905
|
+
prepack: "bun run build && bun run verify:release",
|
|
36906
|
+
prepublishOnly: "bun run typecheck && bun run test",
|
|
36905
36907
|
postinstall: "mkdir -p $HOME/.hasna/skills/custom 2>/dev/null || true"
|
|
36906
36908
|
},
|
|
36907
36909
|
keywords: [
|
package/bin/mcp.js
CHANGED
|
@@ -21819,12 +21819,12 @@ class StdioServerTransport {
|
|
|
21819
21819
|
// package.json
|
|
21820
21820
|
var package_default = {
|
|
21821
21821
|
name: "@hasna/skills",
|
|
21822
|
-
version: "0.1.
|
|
21822
|
+
version: "0.1.51",
|
|
21823
21823
|
description: "Skills library for AI coding agents",
|
|
21824
21824
|
type: "module",
|
|
21825
21825
|
bin: {
|
|
21826
|
-
skills: "
|
|
21827
|
-
"skills-mcp": "
|
|
21826
|
+
skills: "bin/index.js",
|
|
21827
|
+
"skills-mcp": "bin/mcp.js"
|
|
21828
21828
|
},
|
|
21829
21829
|
exports: {
|
|
21830
21830
|
".": {
|
|
@@ -21860,7 +21860,9 @@ var package_default = {
|
|
|
21860
21860
|
"dev:watch": "bun --watch run ./src/cli/index.tsx",
|
|
21861
21861
|
"dev:mcp": "bun --watch run ./src/mcp/index.ts",
|
|
21862
21862
|
typecheck: "tsc --noEmit",
|
|
21863
|
-
|
|
21863
|
+
"verify:release": "bun run scripts/release-guard.ts",
|
|
21864
|
+
prepack: "bun run build && bun run verify:release",
|
|
21865
|
+
prepublishOnly: "bun run typecheck && bun run test",
|
|
21864
21866
|
postinstall: "mkdir -p $HOME/.hasna/skills/custom 2>/dev/null || true"
|
|
21865
21867
|
},
|
|
21866
21868
|
keywords: [
|
package/dist/index.js
CHANGED
|
@@ -18833,12 +18833,12 @@ import { dirname as dirname4, relative as relative3 } from "path";
|
|
|
18833
18833
|
// package.json
|
|
18834
18834
|
var package_default = {
|
|
18835
18835
|
name: "@hasna/skills",
|
|
18836
|
-
version: "0.1.
|
|
18836
|
+
version: "0.1.51",
|
|
18837
18837
|
description: "Skills library for AI coding agents",
|
|
18838
18838
|
type: "module",
|
|
18839
18839
|
bin: {
|
|
18840
|
-
skills: "
|
|
18841
|
-
"skills-mcp": "
|
|
18840
|
+
skills: "bin/index.js",
|
|
18841
|
+
"skills-mcp": "bin/mcp.js"
|
|
18842
18842
|
},
|
|
18843
18843
|
exports: {
|
|
18844
18844
|
".": {
|
|
@@ -18874,7 +18874,9 @@ var package_default = {
|
|
|
18874
18874
|
"dev:watch": "bun --watch run ./src/cli/index.tsx",
|
|
18875
18875
|
"dev:mcp": "bun --watch run ./src/mcp/index.ts",
|
|
18876
18876
|
typecheck: "tsc --noEmit",
|
|
18877
|
-
|
|
18877
|
+
"verify:release": "bun run scripts/release-guard.ts",
|
|
18878
|
+
prepack: "bun run build && bun run verify:release",
|
|
18879
|
+
prepublishOnly: "bun run typecheck && bun run test",
|
|
18878
18880
|
postinstall: "mkdir -p $HOME/.hasna/skills/custom 2>/dev/null || true"
|
|
18879
18881
|
},
|
|
18880
18882
|
keywords: [
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hasna/skills",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.51",
|
|
4
4
|
"description": "Skills library for AI coding agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
|
-
"skills": "
|
|
8
|
-
"skills-mcp": "
|
|
7
|
+
"skills": "bin/index.js",
|
|
8
|
+
"skills-mcp": "bin/mcp.js"
|
|
9
9
|
},
|
|
10
10
|
"exports": {
|
|
11
11
|
".": {
|
|
@@ -41,7 +41,9 @@
|
|
|
41
41
|
"dev:watch": "bun --watch run ./src/cli/index.tsx",
|
|
42
42
|
"dev:mcp": "bun --watch run ./src/mcp/index.ts",
|
|
43
43
|
"typecheck": "tsc --noEmit",
|
|
44
|
-
"
|
|
44
|
+
"verify:release": "bun run scripts/release-guard.ts",
|
|
45
|
+
"prepack": "bun run build && bun run verify:release",
|
|
46
|
+
"prepublishOnly": "bun run typecheck && bun run test",
|
|
45
47
|
"postinstall": "mkdir -p $HOME/.hasna/skills/custom 2>/dev/null || true"
|
|
46
48
|
},
|
|
47
49
|
"keywords": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Required API Keys
|
|
2
|
-
OPENAI_API_KEY=
|
|
3
|
-
ANTHROPIC_API_KEY=
|
|
2
|
+
OPENAI_API_KEY=your-openai-api-key
|
|
3
|
+
ANTHROPIC_API_KEY=your-anthropic-api-key
|
|
4
4
|
|
|
5
5
|
# Optional: Use AWS S3 Vectors instead of local storage
|
|
6
6
|
# USE_S3_VECTORS=true
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# API Keys for AI-powered conversions
|
|
2
2
|
|
|
3
3
|
# Anthropic API key (for Claude - recommended)
|
|
4
|
-
ANTHROPIC_API_KEY=
|
|
4
|
+
ANTHROPIC_API_KEY=your-anthropic-api-key
|
|
5
5
|
|
|
6
6
|
# OpenAI API key (for GPT-4o - alternative)
|
|
7
|
-
OPENAI_API_KEY=
|
|
7
|
+
OPENAI_API_KEY=your-openai-api-key
|
package/skills/convert/README.md
CHANGED
|
@@ -25,9 +25,9 @@ bun install
|
|
|
25
25
|
For AI-powered conversions, set your API key:
|
|
26
26
|
|
|
27
27
|
```bash
|
|
28
|
-
export ANTHROPIC_API_KEY=
|
|
28
|
+
export ANTHROPIC_API_KEY=your-anthropic-api-key
|
|
29
29
|
# OR
|
|
30
|
-
export OPENAI_API_KEY=
|
|
30
|
+
export OPENAI_API_KEY=your-openai-api-key
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
## Usage
|
|
@@ -6,28 +6,28 @@
|
|
|
6
6
|
bun run ../src/index.ts generate \
|
|
7
7
|
--provider xai \
|
|
8
8
|
--prompt "the concept of time as abstract art" \
|
|
9
|
-
--output ./
|
|
9
|
+
--output ./aurora-time.png
|
|
10
10
|
|
|
11
11
|
# Sci-fi scene
|
|
12
12
|
bun run ../src/index.ts generate \
|
|
13
13
|
--provider xai \
|
|
14
14
|
--prompt "a robot sitting on a park bench reading a newspaper in a cyberpunk city" \
|
|
15
|
-
--output ./
|
|
15
|
+
--output ./aurora-robot.png
|
|
16
16
|
|
|
17
17
|
# Fantasy landscape
|
|
18
18
|
bun run ../src/index.ts generate \
|
|
19
19
|
--provider xai \
|
|
20
20
|
--prompt "a floating island with a castle and waterfalls, surrounded by clouds" \
|
|
21
|
-
--output ./
|
|
21
|
+
--output ./aurora-floating-island.png
|
|
22
22
|
|
|
23
23
|
# Surreal art
|
|
24
24
|
bun run ../src/index.ts generate \
|
|
25
25
|
--provider xai \
|
|
26
26
|
--prompt "a door opening into different seasons simultaneously" \
|
|
27
|
-
--output ./
|
|
27
|
+
--output ./aurora-surreal-door.png
|
|
28
28
|
|
|
29
29
|
# Character design
|
|
30
30
|
bun run ../src/index.ts generate \
|
|
31
31
|
--provider xai \
|
|
32
32
|
--prompt "a friendly dragon character design, colorful scales, cartoon style" \
|
|
33
|
-
--output ./
|
|
33
|
+
--output ./aurora-dragon.png
|