@clipboard-health/ai-rules 0.2.9 → 0.3.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.
- package/README.md +2 -2
- package/frontend/AGENTS.md +3 -3
- package/frontend/CLAUDE.md +3 -3
- package/fullstack/AGENTS.md +3 -3
- package/fullstack/CLAUDE.md +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -41,7 +41,7 @@ npm install --save-dev @clipboard-health/ai-rules
|
|
|
41
41
|
```json
|
|
42
42
|
{
|
|
43
43
|
"scripts": {
|
|
44
|
-
"sync-ai-rules": "
|
|
44
|
+
"sync-ai-rules": "node ./node_modules/@clipboard-health/ai-rules/scripts/sync.js [PROFILE_NAME]",
|
|
45
45
|
"postinstall": "npm run sync-ai-rules"
|
|
46
46
|
}
|
|
47
47
|
}
|
|
@@ -60,7 +60,7 @@ npm install --save-dev @clipboard-health/ai-rules
|
|
|
60
60
|
git commit -m "feat: add AI coding rules"
|
|
61
61
|
```
|
|
62
62
|
|
|
63
|
-
5.
|
|
63
|
+
5. Bonus: For repo-specific rules, create an `OVERLAY.md` file. The generated files instruct agents to read this file if it exists for additional rules.
|
|
64
64
|
|
|
65
65
|
### Updating Rules
|
|
66
66
|
|
package/frontend/AGENTS.md
CHANGED
|
@@ -1796,7 +1796,7 @@ npm run lint:fix
|
|
|
1796
1796
|
### Stale Time Configuration
|
|
1797
1797
|
|
|
1798
1798
|
```typescript
|
|
1799
|
-
// Set appropriate staleTime to avoid unnecessary
|
|
1799
|
+
// Set appropriate staleTime to avoid unnecessary refetch
|
|
1800
1800
|
useGetQuery({
|
|
1801
1801
|
url: "/api/resource",
|
|
1802
1802
|
responseSchema: schema,
|
|
@@ -3094,14 +3094,14 @@ Projects often augment MUI's theme with custom properties:
|
|
|
3094
3094
|
declare module "@mui/material/styles" {
|
|
3095
3095
|
interface Theme {
|
|
3096
3096
|
customSpacing: {
|
|
3097
|
+
small: string;
|
|
3097
3098
|
large: string;
|
|
3098
|
-
xlarge: string;
|
|
3099
3099
|
};
|
|
3100
3100
|
}
|
|
3101
3101
|
interface ThemeOptions {
|
|
3102
3102
|
customSpacing?: {
|
|
3103
|
+
small?: string;
|
|
3103
3104
|
large?: string;
|
|
3104
|
-
xlarge?: string;
|
|
3105
3105
|
};
|
|
3106
3106
|
}
|
|
3107
3107
|
}
|
package/frontend/CLAUDE.md
CHANGED
|
@@ -1794,7 +1794,7 @@ npm run lint:fix
|
|
|
1794
1794
|
### Stale Time Configuration
|
|
1795
1795
|
|
|
1796
1796
|
```typescript
|
|
1797
|
-
// Set appropriate staleTime to avoid unnecessary
|
|
1797
|
+
// Set appropriate staleTime to avoid unnecessary refetch
|
|
1798
1798
|
useGetQuery({
|
|
1799
1799
|
url: "/api/resource",
|
|
1800
1800
|
responseSchema: schema,
|
|
@@ -3092,14 +3092,14 @@ Projects often augment MUI's theme with custom properties:
|
|
|
3092
3092
|
declare module "@mui/material/styles" {
|
|
3093
3093
|
interface Theme {
|
|
3094
3094
|
customSpacing: {
|
|
3095
|
+
small: string;
|
|
3095
3096
|
large: string;
|
|
3096
|
-
xlarge: string;
|
|
3097
3097
|
};
|
|
3098
3098
|
}
|
|
3099
3099
|
interface ThemeOptions {
|
|
3100
3100
|
customSpacing?: {
|
|
3101
|
+
small?: string;
|
|
3101
3102
|
large?: string;
|
|
3102
|
-
xlarge?: string;
|
|
3103
3103
|
};
|
|
3104
3104
|
}
|
|
3105
3105
|
}
|
package/fullstack/AGENTS.md
CHANGED
|
@@ -1809,7 +1809,7 @@ npm run lint:fix
|
|
|
1809
1809
|
### Stale Time Configuration
|
|
1810
1810
|
|
|
1811
1811
|
```typescript
|
|
1812
|
-
// Set appropriate staleTime to avoid unnecessary
|
|
1812
|
+
// Set appropriate staleTime to avoid unnecessary refetch
|
|
1813
1813
|
useGetQuery({
|
|
1814
1814
|
url: "/api/resource",
|
|
1815
1815
|
responseSchema: schema,
|
|
@@ -3107,14 +3107,14 @@ Projects often augment MUI's theme with custom properties:
|
|
|
3107
3107
|
declare module "@mui/material/styles" {
|
|
3108
3108
|
interface Theme {
|
|
3109
3109
|
customSpacing: {
|
|
3110
|
+
small: string;
|
|
3110
3111
|
large: string;
|
|
3111
|
-
xlarge: string;
|
|
3112
3112
|
};
|
|
3113
3113
|
}
|
|
3114
3114
|
interface ThemeOptions {
|
|
3115
3115
|
customSpacing?: {
|
|
3116
|
+
small?: string;
|
|
3116
3117
|
large?: string;
|
|
3117
|
-
xlarge?: string;
|
|
3118
3118
|
};
|
|
3119
3119
|
}
|
|
3120
3120
|
}
|
package/fullstack/CLAUDE.md
CHANGED
|
@@ -1807,7 +1807,7 @@ npm run lint:fix
|
|
|
1807
1807
|
### Stale Time Configuration
|
|
1808
1808
|
|
|
1809
1809
|
```typescript
|
|
1810
|
-
// Set appropriate staleTime to avoid unnecessary
|
|
1810
|
+
// Set appropriate staleTime to avoid unnecessary refetch
|
|
1811
1811
|
useGetQuery({
|
|
1812
1812
|
url: "/api/resource",
|
|
1813
1813
|
responseSchema: schema,
|
|
@@ -3105,14 +3105,14 @@ Projects often augment MUI's theme with custom properties:
|
|
|
3105
3105
|
declare module "@mui/material/styles" {
|
|
3106
3106
|
interface Theme {
|
|
3107
3107
|
customSpacing: {
|
|
3108
|
+
small: string;
|
|
3108
3109
|
large: string;
|
|
3109
|
-
xlarge: string;
|
|
3110
3110
|
};
|
|
3111
3111
|
}
|
|
3112
3112
|
interface ThemeOptions {
|
|
3113
3113
|
customSpacing?: {
|
|
3114
|
+
small?: string;
|
|
3114
3115
|
large?: string;
|
|
3115
|
-
xlarge?: string;
|
|
3116
3116
|
};
|
|
3117
3117
|
}
|
|
3118
3118
|
}
|
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": "0.
|
|
4
|
+
"version": "0.3.1",
|
|
5
5
|
"bugs": "https://github.com/ClipboardHealth/core-utils/issues",
|
|
6
6
|
"devDependencies": {
|
|
7
7
|
"@intellectronica/ruler": "0.3.10"
|