Initial project scaffold: Astro + OpenSpec + Claude Code config

This commit is contained in:
2026-04-10 12:41:18 +02:00
commit ed946c03d7
46 changed files with 9304 additions and 0 deletions

22
.claude/settings.json Normal file
View File

@@ -0,0 +1,22 @@
{
"hooks": {
"PostToolUse": [
{
"matcher": "Write|Edit|MultiEdit",
"hooks": [
{
"type": "command",
"command": "if echo \"$CLAUDE_FILE_PATHS\" | grep -qE '\\.(astro|ts|tsx|js|jsx|css|json)$'; then cd $CLAUDE_PROJECT_DIR/website && npx prettier --write \"$CLAUDE_FILE_PATHS\" 2>/dev/null; fi",
"timeout": 10
}
]
}
]
},
"permissions": {
"deny": [
"Read(./.env)",
"Read(./.env.*)"
]
}
}