跳到正文
cccskills
免费在 GitHub 公开

sync-upstream-obsidianos

Pull structural updates from upstream ObsidianOS into the local vault.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md1.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Sync Upstream ObsidianOS

Shortcut to run .scripts/sync-upstream.sh.

Usage

CommandWhat it does
/sync-upstream-obsidianosPreview and merge upstream updates
/sync-upstream-obsidianos previewPreview only — show what's new without merging

Workflow

1. Check prerequisites

  • Verify upstream remote exists: git remote get-url upstream. If missing, tell the user to add it:
    git remote add upstream <url-to-upstream-repo>
    
  • Verify working tree is clean (git status --short). If dirty, ask the user to commit or stash first.

2. Preview

Run .scripts/sync-upstream.sh --preview and show the output (new commits and changed files).

If there are no new commits, report "already up to date" and stop.

If the user only asked for preview, stop here.

3. Confirm and merge

Present the preview results and ask the user to confirm before merging.

On confirmation, run the full sync:

echo y | ./.scripts/sync-upstream.sh

4. Report results

Show the merge outcome:

  • Which files were updated.
  • Whether any files were excluded via .sync-exclude.
  • The final commit (git log -1 --oneline).

If the merge had conflicts, relay the conflict list and instruct the user to resolve manually.

Important Notes

  • The script protects personal files (Meetings, Teams, Templates, etc.) via .gitattributes merge=ours rules.
  • Files matching patterns in .sync-exclude are auto-removed from the merge (e.g. upstream example files).
  • This skill never pushes — the user decides when to push.
  • If the upstream remote doesn't exist, do not create it automatically — prompt the user for the URL.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Fetch & embed AI transcripts as Obsidian callouts. Args: <path>, all, refresh <path>. Prompts for URLs if empty.

中文简介正在准备中。当前显示原文说明。

benoror/obsidianos_work1652026年6月11日 更新

commit

免费

Stage and commit with flexible intent parsing. Accepts file/folder scope, free-text description, amend, or any combination.

中文简介正在准备中。当前显示原文说明。

benoror/obsidianos_work1652026年6月11日 更新

defuddle

免费

Extract clean markdown content from web pages using Defuddle CLI, removing clutter and navigation to save tokens. Use instead of WebFetch when the user provides a URL to read or analyze, for online documentation, articles, blog posts, or any standard web page.

中文简介正在准备中。当前显示原文说明。

benoror/obsidianos_work1652026年6月11日 更新

Resolve and fill Participants frontmatter + link unlinked names in body. Args: <path>, all.

中文简介正在准备中。当前显示原文说明。

benoror/obsidianos_work1652026年6月11日 更新

Extract action items as plain markdown bullets (with confirmation). Args: <path>. No args = run [/note-status pending --step=todos](../note-status/SKILL.md#pending-mode).

中文简介正在准备中。当前显示原文说明。

benoror/obsidianos_work1652026年6月11日 更新

Create and edit JSON Canvas files (.canvas) with nodes, edges, groups, and connections. Use when working with .canvas files, creating visual canvases, mind maps, flowcharts, or when the user mentions Canvas files in Obsidian.

中文简介正在准备中。当前显示原文说明。

benoror/obsidianos_work1652026年6月11日 更新

查看 benoror 的全部技能

报告此技能的问题