manage-notes

GitHub

管理笔记的创建、更新、删除和移动。所有写入操作均暂存供用户审核,确保不擅自应用变更。提供编辑修正机制,支持替换、撤回或追加待审提案,保障内容修改的可控性与准确性。

integration/S2B Test Vault/Agents/Skills/manage-notes/SKILL.md s2b-dev/smart-second-brain

触发场景

用户要求创建、更新、删除或移动笔记 执行任何涉及笔记内容的写入操作前

安装

npx skills add s2b-dev/smart-second-brain --skill manage-notes -g -y
更多选项

非标准路径

npx skills add https://github.com/s2b-dev/smart-second-brain/tree/main/integration/S2B Test Vault/Agents/Skills/manage-notes -g -y

不安装直接使用

npx skills use s2b-dev/smart-second-brain@manage-notes

指定 Agent (Claude Code)

npx skills add s2b-dev/smart-second-brain --skill manage-notes -a claude-code -g -y

安装 repo 全部 skill

npx skills add s2b-dev/smart-second-brain --all -g -y

预览 repo 内 skill

npx skills add s2b-dev/smart-second-brain --list

SKILL.md

Frontmatter
{
    "name": "manage-notes",
    "metadata": {
        "author": "S2B",
        "version": "1.0",
        "category": "core"
    },
    "description": "Create, update, delete, and move notes. All writes are staged for the user's review — never say a change has already been applied. Load this before performing any write operation; it holds the staging policy and edit conventions.",
    "allowed-tools": "manage_notes"
}

Write Operations

  • All write operations (create, update, delete, move) are staged for user approval. Never say a change has already been applied.
  • Modify only what the user asked for and preserve surrounding content.
  • Prefer batching related write operations so the user can review them together.
  • Prefer targeted edits over full rewrites unless a full rewrite is clearly necessary.

Correcting an Edit You Already Staged

Staged changes wait for the user's review, so you can still revise them — but by default a new edit to the same note adds to your pending proposal rather than replacing it. The user then sees both edits. When the user is correcting you ("no, at the bottom", "actually make it X"), say which you mean:

  • Replacing your own pending edit — re-stage the update with "replace_pending": true. Your earlier proposal is dropped and only the new edit is reviewed.
  • Withdrawing an edit entirely — use a discard operation with the proposal's id. It stages nothing and applies nothing; it just takes your proposal out of the review queue.

Every staged proposal is reported with an id, both when you stage it and in the status block listing changes still awaiting review. discard takes that id, not a path — one path can name more than one proposal, so a path cannot say which you mean. Use an id you were actually given; never invent or guess one. If the tool says no proposal has that id, the user has probably already reviewed it — say so rather than implying you withdrew something.

  • Genuinely adding a second, separate edit — change nothing; the default merge is what you want.

Never tell the user a new proposal replaces or supersedes an earlier one unless you used replace_pending or discard. If the tool result says a proposal contains both rounds of edits, describe it that way. Once the user has accepted a change you cannot take it back — say so rather than implying you undid it.

版本历史

  • 2.0.5 当前 2026-09-08 21:10

同 Skill 集合

.claude/skills/dispatch/SKILL.md
.github/skills/obsidian-integration-test/SKILL.md
integration/S2B Test Vault/.obsidian/skills/bases/SKILL.md
integration/S2B Test Vault/.obsidian/skills/canvas/SKILL.md
integration/S2B Test Vault/.obsidian/skills/dataview/SKILL.md
integration/S2B Test Vault/.obsidian/skills/notebook-navigator/SKILL.md
integration/S2B Test Vault/.obsidian/skills/obsidian-charts/SKILL.md
integration/S2B Test Vault/.obsidian/skills/tasknotes/SKILL.md
integration/S2B Test Vault/.obsidian/skills/tasks/SKILL.md
integration/S2B Test Vault/Agents/Skills/bases/SKILL.md
integration/S2B Test Vault/Agents/Skills/canvas/SKILL.md
integration/S2B Test Vault/Agents/Skills/dataview/SKILL.md
integration/S2B Test Vault/Agents/Skills/explore-vault/SKILL.md
integration/S2B Test Vault/Agents/Skills/manage-skills/SKILL.md
integration/S2B Test Vault/Agents/Skills/notebook-navigator/SKILL.md
integration/S2B Test Vault/Agents/Skills/obsidian-charts/SKILL.md
integration/S2B Test Vault/Agents/Skills/tasknotes/SKILL.md
integration/S2B Test Vault/Agents/Skills/tasks/SKILL.md
integration/S2B Test Vault/Agents/Skills/web/SKILL.md
src/skills/defaults/explore-vault/SKILL.md
src/skills/defaults/manage-notes/SKILL.md
src/skills/defaults/manage-skills/SKILL.md
src/skills/defaults/web/SKILL.md
src/skills/integrations/bases/SKILL.md
src/skills/integrations/canvas/SKILL.md
src/skills/integrations/dataview/SKILL.md
src/skills/integrations/obsidian-charts/SKILL.md
src/skills/integrations/tasknotes/SKILL.md
src/skills/integrations/tasks/SKILL.md

元信息

文件数
0
版本
2.1.0
Hash
1c16f185
收录时间
2026-09-08 21:10

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-16 23:41
浙ICP备14020137号-1