manage-notes

GitHub

管理笔记的创建、更新、删除和移动。所有写入操作需暂存供用户审核,严禁声称已直接应用。提供编辑合并、替换或撤回机制,确保变更透明可控。

src/skills/defaults/manage-notes/SKILL.md s2b-dev/smart-second-brain

Trigger Scenarios

用户要求创建新笔记 用户要求修改现有笔记内容 用户要求删除或移动笔记

Install

npx skills add s2b-dev/smart-second-brain --skill manage-notes -g -y
More Options

Non-standard path

npx skills add https://github.com/s2b-dev/smart-second-brain/tree/main/src/skills/defaults/manage-notes -g -y

Use without installing

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.

Version History

  • 2.0.5 Current 2026-09-08 21:10

Same Skill Collection

.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-notes/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-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

Metadata

Files
0
Version
2.1.0
Hash
1c16f185
Indexed
2026-09-08 21:10

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-16 08:27
浙ICP备14020137号-1 $방문자$