Reviewing Update Sets 标志

Reviewing Update Sets

社区
jschuller
reviewing-update-sets

Reviewing, analyzing, and comparing ServiceNow update sets before promotion, singly or in batches. 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'.

概览

发布者jschuller
代码仓库mcp-server-servicenow
技能名称reviewing-update-sets
星标数
27
复刻数
10
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 jschuller 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Reviewing Update Sets AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/jschuller/mcp-server-servicenow/tree/main/src/servicenow_mcp/skills/reviewing-update-sets
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jschuller/mcp-server-servicenow.git /tmp/mcp-server-servicenow
mkdir -p .claude/skills
cp -r /tmp/mcp-server-servicenow/src/servicenow_mcp/skills/reviewing-update-sets .claude/skills/reviewing-update-sets
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Reviewing Update Sets,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Reviewing Update Sets。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Reviewing Update Sets 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Reviewing ServiceNow Update Sets

Review, analyze, and compare update sets before promotion, and read the preview problems of retrieved (remote) update sets. See references/update-set-fields.md for update types, risk categories, preview problem types and pre-promotion checklist fields.

Tables and roles

This skill needs an admin-level identity. Every table it reads returns 403 or no rows for itil + snc_read_only.

TableWhat it holds
sys_update_setLocal update sets
sys_update_xmlOne row per captured change
sys_remote_update_setUpdate sets retrieved from another instance, with a state and a collisions count
sys_update_preview_problemProblems a preview found for a retrieved set
sys_update_versionVersion history of each customised record

When access is denied

  • 403 on sys_update_set (or list_update_sets fails): the review is not assessable with this identity. Say an admin-level identity is needed, configured in the MCP server by whoever runs it, and stop rather than guess. Never ask for credentials or tokens in the conversation.
  • 0 rows from sys_update_preview_problem: either nothing was found or the rows are hidden. Check the set's collisions count and state before calling a set clean.

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
  1. List update sets by state:
    list_update_sets(state="in progress", limit=20)
    list_update_sets(state="complete", limit=20)
  2. For each update set, get the change count:
    list_update_set_changes(update_set_sys_id="<sys_id>", limit=1)
  3. Summarize: name, state, developer, change count, last modified date.
  4. Batch review (all sets in one state, e.g. everything "complete" awaiting promotion): for each set run the Deep Review steps below in brief — categorize changes by type, flag high-risk items — then check for cross-set conflicts (the same target_name / name in sys_update_xml across two sets), give each set a promotion-readiness verdict, and recommend a promotion order that respects dependencies.

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
  1. Get the update set details:
    get_update_set(sys_id="<update_set_sys_id>")
  2. List all customer updates in the set:
    list_update_set_changes(update_set_sys_id="<update_set_sys_id>", limit=100)
  3. Categorize each change by type (business rule, client script, UI policy, ACL, etc.).
  4. Flag risky changes — see references/update-set-fields.md for 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)
  5. 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
  1. 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)
  2. Compare the change lists:
    • Overlapping records: same target_name modified in both sets
    • Conflicting changes: same record with different modifications
    • Dependency issues: Set A modifies a record that Set B depends on
  3. 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
  1. Get the update set and verify state:
    get_update_set(sys_id="<update_set_sys_id>")
  2. List all changes:
    list_update_set_changes(update_set_sys_id="<update_set_sys_id>", limit=100)
  3. Run pre-promotion checks:
    • State: Must be complete (not in 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
  4. Generate a promotion readiness report: pass/fail for each check, overall recommendation.

5. Preview Problems and Collisions (retrieved update sets)

Read what a preview already found, without running one. Previewing, accepting, skipping and committing all write to the instance, so leave them to the user.

Progress checklist:

- [ ] List retrieved update sets and their states
- [ ] Read the preview problems of the set under review
- [ ] Group problems by type and resolution status
- [ ] For collisions, compare record versions
- [ ] Recommend accept, skip or fix for each open problem
  1. List retrieved sets, newest first:
    list_records(table_name="sys_remote_update_set", query="stateINloaded,previewed", fields="name,state,collisions,commit_date,application,update_source", limit=20, order_by="-sys_created_on")
    loaded means the set was retrieved but not previewed. previewed means a preview ran and its problems are recorded.
  2. Read the problems for one set:
    list_records(table_name="sys_update_preview_problem", query="remote_update_set=<remote_update_set_sys_id>", fields="type,status,description,missing_item,missing_item_table,remote_update", limit=200)
    • type is error or warning.
    • status stays empty until someone resolves the problem, then it reads ignored, skipped or skip_collision.
    • Unresolved errors block the commit.
  3. Classify each open problem with references/update-set-fields.md (missing object, collision, uncommitted update ...).
  4. For a collision, compare the versions of the record on this instance:
    list_records(table_name="sys_update_version", query="name=<update_name>", fields="name,state,source_table,source,sys_recorded_at", limit=10, order_by="-sys_recorded_at")
    Never request payload: it holds the full record XML and can contain credentials.
  5. Report: open errors first, then warnings. For each one, give a recommendation (accept the remote update, skip it, or fix the missing dependency first) and say who should act.

Tips

  • Update sets in ignore state are intentionally excluded from promotion — don't flag them.
  • The sys_update_xml table stores the actual XML payload of each change. Query it for detailed diffs only when needed, with small limits: payloads can contain credentials and script bodies.
  • Use order_by="-sys_created_on" to see the most recent update sets first.
  • See references/update-set-fields.md for the full list of change types and risk categories.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Reviewing Update Sets AI 技能有什么作用?

Reviewing, analyzing, and comparing ServiceNow update sets before promotion, singly or in batches. 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'.

为什么在 TypingMind 中使用 Reviewing Update Sets?

因为您只需安装一次,就能搭配任何模型使用。Reviewing Update Sets 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Reviewing Update Sets?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/jschuller/mcp-server-servicenow/tree/main/src/servicenow_mcp/skills/reviewing-update-sets。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Reviewing Update Sets?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Reviewing Update Sets 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Reviewing Update Sets 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Reviewing Update Sets AI 技能免费吗?

是的。jschuller 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