ai: claude config

This commit is contained in:
Alejandro Gómez
2025-12-14 21:57:17 +01:00
parent 08ec7831a1
commit f4d0048b30
2 changed files with 26 additions and 34 deletions

View File

@@ -1,34 +0,0 @@
{
"allowedCommands": [
"npm run dev",
"npm run build",
"npm run lint",
"npm run preview",
"npm install",
"npm install *",
"npm ci",
"npx *",
"node *",
"git status",
"git diff",
"git diff *",
"git log",
"git log *",
"git branch",
"git checkout -b *",
"git add *",
"git commit *",
"git push",
"git push *",
"git pull",
"git fetch",
"ls",
"ls *",
"cat *",
"grep *",
"find *",
"pwd",
"tree *"
],
"customInstructions": "This is a Nostr protocol explorer built with React 19, TypeScript, Vite, and TailwindCSS. When working with state management, always use the pure functions in src/core/logic.ts and the Jotai atom in src/core/state.ts. The app uses a mosaic tiling window system - be careful when modifying layout logic. Use the @ path alias for src/ imports."
}

26
.claude/settings.json Normal file
View File

@@ -0,0 +1,26 @@
{
"permissions": {
"allow": [
"Bash(npm:*)",
"Bash(git:*)",
"Bash(gh:*)",
"Bash(find:*)",
"Bash(grep:*)",
"Bash(cat:*)",
"Bash(ls:*)",
"Bash(tree:*)",
"Bash(awk:*)",
"Bash(sed:* -n *)",
"Bash(head:*)",
"Bash(tail:*)",
"Bash(wc:*)",
"Bash(tee:*)",
"Bash(source ~/.zshrc)",
"Bash(nvm use:*)",
"Bash(nvm install:*)",
"Bash(node --version:*)"
],
"deny": [],
"ask": []
}
}