.claude/skills/workflow/story-context/SKILL.md
Shared context file pattern for cross-task consistency within a story. Agents read before starting and append after completing each task.
npx skillsauth add brdohman/agile-maestro story-contextInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Each task agent starts fresh with no knowledge of what prior tasks in the same story produced. This causes naming inconsistencies, duplicated types, and architectural drift within a single story.
A lightweight context file at planning/notes/[epic-name]/story-[story-id]-context.md that task agents read before starting and append to after completing.
# Story Context: [story-id]
## Types Created
- `AccountListViewModel` (@Observable, in AccountListViewModel.swift)
- `AccountService` (actor, protocol AccountServiceProtocol)
## Naming Patterns
- ViewModels: `[Feature]ViewModel`
- Services: `[Domain]Service` with `[Domain]ServiceProtocol`
- Views: `[Feature]View` or `[Feature]Screen` (Screen for top-level navigation destinations)
## Architecture Decisions
- Using NavigationSplitView with 2-column layout (sidebar + detail)
- Sidebar selection state lives in SidebarViewModel, not individual row views
- All Core Data access goes through service actors, never direct from ViewModels
## Shared Dependencies
- `AppError` enum (in Models/AppError.swift) - use for all error handling
- `PersistenceController.shared` - singleton Core Data stack
testing
XCTest patterns for macOS Swift apps. Unit tests, async tests, Core Data tests, mock patterns, and assertion reference. Use when writing or reviewing tests.
tools
How to transition workflow state between review stages. Rules for setting review_stage and review_result fields on Stories and Epics.
documentation
Comment structure and rules for task workflow updates. Use when adding any comment to a task during implementation, review, or fix cycles.
testing
Validate task/story/epic/bug/techdebt metadata against schema v2.0. Run after TaskCreate or TaskUpdate to verify compliance. Returns pass/fail with actionable details.