/fluent-skillset:fluent-perf-reviewfrom fluent-skillset
Runs 18 performance checks on ServiceNow apps (Fluent or classic XML), covering scripting efficiency, configuration issues, memory, CPU, and query patterns. Useful for code reviews and upgrade assessments.
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.
Condition: Works on any ServiceNow application repository — now.config.json is optional.
Action: Detect the application structure and scope before running the 18 performance checks:
now.config.json present):
scope and scopeId from now.config.json.src/ (.now.ts, .ts, .js, .html) 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 performance scanner first (add --baseline when reviewing an upgrade of a previously released version):
node <skill-dir>/scripts/scan_perf_checks.mjs <app-directory> [--baseline <previous-version-dir>]
Then read both reference files in order and evaluate all 18 checks against the detected files. The script resolves Business Rule / transform timing and Now.include() / imported server modules, but it cannot follow calls into Script Includes or judge intent — confirm each finding semantically, and evaluate sys_direct_ws (and dictionary_type_change without a baseline) manually. Mark checks targeting absent artifact types as N/A (count as passed/compliant where relevant).
Scope: Do not limit the review to these 18 items. Also review the code for general memory, CPU, and database-query efficiency, and report notable issues under the general_performance check ID.
Read both reference files in order and evaluate every check against the detected application files:
gs.setProperty(), sys_audit queries, unbounded XML parsing, JEXL in <g:evaluate>, sys_id dot-walking, and leading-wildcard query operators:
sys_audit, and packaged database indexes:
Always produce the review report using this exact Markdown structure:
# Performance Review Report: <App Name> (`<scope>`)
- **App Type:** Fluent (`now.config.json`) | Classic XML (`update/`) | Hybrid
- **Files Scanned:** <count and paths summary>
- **Checks Evaluated:** 18 (Passed: <X>, Failed: <Y>, N/A: <Z>)
## Exemplary Practices
- Concisely summarize all passed checks grouped by area (e.g., Business Rule Hygiene, Asynchronous Integration, Query & Large-Table Efficiency, Import & Transform Configuration, Schema & Reporting Footprint).
## Findings
*(If no checks failed, write: "No performance 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 scalability exposures)*
- **Recommended Next Steps:**
1. Ordered, concise action items to remediate P0 → P1 → P2 → P3 findings and pass the performance review.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
servicenow, performance-review, app-review, fluent, xml-apps
npx claudepluginhub modesty/fluent-mcp --plugin fluent-skillset5 skills in this plugin
/fluent-cliUse when building apps or querying data with Fluent (now-sdk) on ServiceNow./fluent-domain-separation-reviewPerform Domain Separation / MSP Readiness review for ServiceNow Scoped applications, either Fluent (now.config.json) **or** classic XML (update/) applications that must run on domain-separated (MSP Ready/ multi-tenant) instances./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.Other plugins' skills for the same job