Skip to content

Commit ac683f8

Browse files
bitwize-musicclaude
andcommitted
feat: add /resume skill for album discovery and status reporting
Created dedicated /bitwize-music:resume skill to replace manual album finding workflow. This skill provides a single command to find an album, assess its current state, and report detailed status with next steps. Features: - Takes album name as argument: /bitwize-music:resume shell-no - Reads config to get content_root and artist name - Uses Glob to search all genre folders for album READMEs - Case-insensitive matching with name variation handling - Reads album README and all track files - Determines current workflow phase (Planning, Writing, Generating, etc.) - Reports detailed status: location, progress, what's done, next steps - Lists available albums if target not found - Suggests /bitwize-music:new-album if album doesn't exist CLAUDE.md changes: - Added CRITICAL section recommending /bitwize-music:resume as primary approach - Updated "Resuming Work on an Album" to prioritize the skill - Added resume skill to skills table (top position) - Session Start tip now mentions resume skill Benefits: - Single command replaces complex manual Glob/Read workflow - Consistent status reporting format - Automatic phase detection - User-friendly error handling (lists alternatives) - Reduces cognitive load on Claude for album discovery Character count: 36,878 (within target range) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent f9813df commit ac683f8

4 files changed

Lines changed: 341 additions & 23 deletions

