diff options
| author | sillylaird <sillyfanboy@gmail.com> | 2026-09-03 00:33:59 +0000 |
|---|---|---|
| committer | sillylaird <sillyfanboy@gmail.com> | 2026-09-03 00:33:59 +0000 |
| commit | 898b52edcb47bcb3e9d6106e74ca73e74ea01e70 (patch) | |
| tree | 85c6ee5ad58b860144551184d4cf86b560c62b91 /.agents/skills/obsidian-project-lifecycle | |
| download | www-898b52edcb47bcb3e9d6106e74ca73e74ea01e70.tar.gz www-898b52edcb47bcb3e9d6106e74ca73e74ea01e70.zip | |
Diffstat (limited to '')
| -rw-r--r-- | .agents/skills/obsidian-project-lifecycle/SKILL.md | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/.agents/skills/obsidian-project-lifecycle/SKILL.md b/.agents/skills/obsidian-project-lifecycle/SKILL.md new file mode 100644 index 0000000..b19f739 --- /dev/null +++ b/.agents/skills/obsidian-project-lifecycle/SKILL.md @@ -0,0 +1,39 @@ +--- +name: obsidian-project-lifecycle +description: Use this skill when the user wants to detach, archive, purge, or otherwise change the lifecycle state of an Obsidian project knowledge base. +--- + +# Obsidian Project Lifecycle + +Use the shared helper script for deterministic lifecycle operations. + +## Role in the workflow + +This is a **supporting skill** under `obsidian-project-memory`. + +Use it for project-level state changes and, when needed, note-level removal or rename flows. + +## Project-level commands + +```bash +python3 ../obsidian-project-memory/scripts/project_kb.py lifecycle --cwd "$PWD" --mode detach +python3 ../obsidian-project-memory/scripts/project_kb.py lifecycle --cwd "$PWD" --mode archive +python3 ../obsidian-project-memory/scripts/project_kb.py lifecycle --cwd "$PWD" --mode purge +``` + +## Note-level command + +```bash +python3 ../obsidian-project-memory/scripts/project_kb.py note-lifecycle --cwd "$PWD" --mode archive --note "Results/Old-Result.md" +python3 ../obsidian-project-memory/scripts/project_kb.py note-lifecycle --cwd "$PWD" --mode purge --note "Results/Old-Result.md" +python3 ../obsidian-project-memory/scripts/project_kb.py note-lifecycle --cwd "$PWD" --mode rename --note "Experiments/Old-Name.md" --dest "Experiments/New-Name.md" +``` + +## Policy + +- **Detach**: stop syncing, keep vault content. +- **Archive**: default for “remove this project's knowledge”; move the project to `Archive/` and disable syncing. +- **Purge**: only when the user explicitly requests permanent deletion. +- **Rename / move**: treat as update plus link repair, not delete plus create. + +Always summarize what was removed, what was preserved, and whether auto-sync remains enabled. |
