v2.0: Add hooks, agents, skills, rules, and plugin structure
Major modernization to leverage latest Claude Code features: Plugin Foundation: - Add .claude-plugin/plugin.json manifest for distribution - Add .claude/settings.json with permissions and hooks config Hooks (automatic behaviors): - SessionStart: Initialize vault environment variables - PostToolUse: Auto-commit changes after Write/Edit operations Custom Agents (4): - note-organizer: Vault organization and link maintenance - weekly-reviewer: Facilitate weekly review aligned with goals - goal-aligner: Check daily/weekly alignment with long-term goals - inbox-processor: GTD-style inbox processing Skills (3): - obsidian-vault-ops: Read/write vault files, manage wiki-links - goal-tracking: Track progress across goal cascade - daily-workflow: Morning/midday/evening routines Modular Rules (3): - markdown-standards: File naming, tags, frontmatter conventions - productivity-workflow: Goal cascade, daily/weekly planning - project-management: Project structure and status tracking Other: - Add statusline.sh for terminal vault stats display - Add CLAUDE.local.md.template for personal overrides - Update CLAUDE.md with new features documentation - Update all docs with v2.0 features and upgrade guide 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
60
vault-template/.claude/settings.json
Normal file
60
vault-template/.claude/settings.json
Normal file
@@ -0,0 +1,60 @@
|
||||
{
|
||||
"permissions": {
|
||||
"allow": [
|
||||
"Bash(git:*)",
|
||||
"Bash(ls:*)",
|
||||
"Bash(mkdir:*)",
|
||||
"Bash(date:*)",
|
||||
"Bash(wc:*)",
|
||||
"Bash(find:*)",
|
||||
"Read(*)",
|
||||
"Write(Daily Notes/**)",
|
||||
"Write(Goals/**)",
|
||||
"Write(Projects/**)",
|
||||
"Write(Archives/**)",
|
||||
"Write(Templates/**)",
|
||||
"Write(Inbox/**)",
|
||||
"Edit(Daily Notes/**)",
|
||||
"Edit(Goals/**)",
|
||||
"Edit(Projects/**)",
|
||||
"Edit(Templates/**)"
|
||||
],
|
||||
"deny": [
|
||||
"Edit(.claude/**)",
|
||||
"Write(.git/**)",
|
||||
"Bash(rm -rf:*)"
|
||||
]
|
||||
},
|
||||
"env": {
|
||||
"VAULT_PATH": "${cwd}",
|
||||
"DAILY_NOTES_DIR": "Daily Notes",
|
||||
"GOALS_DIR": "Goals",
|
||||
"PROJECTS_DIR": "Projects",
|
||||
"TEMPLATES_DIR": "Templates",
|
||||
"ARCHIVES_DIR": "Archives",
|
||||
"GIT_AUTO_COMMIT": "true"
|
||||
},
|
||||
"hooks": {
|
||||
"SessionStart": [
|
||||
{
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": ".claude/hooks/session-init.sh"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"PostToolUse": [
|
||||
{
|
||||
"matcher": "Write|Edit",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": ".claude/hooks/auto-commit.sh \"$TOOL_INPUT_FILE_PATH\""
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user