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

widget-coherence

Skill by serac-labs

Builds ServiceNow Service Portal widgets (sp_widget) with matching server script, client controller and HTML template. It checks that data properties, ng-click methods and server actions line up. Intended for developers building Service Portal widgets.

  • Score 48
  • 77 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install widget-coherence

Built from the published package, never by AI.

git clone --depth 1 https://github.com/serac-labs/serac /tmp/serac && mkdir -p ~/.claude/skills && cp -r /tmp/serac/packages/skills/widget-coherence ~/.claude/skills/widget-coherence

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

Step-by-step: install widget-coherence in Claude Code

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

About

Widget Coherence is a skill for building ServiceNow Service Portal widgets (sp_widget). It keeps the server script, client controller and HTML template in sync. The skill sets out a three-way contract: the server initializes every data property the HTML uses, the controller implements every ng-click method, and every c.server.get action has a matching handler on the server.

It includes data flow examples for server to client to HTML and for client to server actions. It also provides a validation checklist, a list of common failures such as action and method name mismatches, and an Angular directives reference. The listed tools cover creating, updating and finding artifacts, plus validating widget coherence and running widget tests. It is aimed at developers working on Service Portal widgets.

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

What it can do

  • snow_artifact_manage (action='create')Creates an artifact using the create action listed in the skill's tools.
  • snow_artifact_manage (action='update')Updates an artifact using the update action listed in the skill's tools.
  • snow_artifact_manage (action='find')Finds an artifact using the find action listed in the skill's tools.
  • snow_validate_widget_coherenceValidates that a widget's server script, client controller and HTML template are coherent.
  • snow_widget_testRuns tests on a Service Portal widget.

What you need

  • ServiceNow instance with Service Portal

Try asking

  • Build a Service Portal widget that lists active incidents with a save action.
  • Check my sp_widget for ng-click methods missing from the client controller.
  • Run a coherence validation and widget test on my portal widget.

Security check

A

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

Checked automatically: packages/skills/widget-coherence/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to widget-coherence

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

widget-coherence: common questions

What does widget coherence mean for Service Portal widgets?

The skill says the server script, client controller and HTML template must communicate correctly. Widgets fail when these components do not match.

What are common causes of widget failures?

The source lists action name mismatches between c.server.get and the server input.action check. It also lists method name mismatches between ng-click and the controller, and undefined data properties used in HTML.

Does the skill check that every data property is initialized?

The validation checklist says all data.* properties should be initialized in the server script, even if empty. It also says every data property should be used in HTML or the client.

How do I install widget-coherence?

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

Is widget-coherence free?

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

Is widget-coherence safe to use?

It scores 48 of 100. Grades: maintenance B, licence A, 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 widget-coherence?

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

widget-coherence Install

Add to stack

Loading.