@clipboard-health/ai-rules 1.5.14 → 1.5.15
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/backend/AGENTS.md +2 -2
- package/fullstack/AGENTS.md +2 -2
- package/package.json +1 -1
package/backend/AGENTS.md
CHANGED
|
@@ -37,7 +37,7 @@ Send notifications through [Knock](https://docs.knock.app) using the `@clipboard
|
|
|
37
37
|
});
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
-
2. Add types and the job name to the module's logic directory if it exists, else module root:
|
|
40
|
+
2. Add types and the job name to the module's logic directory if it exists, else module root. You MUST create and use the `...DataJob` and `...DataEnqueue` types:
|
|
41
41
|
|
|
42
42
|
```ts
|
|
43
43
|
import { type NotificationData } from "@clipboard-health/notifications";
|
|
@@ -106,7 +106,7 @@ Send notifications through [Knock](https://docs.knock.app) using the `@clipboard
|
|
|
106
106
|
}
|
|
107
107
|
```
|
|
108
108
|
|
|
109
|
-
4. Search the service for a constant that stores workflow keys. If there isn't one, create and export it:
|
|
109
|
+
4. Search the service for a constant that stores workflow keys. If there isn't one, create and export it. You MUST insert the key in alphabetical order:
|
|
110
110
|
|
|
111
111
|
```ts
|
|
112
112
|
export const WORKFLOW_KEYS = {
|
package/fullstack/AGENTS.md
CHANGED
|
@@ -37,7 +37,7 @@ Send notifications through [Knock](https://docs.knock.app) using the `@clipboard
|
|
|
37
37
|
});
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
-
2. Add types and the job name to the module's logic directory if it exists, else module root:
|
|
40
|
+
2. Add types and the job name to the module's logic directory if it exists, else module root. You MUST create and use the `...DataJob` and `...DataEnqueue` types:
|
|
41
41
|
|
|
42
42
|
```ts
|
|
43
43
|
import { type NotificationData } from "@clipboard-health/notifications";
|
|
@@ -106,7 +106,7 @@ Send notifications through [Knock](https://docs.knock.app) using the `@clipboard
|
|
|
106
106
|
}
|
|
107
107
|
```
|
|
108
108
|
|
|
109
|
-
4. Search the service for a constant that stores workflow keys. If there isn't one, create and export it:
|
|
109
|
+
4. Search the service for a constant that stores workflow keys. If there isn't one, create and export it. You MUST insert the key in alphabetical order:
|
|
110
110
|
|
|
111
111
|
```ts
|
|
112
112
|
export const WORKFLOW_KEYS = {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clipboard-health/ai-rules",
|
|
3
3
|
"description": "Pre-built AI agent rules for consistent coding standards.",
|
|
4
|
-
"version": "1.5.
|
|
4
|
+
"version": "1.5.15",
|
|
5
5
|
"bugs": "https://github.com/ClipboardHealth/core-utils/issues",
|
|
6
6
|
"devDependencies": {
|
|
7
7
|
"@intellectronica/ruler": "0.3.17"
|