Skip to content

Commit 5b63b25

Browse files
feat: apply audit improvements from PR #10
- code-reviewer: set model to opus for max quality reviews - create-plan: update allowed-tools (Task/Explore -> Agent) - fix-pr-feedback: add Read/Edit/Write/Grep/Glob to allowed-tools - rgpd: use portable ~/.claude/ path instead of absolute - settings: add PostToolUseFailure hook to log failed Bash commands
1 parent 93b1d69 commit 5b63b25

5 files changed

Lines changed: 15 additions & 3 deletions

File tree

agents/code-reviewer.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ description: Senior engineer code reviewer for quality, maintainability and read
44
tools: Read, Grep, Glob, Bash
55
skills:
66
- architect
7+
model: claude-opus-4-6
78
memory: user
89
maxTurns: 30
910
---

commands/create-plan.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Full planning workflow - AEP + validation + save for automated execution
33
argument-hint: <feature or problem to implement>
4-
allowed-tools: Read, Glob, Grep, Task, Explore, Bash(mkdir:*), Write
4+
allowed-tools: Read, Glob, Grep, Agent, Bash(mkdir *), Write
55
---
66

77
# PLAN - Full Planning Workflow

commands/fix-pr-feedback.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: "Read PR comments and update code based on unresolved feedback"
3-
allowed-tools: Bash(gh:*), Bash(git:*)
3+
allowed-tools: Read, Grep, Glob, Edit, Write, Bash(gh *), Bash(git *)
44
argument-hint: "[pr-number]"
55
---
66

commands/rgpd.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Automatise les demandes RGPD (suppression, accès, portabilité des données per
1414
- Opposition (Art. 21) - arrêter le marketing
1515
- Portabilité (Art. 20) - export des données
1616

17-
3. **Rédiger le mail** en utilisant les templates de `/home/nicolas/.claude/skills/rgpd-request/references/templates.md`
17+
3. **Rédiger le mail** en utilisant les templates de `~/.claude/skills/rgpd-request/references/templates.md`
1818

1919
4. **Fournir le mail prêt à envoyer** avec :
2020
- Destinataire (email DPO)

settings.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,17 @@
7979
]
8080
}
8181
],
82+
"PostToolUseFailure": [
83+
{
84+
"matcher": "Bash",
85+
"hooks": [
86+
{
87+
"type": "command",
88+
"command": "jq -r '\"[\" + (now | strftime(\"%Y-%m-%d %H:%M:%S\")) + \"] FAILED: \" + .tool_input.command' >> ~/.claude/logs/bash-commands.log 2>/dev/null || true"
89+
}
90+
]
91+
}
92+
],
8293
"PermissionRequest": [
8394
{
8495
"matcher": "Read|Write|Edit|Bash|mcp__.*",

0 commit comments

Comments
 (0)