@clipboard-health/ai-rules 2.41.0 → 2.41.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clipboard-health/ai-rules",
3
- "version": "2.41.0",
3
+ "version": "2.41.1",
4
4
  "description": "Pre-built AI agent rules for consistent coding standards.",
5
5
  "keywords": [
6
6
  "ai",
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.toErrorMessage = toErrorMessage;
4
- // Prefer stack over message for Error instances to preserve debugging context!
4
+ // Error.stack includes the message plus call-site context, which makes sync failures actionable.
5
5
  function toErrorMessage(error) {
6
6
  return error instanceof Error ? (error.stack ?? error.message) : String(error);
7
7
  }
@@ -28,9 +28,22 @@ Resolve bundled "./references" paths relative to SKILL.md.
28
28
  7. Output:
29
29
 
30
30
  ```plaintext
31
+ - PR: [Complete url] (e.g., `https://github.com/clipboardhealth/core-utils/pull/123`)
32
+
33
+ [One concise sentence describing what was implemented and shipped.]
34
+
35
+ [Optional bullets for the most important user-facing outcomes. Omit when the sentence is sufficient.]
36
+
37
+ Additional information:
38
+
31
39
  - Directory: [Absolute path]
32
40
  - Branch: [Branch name]
33
41
  - Review: [N findings — M applied, K dismissed with a one-line reason each] (omit if step 4 skipped or found nothing)
34
42
  - Session: [Resume command from 6a] (omit if none)
35
- - PR: [Complete url] (e.g., `https://github.com/clipboardhealth/core-utils/pull/123`)
43
+ - Existing changes: [Uncommitted changes that remain outside the shipped scope] (omit if none)
36
44
  ```
45
+
46
+ Keep the PR as the first bullet and visually separate it from everything
47
+ else with a blank line. Use the middle section only for meaningful behavior
48
+ or outcome details. Put lower-priority handoff metadata and caveats under
49
+ `Additional information`.