renaissance-architecture
Software architecture and UI/UX principles for building genuinely new solutions, not derivative work. Use when designing features, architecting software, brainstorming apps, reviewing designs, or during strategy discussions. Focuses on first-principles thinking, simplicity where it matters, and creating rather than commenting.
What this skill does
# Renaissance Architecture Build genuinely new things. Not "X but for Y." --- ## Core Philosophy The problem isn't modern tools. It's building **commentaries instead of creations**. Medieval scholars wrote commentaries on Aristotle instead of new philosophy. We build Star Wars spin-offs instead of new sci-fi. We add AI to existing workflows instead of asking what workflows become possible. **Renaissance architecture means:** - First-principles thinking about WHAT to build - Pragmatic choices about HOW to build it - Creating new paradigms, not extending old ones - Using modern tools to make genuinely new things possible --- ## Architecture Principles ### 1. Simplicity as Default, Complexity When Earned **Start simple, add complexity when pain is measurable.** | Start With | Move To | When | |------------|---------|------| | SQLite | Postgres | >10 concurrent writers, >100GB, need PostGIS/full-text | | Single file | Multiple files | File exceeds ~500 LOC or has multiple responsibilities | | Monolith | Services | Team can't work on same codebase, or genuine scale isolation needed | | Static hosting | Server | Need auth, real-time, or server-side computation | | Local state | Cloud sync | Multi-device is a real user need, not assumed | **Not dogma, but defaults.** Violate with documented reasoning. --- ### 2. Framework Choices **Use frameworks when they provide genuine leverage.** | Framework | When to Use | When to Avoid | |-----------|-------------|---------------| | **Next.js** | Full-stack React apps, SSR matters, team knows it | Simple static sites, non-React teams | | **Remix** | Data-heavy apps, progressive enhancement priority | Simple SPAs, unfamiliar teams | | **Astro** | Content sites, partial hydration valuable | Highly interactive apps | | **SvelteKit** | Smaller bundles critical, team willing to learn | Large existing React codebases | | **Rails/Django** | Rapid CRUD apps, admin panels, proven patterns | Real-time heavy, team prefers JS | | **FastAPI** | Python APIs, async matters | Simple scripts, team prefers other languages | | **Hono/Elysia** | Edge functions, lightweight APIs | Complex apps needing full framework | **The question isn't "framework or not" but "does this framework serve the thing we're creating, or are we creating something that serves the framework?"** --- ### 3. Human-Legible Systems **Configuration** - YAML/JSON are fine - the format isn't the problem - Problem is: 500-line configs with nested conditionals - Good: Config a new team member can read and modify in 10 minutes - Document non-obvious settings inline **Error messages that teach** - What happened - Why it happened - What to do about it - Link to docs if complex **Logs you can understand** - Structured logging (JSON) for machines - Human-readable format for development - Timestamps, context, severity - Searchable without specialized tools **Documentation lives WITH code** - README in each significant directory - API docs generated from code - Architecture decisions recorded (ADRs) - External wikis for onboarding/process only --- ### 4. Local-First Where It Matters **Not "never use cloud" but "don't require cloud unnecessarily."** | Feature | Local-First Approach | Cloud When | |---------|---------------------|------------| | Core functionality | Works offline | Never required for core | | Data storage | SQLite/local storage | Sync, backup, multi-device | | Computation | Client-side where possible | Heavy processing, shared resources | | Auth | Local sessions work | OAuth for third-party, enterprise SSO | **State should be inspectable** - Serialize state to file for debugging - State machines explicit, not implicit - Reproducible from snapshot **Sync as enhancement** - Local is source of truth where possible - Sync failures don't break the app - Conflict resolution explicit, user-controlled --- ### 5. Composition Mindset **Libraries over frameworks when:** - You need one capability, not an ecosystem - You want to control the architecture - Exit cost matters more than speed **Frameworks over libraries when:** - Team expertise exists - Time-to-market critical - Convention over configuration is valuable - The framework's opinions align with your needs **APIs expose primitives** - Convenience methods are fine - But power users can access lower levels - Don't hide the machine **Minimize exit costs** - Data exportable in standard formats - Avoid proprietary lock-in where practical - Document the exit path even if you never use it --- ## Cloud & Infrastructure ### When Cloud Makes Sense | Use Case | Cloud Appropriate | Local/Edge Better | |----------|-------------------|-------------------| | Auth | Enterprise SSO, OAuth providers | Simple username/password | | Storage | Multi-device sync, collaboration | Single-user, offline-capable | | Compute | Heavy ML inference, video processing | Text processing, simple transforms | | Database | Multi-writer, global distribution | Single user, local-first | | Real-time | Multi-user collaboration | Single-user state | ### Cloud Pragmatically - **Serverless** for spiky, unpredictable loads - **Edge functions** for latency-sensitive operations - **Managed databases** when ops overhead > cost - **Self-hosted** when control/cost/compliance require it **The question: Does cloud serve your users, or does it serve your assumptions about scale you don't have?** --- ## UI/UX Philosophy ### 1. Immediate Feedback **<100ms for user actions, honest progress for longer operations** - Optimistic updates where safe (can rollback) - Progress indicators that reflect actual work - Spinners are fine - they indicate honest work - Skeleton screens for predictable loading patterns **Loading states should:** - Show what's happening - Estimate time when possible - Allow cancellation for long operations - Never fake progress --- ### 2. Visible State **User always knows what the system is doing** - Status visible without digging - Background processes surfaced - Errors prominent, not hidden - System explains its decisions when non-obvious **No black boxes** - User can understand why something happened - Audit trail for important actions - State inspectable in dev tools --- ### 3. Spatial Consistency **Things stay where you put them** - No layout shifts after load - No rearranging "for the user" - Muscle memory works - Consistent component placement **Predictable navigation** - Back button works - URLs are bookmarkable and shareable - State survives refresh - Deep linking works --- ### 4. Undo & Recovery **Implemented at the data layer, not just UI** - Soft delete by default - Versioned state where valuable - Recovery path documented - "Are you sure?" is not a substitute for undo **Destructive actions** - Confirmation for irreversible operations - Grace period before permanent deletion - Clear communication of consequences --- ### 5. Respect Attention **Notifications** - User opts in explicitly - Meaningful, not engagement-driven - Batched where appropriate - Easy to adjust or disable **Modals & Interruptions** - User-initiated, not system-initiated - Dismissable - Don't trap focus unnecessarily - Keyboard accessible **Autoplay** - Never for audio - Video only with explicit user intent - Motion respects prefers-reduced-motion **Defaults over customization** - Good defaults eliminate settings - Power user options available but not required - Complexity progressive --- ## What This Rejects ### Derivative Thinking - "X but for Y" without asking if Y needs X - Features because competitors have them - Patterns because tutorials use them - Architecture because FAANG does it ### Cargo Cult Engineering - "Best practices" from different-scale companies - Microservices for 3-person teams - Kubernetes for single-server loads - OAuth for internal tools ### Premature Complexity - Abstraction layers "for future flexibility" - Scale architecture before scale problems - Features before foundations
Related in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.