File tree

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,22 @@ This project uses [Conventional Commits](https://conventionalcommits.org/) and [
77
## [Unreleased]
88

99
### Added
10+
- `/bitwize-music:resume` skill - Dedicated skill for resuming work on albums
11+
- Takes album name as argument
12+
- Reads config to get paths
13+
- Uses Glob to find album across all genre folders
14+
- Reads album README and track files to assess status
15+
- Determines current workflow phase (Planning, Writing, Generating, Mastering, etc.)
16+
- Reports detailed status: location, progress, what's done, next steps
17+
- Lists available albums if target album not found
18+
- Handles case-insensitive matching and album name variations
19+
- Usage: `/bitwize-music:resume shell-no`
1020

1121
### Changed
22+
- CLAUDE.md "Finding Albums" section now recommends `/bitwize-music:resume` skill as the primary approach
23+
- "Resuming Work on an Album" section updated to prioritize the resume skill
24+
- Skills table: Added `/bitwize-music:resume` at the top
25+
- Session Start tip now mentions `/bitwize-music:resume <album-name>` instead of tutorial resume
1226

1327
### Fixed
1428

CLAUDE.md

Lines changed: 73 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,51 @@
44

55
This is an AI music generation workflow using Suno. The repository contains skills, templates, and tools for creating artist profiles, album concepts, and track-by-track prompts/lyrics.
66

7+
---
8+
9+
## ⚠️ CRITICAL: Finding Albums When User Mentions Them
10+
11+
**WHENEVER the user mentions an album name** (e.g., "let's work on shell-no", "continue with X", "I want to work on Y"):
12+
13+
**BEST APPROACH - Use the resume skill:**
14+
```
15+
/bitwize-music:resume shell-no
16+
```
17+
This automatically handles all the steps below and provides a detailed status report.
18+
19+
**OR - Manual approach if skill unavailable:**
20+
21+
**DO THIS FIRST - MANDATORY STEPS:**
22+
23+
1. **Read config file**: `~/.bitwize-music/config.yaml`
24+
- Get `paths.content_root`
25+
- Get `artist.name`
26+
27+
2. **Use Glob to find album**:
28+
```
29+
Pattern: {content_root}/artists/{artist}/albums/*/*/README.md
30+
```
31+
This searches ALL genre folders for album READMEs.
32+
33+
3. **Filter results** for album name (case-insensitive match in file path)
34+
35+
4. **Read the album README** to get current status
36+
37+
5. **Report to user**: Found album at [path], status is [X], here's what's next...
38+
39+
**COMMON MISTAKE - DO NOT DO THIS:**
40+
- ❌ Don't search from current working directory
41+
- ❌ Don't use complex glob patterns like `**/*[Aa]lbum*/**`
42+
- ❌ Don't assume the path - always read config first
43+
- ❌ Don't use `ls` or `find` commands
44+
45+
**CORRECT APPROACH:**
46+
- ✅ Read `~/.bitwize-music/config.yaml` FIRST
47+
- ✅ Use simple glob: `{content_root}/artists/{artist}/albums/*/*/README.md`
48+
- ✅ Let Glob tool handle the searching
49+
50+
---
51+
752
## Configuration
853

954
Configuration lives at `~/.bitwize-music/config.yaml` (outside the plugin directory).
@@ -201,37 +246,41 @@ At the beginning of a fresh session:
201246

202247
**Present status summary** to user, ask what to work on.
203248

204-
**Tip**: Users can also run `/bitwize-music:tutorial resume` for an interactive guide to their in-progress work.
249+
**Tip**: Users can run `/bitwize-music:resume <album-name>` to resume work on a specific album with a detailed status report.
205250

206251
## Resuming Work on an Album
207252

208253
**Trigger**: User says "let's work on [album]" or "continue with [album]" or mentions an album name
209254

210-
**Required steps (do these EVERY time):**
255+
**RECOMMENDED: Use `/bitwize-music:resume` skill**
211256

212-
1. **Read config** - Get `content_root` and `artist.name` from `~/.bitwize-music/config.yaml`
213-
2. **Find the album** - Use Glob to search for album README:
214-
```
215-
Pattern: {content_root}/artists/{artist}/albums/*/*/README.md
216-
Then grep results for album name (case-insensitive)
217-
```
218-
3. **Read album README** - Get full path, read it to understand:
219-
- Album status, track count, concept
220-
- Which phase of workflow (planning, writing, generating, mastering, release)
221-
4. **Read track files** - Glob for `tracks/*.md`, read to check:
222-
- Track statuses (Not Started, In Progress, Generated, Final)
223-
- What needs to be done next
224-
5. **Report current state** - Tell user:
225-
- Album location (full path)
226-
- Current status and phase
227-
- What's completed, what's next
228-
- Specific next actions
257+
Invoke the resume skill with the album name:
258+
```
259+
/bitwize-music:resume shell-no
260+
```
261+
262+
The skill automatically:
263+
- Reads config to get paths
264+
- Finds the album using Glob
265+
- Checks album and track statuses
266+
- Determines current workflow phase
267+
- Reports detailed status and next steps
268+
269+
See `/skills/resume/SKILL.md` for full documentation.
270+
271+
**If skill not available - Manual steps:**
272+
273+
1. Read config: `~/.bitwize-music/config.yaml`
274+
2. Glob for album: `{content_root}/artists/{artist}/albums/*/*/README.md`
275+
3. Filter results for album name (case-insensitive)
276+
4. Read album README and track files
277+
5. Report status and next actions
229278

230279
**Common mistakes to avoid:**
231-
- ❌ Don't assume the album path - always search for it
232-
- ❌ Don't guess the genre folder - use Glob to find it
233-
- ❌ Don't rely on memory - read config and files fresh every time
234-
- Always use Glob + Read to locate albums by name
280+
- ❌ Don't assume paths - always read config first
281+
- ❌ Don't search from current directory - use config paths
282+
- ❌ Don't use complex globs - keep it simple
283+
- Use `/bitwize-music:resume` skill whenever possible
235284

236285
## Mid-Session Workflow Updates
237286

@@ -326,6 +375,7 @@ Specialized skills are available as slash commands. Type `/` to see the menu.
326375

327376
| Skill | When to Use |
328377
|-------|-------------|
378+
| `/bitwize-music:resume` | Find an album and resume work where you left off - shows status and next steps |
329379
| `/bitwize-music:tutorial` | Interactive guided album creation, session resume, getting started |
330380
| `/bitwize-music:album-ideas` | Track and manage album ideas - brainstorming, planning, status tracking |
331381
| `/bitwize-music:lyric-writer` | Writing/reviewing lyrics, fixing prosody issues |

skills/resume/SKILL.md

Lines changed: 239 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,239 @@
1+
# Resume Album Work
2+
3+
**Purpose**: Find an album and resume work where you left off.
4+
5+
**Usage**:
6+
```
7+
/bitwize-music:resume <album-name>
8+
/bitwize-music:resume shell-no
9+
/bitwize-music:resume "shell no"
10+
```
11+
12+
**When to use**: When user wants to continue working on an existing album.
13+
14+
---
15+
16+
## Instructions
17+
18+
When this skill is invoked with an album name:
19+
20+
### Step 1: Read Configuration
21+
22+
Read `~/.bitwize-music/config.yaml` to get:
23+
- `paths.content_root` - Where album files live
24+
- `artist.name` - Artist name for path construction
25+
26+
If config missing, tell user to run `/bitwize-music:configure` first.
27+
28+
### Step 2: Find the Album
29+
30+
Use Glob to search for album README files:
31+
32+
```
33+
Pattern: {content_root}/artists/{artist}/albums/*/*/README.md
34+
```
35+
36+
This searches all genre folders for album READMEs.
37+
38+
**Filter the results**:
39+
- Look for album name in the file path (case-insensitive)
40+
- Match variations: "shell-no", "shell_no", "shell no" should all match
41+
42+
**If no matches found**:
43+
- Tell user: "Album '[name]' not found"
44+
- List available albums (all READMEs found)
45+
- Suggest: "Did you mean one of these?" or "Use /bitwize-music:new-album to create it"
46+
47+
**If multiple matches found**:
48+
- List all matches with full paths
49+
- Ask user which one they want
50+
51+
### Step 3: Read Album Status
52+
53+
Once album is located, read the README to determine:
54+
- **Album status**: Concept, In Progress, Complete, Released
55+
- **Track count**: How many tracks total
56+
- **Tracklist**: Track titles and order
57+
58+
### Step 4: Check Track Status
59+
60+
Glob for track files in the album's tracks directory:
61+
62+
```
63+
Pattern: {album_path}/tracks/*.md
64+
```
65+
66+
Read each track file to check:
67+
- **Status field**: Not Started, Sources Pending, Verified, In Progress, Generated, Final
68+
- **Suno Link**: Present or missing
69+
- **Lyrics**: Complete or incomplete
70+
71+
Count tracks by status:
72+
- Not Started: X tracks
73+
- In Progress: Y tracks
74+
- Generated: Z tracks
75+
- Final: N tracks
76+
77+
### Step 5: Determine Current Phase
78+
79+
Based on album and track statuses, identify the workflow phase:
80+
81+
| Album Status | Track Statuses | Current Phase |
82+
|--------------|----------------|---------------|
83+
| Concept | Most "Not Started" | Planning - Need to fill in album README and create tracks |
84+
| In Progress | Mixed, some "Not Started" | Writing - Need to complete lyrics |
85+
| In Progress | Some "Sources Pending" | Verification - Need human verification of sources |
86+
| In Progress | All have lyrics | Ready to Generate - Run Ready to Generate checkpoint |
87+
| In Progress | Some "Generated" | Generating - Continue generating on Suno |
88+
| Complete | All "Final" | Mastering - Ready to master audio |
89+
| Released | All "Final" | Released - Album is live |
90+
91+
### Step 6: Report to User
92+
93+
Present a clear status report:
94+
95+
```
96+
📁 Album: [Album Title]
97+
Location: {content_root}/artists/{artist}/albums/{genre}/{album}/
98+
Status: [Album Status]
99+
100+
📊 Progress:
101+
- Tracks: [X completed / Y total]
102+
- Not Started: X
103+
- In Progress: Y
104+
- Generated: Z
105+
- Final: N
106+
107+
📍 Current Phase: [Phase Name]
108+
109+
✅ What's Done:
110+
- [List completed items]
111+
112+
⏭️ Next Steps:
113+
1. [Specific action 1]
114+
2. [Specific action 2]
115+
3. [Specific action 3]
116+
117+
Ready to continue? Tell me what you'd like to work on.
118+
```
119+
120+
### Step 7: Offer Specific Next Actions
121+
122+
Based on the phase, suggest concrete next steps:
123+
124+
**Planning Phase**:
125+
- "Let's fill in the album concept and tracklist"
126+
- "Run the 7 Planning Phases to finalize details"
127+
128+
**Writing Phase**:
129+
- "Which track should we write next?"
130+
- "Track X needs lyrics - shall we work on that?"
131+
132+
**Verification Phase**:
133+
- "Tracks X, Y, Z need source verification"
134+
- "Please review and verify sources before we proceed"
135+
136+
**Ready to Generate Phase**:
137+
- "All lyrics complete! Ready to generate on Suno?"
138+
- "Shall I run the Ready to Generate checkpoint?"
139+
140+
**Generating Phase**:
141+
- "Tracks X, Y need generation on Suno"
142+
- "Have you generated any new tracks? Let me know URLs to log"
143+
144+
**Mastering Phase**:
145+
- "All tracks generated! Ready to master?"
146+
- "Do you have WAV files downloaded from Suno?"
147+
148+
---
149+
150+
## Examples
151+
152+
### Example 1: Album in Writing Phase
153+
154+
```
155+
/bitwize-music:resume shell-no
156+
157+
📁 Album: Shell No
158+
Location: ~/bitwize-music/artists/bitwize/albums/electronic/shell-no/
159+
Status: In Progress
160+
161+
📊 Progress:
162+
- Tracks: 3 completed / 8 total
163+
- Not Started: 3
164+
- In Progress: 2
165+
- Final: 3
166+
167+
📍 Current Phase: Writing Lyrics
168+
169+
✅ What's Done:
170+
- Tracks 1-3 have final lyrics
171+
- Album concept and tracklist defined
172+
173+
⏭️ Next Steps:
174+
1. Complete lyrics for Track 4 (in progress)
175+
2. Complete lyrics for Track 5 (in progress)
176+
3. Write lyrics for Tracks 6-8
177+
178+
Ready to continue? Tell me which track you'd like to work on.
179+
```
180+
181+
### Example 2: Album Ready for Generation
182+
183+
```
184+
/bitwize-music:resume shell-no
185+
186+
📁 Album: Shell No
187+
Location: ~/bitwize-music/artists/bitwize/albums/electronic/shell-no/
188+
Status: In Progress
189+
190+
📊 Progress:
191+
- Tracks: 8 / 8 total (all lyrics complete)
192+
- Final: 8
193+
194+
📍 Current Phase: Ready to Generate
195+
196+
✅ What's Done:
197+
- All 8 tracks have complete lyrics
198+
- All lyrics phonetically reviewed
199+
- Suno Style and Lyrics boxes filled
200+
201+
⏭️ Next Steps:
202+
1. Run Ready to Generate checkpoint (I'll verify everything)
203+
2. Start generating on Suno
204+
3. Log generation attempts
205+
206+
Shall I run the Ready to Generate checkpoint now?
207+
```
208+
209+
### Example 3: Album Not Found
210+
211+
```
212+
/bitwize-music:resume my-album
213+
214+
❌ Album 'my-album' not found.
215+
216+
Available albums:
217+
- shell-no (electronic) - In Progress
218+
- linux-legends (hip-hop) - Complete
219+
220+
Did you mean one of these? Or use /bitwize-music:new-album to create a new album.
221+
```
222+
223+
---
224+
225+
## Implementation Notes
226+
227+
- **Always read config first** - Never assume paths
228+
- **Use Glob tool** - Don't use bash find/ls
229+
- **Case-insensitive matching** - "Shell-No" should match "shell-no"
230+
- **Handle missing albums gracefully** - List what exists, don't error
231+
- **Be specific about next steps** - Don't just say "continue working", say exactly what to do
232+
- **Include full paths** - User needs to know where files are located
233+
- **Use emojis sparingly** - Only for section headers in the report
234+
235+
---
236+
237+
## Model
238+
239+
Use **Sonnet 4.5** - This is a coordination/reporting task, not creative work.

0 commit comments

Comments
 (0)