sn-scripting

Installation
SKILL.md

ServiceNow Legacy Scripting

ServiceNow legacy scripting uses the GlideRecord API for server-side data access, Script Include classes for reusable server-side logic, Business Rules for server-side automation, and g_form/g_user/g_list for client-side form manipulation. All APIs are described in the reference files below.

References

Read these files when you need them — do not pre-load all references at session start. Paths are relative to the skill root (the directory containing this SKILL.md file).

File When to Read
references/gliderecord.md Generating or reviewing GlideRecord queries, CRUD operations, or addQuery/getValue patterns
references/server-side.md Generating Script Includes, Business Rules, or using GlideSystem (gs.*) logging
references/client-side.md Generating Client Scripts using g_form, g_user, or g_list; or any client-side form manipulation
references/gotchas.md Before generating or reviewing any ServiceNow script — check for hallucination traps

Scripts

Related skills
Installs
2
GitHub Stars
12
First Seen
Apr 6, 2026