mirror of
https://github.com/davila7/claude-code-templates.git
synced 2026-09-19 01:30:23 +08:00
36fa6dbd5d
New components: - supply-chain-guard skill (security): npm/PyPI/CI supply chain scanner with IOC database - worktree-guide skill: parallel development with git worktrees - dependabot-review skill: automated Dependabot PR management - worktree-check/cleanup/deliver/init commands (git-workflow) - edit-audit-log hook (development-tools) - env-file-protection and force-push-blocker hooks (security) Also includes: - Regenerated components.json catalog (docs + dashboard) - TinyFish featured page updates and logo - .vercelignore and dashboard .gitignore updates
17 lines
540 B
JSON
17 lines
540 B
JSON
{
|
|
"description": "Log all file edits to a project-local audit file with timestamps. Records every Edit tool usage to .claude/edit-log.txt for tracking changes across sessions. Requires jq.",
|
|
"hooks": {
|
|
"PostToolUse": [
|
|
{
|
|
"matcher": "Edit",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "jq -r '.tool_input.file_path' | xargs -I FILE sh -c 'echo \"$(date +%Y-%m-%dT%H:%M:%S): Edit FILE\" >> \"$CLAUDE_PROJECT_DIR/.claude/edit-log.txt\"'"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|