Id8architect

From eddiebelaval/squire · View interactive version

Id8architect is an AI agent skill from the GitHub repository eddiebelaval/squire. Technical architecture engine for ID8Labs. Transforms validated ideas into buildable plans optimized for solo builder velocity. Outputs technical specs and phased roadmaps.

How to use this skill

Skill file

Core Workflows

Workflow 1: Primary Action

  1. Analyze the input and context
  2. Validate prerequisites are met
  3. Execute the core operation
  4. Verify the output meets expectations
  5. Report results

When to Use


Commands

`/architect <project-slug>`

Run full architecture design for a validated project.

Process:

  1. REQUIREMENTS - Extract from validation report
  2. ARCHITECTURE - Design system components
  3. STACK - Select technologies
  4. DATA - Model the database
  5. API - Design interfaces
  6. INFRASTRUCTURE - Plan deployment
  7. ROADMAP - Phase the implementation

`/architect stack <requirements>`

Get stack recommendations for specific requirements.

`/architect schema <domain-description>`

Design database schema for a domain.

`/architect api <resource-description>`

Design API endpoints for a resource.


Design Philosophy

Solo Builder Optimization

This is NOT enterprise architecture. Optimize for:

| Principle | Application |

|-----------|-------------|

| Speed over Scale | Launch fast, optimize later |

| Boring Technology | Use proven, well-documented tools |

| Managed Services | Let providers handle infrastructure |

| Monolith First | No microservices until proven need |

| Convention over Configuration | Use framework defaults |

| Delete Before Build | Question every feature |

Technology Preferences

Preferred Stack (default unless reason to deviate):

| Layer | Technology | Why |

|-------|------------|-----|

| Frontend | Next.js 14+ (App Router) | React + SSR + API routes |

| Styling | Tailwind CSS + shadcn/ui | Fast, consistent, accessible |

| Backend | Next.js API routes / Edge | Same deploy, simple |

| Database | Supabase (PostgreSQL) | Managed, real-time, auth included |

| Auth | Supabase Auth | Integrated, handles edge cases |

| Storage | Supabase Storage | Integrated with auth |

| Hosting | Vercel | Zero-config Next.js deploy |

| Monitoring | Vercel Analytics + Sentry | Essential observability |

When to Deviate:


Process Detail

Phase 1: REQUIREMENTS

Extract from validation report:

Output:

## Requirements Summary

### Problem
{What are we solving}

### User
{Who is this for}

### MVP Features
1. {Feature 1}
2. {Feature 2}
3. {Feature 3}

### Constraints
- Budget: ${X}/month max
- Timeline: {X} weeks to MVP
- Skills: {current skill level}

Phase 2: ARCHITECTURE

Design high-level system:

┌─────────────────────────────────────────────────┐
│                    CLIENT                        │
│            (Next.js App Router)                 │
└─────────────────────────────────────────────────┘
                        │
                        ▼
┌─────────────────────────────────────────────────┐
│                 API LAYER                        │
│         (Next.js API Routes / Edge)             │
└─────────────────────────────────────────────────┘
                        │
            ┌───────────┼───────────┐
            ▼           ▼           ▼
       ┌────────┐  ┌────────┐  ┌────────┐
       │ Auth   │  │Database│  │Storage │
       │(Supa)  │  │(Supa)  │  │(Supa)  │
       └────────┘  └────────┘  └────────┘

Decisions to Document:

Phase 3: STACK

Use the frameworks/stack-selection.md decision matrix.

For each technology choice:

  1. State the requirement
  2. List 2-3 options
  3. Pick one with brief rationale
  4. Document trade-offs

Phase 4: DATA

Design database schema using frameworks/database-patterns.md.

Key Tables to Define:

For Each Table:

Phase 5: API

Design API using frameworks/api-design.md.

For Each Endpoint:

Phase 6: INFRASTRUCTURE

Plan deployment using frameworks/infrastructure.md.

Define:

Phase 7: ROADMAP

Create phased implementation plan using templates/build-roadmap.md.

Phases:


Framework References

System Design

frameworks/system-design.md - Component patterns, coupling, boundaries

Stack Selection

frameworks/stack-selection.md - Technology decision matrix

Database Patterns

frameworks/database-patterns.md - Schema design, Supabase patterns

API Design

frameworks/api-design.md - REST patterns, error handling, versioning

Infrastructure

frameworks/infrastructure.md - Deploy, CI/CD, monitoring


Output Templates

Architecture Document

templates/architecture-doc.md - Full technical specification

Build Roadmap

templates/build-roadmap.md - Phased implementation plan


Tool Integration

Subagents

backend-architect:

database-architect:

Skills

database-design:

supabase-expert:


Handoff

After completing architecture:

  1. Save outputs:
  1. Log to tracker:

```

/tracker log {project-slug} "ARCHITECT: Architecture complete. Stack: {stack}. MVP scope: {features}. Estimated timeline: {weeks} weeks."

```

  1. Update state:

```

/tracker update {project-slug} BUILDING

```

  1. Next steps:

Anti-Patterns

Avoid These

| Anti-Pattern | Why Bad | Do Instead |

|--------------|---------|------------|

| Microservices from start | Complexity overhead | Monolith first |

| Custom auth | Security risk, time sink | Use Supabase Auth |

| Premature optimization | Waste of time | Ship, measure, optimize |

| Complex state management | Redux overkill for most apps | Zustand or Context |

| Self-hosted everything | Ops overhead | Managed services |

| GraphQL for simple CRUD | Overhead without benefit | REST or tRPC |

Right-Size Your Architecture

Simple CRUD app → Next.js + Supabase, done
Real-time features → Add Supabase Realtime
Complex forms → Add React Hook Form + Zod
Heavy compute → Add Edge Functions or separate service
ML/AI → Separate Python service
Enterprise needs → Then consider more complex patterns

Quality Checks

Before signing off on architecture:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.