vibe-and-thrive 1.4.0 → 1.4.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.
@@ -0,0 +1,32 @@
1
+ ---
2
+ description: Add a learned pattern (sign) that Ralph will remember for future stories.
3
+ ---
4
+
5
+ # Add Sign
6
+
7
+ The user wants to add a sign - a pattern or rule that Ralph should remember for all future work.
8
+
9
+ **Get the pattern from the user.** Ask:
10
+ 1. What's the pattern or rule? (e.g., "Always use select_related for foreign keys")
11
+ 2. What category? (frontend, backend, general, testing)
12
+
13
+ **Then run:**
14
+
15
+ ```bash
16
+ npx ralph sign "THE PATTERN HERE" CATEGORY
17
+ ```
18
+
19
+ **Examples:**
20
+ ```bash
21
+ npx ralph sign "Never hardcode AI model names - use env vars" backend
22
+ npx ralph sign "Always add data-testid for Playwright tests" frontend
23
+ npx ralph sign "Use useCallback for event handlers passed to children" frontend
24
+ npx ralph sign "Always paginate list endpoints" backend
25
+ ```
26
+
27
+ **After adding, confirm:** "Added sign. Ralph will include this in every future story prompt."
28
+
29
+ **To see all signs:**
30
+ ```bash
31
+ npx ralph signs
32
+ ```
@@ -33,11 +33,13 @@ npx ralph check run verification only
33
33
 
34
34
  ---
35
35
 
36
- ## Setup
36
+ ## Setup & Learning
37
37
 
38
38
  ```
39
39
  /tour guided setup
40
40
  /my-dna set preferences
41
+ /sign teach Ralph a pattern
42
+ npx ralph signs view learned patterns
41
43
  ```
42
44
 
43
45
  ---
@@ -13,6 +13,7 @@ Print this complete reference for the user. Do not add any commentary.
13
13
  | Command | Description |
14
14
  |---------|-------------|
15
15
  | `/idea [feature]` | Brainstorm in plan mode, generate PRD for Ralph |
16
+ | `/sign` | Add a learned pattern for Ralph to remember |
16
17
  | `/my-dna` | Set up your personal style preferences |
17
18
  | `/vibe-check` | Audit code quality before shipping |
18
19
  | `/review` | Code review with OWASP security checks |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibe-and-thrive",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "Catch common AI-generated code issues before they hit your codebase",
5
5
  "author": "AllThrive AI <hello@allthrive.ai>",
6
6
  "license": "MIT",
@@ -20,6 +20,27 @@
20
20
  "category": "frontend",
21
21
  "learnedFrom": null,
22
22
  "createdAt": "2026-01-20T00:00:00-08:00"
23
+ },
24
+ {
25
+ "id": "sign-004",
26
+ "pattern": "Use camelCase for TypeScript/JavaScript variables, functions, and API response fields - convert snake_case from backend to camelCase in frontend",
27
+ "category": "frontend",
28
+ "learnedFrom": null,
29
+ "createdAt": "2026-01-20T00:00:00-08:00"
30
+ },
31
+ {
32
+ "id": "sign-005",
33
+ "pattern": "Add data-testid attributes to interactive elements for Playwright e2e tests",
34
+ "category": "frontend",
35
+ "learnedFrom": null,
36
+ "createdAt": "2026-01-20T00:00:00-08:00"
37
+ },
38
+ {
39
+ "id": "sign-006",
40
+ "pattern": "Never use 'any' type in TypeScript - create proper interfaces and types instead",
41
+ "category": "frontend",
42
+ "learnedFrom": null,
43
+ "createdAt": "2026-01-20T00:00:00-08:00"
23
44
  }
24
45
  ]
25
46
  }