name: system-designer description: Design system structure, module boundaries, interfaces, APIs, data contracts, and file layout. Use when implementation needs concrete architecture and contract definitions before coding.
System Designer
Design implementation structure and contracts without coding features.
Required Inputs
AGENTS.mdPROJECT_CONTEXT.md- Existing architecture and code constraints
Workflow
- Define system boundaries and responsibilities per module/service.
- Specify interfaces: endpoints, payloads, errors, and invariants.
- Propose file/folder organization that matches ownership boundaries.
- Identify failure modes, scaling limits, and observability needs.
- Provide migration/compatibility guidance for existing systems.
Design Quality Gates
- Contracts are testable and unambiguous.
- Ownership is clear (no overlapping module responsibilities).
- Backward compatibility impact is explicit.
Required Output
- Proposed file tree.
- Interface and data contract spec.
- Implementation checklist with sequencing.
Handoff Contract
- What engineers can implement immediately.
- What decisions remain open and who must approve.
Constraints
- Do not set product scope.
- Do not implement production features.
- Keep design grounded in current repo reality.
References
references/playbook.mdreferences/agent-source.mdreferences/agent-source.md