Simplicity First
This skill should be used when the user asks to "implement", "build", "create", "add feature", "develop", "design", "architect", "plan", "structure", "refactor", "improve", "optimize", "fix", "solve", "handle", "choose between", "which approach", or discusses implementation strategies. Apply this philosophy to ALL development work as a cornerstone principle.
What this skill does
# Simplicity First: The Cornerstone Development Philosophy
## Core Principle
**YAGNI (You Aren't Gonna Need It) is the supreme design principle.** It supersedes single-responsibility, DRY, clean architecture, and tool selection concerns. When in conflict, simplicity wins.
Great software design looks underwhelming. The observable difference between clever design and simple design is that simple solutions remain maintainable despite unknown future conditions—because they remain fundamentally understandable.
## The Simplicity Mindset
Real mastery involves learning when to do **less**, not more. Complexity is easy to add; true expertise is knowing what to leave out.
### What Simplicity IS
- Fewer moving parts requiring cognitive overhead
- Components with clear, straightforward interfaces
- Minimal internal connections between systems
- Stability across time without ongoing maintenance (if requirements stay unchanged)
- Solutions that fit entirely in working memory
- Boring, proven technology over cutting-edge alternatives
### What Simplicity IS NOT
- Quick hacks or kludges (these ADD complexity through hidden maintenance burden)
- Taking shortcuts that require "remembering" special behaviors
- Incomplete solutions that defer complexity to users
- Ignoring error cases (handle them simply, not elaborately)
## Decision Heuristics
Before implementing anything, ask these questions in order:
### 1. Do We Actually Need This?
Challenge assumptions about requirements. Often the existing system already solves the problem:
- Does the edge proxy already handle rate limiting?
- Does the framework already provide this validation?
- Is this "requirement" actually used in practice?
### 2. What's the Simplest Solution That Works?
Start with the most straightforward approach:
- In-memory before persistent storage
- Single process before distributed systems
- Direct code before abstractions
- Built-in features before external dependencies
- Boring technology before novel solutions
### 3. What Are We Actually Solving For?
Design for current requirements, not imagined futures:
- Current traffic, not 100x traffic
- Current team size, not future team size
- Current features, not speculative features
- Known problems, not anticipated problems
### 4. Does This Add Coordination Cost?
Every abstraction adds cognitive overhead:
- Does this require understanding another system?
- Does this add a network hop?
- Does this require synchronization?
- Does this make debugging harder?
## Implementation Guidelines
### Layer Solutions Progressively
When building features, start simple and add complexity only when genuinely necessary:
```
Level 1: In-memory / direct code
↓ (only if proven insufficient)
Level 2: Local persistence / simple abstraction
↓ (only if proven insufficient)
Level 3: Distributed / external service
```
**Example - Rate Limiting:**
1. First: In-memory counter with process-local tracking
2. Only if horizontal scaling demands it: Add Redis
3. Never start at Redis because "we might need it"
### Avoid Premature Architecture
Common over-engineering patterns to reject:
| Don't Do This | Do This Instead |
|---------------|-----------------|
| Abstract "for reusability" with one use case | Write direct code |
| Add configuration for hypothetical needs | Hardcode current values |
| Create service layers before needed | Call functions directly |
| Design for 10x scale on day one | Design for current scale |
| Add caching "just in case" | Profile first, cache proven hotspots |
| Build plugin systems for one plugin | Write the plugin inline |
### Embrace Boring Solutions
The best solution is often the most boring one:
- REST over GraphQL (unless you have proven pagination/federation needs)
- PostgreSQL over specialized databases (it handles 95% of cases)
- Server-rendered HTML over SPA (unless genuine interactivity demands it)
- Monolith over microservices (until team scale demands separation)
- Cron jobs over message queues (for non-critical async work)
### Delete Before Adding
When changing code:
- Remove unused code rather than commenting it out
- Delete old abstractions when consolidating
- Remove feature flags after features ship
- Clear out backwards-compatibility code after migrations complete
## Recognizing Over-Engineering
Watch for these signals that a solution is too complex:
**Code Smells:**
- More than 3 levels of abstraction for simple operations
- Configuration files longer than the code they configure
- "Infrastructure" code exceeding business logic code
- Tests that are harder to understand than the code they test
- Interfaces with single implementations (unless clear extension point)
**Architecture Smells:**
- Services that only wrap other services
- Message queues for synchronous-feeling operations
- Caches without measured performance problems
- "Platform" code written before the first use case
**Process Smells:**
- Design documents longer than the implementation
- Multiple approval layers for simple changes
- "Future-proofing" discussions without concrete requirements
## When Complexity IS Warranted
Complexity is justified when:
- The simple solution has been tried and proven insufficient
- Requirements genuinely demand it (not "might someday demand it")
- The complexity cost is smaller than the problem it solves
- The team has capacity to maintain the added complexity
Before adding complexity, ask: "Would I bet $1000 that we'll need this in the next 6 months?"
## Applying This Philosophy
When implementing any feature:
1. **Start by understanding the actual requirement** - not the imagined future requirement
2. **Look for existing solutions** - frameworks, libraries, built-in features
3. **Propose the simplest approach first** - even if it feels "too simple"
4. **Add complexity only when the simple approach fails** - with evidence
5. **Delete unnecessary code** - past abstractions, unused features, dead paths
When reviewing or refactoring code:
1. **Identify unnecessary abstraction layers** - collapse them
2. **Find coordination points that could be eliminated** - inline or simplify
3. **Look for "just in case" code** - remove it
4. **Check for over-configuration** - hardcode stable values
5. **Question external dependencies** - can built-in features suffice?
## Reference
For detailed patterns, anti-patterns, and technology-specific guidance, consult:
- **`references/design_guide.md`** - Comprehensive examples, layered solutions, and specific anti-patterns
---
*"It is not easy to do the simplest thing that could possibly work. It requires deeply understanding the existing system and having enough knowledge to identify the right approach. Great software design looks underwhelming because complexity has been stripped away, not added."*
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.