code-review

Review ServiceNow scripts for security, performance, and best-practice issues.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

ServiceNow scripting projects often suffer from security vulnerabilities, performance bottlenecks, and maintainability gaps across server, client, and UI scripts. This Skill provides a structured, repeatable code-review workflow to surface critical issues before deployment.

Core Features & Use Cases

  • Comprehensive security review of sys_script, sys_script_include, sys_ui_script, and related client scripts to detect injections, privilege issues, and data exposure risks.
  • Performance pattern detection to prevent unbounded queries, N+1 issues, and inefficient data access across the platform.
  • Best-practices guidance for scope usage, rule ordering, and correct API usage, enabling consistent, maintainable code quality.
  • Use Case: Before releasing a new ServiceNow implementation, run this review to surface vulnerabilities, performance risks, and maintainability improvements across all script types.

Quick Start

Run the automated code-review process against your ServiceNow scripts to surface security, performance, and best-practice issues.

Frequently Asked Questions about code-review

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

FAQPage Schema
How do I review ServiceNow scripts for security vulnerabilities and performance issues?

Reviewing ServiceNow scripts for security and performance involves analyzing business rules, script includes, and client scripts to detect injections, privilege issues, unbounded queries, and inefficient data access patterns before deployment.

What are common ServiceNow GlideRecord performance bottlenecks I should look for in a code review?

Common GlideRecord performance bottlenecks in a ServiceNow code review include unbounded queries, N+1 issues, and inefficient data access patterns that can slow down platform operations across ITSM and CSM workflows.

Can I use an automated code review for both client scripts and UI scripts in ServiceNow?

Yes, automated code review can be applied to sys_script, sys_script_include, sys_ui_script, and client scripts across ServiceNow to identify data exposure risks and best-practice violations consistently.

What's the best way to enforce ServiceNow scripting best practices across development workflows?

The best way to enforce ServiceNow scripting best practices is running a structured review process that checks scope usage, rule ordering, and correct API usage to ensure consistent and maintainable code quality.

Do I need specific role access and ServiceNow scripting knowledge to perform a code review?

Yes, proper role access and ServiceNow scripting knowledge are required prerequisites to perform comprehensive end-to-end code reviews of server, client, and UI scripts for security and performance issues.