mirror of
https://github.com/obra/superpowers.git
synced 2026-04-20 16:39:04 +08:00
fix: replace hardcoded /Users/jesse with generic placeholders (#858)
This commit is contained in:
@@ -149,8 +149,8 @@ python3 tests/claude-code/analyze-token-usage.py ~/.claude/projects/<project-dir
|
|||||||
Session transcripts are stored in `~/.claude/projects/` with the working directory path encoded:
|
Session transcripts are stored in `~/.claude/projects/` with the working directory path encoded:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Example for /Users/jesse/Documents/GitHub/superpowers/superpowers
|
# Example for /Users/yourname/Documents/GitHub/superpowers/superpowers
|
||||||
SESSION_DIR="$HOME/.claude/projects/-Users-jesse-Documents-GitHub-superpowers-superpowers"
|
SESSION_DIR="$HOME/.claude/projects/-Users-yourname-Documents-GitHub-superpowers-superpowers"
|
||||||
|
|
||||||
# Find recent sessions
|
# Find recent sessions
|
||||||
ls -lt "$SESSION_DIR"/*.jsonl | head -5
|
ls -lt "$SESSION_DIR"/*.jsonl | head -5
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Reference example of extracting, structuring, and bulletproofing a critical skil
|
|||||||
|
|
||||||
## Source Material
|
## Source Material
|
||||||
|
|
||||||
Extracted debugging framework from `/Users/jesse/.claude/CLAUDE.md`:
|
Extracted debugging framework from `~/.claude/CLAUDE.md`:
|
||||||
- 4-phase systematic process (Investigation → Pattern Analysis → Hypothesis → Implementation)
|
- 4-phase systematic process (Investigation → Pattern Analysis → Hypothesis → Implementation)
|
||||||
- Core mandate: ALWAYS find root cause, NEVER fix symptoms
|
- Core mandate: ALWAYS find root cause, NEVER fix symptoms
|
||||||
- Rules designed to resist time pressure and rationalization
|
- Rules designed to resist time pressure and rationalization
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ digraph when_to_use {
|
|||||||
|
|
||||||
### 1. Observe the Symptom
|
### 1. Observe the Symptom
|
||||||
```
|
```
|
||||||
Error: git init failed in /Users/jesse/project/packages/core
|
Error: git init failed in ~/project/packages/core
|
||||||
```
|
```
|
||||||
|
|
||||||
### 2. Find Immediate Cause
|
### 2. Find Immediate Cause
|
||||||
|
|||||||
Reference in New Issue
Block a user