@eldrex/personas
Advanced tools
+45
| # @eldrex/personas | ||
| ## Code analysis personas for DevDiff — customize the voice and focus of generated changelogs | ||
| [](https://npmjs.com/package/@eldrex/personas) | ||
| [](https://socket.dev/npm/package/@eldrex/personas) | ||
| [](LICENSE) | ||
| ## Overview | ||
| `@eldrex/personas` provides a collection of pre-configured AI analysis profiles for DevDiff. It adapts the output changelog based on the target audience (e.g., developers, product managers, security auditors, or marketing). | ||
| ## Installation | ||
| ```bash | ||
| npm install @eldrex/personas | ||
| ``` | ||
| ## Quick Start | ||
| ```typescript | ||
| import { getPersonaPrompt } from '@eldrex/personas' | ||
| const systemPrompt = getPersonaPrompt('product-manager') | ||
| ``` | ||
| ## Available Personas | ||
| - **developer**: Deep technical analysis focused on refactoring, architecture, and API surface changes. | ||
| - **product-manager**: High-level, value-oriented summaries focused on user features, bugs fixed, and product impact. | ||
| - **security-auditor**: Security-centric view highlighting risk changes, permission changes, secrets, and CVE fixes. | ||
| - **general**: A balanced summary suitable for team updates. | ||
| ## 🔒 Security & Privacy | ||
| This package is a pure metadata and template definition package. It has: | ||
| - ❌ **No network access** | ||
| - ❌ **No shell command execution** | ||
| - ❌ **No file system access** | ||
| All data processing remains entirely local. | ||
| ## License | ||
| MIT © DevDiff Contributors |
+13
-10
| { | ||
| "name": "@eldrex/personas", | ||
| "version": "1.0.2", | ||
| "version": "1.0.3", | ||
| "publishConfig": { | ||
| "registry": "https://registry.npmjs.org" | ||
| }, | ||
| "description": "Personality engine for DevDiff — AI output formatting and tones", | ||
@@ -19,2 +22,9 @@ "type": "module", | ||
| ], | ||
| "scripts": { | ||
| "build": "tsup", | ||
| "dev": "tsup --watch", | ||
| "lint": "prettier --check src/**/*.ts", | ||
| "test": "vitest run", | ||
| "typecheck": "tsc --noEmit" | ||
| }, | ||
| "dependencies": { | ||
@@ -30,10 +40,3 @@ "js-yaml": "^4.3.0" | ||
| "author": "DevDiff Contributors", | ||
| "license": "MIT", | ||
| "scripts": { | ||
| "build": "tsup", | ||
| "dev": "tsup --watch", | ||
| "lint": "prettier --check src/**/*.ts", | ||
| "test": "vitest run", | ||
| "typecheck": "tsc --noEmit" | ||
| } | ||
| } | ||
| "license": "MIT" | ||
| } |
-21
| MIT License | ||
| Copyright (c) 2026 Eldrex Delos Reyes Bula | ||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| of this software and associated documentation files (the "Software"), to deal | ||
| in the Software without restriction, including without limitation the rights | ||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| copies of the Software, and to permit persons to whom the Software is | ||
| furnished to do so, subject to the following conditions: | ||
| The above copyright notice and this permission notice shall be included in all | ||
| copies or substantial portions of the Software. | ||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| SOFTWARE. |
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
52000
1.18%0
-100%46
Infinity%