Commit 3efadb5
docs(skill): teach this season's flow anti-patterns in the automation authoring skill (#1921)
Upstream root-cause fix for AI authoring mistakes: the templates are AI-written,
so the highest-leverage prevention is teaching the AI the correct patterns at the
source, not only catching them at build.
Adds a "Valid-but-silently-wrong (passes build, fails at runtime)" subsection to
skills/objectstack-automation Common Pitfalls, capturing the anti-patterns fixed/
linted this season, each with ❌/✅:
- single-brace value interpolation; no `{{double}}` / bare `$ref` (#1315)
- `create_record` outputVariable is the RECORD → `{var.id}` (#1873)
- time-relative rules = schedule + range query, NOT record-change date-equality (#1874)
- `script` nodes must name a built-in actionType or a registered `function`;
inline `config.script` is not executed (#1870)
- conditions are bare CEL using only the stdlib; unknown fns fail the build;
don't wrap field refs in `{…}` (#1877/#1491)
Docs-only; `check:skill-docs` passes (frontmatter-derived docs unaffected); empty changeset.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 43ecc08 commit 3efadb5
2 files changed
Lines changed: 57 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
514 | 558 | | |
515 | 559 | | |
516 | 560 | | |
| |||
0 commit comments