Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

snu-coding-standards

Skill by arnoudkooi

Gives AI assistants ServiceNow coding standards and security guidance for the sn-scriptsync workflow. It covers scoped-app API restrictions, Service Portal client script patterns, GlideRecord practices, and workspace and instance access checks. Use it when writing or reviewing ServiceNow script content.

  • Score 56
  • 56 stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install snu-coding-standards

Built from the published package, never by AI.

git clone --depth 1 https://github.com/arnoudkooi/sn-scriptsync /tmp/sn-scriptsync && mkdir -p ~/.claude/skills && cp -r /tmp/sn-scriptsync/agentrules/skills/snu-coding-standards ~/.claude/skills/snu-coding-standards

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install snu-coding-standards in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

snu-coding-standards is an agent skill that gives an AI assistant ServiceNow coding standards for script content. It covers scoped application API restrictions, such as avoiding gs.nowDateTime() and gs.now() in scoped apps. It recommends Angular dependency injection over IIFE patterns in Service Portal widget client scripts, and sets GlideRecord practices such as using setValue() and getValue(). It also suggests semantic variable names like grUser and gaRecords.

The skill also documents security measures for the sn-scriptsync workflow. Request IDs must be alphanumeric with underscores or hyphens, and file operations stay inside the VS Code workspace. The user must approve each ServiceNow instance before API calls are made. The skill is meant for anyone writing or reviewing ServiceNow script content.

Written from the project's SKILL.md and checked against it.

What it can do

  • Scoped app API rulesLists global APIs such as gs.now() and gs.nowDateTime() that are not allowed in scoped applications.
  • Service Portal client scriptsRecommends Angular dependency injection over IIFE patterns in widget client scripts.
  • GlideRecord practicesUses setValue() and getValue() instead of direct property access on GlideRecord objects.
  • Variable namingSuggests semantic prefixes such as grUser and gaRecords instead of gr or ga.
  • Request ID validationRequires request IDs to contain only letters, numbers, underscores and hyphens.
  • Workspace boundaryRestricts file operations to the VS Code workspace and blocks path traversal.
  • Upload attachment checksNormalizes upload_attachment paths and rejects files outside the workspace.
  • Instance approvalRequires the user to approve each ServiceNow instance before API calls via safeFetch().

What you need

  • sn-scriptsync extension
  • VS Code workspace

Try asking

  • Review this Service Portal widget client script for scoped app API issues.
  • Rewrite this GlideRecord code to use getValue() and setValue().
  • Check this request ID and upload path against the sn-scriptsync security rules.

Good to know

  • Scoped app restrictions apply to scoped applications such as Service Portal widgets.
  • Request IDs may only use letters, numbers, underscores and hyphens.
  • File uploads are limited to paths inside the VS Code workspace.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: agentrules/skills/snu-coding-standards/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to snu-coding-standards

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

snu-coding-standards: common questions

Which ServiceNow APIs does this skill say to avoid in scoped apps?

It says gs.nowDateTime() and gs.now() are not allowed in scoped applications. It recommends new GlideDateTime() with LocalTime methods instead.

Which file paths are allowed for upload_attachment?

Relative paths and absolute paths inside the VS Code workspace are allowed. Path traversal and paths outside the workspace, such as /etc/hosts, are blocked.

Does the skill require approval before calling a ServiceNow instance?

Yes. The source says the user must explicitly approve each ServiceNow instance, and API calls use a safeFetch() wrapper that checks approvals.

How do I install snu-coding-standards?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is snu-coding-standards free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is snu-coding-standards safe to use?

It scores 56 of 100. Grades: maintenance A, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to snu-coding-standards?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

snu-coding-standards Install

Add to stack

Loading.