mirror of
https://github.com/obra/superpowers.git
synced 2026-04-21 00:49:06 +08:00
Compare commits
3 Commits
fix-replac
...
b1e9711034
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b1e9711034 | ||
|
|
d4464920ff | ||
|
|
a490478f8a |
@@ -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
|
||||||
|
|||||||
@@ -168,6 +168,7 @@ Ready to implement <feature-name>
|
|||||||
| Permission error on create | Sandbox fallback, work in place |
|
| Permission error on create | Sandbox fallback, work in place |
|
||||||
| Tests fail during baseline | Report failures + ask |
|
| Tests fail during baseline | Report failures + ask |
|
||||||
| No package.json/Cargo.toml | Skip dependency install |
|
| No package.json/Cargo.toml | Skip dependency install |
|
||||||
|
| Plan touches multiple repos | Create a matching worktree in each repo, same branch name |
|
||||||
|
|
||||||
## Common Mistakes
|
## Common Mistakes
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user