sn-scripting
CommunityGenerate correct ServiceNow legacy scripts fast
Software Engineering#validation#business rules#servicenow#g_form#gliderecord#client scripts#script includes
Authoraatrey882
Version1.0.0
Installs0
System Documentation
What problem does it solve?
ServiceNow developers often waste time and risk incorrect code generation when writing legacy server-side and client-side scripts, especially around GlideRecord usage, execution context boundaries, and common platform gotchas.
Core Features & Use Cases
- GlideRecord-based server scripting: Generate CRUD queries and updates using documented patterns for Business Rules, Script Includes, Scheduled Jobs, and server-side automation.
- Client-side form scripting: Generate Client Scripts that use g_form/g_user APIs correctly, enforcing that GlideRecord is never used client-side.
- Safety guardrails and validation: Enforce Fluent SDK detection redirection and run a validation script to catch common hallucination traps before deployment.
Quick Start
Use the sn-scripting skill to generate a Client Script that makes a field mandatory when another field changes to a specific value, using g_form APIs only.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferencesassets
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: sn-scripting Download link: https://github.com/aatrey882/servicenow-agent-skills/archive/main.zip#sn-scripting Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.