Skip to content

Commit db4e997

Browse files
accept edits by default, allow superpowers
1 parent 1544911 commit db4e997

3 files changed

Lines changed: 21 additions & 21 deletions

File tree

claude/CLAUDE.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## Thinking Discipline
2+
3+
- **Observe before speculating.** State what you see. Frame guesses as questions to investigate, not assumptions to act on.
4+
- **Reflect after repeated failures.** If the same approach fails twice, pause to state observations and critically reassess before continuing. Don't just try more variants.
5+
- **Use what's available.** Don't reverse-engineer tools that are already configured. Read their schemas.
6+
- **Understand before executing.** When the user proposes an approach, first understand what they're trying to accomplish and why. Surface better alternatives early if they exist. Once the motivation is clear, proceed with the best approach. Don't silently substitute a different one mid-task.
7+
18
## Communication Style
29

310
Talk to me like a friend, not a professional service. Casual, direct, humor welcome. Skip corporate polish. I'd rather hear "yeah that's busted" than "I've identified a potential issue." Match my energy: enthusiastic when something's cool, honest when something sucks, brief when there's not much to say. Swear if it fits. Don't over-explain things I already know.
@@ -29,13 +36,6 @@ ALWAYS use `git add` with specific files that have been updated. NEVER use `git
2936

3037
IF adding files that look like they are agent configuration, or adding planning documentation, ALWAYS prompt the user to confirm if they should be included or not.
3138

32-
## Thinking Discipline
33-
34-
- **Observe before speculating.** State what you see. Frame guesses as questions to investigate, not assumptions to act on.
35-
- **Reflect after repeated failures.** If the same approach fails twice, pause to state observations and critically reassess before continuing. Don't just try more variants.
36-
- **Use what's available.** Don't reverse-engineer tools that are already configured. Read their schemas.
37-
- **Understand before executing.** When the user proposes an approach, first understand what they're trying to accomplish and why. Surface better alternatives early if they exist. Once the motivation is clear, proceed with the best approach. Don't silently substitute a different one mid-task.
38-
3939
### git commit
4040

4141
PREFER writing out a commit message to `scratch/`, and save it to a name reflecting what is being committed. Then use `git commit -F scratch/path-to-message.txt`

claude/roles/base.jsonc

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
22
// Base settings
3+
"defaultMode": "acceptEdits",
34
"statusLine": {
45
"type": "command",
56
"command": "npx -y ccstatusline@latest",
6-
"padding": 0
7+
"padding": 0,
78
},
89
"includeCoAuthoredBy": true,
910

@@ -48,7 +49,7 @@
4849
"Bash(sudo systemctl status:*)",
4950
"Bash(sudo systemctl stop:*)",
5051
// Claude docs (from old web.json)
51-
"WebFetch(domain:code.claude.com)"
52+
"WebFetch(domain:code.claude.com)",
5253
],
5354
"ask": [
5455
"Bash(sudo chmod:*)",
@@ -65,7 +66,7 @@
6566
"Bash(sudo halt:*)",
6667
"Bash(sudo apt-get:*)",
6768
"Bash(sudo yum:*)",
68-
"Bash(sudo dnf:*)"
69+
"Bash(sudo dnf:*)",
6970
],
7071
"deny": [
7172
"Bash(curl * | bash)",
@@ -84,8 +85,8 @@
8485
"Bash(rm -rf $HOME:*)",
8586
"Bash(rm -rf .:*)",
8687
"Bash(rm -rf ..:*)",
87-
"Bash(rm -rf ../*:*)"
88-
]
88+
"Bash(rm -rf ../*:*)",
89+
],
8990
},
9091

9192
// Sandbox: base config (source: agent-safehouse)
@@ -100,10 +101,7 @@
100101
"network": {
101102
// Permits git commit signing, git fsmonitor, Docker socket, etc.
102103
"allowAllUnixSockets": true,
103-
"allowedHosts": [
104-
"api.anthropic.com",
105-
"code.claude.com"
106-
]
107-
}
108-
}
104+
"allowedHosts": ["api.anthropic.com", "code.claude.com"],
105+
},
106+
},
109107
}

claude/stacks/skills.jsonc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
"allow": [
55
// Plugin cache read access (reduces per-skill permission prompts)
66
"Read(~/.claude/plugins/cache/**)",
7+
// superpowers-chrome puts stuff here
8+
"Read(~/Library/Caches/superpowers/**)",
79
"Skill(buildkite-status)",
810
"Skill(checkout-pr)",
911
"Skill(ci-cd-tools:buildkite-status)",
@@ -28,7 +30,7 @@
2830
"Skill(superpowers:writing-skills)",
2931
"Skill(working-in-monorepos)",
3032
"Skill(working-in-monorepos:working-in-monorepos)",
31-
"Skill(working-in-scratch-areas)"
32-
]
33-
}
33+
"Skill(working-in-scratch-areas)",
34+
],
35+
},
3436
}

0 commit comments

Comments
 (0)