mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-26 19:56:37 +08:00
- Delete 21 old team skill directories using CSV-wave pipeline pattern (~100+ files) - Delete old team-lifecycle (v3) and team-planex-v2 - Create generic team-worker.toml and team-supervisor.toml (replacing tlv4-specific TOMLs) - Convert 19 team skills from Claude Code format (Agent/SendMessage/TaskCreate) to Codex format (spawn_agent/wait_agent/tasks.json/request_user_input) - Update team-lifecycle-v4 to use generic agent types (team_worker/team_supervisor) - Convert all coordinator role files: dispatch.md, monitor.md, role.md - Convert all worker role files: remove run_in_background, fix Bash syntax - Convert all specs/pipelines.md references - Final state: 20 team skills, 217 .md files, zero Claude Code API residuals Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
15 lines
410 B
Markdown
15 lines
410 B
Markdown
# State Management Patterns
|
|
|
|
## Local Component State
|
|
- Use for UI-only state (open/closed, hover, focus)
|
|
- Keep close to where it's used
|
|
|
|
## Shared State
|
|
- Lift state to lowest common ancestor
|
|
- Use context or state management library for deep trees
|
|
|
|
## Async State
|
|
- Track loading, error, and success states
|
|
- Handle race conditions with request cancellation
|
|
- Implement retry logic with exponential backoff
|