contextforge-cli-ai-prompt-pirates 0.5.0 → 0.7.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contextforge-cli-ai-prompt-pirates",
3
- "version": "0.5.0",
3
+ "version": "0.7.0",
4
4
  "description": "Background AI context engine — auto-generates context.md on npm install for Cursor, Claude, and ChatGPT",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -52,6 +52,7 @@
52
52
  "@babel/parser": "^7.26.3",
53
53
  "chokidar": "^4.0.3",
54
54
  "commander": "^13.1.0",
55
+ "contextforge-cli-ai-prompt": "^0.3.0",
55
56
  "dotenv": "^16.4.7",
56
57
  "fs-extra": "^11.3.0",
57
58
  "glob": "^11.0.1",
@@ -60,7 +61,6 @@
60
61
  "simple-git": "^3.27.0"
61
62
  },
62
63
  "devDependencies": {
63
- "contextforge-cli-ai-prompt-pirates": "^0.4.0",
64
64
  "vitest": "^3.0.5"
65
65
  }
66
66
  }
@@ -1,50 +0,0 @@
1
- # ContextForge Prompts
2
-
3
- Edit these files to change how AI enriches `context.md` — **no code changes needed**.
4
-
5
- ## Files
6
-
7
- | File | Purpose |
8
- |------|---------|
9
- | `system.md` | System message sent to OpenAI / Groq |
10
- | `user-template.md` | User message template (repository analysis request) |
11
- | `response-schema.md` | Required JSON keys the AI must return |
12
- | `retry-addon.md` | Extra instructions when validation fails (retry) |
13
-
14
- ## Placeholders (user-template.md)
15
-
16
- | Placeholder | Replaced with |
17
- |-------------|----------------|
18
- | `{{SCAN_DATA}}` | Sanitized JSON scan snapshot |
19
- | `{{RETRY_NOTE}}` | Retry instructions (empty on first attempt) |
20
- | `{{PROJECT_NAME}}` | Project name from scan |
21
-
22
- ## Per-project customization
23
-
24
- On `contextforge init`, prompts are copied to:
25
-
26
- ```
27
- .contextforge/prompts/
28
- ```
29
-
30
- Edit files there for **this project only**. Config key:
31
-
32
- ```json
33
- "ai": {
34
- "promptsDir": ".contextforge/prompts"
35
- }
36
- ```
37
-
38
- Point to another folder:
39
-
40
- ```json
41
- "ai": {
42
- "promptsDir": "my-custom-prompts"
43
- }
44
- ```
45
-
46
- ## Tips
47
-
48
- - Keep `response-schema.md` keys in sync with `src/services/ai/validate.js` required keys.
49
- - Do not ask AI to read source files — only scan JSON is sent.
50
- - After edits, run: `npx contextforge generate --ai`