用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/adamrdrew/claude-code-patterns --skill notes-delete命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | notes-delete |
| description | Delete a note from the database. Removes the note file and its index entry. |
This skill removes a note from the notes database.
Use the Read tool to try reading notes-config.yaml.
If the file doesn't exist: Report: "Notes aren't configured yet. There's nothing to delete. I can help you set up notes — just ask me to add a note."
Stop execution.
Read notes-config.yaml and extract the notes_path value.
Handle path resolution:
~, expand it to the user's home directory./, it's relative to the config file locationUse the Read tool to try reading <notes_path>/index.md.
If it doesn't exist, report: "The notes database hasn't been initialized yet. There's nothing to delete."
From the user's request, determine which note they want to delete.
Check the index for a matching topic. If no exact match, list available notes and ask for clarification.
Before deleting, confirm with the user:
"Are you sure you want to delete the note '[topic]'? This cannot be undone."
Only proceed if the user confirms.
Use Bash to remove the note file:
rm <notes_path>/<topic>.md
<notes_path>/index.mdReport that the note was deleted successfully.