/fluent-skillset:fluent-domain-separation-reviewfrom fluent-skillset
Audits ServiceNow scoped applications for MSP Ready / Domain Separation compliance. Runs 10 checks on Fluent (now.config.json) or classic XML projects targeting multi-tenant instances.
Ships in fluent-skillset. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
IMPORTANT: This skill is ONLY applicable to applications that must run on domain-separated (MSP / multi-tenant) instances, or when a developer explicitly requests a Domain Separation / multi-tenant readiness audit.
- Applications that do not target domain-separated instances do not require
sys_domain,sys_overrides, orgetDefaultDomainBusiness Rules (thoughui_action_sys_overridesandbr_sys_domainremain good baseline packaging hygiene).- If it is unclear whether the application targets MSP Ready / Domain Separation, confirm with the user or note the domain-separation assumption at the top of the report.
Condition: Works on any ServiceNow application repository targeting MSP / Domain Separation — now.config.json is optional.
Action: Detect the application structure and scope before running the 10 Domain Separation / MSP checks:
now.config.json present):
scope and scopeId from now.config.json.src/ (.now.ts, .ts, .js) and XML files under metadata/ (including metadata/update/ and metadata/unload*/).now.config.json):
sys_app_*.xml, sys_store_app_*.xml, or <sys_scope> tags.update/, unload/ (unload.demo), and dictionary/.src/, metadata/, update/, unload/, and dictionary/.Rule: Run the deterministic MSP baseline scanner first:
node <skill-dir>/scripts/scan_msp_checks.mjs <app-directory>
Then read references/msp_checks.md and evaluate all 10 checks against the detected files (combining the deterministic script output with semantic inspection of custom data vs. process tables, business rule domain logic, and import set roles). Mark checks targeting absent artifact types as N/A (count as passed/compliant where relevant).
Read the reference file and evaluate every check against the detected application files:
getDefaultDomain privilege, sys_domain on data tables, sys_overrides on metadata/process tables, global-domain baseline packaging, empty sys_overrides on UI Actions, default-domain and set-domain Business Rules, async Business Rule domain context, Transform Map run_business_rules, and Import Set table role isolation:
getDefaultDomain)sys_domain / sys_overrides schema support, or non-global baseline domain captureAlways produce the review report using this exact Markdown structure:
# Domain Separation (MSP) Review Report: <App Name> (`<scope>`)
- **App Type:** Fluent (`now.config.json`) | Classic XML (`update/`) | Hybrid
- **Files Scanned:** <count and paths summary>
- **Checks Evaluated:** 10 (Passed: <X>, Failed: <Y>, N/A: <Z>)
## Exemplary Practices
- Concisely summarize all passed checks grouped by area (e.g., Baseline Global Domain Hygiene, Tenant Data Separation (`sys_domain`), Process Override Support (`sys_overrides`), Domain Business Rule Logic, Import Set Tenant Isolation).
## Findings
*(If no checks failed, write: "No domain separation / MSP findings detected.")*
### [P0 | P1 | P2 | P3 | P4] `<check_id>` — <Check Title> (Impact: Critical | High | Medium | Low)
- **Location:** `<file_path>:<line>`
- **Issue:** Brief, clear statement of what failed.
- **Suggested Fix:** Brief, clear, actionable remediation in plain English (with a minimal code/XML snippet when helpful).
## Conclusion
- **Status:** **PASS** *(0 P0/P1 findings)* | **FAIL** *(1 or more P0/P1 findings, or unresolved P2 tenant-isolation exposures)*
- **Recommended Next Steps:**
1. Ordered, concise action items to remediate P0 → P1 → P2 → P3 findings and make the app domain-separation ready.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
servicenow, domain-separation, msp-ready, scoped-app, multi-tenant
5 skills in this plugin
/fluent-cliUse when building apps or querying data with Fluent (now-sdk) on ServiceNow./fluent-general-reviewPerform general best-practice review for ServiceNow scoped app, covering generic Scripting and Configuration checks for either Fluent (now.config.json) **or** classic XML (update/) applications./fluent-perf-reviewPerform a ServiceNow App performance review across all 18 Performance checks (plus general memory, CPU, and query efficiency) for either Fluent (now.config.json) **or** classic XML (update/) applications.npx claudepluginhub modesty/fluent-mcp --plugin fluent-skillsetOther plugins' skills for the same job