@clipboard-health/ai-rules 2.35.1 → 2.36.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
|
@@ -55,6 +55,9 @@ GET /shifts?filter[verified]=true&sort=startDate,-urgency&page[cursor]=abc&page[
|
|
|
55
55
|
|
|
56
56
|
- Add contracts to `contract-<microservice-name>` package
|
|
57
57
|
- Use `ts-rest` with composable Zod schemas (enforced by `enforce-ts-rest-in-controllers`)
|
|
58
|
+
- Own the shape of your inputs and outputs — do not depend on other contract packages (`contract-*`, `api-contract-*`, `flag-*`); `@clipboard-health/contract-core` is the only shared contract dependency
|
|
59
|
+
- Duplicate schemas from other contracts locally when needed — type-checking and response validation catch drift
|
|
60
|
+
- Do not re-export or pass through another contract's schemas or endpoints
|
|
58
61
|
|
|
59
62
|
### Schema rules
|
|
60
63
|
|
package/skills/cb-work/SKILL.md
CHANGED
|
@@ -22,7 +22,6 @@ Unless instructed otherwise:
|
|
|
22
22
|
The plan or request is the source of truth for scope:
|
|
23
23
|
|
|
24
24
|
- Make exactly the changes requested, no extra refactors or cleanup.
|
|
25
|
-
- Target ≤ ~500 changed lines per PR: if the work will clearly exceed that, stop and propose a split into separately shippable slices before implementing.
|
|
26
25
|
- On any drift from the plan (e.g. referenced files or utilities missing, an assumption invalid, a constraint missed) stop and report. Do not silently rewrite the approach.
|
|
27
26
|
- Do not modify the plan file itself unless asked.
|
|
28
27
|
|