Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Reference architecture for Evernote integrations. Use when designing system architecture, planning integrations, or building scalable Evernote applications. Trigger with phrases like "evernote architecture", "design evernote system", "evernote integration pattern", "evernote scale".
.claude/skills/jeremylongshore-evernote-reference-architecture/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 15% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 8% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 17% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 39% | 0% |
| case-19 | ✗→✓ | ▲ Improved | -6% | 0% |
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:
javascript// 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.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→pass | 45,597 | 38,127 | -16% | 1 | 1 | 0% | 6,602 | 7,600 | +15% | 0 | 0 | — |
case-02 | pass→fail | 54,457 | 50,558 | -7% | 1 | 1 | 0% | 8,247 | 9,127 | +11% | 0 | 0 | — |
case-03 | fail→pass | 51,576 | 50,996 | -1% | 1 | 1 | 0% | 8,247 | 8,877 | +8% | 0 | 0 | — |
case-04 | pass→pass | 17,347 | 29,677 | +71% | 1 | 1 | 0% | 3,404 | 5,698 | +67% | 0 | 0 | — |
case-05 | pass→pass | 18,803 | 13,344 | -29% | 1 | 1 | 0% | 3,160 | 3,559 | +13% | 0 | 0 | — |
case-06 | pass→pass | 19,226 | 16,827 | -12% | 1 | 1 | 0% | 3,343 | 3,979 | +19% | 0 | 0 | — |
case-07 | fail→pass | 18,960 | 14,519 | -23% | 1 | 1 | 0% | 2,677 | 3,136 | +17% | 0 | 0 | — |
case-08 | pass→pass | 20,689 | 25,988 | +26% | 1 | 1 | 0% | 3,160 | 5,657 | +79% | 0 | 0 | — |
case-09 | pass→pass | 17,420 | 15,820 | -9% | 1 | 1 | 0% | 2,986 | 3,595 | +20% | 0 | 0 | — |
case-10 | pass→pass | 19,725 | 19,612 | -1% | 1 | 1 | 0% | 2,961 | 3,907 | +32% | 0 | 0 | — |
case-11 | fail→pass | 15,665 | 14,742 | -6% | 1 | 1 | 0% | 2,382 | 3,312 | +39% | 0 | 0 | — |
case-12 | pass→pass | 14,956 | 18,622 | +25% | 1 | 1 | 0% | 2,457 | 3,679 | +50% | 0 | 0 | — |
case-13 | pass→pass | 17,561 | 25,453 | +45% | 1 | 1 | 0% | 2,482 | 2,913 | +17% | 0 | 0 | — |
case-14 | pass→pass | 11,012 | 4,110 | -63% | 1 | 1 | 0% | 1,507 | 1,429 | -5% | 0 | 0 | — |
case-15 | pass→pass | 14,184 | 15,558 | +10% | 1 | 1 | 0% | 2,222 | 2,919 | +31% | 0 | 0 | — |
case-16 | pass→pass | 14,789 | 11,412 | -23% | 1 | 1 | 0% | 2,067 | 2,778 | +34% | 0 | 0 | — |
case-17 | pass→pass | 14,243 | 13,884 | -3% | 1 | 1 | 0% | 2,301 | 2,968 | +29% | 0 | 0 | — |
case-18 | pass→pass | 15,108 | 14,384 | -5% | 1 | 1 | 0% | 2,520 | 3,089 | +23% | 0 | 0 | — |
case-19 | fail→pass | 18,984 | 9,778 | -48% | 1 | 1 | 0% | 2,384 | 2,241 | -6% | 0 | 0 | — |
case-20 | pass→pass | 12,108 | 9,016 | -26% | 1 | 1 | 0% | 1,957 | 2,395 | +22% | 0 | 0 | — |
case-21 | pass→pass | 15,001 | 14,209 | -5% | 1 | 1 | 0% | 1,972 | 2,634 | +34% | 0 | 0 | — |
case-22 | fail→pass | 14,781 | 9,641 | -35% | 1 | 1 | 0% | 1,959 | 2,529 | +29% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +23 percentage points is the difference between those two pass rates over the 22 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.