Download Template
Download as ZIP and extract to
.trellis/spec/What’s Included
| Category | Files | Coverage |
|---|---|---|
| Frontend | 11 files | Components, hooks, state, IPC, CSS |
| Backend | 14 files | API patterns, database, error handling |
| Guides | 8 files | Cross-layer thinking, debugging |
| Shared | 6 files | TypeScript, git, code quality |
Template Structure
Key Topics
Frontend
- React component patterns and hooks
- Electron IPC communication
- State management with Zustand
- CSS design system
Backend
- API module structure
- SQLite database patterns
- Error handling and logging
- macOS permissions
Guides
- Cross-layer thinking for full-stack changes
- Bug root cause analysis
- Database schema migrations
Usage
- Download the ZIP file
- Extract to your project’s
.trellis/spec/directory - Customize for your specific conventions
- Remove sections that don’t apply
- Update examples to match your codebase
View on GitHub
Browse the template source code