1.5 KiB
1.5 KiB
Task Detail Redesign — Component Build Prompts
Three isolated build tasks (one per component). Each runs in its own worktree off
main, with the project CLAUDE.md auto-loaded. Full design context lives in
docs/superpowers/specs/2026-06-04-task-detail-redesign-design.md — every task
must read it first.
Shared rules (all three):
- Build a standalone
UserControl+ dedicatedViewModelthat renders fully in the Avalonia previewer via design-time sample data (parameterless ctor populating realistic values). Do not bind toDetailsIslandViewModel. - New files under
src/ClaudeDo.Ui/Views/Islands/Detail/andsrc/ClaudeDo.Ui/ViewModels/Islands/Detail/. - Use only tokens from
Design/Tokens.axamland classes fromDesign/IslandStyles.axaml. No inline hex, no magic numbers where a token exists.PathIconfills geometry — stroke-only art is invisible. - Compiled bindings (
x:DataType). MVVM via CommunityToolkit ([ObservableProperty],[RelayCommand]); VM inheritsViewModelBase. - Do NOT modify
DetailsIslandView.axaml,DetailsIslandViewModel.cs,AgentStripView,SessionTerminalView, orTaskRunner.cs. - Verify:
dotnet build src/ClaudeDo.Ui/ClaudeDo.Ui.csproj -c Releaseis green. Stage files explicitly by path (nevergit add -A). Commit with a conventional message.
TASK 1 — TaskHeaderBar
(prompt text = task description; see below)