@kudoai/ai-personas 1.0.0 → 1.1.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.
Files changed (3) hide show
  1. package/README.md +13 -6
  2. package/docs/README.md +14 -7
  3. package/package.json +17 -3
package/README.md CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  # > ai-personas
4
4
 
5
- <a href="https://github.com/KudoAI/ai-personas/releases/tag/node.js-v1.0.0">
6
- <img height=31 src="https://img.shields.io/badge/Latest_Build-1.0.1-32fcee.svg?logo=icinga&logoColor=white&labelColor=464646&style=for-the-badge"></a>
5
+ <a href="https://github.com/KudoAI/ai-personas/releases/tag/node.js-v1.1.0">
6
+ <img height=31 src="https://img.shields.io/badge/Latest_Build-1.1.0-32fcee.svg?logo=icinga&logoColor=white&labelColor=464646&style=for-the-badge"></a>
7
7
  <a href="#%EF%B8%8F-license">
8
8
  <img height=31 src="https://img.shields.io/badge/License-CC0--1.0/MIT-f99b27.svg?logo=internetarchive&logoColor=white&labelColor=464646&style=for-the-badge"></a>
9
9
  <a href="https://www.codefactor.io/repository/github/KudoAI/ai-personas">
@@ -13,7 +13,7 @@
13
13
 
14
14
  > ### _1,000+ AI personas for LLMs and agents._
15
15
 
16
- It's just a [JSON file](https://cdn.jsdelivr.net/gh/KudoAI/ai-personas@node.js-v1.0.0/data/ai-personas.json), so you can use it in any environment.
16
+ It's just a [JSON file](https://cdn.jsdelivr.net/gh/KudoAI/ai-personas@node.js-v1.1.0/data/ai-personas.json), so you can use it in any environment.
17
17
 
18
18
  ## ⚡ Installation
19
19
 
@@ -151,8 +151,8 @@ Prompt B: I want you to act as a DAX terminal...
151
151
  const systemPrompt = ai_personas['Study Planner'].prompt
152
152
 
153
153
  const messages = [
154
- {'role': 'system', 'content': systemPrompt},
155
- {'role': 'user', 'content': 'Create a weekly study plan for calculus'}
154
+ { role: 'system', content: systemPrompt },
155
+ { role: 'user', content: 'Create a weekly study plan for calculus' }
156
156
  ]
157
157
  ```
158
158
 
@@ -171,7 +171,14 @@ const messages = [
171
171
  </tr>
172
172
  </table>
173
173
 
174
+ ## 📦 Related
175
+
176
+ 🤖 [**ai-personas (Python)**](https://github.com/KudoAI/ai-personas/tree/main/python/#readme)
177
+
174
178
  #
175
179
 
176
- <picture><source media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/adamlui/python-utils@760599e/assets/images/icons/home/white/icon32x27.png"><img height=13 src="https://cdn.jsdelivr.net/gh/adamlui/python-utils@760599e/assets/images/icons/home/dark-gray/icon32x27.png"></picture> <a href=https://github.com/adamlui/python-utils/#readme>**More Python utilities**</a> /
180
+ <picture><source media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/adamlui/js-utils@3ff8817/assets/images/icons/home/white/icon32x27.png"><img height=13 src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@3ff8817/assets/images/icons/home/dark-gray/icon32x27.png"></picture> <a href=https://github.com/adamlui/js-utils/#readme>**More JavaScript utilities**</a> /
181
+ <a href="https://github.com/KudoAI/ai-personas/discussions">Discuss</a> /
182
+ <a href="https://github.com/KudoAI/ai-personas/issues">Report bug</a> /
183
+ <a href="mailto:security@tidelift.com">Report vulnerability</a> /
177
184
  <a href="#top">Back to top ↑</a>
package/docs/README.md CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  # > ai-personas
4
4
 
5
- <a href="https://github.com/KudoAI/ai-personas/releases/tag/node.js-v1.0.0">
6
- <img height=31 src="https://img.shields.io/badge/Latest_Build-1.0.1-32fcee.svg?logo=icinga&logoColor=white&labelColor=464646&style=for-the-badge"></a>
5
+ <a href="https://github.com/KudoAI/ai-personas/releases/tag/node.js-v1.1.0">
6
+ <img height=31 src="https://img.shields.io/badge/Latest_Build-1.1.0-32fcee.svg?logo=icinga&logoColor=white&labelColor=464646&style=for-the-badge"></a>
7
7
  <a href="#%EF%B8%8F-license">
8
8
  <img height=31 src="https://img.shields.io/badge/License-CC0--1.0/MIT-f99b27.svg?logo=internetarchive&logoColor=white&labelColor=464646&style=for-the-badge"></a>
9
9
  <a href="https://www.codefactor.io/repository/github/KudoAI/ai-personas">
@@ -13,7 +13,7 @@
13
13
 
14
14
  > ### _1,000+ AI personas for LLMs and agents._
15
15
 
16
- It's just a [JSON file](https://cdn.jsdelivr.net/gh/KudoAI/ai-personas@node.js-v1.0.0/data/ai-personas.json), so you can use it in any environment.
16
+ It's just a [JSON file](https://cdn.jsdelivr.net/gh/KudoAI/ai-personas@node.js-v1.1.0/data/ai-personas.json), so you can use it in any environment.
17
17
 
18
18
  ## ⚡ Installation
19
19
 
@@ -34,7 +34,7 @@ console.log(personas['Linux Terminal'].prompt)
34
34
  // => I want you to act as a linux terminal. I will type commands and you will...
35
35
  ```
