reviewing-update-sets
Skill24 starsChanged 9 months agoMITView on GitHub
Reviewing, analyzing, and comparing ServiceNow update sets before promotion. Shows changes, risks, dependencies, and conflicts. Use when the user mentions update sets, customizations, promotion, code review, change tracking, pre-deployment review, sys_update_xml, customer updates, \"what changed in this update set,\" or \"is this safe to promote.\"
In this repository4 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- exploring-tablesSkill
- servicenow-cmdbSkill
- triaging-incidentsSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 115
State: Must be complete (not in progress)
- Distinctive: line 117
Test artifacts: Look for names containing "test", "debug", "temp", "TODO"
- Distinctive: line 118
Personal artifacts: Check for developer-specific names or comments
- Very specific: line 125
Update sets in ignore state are intentionally excluded from promotion — don't flag them.
- Very specific: line 127
Use order_by="-sys_created_on" to see the most recent update sets first.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Reviewing ServiceNow Update Sets
Review, analyze, and compare update sets before promotion. See references/update-set-fields.md for update types, risk categories, and pre-promotion checklist fields.
Workflows
1. List & Summarize Update Sets
Get an overview of update sets by state with change counts.
Progress checklist (copy into your response):
- [ ] List update sets by state
- [ ] Get change counts for each
- [ ] Summarize by developer and state- List update sets by state:
list_update_sets(state="in progress", limit=20) list_update_sets(state="complete", limit=20) - For each update set, get the change count:
list_update_set_changes(update_set_sys_id="<sys_id>", limit=1) - Summarize: name, state, developer, change count, last modified date.
2. Deep Review a Single Update Set
Examine all changes in an update set, categorize by type, and flag risks.
Progress checklist:
- [ ] Get update set details
- [ ] List all customer updates
- [ ] Categorize changes by type
- [ ] Flag risky changes (ACLs, script includes, schema changes)
- [ ] Summarize findings with risk assessment- Get the update set details:
get_update_set(sys_id="<update_set_sys_id>") - List all customer updates in the set:
list_update_set_changes(update_set_sys_id="<update_set_sys_id>", limit=100) - Categorize each change by type (business rule, client script, UI policy, ACL, etc.).
- Flag risky changes — see
references/update-set-fields.mdfor risk categories:- ACL modifications (security impact)
- Script Includes (shared library changes)
- Table/Column schema changes (data model impact)
- System Properties (global configuration)
- Scheduled Jobs (background automation)
- Present a summary: total changes, breakdown by type, risk flags with explanations.
3. Compare Two Update Sets
Find overlapping records and potential conflicts between two update sets.
Progress checklist:
- [ ] Get changes for update set A
- [ ] Get changes for update set B
- [ ] Find overlapping records (same target name/table)
- [ ] Identify potential conflicts
- [ ] Report overlap and conflict details- Get all changes from both update sets:
list_update_set_changes(update_set_sys_id="<set_a_sys_id>", limit=100) list_update_set_changes(update_set_sys_id="<set_b_sys_id>", limit=100) - Compare the change lists:
- Overlapping records: same
target_namemodified in both sets - Conflicting changes: same record with different modifications
- Dependency issues: Set A modifies a record that Set B depends on
- Overlapping records: same
- Present: overlapping records, conflict details, recommended promotion order.
4. Pre-Promotion Checklist
Validate an update set is safe to promote using a structured checklist.
Progress checklist:
- [ ] Verify state is "complete"
- [ ] Check for Default update set entries mixed in
- [ ] Scan for test/personal artifacts
- [ ] Check for incomplete references
- [ ] Flag risky change types
- [ ] Generate promotion readiness report- Get the update set and verify state:
get_update_set(sys_id="<update_set_sys_id>") - List all changes:
list_update_set_changes(update_set_sys_id="<update_set_sys_id>", limit=100) - Run pre-promotion checks:
- State: Must be
complete(notin progress) - Default set entries: Flag any changes that belong to the Default update set
- Test artifacts: Look for names containing "test", "debug", "temp", "TODO"
- Personal artifacts: Check for developer-specific names or comments
- Risky types: Flag ACLs, schema changes, system properties
- Incomplete references: Changes that reference records not in the same set
- State: Must be
- Generate a promotion readiness report: pass/fail for each check, overall recommendation.
Tips
- Update sets in
ignorestate are intentionally excluded from promotion — don't flag them. - The
sys_update_xmltable stores the actual XML payload of each change. Query it for detailed diffs. - Use
order_by="-sys_created_on"to see the most recent update sets first. - See
references/update-set-fields.mdfor the full list of change types and risk categories.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

