Skip to content

Commit 3fcc79e

Browse files
committed
docs(skills): state the hours-table naming rule as a suffix pattern, not one name
Review point: the rule read `SLA_CALENDAR_HOURS`, a concrete table name, where the spec is a naming pattern. A published skill is copied verbatim by agents, so a non-SLA hours table would have inherited the SLA name. The pattern now leads and the concrete name is the parenthesised example. Same three lines, same +4 net. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018dxq7YqsLDMeZDZ5AzsgJX
1 parent 270145f commit 3fcc79e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

skills/objectstack-data/references/data-hooks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,8 +453,8 @@ The body runs in an isolated QuickJS VM, **not** Node:
453453
hook as a bundled `handler`.
454454

455455
> **A deadline stamped from an hours table is calendar hours** — nights, weekends and
456-
> holidays count. Name it `SLA_CALENDAR_HOURS` (or its camelCase) and add elapsed
457-
> milliseconds (`hours * 3_600_000`); never label it "business hours".
456+
> holidays count. Name it `*_CALENDAR_HOURS` (`SLA_CALENDAR_HOURS`, or its camelCase)
457+
> and add elapsed milliseconds (`hours * 3_600_000`); never label it "business hours".
458458
459459
### ⚠️ Gotcha 1 — `ctx.result` is a *partial* record on afterUpdate
460460

0 commit comments

Comments
 (0)