36
36
 
37
- #### CommonJS (CJS) :
37
+ #### CommonJS (CJS):
38
38
 
39
39
  ```js
40
40
  const personas = require('@kudoai/ai-personas')
@@ -151,8 +151,8 @@ Prompt B: I want you to act as a DAX terminal...
151
151
  const systemPrompt = ai_personas['Study Planner'].prompt
152
152
 
153
153
  const messages = [
154
- {'role': 'system', 'content': systemPrompt},
155
- {'role': 'user', 'content': 'Create a weekly study plan for calculus'}
154
+ { role: 'system', content: systemPrompt },
155
+ { role: 'user', content: 'Create a weekly study plan for calculus' }
156
156
  ]
157
157
  ```
158
158
 
@@ -171,7 +171,14 @@ const messages = [
171
171
  </tr>
172
172
  </table>
173
173
 
174
+ ## 📦 Related
175
+
176
+ 🤖 [**ai-personas (Python)**](https://github.com/KudoAI/ai-personas/tree/main/python/#readme)
177
+
174
178
  #
175
179
 
176
- <picture><source media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/adamlui/python-utils@760599e/assets/images/icons/home/white/icon32x27.png"><img height=13 src="https://cdn.jsdelivr.net/gh/adamlui/python-utils@760599e/assets/images/icons/home/dark-gray/icon32x27.png"></picture> <a href=https://github.com/adamlui/python-utils/#readme>**More Python utilities**</a> /
180
+ <picture><source media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/adamlui/js-utils@3ff8817/assets/images/icons/home/white/icon32x27.png"><img height=13 src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@3ff8817/assets/images/icons/home/dark-gray/icon32x27.png"></picture> <a href=https://github.com/adamlui/js-utils/#readme>**More JavaScript utilities**</a> /
181
+ <a href="https://github.com/KudoAI/ai-personas/discussions">Discuss</a> /
182
+ <a href="https://github.com/KudoAI/ai-personas/issues">Report bug</a> /
183
+ <a href="mailto:security@tidelift.com">Report vulnerability</a> /
177
184
  <a href="#top">Back to top ↑</a>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kudoai/ai-personas",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "1,000+ AI personas for LLMs and agents.",
5
5
  "author": {
6
6
  "name": "KudoAI",
@@ -37,16 +37,22 @@
37
37
  "bump:patch": "bash utils/bump.sh patch",
38
38
  "bump:minor": "bash utils/bump.sh minor",
39
39
  "bump:feat": "npm run bump:minor",
40
- "bump:major": "bash utils/bump.sh major"
40
+ "bump:major": "bash utils/bump.sh major",
41
+ "lint": "eslint . --cache",
42
+ "lint:all": "eslint .",
43
+ "lint:fix": "eslint . --fix --cache",
44
+ "lint:fix-all": "eslint . --fix"
41
45
  },
42
46
  "repository": {
43
47
  "type": "git",
44
- "url": "git+https://github.com/KudoAI/ai-prompts.git"
48
+ "url": "git+https://github.com/KudoAI/ai-personas.git"
45
49
  },
46
50
  "keywords": [
47
51
  "agents",
48
52
  "ai",
49
53
  "ai-personas",
54
+ "ai-prompts",
55
+ "chat-personas",
50
56
  "chat-prompts",
51
57
  "chatgpt",
52
58
  "claude",
@@ -63,5 +69,13 @@
63
69
  ],
64
70
  "bugs": {
65
71
  "url": "https://github.com/KudoAI/ai-personas/issues"
72
+ },
73
+ "devDependencies": {
74
+ "@eslint/json": "^1.2.0",
75
+ "@eslint/markdown": "^8.0.1",
76
+ "@stylistic/eslint-plugin": "^5.10.0",
77
+ "eslint": "^9.39.4",
78
+ "eslint-plugin-import": "^2.32.0",
79
+ "eslint-plugin-regexp": "^3.1.0"
66
80
  }
67
81
  }