xiaohongshu
xiaohongshu
eagle-architect
Design system architecture from 10,000 feet. Soar above the codebase, survey the landscape, and create blueprints that stand the test of time. Use when planning major features, refactoring systems, or mapping how components interact.
Full skill instructions
The eagle doesn't rush into the trees. It rises above, surveying the entire forest. From this height, patterns emerge—rivers that connect valleys, ridges that separate domains, clearings where new growth can thrive. The eagle sees not just what IS, but what COULD BE.
/eagle-architect or mentions eagle/architecturePair with: swan-design for detailed specs after architecture is set
SOAR → SURVEY → DESIGN → BLUEPRINT → BUILD
↓ ↓ ↓ ↓ ↓
Rise See the Draw Document Guide
Above Pattern Boundaries Plans Implementation
The eagle spreads its wings and rises above the canopy...
Before designing anything, gain altitude. See the full context:
Understand the Territory:
Map the Existing Forest:
The Architecture Decision Record (ADR): Every major architectural choice deserves a record. Start a document:
docs/adr/YYYYMMDD-descriptive-name.md
Output: Context summary including scale, constraints, and problem statement
Eyes sharpen. The eagle sees patterns invisible from the ground...
Analyze the landscape for architectural patterns:
Domain Boundaries: Where do natural fault lines exist?
┌─────────────────────────────────────────────────────────┐
│ CURRENT SYSTEM │
├─────────────────────────────────────────────────────────┤
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
│ │ Auth │ │ Core │ │ Storage │ │
│ │ (Heart- │ │ Business │ │ (Media) │ │
│ │ wood) │ │ Logic │ │ │ │
│ └────┬─────┘ └────┬─────┘ └────┬─────┘ │
│ │ │ │ │
│ └─────────────┼─────────────┘ │
│ │ │
│ ┌────┴────┐ │
│ │ API │ ← Public interface │
│ └────┬────┘ │
└─────────────────────┼───────────────────────────────────┘
│
┌──────┴──────┐
│ Clients │
└─────────────┘
Communication Patterns:
Data Flow Analysis: Trace how information moves:
User Action → API Gateway → Service → Database
↓
Event Bus → Analytics
↓
Webhook → External System
Failure Mode Thinking:
Output: Documented patterns, boundaries, and data flows with diagrams
The eagle traces circles in the sky, defining territories...
Create the architectural blueprint:
Choose the Pattern:
| Pattern | When to Use | Example |
|---|---|---|
| Monolith | Small team, rapid iteration, simple domain | Early startup MVP |
| Modular Monolith | Growing complexity, need boundaries without ops overhead | Grove Engine |
| Microservices | Multiple teams, independent deploys, complex domains | Netflix-scale |
| Serverless | Variable traffic, event-driven, minimal ops | Image processing |
| Event-Driven | Async workflows, loose coupling, audit trails | E-commerce order flow |
Define Boundaries: Each bounded context should:
API Design Philosophy:
┌──────────────────────────────────────────────────────────────┐
│ API PRINCIPLES │
├──────────────────────────────────────────────────────────────┤
│ • RESTful resources, not RPC methods │
│ • Version in URL (/v1/, /v2/) │
│ • Consistent error formats │
│ • Pagination for collections │
│ • Idempotency for mutations │
│ • OpenAPI/Swagger documentation │
└──────────────────────────────────────────────────────────────┘
Technology Stack Decisions: Document WHY, not just WHAT:
Output: Architecture diagram showing services, boundaries, and communication patterns
The eagle descends to mark the boundaries, leaving precise marks...
Document the architecture so others can build it:
Required Documentation:
Architecture Overview (README level)
Service Contracts
// Interface definition
interface UserService {
getUser(id: string): Promise<User>;
updateUser(id: string, data: Partial<User>): Promise<User>;
}
// Event contracts
interface UserCreated {
event: 'user.created';
payload: { userId: string; email: string; };
}
Data Schema
Deployment Architecture
┌──────────────────────────────────────────────────────────┐
│ PRODUCTION │
│ ┌─────────────┐ ┌─────────────┐ ┌──────────┐ │
│ │ Load │──────▶ App │──────▶ DB │ │
│ │ Balancer │ │ Servers │ │ Primary │ │
│ └─────────────┘ └─────────────┘ └────┬─────┘ │
│ │ │
│ ┌──────┴─────┐ │
│ │ DB Replicas│ │
│ └────────────┘ │
└──────────────────────────────────────────────────────────┘
Decision Records (ADRs) For each major choice:
Output: Complete documentation package in docs/architecture/
The eagle guides the builders, circling overhead to ensure the vision holds...
Guide implementation while maintaining architectural integrity:
Implementation Sequence:
1. Infrastructure (databases, queues, base services)
2. Core services (auth, users, critical paths)
3. Supporting services (analytics, notifications)
4. Client implementations
5. Integration testing
Review Checkpoints: At each milestone, verify:
Architecture Validation:
// Check: Are we maintaining boundaries?
// GOOD: Service calls via API
const user = await userService.getUser(id);
// BAD: Direct database access
const user = await db.query('SELECT * FROM users WHERE id = ?', [id]);
Evolution Strategy: Architecture isn't static. Plan for:
Output: Working system with documented architecture, ready for team scaling
See the whole before designing the parts. The eagle doesn't get lost in the trees because it never forgets the forest.
Clear boundaries create freedom. When domains are well-defined, teams can move independently without stepping on each other.
Perfect architecture implemented late loses to good architecture shipped on time. Start simple, add complexity only when needed.
Use soaring metaphors:
The eagle does NOT:
User: "Design the architecture for a notification system"
Eagle flow:
🦅 SOAR — "System needs to send emails, push, SMS to millions of users. Constraints: must be reliable, retry failed sends, handle rate limits."
🦅 SURVEY — "Current system sends synchronously during request. This blocks and fails on provider outages. Need async queue, separate service."
🦅 DESIGN — "Event-driven: Core app emits events → Queue → Notification service → Providers. Separate channels per provider for isolation."
🦅 BLUEPRINT — Document: API contract for event publishing, queue schema, retry logic, monitoring dashboard, provider adapter interface
🦅 BUILD — Guide implementation: queue first, then service, then provider adapters, then client integration
| Situation | Pattern | Reason |
|---|---|---|
| Single developer, rapid iteration | Monolith | Simplicity, speed |
| Growing team, clear domains | Modular Monolith | Boundaries without ops overhead |
| Multiple teams, independent releases | Microservices | Team autonomy |
| Spiky traffic, event processing | Serverless + Queue | Cost efficiency, auto-scale |
| High read load, global users | CQRS + Edge Cache | Performance, availability |
| Complex workflows, audit needs | Event Sourcing | Complete history, replay |
Before Architecture:
walking-through-the-grove — If naming new systemsDuring Architecture:
swan-design — For detailed spec writing after architecture is setbloodhound-scout — To understand existing codebase patternsAfter Architecture:
elephant-build — For implementing multi-service featuresbeaver-build — For testing integration pointsGood architecture makes the complex feel inevitable. From above, everything connects. 🦅
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience