/evernote-pack:evernote-reference-architecturefrom evernote-pack
Production-ready architecture patterns for building scalable Evernote integrations. Covers service layer design, caching strategy, sync architecture, and deployment topology.
Ships in evernote-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Production-ready architecture patterns for building scalable, maintainable Evernote integrations. Covers service layer design, caching strategy, sync architecture, and deployment topology.
Client Layer [Web App / Mobile / CLI]
|
API Layer [Express/Fastify REST API]
|
Service Layer [NoteService | SearchService | SyncService]
|
Integration [EvernoteClient (rate-limited, instrumented)]
|
Infrastructure [Redis Cache | PostgreSQL | Message Queue]
Separate concerns into focused services:
// services/index.js - Service registry
class ServiceRegistry {
constructor(noteStore, cache, db) {
this.notes = new NoteService(noteStore);
this.search = new SearchService(noteStore, cache);
this.sync = new SyncService(noteStore, db);
}
}
Cache at two levels: in-memory LRU for hot data (note metadata, user info) and Redis for shared state (notebook lists, tag lists, sync checkpoints). Invalidate on webhook notification.
Use webhooks as the primary change notification channel. Fall back to polling when webhooks are unavailable. Process changes through a message queue for reliability and retry. Store sync state (USN) in the database for crash recovery.
Evernote Webhook → API Gateway → Message Queue → Sync Worker → Database
↓
Evernote API (fetch changes)
Store mirrored Evernote data locally for fast reads. Key tables: users (token, expiration), notebooks, notes (content, metadata), tags, resources (metadata, file path), sync_state (user_id, last_usn).
For the complete architecture diagrams, service implementations, database schema, and scaling guidelines, see Implementation Guide.
| Failure Mode | Impact | Mitigation |
|---|---|---|
| Evernote API outage | All sync stops | Circuit breaker, serve cached data |
| Redis down | Increased API call rate | Fall through to direct API, in-memory fallback |
| Database failure | Cannot persist sync state | Queue events, replay after recovery |
| Message queue failure | Webhook events lost | Polling fallback, periodic full sync |
For multi-environment setup, see evernote-multi-env-setup.
Note-taking SaaS: Build a web app where users connect their Evernote account via OAuth, sync notes to a local database, provide full-text search via PostgreSQL, and push changes back to Evernote.
Team dashboard: Aggregate notes from multiple Evernote Business users into a shared dashboard. Use the sync architecture to keep data fresh. Cache notebook/tag lookups for sub-100ms response times.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
24 skills in this plugin
/evernote-ci-integrationConfigure CI/CD pipelines for Evernote integrations.
Use when setting up automated testing, continuous integration,
or deployment pipelines for Evernote projects.
Trigger with phrases like "evernote ci", "evernote github actions",
"evernote pipeline", "automate evernote tests".
/evernote-common-errorsDiagnose and fix common Evernote API errors.
Use when encountering Evernote API exceptions, debugging failures,
or troubleshooting integration issues.
Trigger with phrases like "evernote error", "evernote exception",
"fix evernote issue", "debug evernote", "evernote troubleshooting".
/evernote-npx claudepluginhub flight505/skill-forge --plugin evernote-packOther plugins' skills for the same job