Initializes Obsidian PM tracking for current project. Creates config and Obsidian directory structure. Use when setting up tracking.
Sets up project management integration between code repository and Obsidian vault.
Get configuration:
$ARGUMENTS)$ARGUMENTS)Validate vault path:
Create configuration file: .claude/pm-config.json
{
"obsidian_vault": "<vault-path>",
"project_path": "projects/<project-name>",
"task_dir": "tasks",
"changelog_file": "changelog.md",
"task_prefix": "TASK",
"auto_mode": false
}
Create Obsidian directories:
mkdir -p {vault}/{project_path}/tasks/
Create README.md: Use template from templates/readme-template.md
Create changelog.md: Use template from templates/changelog-template.md
Copy task template: Ensure templates/task-template.md is accessible for future task creation
Next steps: Suggest running:
/pm-new-task <description>
These conventions are enforced throughout the plugin:
TASK-001 (zero-padded 3 digits)TASK-001-short-description.mdfeat/TASK-001-short-desc, fix/TASK-002-bug-descfeat(TASK-001): description, fix(TASK-002): description🎯 longTerm → 📋 backlog → ⭕ to-do → ⏳ in-progress → ✅ completed
↓
⏸️ pending → ⏳ in-progress
↓
❌ cancelled
⭕ to-do⏳ in-progress✅ completed/pm-init ~/Documents/ObsidianVault my-api-project
Creates:
.claude/pm-config.json in code repo~/Documents/ObsidianVault/projects/my-api-project/tasks/ directory