code-assist

Generate ServiceNow business rules, client scripts, and script includes.

34|13|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/Happy-Technologies-LLC/happy-servicenow-skills --skill code-assist-happy-technologies-llc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-assist
Source: https://github.com/Happy-Technologies-LLC/happy-servicenow-skills/tree/main/skills/development/code-assist
Command: npx skills add https://github.com/Happy-Technologies-LLC/happy-servicenow-skills --skill code-assist-happy-technologies-llc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

AI-assisted generation of ServiceNow code patterns reduces manual boilerplate, accelerates delivery, and enforces best practices for core scripting artifacts.

Core Features & Use Cases

  • Automated scaffolding: generate Business Rules, Client Scripts, Script Includes, and UI Scripts with clean, documented templates.
  • Reusable patterns: include GlideRecord, GlideAjax, and AbstractAjaxProcessor usage with consistent naming and comments.
  • Real-world scenarios: rapidly scaffold an incident triage rule plus a UI script to prefill fields and validate input.

Quick Start

Provide a concise spec for the ServiceNow feature you want (tables, scripts, and behaviors) and the skill will generate the corresponding code artifacts.

Frequently Asked Questions about code-assist

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate ServiceNow business rules and client scripts automatically?

ServiceNow script generation requires a concise specification of your target tables, script types, and behaviors. Provide this feature spec to output ready-to-deploy boilerplate code for business rules, script includes, and client-side onLoad or onChange scripts.

Can I use this to scaffold GlideRecord and GlideAjax patterns for incident workflows?

Yes, you can scaffold GlideRecord and GlideAjax patterns for incident workflows. The skill generates reusable server-client code with consistent naming and comments, specifically targeting incident, change, and CMDB workflow automation scripts.

What is the best way to create boilerplate code for ServiceNow script includes?

The best way to create boilerplate code for ServiceNow script includes is to define your required AbstractAjaxProcessor or GlideRecord logic in a brief spec. The skill applies best-practice patterns to generate documented, reusable templates automatically.

Does this support generating AbstractAjaxProcessor code for server-client communication?

Yes, this supports generating AbstractAjaxProcessor code for server-client communication. It creates reusable GlideAjax patterns that bridge server-side script includes and client-side UI scripts with consistent naming conventions and inline comments.

How do I prefill fields and validate input with a ServiceNow UI script?

To prefill fields and validate input with a ServiceNow UI script, specify the target table behaviors and validation rules. The skill scaffolds the client-side script logic needed to automate field population and enforce input validation across workflows.

What are the limitations of AI-assisted ServiceNow code generation?

The limitation of AI-assisted ServiceNow code generation is that outputs are boilerplate patterns requiring manual validation before deployment. Generated server-side rules and client scripts provide a starting framework but must be reviewed for specific instance security and performance contexts.