Logo van Sn Sdk Fluent

Sn Sdk Fluent

Community
guilhermebatista-gbs
sn-sdk-fluent

Use when working with ServiceNow Fluent DSL (.now.ts files) — generating, reviewing, or explaining metadata definitions for tables, ACLs, business rules, UI pages, client scripts, script includes, flows, service portal widgets, and other ServiceNow metadata types. Covers all 6 column types, all $id-required types, and scope prefix reading from now.config.json.

Overzicht

Uitgeverguilhermebatista-gbs
Repositoryservicenow-architect
Skillnaamsn-sdk-fluent
Sterren
26
Forks
14
Meegeleverde bestanden
20
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 20

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door guilhermebatista-gbs op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Sn Sdk Fluent in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/guilhermebatista-gbs/servicenow-architect/tree/main/sn-sdk-fluent
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/guilhermebatista-gbs/servicenow-architect.git /tmp/servicenow-architect
mkdir -p .claude/skills
cp -r /tmp/servicenow-architect/sn-sdk-fluent .claude/skills/sn-sdk-fluent
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Sn Sdk Fluent in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Sn Sdk Fluent automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Sn Sdk Fluent niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

ServiceNow Fluent SDK

ServiceNow Fluent is a TypeScript-based DSL for defining application metadata (sys_metadata) as code. Files use the .now.ts extension and are compiled with now-sdk build. Two-way sync keeps metadata in sync between code and the ServiceNow instance. All Fluent APIs import from @servicenow/sdk/core.

Reference Files

Read these files when you need them — do not pre-load all references at session start. Paths are relative to the skill root (the directory containing this file).

FileWhen to read
references/metadata-types.mdWhen generating or reviewing any Fluent metadata type
references/column-types.mdWhen working with Table column definitions (StringColumn, IntegerColumn, etc.)
references/now-globals.mdWhen using Now.ID, Now.include, or the script tagged template literal
references/getting-started.mdWhen helping someone install the SDK or create their first project
references/project-structure.mdWhen explaining file layout, now.config.json, or scope prefix rules
references/gotchas.mdWhen encountering auth errors, XML/source conflicts, --reinstall questions, Now.ID or Now.ref usage, -now: import prefix issues, JS module sync questions, or npx vs now-sdk confusion
references/cli-reference.mdWhen running or explaining build, install, transform, clean, or pack commands

Example Assets

Use these as structural templates — only read the example that matches your target type, do not pre-load all examples:

FileMetadata type
assets/examples/table.now.tsTable (all 6 column types)
assets/examples/acl.now.tsAcl + Role
assets/examples/business-rule.now.tsBusinessRule
assets/examples/client-script.now.tsClientScript (.client.js extension)
assets/examples/script-include.now.tsScriptInclude
assets/examples/ui-action.now.tsUiAction
assets/examples/ui-page.now.tsUiPage
assets/examples/rest-api.now.tsRestApi
assets/examples/flow.now.tsFlow (trigger + action)

Hard Rules

  1. Read before writing. Always read the relevant reference file before generating or reviewing Fluent code. Do not write from memory.

  2. Only use documented APIs. Only use field names and options that appear in the reference files. If a user requests something not in the reference, say so and suggest the closest documented alternative.

  3. GlideRecord never defines metadata — but script bodies still use Glide APIs. Fluent replaces the legacy way of creating metadata (tables, fields, ACLs, rules as records) — never emulate that with GlideRecord. The contents of script properties, Now.include() files, and src/server/ modules (Business Rule logic, Script Include methods, scripted REST handlers) are regular ServiceNow server-side JavaScript that correctly uses GlideRecord, gs.*, and current. Write those bodies following the ../sn-scripting/ references (gliderecord.md, server-side.md, gotchas.md).

  4. Never omit Now.ID where required. Check the $id-required types list in the header of references/metadata-types.md before writing any metadata type.

  5. Always import from @servicenow/sdk/core. Never from @servicenow/sdk — the /core subpath is required.

  6. Scope prefix comes from now.config.json. NEVER invent or assume the scope prefix. Read references/project-structure.md for the schema. If now.config.json is absent from the workspace, ask the user for their application scope before writing any names (table names, API names, role names, etc.).

  7. Build, deploy, auth, and failure triage belong to sn-sdk-setup. This sub-skill owns writing Fluent code. For the build→deploy→verify lifecycle, auth checks, and the failure table — including the destructive --reinstall caveat (references/gotchas.md #3) — read the main file in ../sn-sdk-setup/ instead of improvising commands.

ATF tests: When a user asks to generate ATF tests, do NOT generate ATF code from this skill. ATF API surface is extensive and version-sensitive. Direct them to: github.com/ServiceNow/sdk-examples/tree/main/test-atf-sample

Behavior by Task Type

Build & Deploy

Owned by the sn-sdk-setup sub-skill — read the main file in ../sn-sdk-setup/ (section "Build & Deploy") for the pre-deploy checklist, the build→install sequence, post-deploy verification, live-URL lookup, and the common-failures table. Keeping a single copy avoids the two files drifting apart. One reminder that bears repeating here: never run now-sdk install --reinstall casually — it is destructive (see references/gotchas.md #3).


Generating Fluent code

  1. If the scope prefix, metadata type, or required fields have not been stated by the user and cannot be unambiguously determined from the workspace — gather them before writing (ask for each piece of information sequentially to avoid overwhelming the user)
  2. Read references/metadata-types.md for the target metadata type
  3. Read the matching example from assets/examples/
  4. Write code following the example structure exactly
  5. Use Now.ID['descriptive_key'] for stable IDs; use Now.include('./filename.ext') for external scripts
  6. When the type carries a script body (BusinessRule, ScriptInclude, RestApi, UiAction), write that body as standard Glide server-side JS following the ../sn-scripting/ references — Hard Rule 3
  7. Prefix table names, API names, and role names with x_scope_ (where scope comes from now.config.json); if now.config.json is absent, apply Hard Rule 6

Reviewing Fluent code

  1. Read references/metadata-types.md
  2. Check every field and option in the code against the reference
  3. Flag options not in the reference as "not in reference — may be valid but verify against SDK docs"
  4. Flag missing $id on types that require it (marked in the reference header)
  5. Flag GlideRecord used to define or create metadata (that should be a Fluent definition). GlideRecord inside script bodies is correct — review those bodies against ../sn-scripting/references/gotchas.md instead
  6. Flag imports from @servicenow/sdk (should be @servicenow/sdk/core)

Explaining Fluent code

  1. Read the relevant section of references/metadata-types.md
  2. For each field, paraphrase the reference definition — do not explain from memory
  3. For Now.ID, Now.include, or script tag questions, also read references/now-globals.md

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Sn Sdk Fluent?

Use when working with ServiceNow Fluent DSL (.now.ts files) — generating, reviewing, or explaining metadata definitions for tables, ACLs, business rules, UI pages, client scripts, script includes, flows, service portal widgets, and other ServiceNow metadata types. Covers all 6 column types, all $id-required types, and scope prefix reading from now.config.json.

Waarom Sn Sdk Fluent gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Sn Sdk Fluent bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Sn Sdk Fluent in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/guilhermebatista-gbs/servicenow-architect/tree/main/sn-sdk-fluent. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Sn Sdk Fluent gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Sn Sdk Fluent gebruiken?

Zoveel als je wilt. Je kunt Sn Sdk Fluent gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Sn Sdk Fluent gratis?

Ja. Deze skill is door guilhermebatista-gbs op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