@fr0mpy/prompt-system 2.0.0 → 2.1.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.
Files changed (3) hide show
  1. package/README.md +60 -0
  2. package/bin/cli.js +0 -0
  3. package/package.json +2 -2
package/README.md ADDED
@@ -0,0 +1,60 @@
1
+ # @fr0mpy/prompt-system
2
+
3
+ Claude Code prompt engineering system with rules, agents, hooks, and smart context injection.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npx @fr0mpy/prompt-system
9
+ ```
10
+
11
+ ## What's Included
12
+
13
+ - **hooks/** - Smart context injection on every prompt (LLM-powered or keyword-based)
14
+ - **rules/** - Behavioral guidelines (code standards, action announcements, etc.)
15
+ - **agents/** - 26 task workers (pre-code-check, package-checker, context-loader, etc.)
16
+ - **commands/** - Slash commands (/review, /test, /commit)
17
+ - **CLAUDE.md** - Project context (auto-loaded by Claude)
18
+
19
+ ## Features
20
+
21
+ ### Smart Injection
22
+
23
+ Two modes of operation:
24
+
25
+ 1. **LLM-powered** (requires `ANTHROPIC_API_KEY`) - Uses Claude Haiku to semantically select relevant rules and agents based on your prompt
26
+ 2. **Keyword-based** (fallback) - Matches keywords in your prompt to trigger rules and agents
27
+
28
+ ### Modular Triggers
29
+
30
+ Extension triggers can be added via `triggers.d/` directory. The [@fr0mpy/component-system](https://www.npmjs.com/package/@fr0mpy/component-system) package uses this to add styling triggers.
31
+
32
+ ## Usage
33
+
34
+ ```bash
35
+ # Initialize
36
+ npx @fr0mpy/prompt-system
37
+
38
+ # With options
39
+ npx @fr0mpy/prompt-system --force # Overwrite existing
40
+ npx @fr0mpy/prompt-system --skip-api-key # Skip API key prompt
41
+ npx @fr0mpy/prompt-system --remove # Remove installation
42
+
43
+ # Selective updates
44
+ npx @fr0mpy/prompt-system --update-hooks
45
+ npx @fr0mpy/prompt-system --update-agents
46
+ npx @fr0mpy/prompt-system --update-rules
47
+ npx @fr0mpy/prompt-system --update-commands
48
+ ```
49
+
50
+ ## Related
51
+
52
+ For UI components and styling, also install:
53
+
54
+ ```bash
55
+ npx @fr0mpy/component-system
56
+ ```
57
+
58
+ ## License
59
+
60
+ MIT
package/bin/cli.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@fr0mpy/prompt-system",
3
- "version": "2.0.0",
3
+ "version": "2.1.1",
4
4
  "description": "Claude Code prompt engineering system: rules, agents, hooks, and smart context injection",
5
5
  "main": "index.js",
6
6
  "bin": {
7
- "fromp-prompt-system": "./bin/cli.js"
7
+ "prompt-system": "./bin/cli.js"
8
8
  },
9
9
  "scripts": {
10
10
  "test": "echo \"Tests not yet configured\""