[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F6EWP0TYSEWJ8SE0QF7BX2":3,"skill-same:01M6F6EWP0TYSEWJ8SE0QF7BX2":80},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":48,"linkOnly":49,"markdownContent":50,"markdownBody":51,"frontMatter":52,"refName":57,"commitSha":58,"skillDirectory":59,"forksCount":60,"repositoryHtmlUrl":61,"repositoryHomepageUrl":6,"ownerHtmlUrl":62,"ownerBlogUrl":63,"ownerDescription":64,"updatedAt":65,"install":66,"resources":79},"01M6F6EWP0TYSEWJ8SE0QF7BX2","evernote-core-workflow-a",null,"Execute Evernote primary workflow: Note Creation and Management.\nUse when creating notes, organizing content, managing notebooks,\nor implementing note-taking features.\nTrigger with phrases like \"create evernote note\", \"evernote note workflow\",\n\"manage evernote notes\", \"evernote content\".","Dicklesworthstone\u002Fpi_agent_rust","Dicklesworthstone","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F35050222?v=4","01M6CG26AR942CSVMN1M5E3DSE","Jeff Emanuel","01M6CG26EPP71PSHW1VDS71121",1991,"MIT","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Fevernote-pack\u002Fskills\u002Fevernote-core-workflow-a\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47],"core","evernote","evernote core workflow a","workflow","use","when","features","implementing","with","note-taking","trigger","io","creation","manage","execute","management","edit","write","read","grep","Bash","npm","create","notes","2026-11-10 10:12:30",false,"---\nname: evernote-core-workflow-a\ndescription: |\n  Execute Evernote primary workflow: Note Creation and Management.\n  Use when creating notes, organizing content, managing notebooks,\n  or implementing note-taking features.\n  Trigger with phrases like \"create evernote note\", \"evernote note workflow\",\n  \"manage evernote notes\", \"evernote content\".\nallowed-tools: Read, Write, Edit, Bash(npm:*), Grep\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\n---\n\n# Evernote Core Workflow A: Note Creation & Management\n\n## Overview\n\nPrimary workflow for creating, organizing, and managing notes in Evernote. This covers the essential CRUD operations that form the foundation of any Evernote integration.\n\n## Prerequisites\n\n- Completed `evernote-install-auth` setup\n- Understanding of ENML format\n- Valid access token configured\n\n## Instructions\n\n### Step 1: Note Creation Service\n\n```javascript\n\u002F\u002F services\u002Fnote-service.js\nconst Evernote = require('evernote');\n\nclass NoteService {\n  constructor(noteStore) {\n    this.noteStore = noteStore;\n  }\n\n  \u002F**\n   * Create a new note with proper ENML formatting\n   *\u002F\n  async createNote({ title, content, notebookGuid, tagNames = [] }) {\n    const note = new Evernote.Types.Note();\n    note.title = this.sanitizeTitle(title);\n    note.content = this.wrapInENML(content);\n\n    if (notebookGuid) {\n      note.notebookGuid = notebookGuid;\n    }\n\n    if (tagNames.length > 0) {\n      note.tagNames = tagNames;\n    }\n\n    return this.noteStore.createNote(note);\n  }\n\n  \u002F**\n   * Create note from plain text\n   *\u002F\n  async createTextNote(title, text, notebookGuid = null) {\n    const content = this.textToENML(text);\n    return this.createNote({ title, content, notebookGuid });\n  }\n\n  \u002F**\n   * Create note from HTML (converted to ENML)\n   *\u002F\n  async createHtmlNote(title, html, notebookGuid = null) {\n    const content = this.htmlToENML(html);\n    return this.createNote({ title, content, notebookGuid });\n  }\n\n  \u002F**\n   * Create a checklist note\n   *\u002F\n  async createChecklistNote(title, items, notebookGuid = null) {\n    const checklistHtml = items.map(item => {\n      if (typeof item === 'string') {\n        return `\u003Cdiv>\u003Cen-todo checked=\"false\"\u002F> ${this.escapeHtml(item)}\u003C\u002Fdiv>`;\n      }\n      return `\u003Cdiv>\u003Cen-todo checked=\"${item.checked}\"\u002F> ${this.escapeHtml(item.text)}\u003C\u002Fdiv>`;\n    }).join('\\n');\n\n    return this.createNote({\n      title,\n      content: checklistHtml,\n      notebookGuid\n    });\n  }\n\n  \u002F\u002F Helper methods\n  wrapInENML(content) {\n    return `\u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\u003C!DOCTYPE en-note SYSTEM \"http:\u002F\u002Fxml.evernote.com\u002Fpub\u002Fenml2.dtd\">\n\u003Cen-note>\n${content}\n\u003C\u002Fen-note>`;\n  }\n\n  textToENML(text) {\n    const escaped = this.escapeHtml(text).replace(\u002F\\n\u002Fg, '\u003Cbr\u002F>');\n    return this.wrapInENML(`\u003Cdiv>${escaped}\u003C\u002Fdiv>`);\n  }\n\n  htmlToENML(html) {\n    \u002F\u002F Remove forbidden elements and attributes\n    let clean = html\n      .replace(\u002F\u003Cscript[^>]*>[\\s\\S]*?\u003C\\\u002Fscript>\u002Fgi, '')\n      .replace(\u002F\u003Cform[^>]*>[\\s\\S]*?\u003C\\\u002Fform>\u002Fgi, '')\n      .replace(\u002F\u003Ciframe[^>]*>[\\s\\S]*?\u003C\\\u002Fiframe>\u002Fgi, '')\n      .replace(\u002F\\s(class|id|onclick|onload)=\"[^\"]*\"\u002Fgi, '');\n\n    return this.wrapInENML(clean);\n  }\n\n  sanitizeTitle(title) {\n    \u002F\u002F Max 255 chars, no newlines\n    return title.replace(\u002F[\\r\\n]\u002Fg, ' ').slice(0, 255);\n  }\n\n  escapeHtml(text) {\n    return text\n      .replace(\u002F&\u002Fg, '&amp;')\n      .replace(\u002F\u003C\u002Fg, '&lt;')\n      .replace(\u002F>\u002Fg, '&gt;')\n      .replace(\u002F\"\u002Fg, '&quot;');\n  }\n}\n\nmodule.exports = NoteService;\n```\n\n### Step 2: Note Retrieval and Reading\n\n```javascript\nclass NoteService {\n  \u002F\u002F ... previous methods ...\n\n  \u002F**\n   * Get note with content\n   *\u002F\n  async getNote(noteGuid) {\n    return this.noteStore.getNote(noteGuid, true, false, false, false);\n  }\n\n  \u002F**\n   * Get note with all resources (attachments)\n   *\u002F\n  async getNoteWithResources(noteGuid) {\n    return this.noteStore.getNote(noteGuid, true, true, true, false);\n  }\n\n  \u002F**\n   * Get note metadata only (faster)\n   *\u002F\n  async getNoteMetadata(noteGuid) {\n    return this.noteStore.getNote(noteGuid, false, false, false, false);\n  }\n\n  \u002F**\n   * Extract plain text from ENML content\n   *\u002F\n  extractText(enmlContent) {\n    return enmlContent\n      \u002F\u002F Remove XML declaration and DOCTYPE\n      .replace(\u002F\u003C\\?xml[^>]*\\?>\u002Fg, '')\n      .replace(\u002F\u003C!DOCTYPE[^>]*>\u002Fg, '')\n      \u002F\u002F Remove all HTML tags\n      .replace(\u002F\u003C[^>]+>\u002Fg, ' ')\n      \u002F\u002F Decode entities\n      .replace(\u002F&amp;\u002Fg, '&')\n      .replace(\u002F&lt;\u002Fg, '\u003C')\n      .replace(\u002F&gt;\u002Fg, '>')\n      .replace(\u002F&quot;\u002Fg, '\"')\n      \u002F\u002F Clean whitespace\n      .replace(\u002F\\s+\u002Fg, ' ')\n      .trim();\n  }\n\n  \u002F**\n   * Check if note has uncompleted todos\n   *\u002F\n  hasUncompletedTodos(enmlContent) {\n    return \u002F\u003Cen-todo\\s+checked=\"false\"\u002F.test(enmlContent);\n  }\n}\n```\n\n### Step 3: Note Updates\n\n```javascript\nclass NoteService {\n  \u002F\u002F ... previous methods ...\n\n  \u002F**\n   * Update note title\n   *\u002F\n  async updateTitle(noteGuid, newTitle) {\n    const note = await this.getNoteMetadata(noteGuid);\n    note.title = this.sanitizeTitle(newTitle);\n    return this.noteStore.updateNote(note);\n  }\n\n  \u002F**\n   * Update note content\n   *\u002F\n  async updateContent(noteGuid, newContent) {\n    const note = await this.getNoteMetadata(noteGuid);\n    note.content = this.wrapInENML(newContent);\n    return this.noteStore.updateNote(note);\n  }\n\n  \u002F**\n   * Append content to existing note\n   *\u002F\n  async appendToNote(noteGuid, additionalContent) {\n    const note = await this.getNote(noteGuid);\n    const currentContent = note.content;\n\n    \u002F\u002F Insert before closing \u003C\u002Fen-note>\n    const newContent = currentContent.replace(\n      '\u003C\u002Fen-note>',\n      `\u003Chr\u002F>${additionalContent}\u003C\u002Fen-note>`\n    );\n\n    note.content = newContent;\n    return this.noteStore.updateNote(note);\n  }\n\n  \u002F**\n   * Add tags to note\n   *\u002F\n  async addTags(noteGuid, tagNames) {\n    const note = await this.getNoteMetadata(noteGuid);\n    const existingTags = note.tagNames || [];\n    note.tagNames = [...new Set([...existingTags, ...tagNames])];\n    return this.noteStore.updateNote(note);\n  }\n\n  \u002F**\n   * Move note to different notebook\n   *\u002F\n  async moveToNotebook(noteGuid, notebookGuid) {\n    const note = await this.getNoteMetadata(noteGuid);\n    note.notebookGuid = notebookGuid;\n    return this.noteStore.updateNote(note);\n  }\n\n  \u002F**\n   * Toggle todo completion\n   *\u002F\n  async toggleTodo(noteGuid, todoIndex) {\n    const note = await this.getNote(noteGuid);\n    let content = note.content;\n    let count = 0;\n\n    content = content.replace(\u002F\u003Cen-todo\\s+checked=\"(true|false)\"\\s*\\\u002F>\u002Fg, (match, checked) => {\n      if (count === todoIndex) {\n        const newChecked = checked === 'true' ? 'false' : 'true';\n        count++;\n        return `\u003Cen-todo checked=\"${newChecked}\"\u002F>`;\n      }\n      count++;\n      return match;\n    });\n\n    note.content = content;\n    return this.noteStore.updateNote(note);\n  }\n}\n```\n\n### Step 4: Note Organization\n\n```javascript\nclass NotebookService {\n  constructor(noteStore) {\n    this.noteStore = noteStore;\n  }\n\n  \u002F**\n   * List all notebooks\n   *\u002F\n  async listNotebooks() {\n    return this.noteStore.listNotebooks();\n  }\n\n  \u002F**\n   * Get default notebook\n   *\u002F\n  async getDefaultNotebook() {\n    return this.noteStore.getDefaultNotebook();\n  }\n\n  \u002F**\n   * Create notebook\n   *\u002F\n  async createNotebook(name, stack = null) {\n    const notebook = new Evernote.Types.Notebook();\n    notebook.name = name;\n    if (stack) {\n      notebook.stack = stack;\n    }\n    return this.noteStore.createNotebook(notebook);\n  }\n\n  \u002F**\n   * Find or create notebook\n   *\u002F\n  async ensureNotebook(name, stack = null) {\n    const notebooks = await this.listNotebooks();\n    const existing = notebooks.find(n =>\n      n.name.toLowerCase() === name.toLowerCase()\n    );\n    return existing || this.createNotebook(name, stack);\n  }\n\n  \u002F**\n   * Get notebook by name\n   *\u002F\n  async getNotebookByName(name) {\n    const notebooks = await this.listNotebooks();\n    return notebooks.find(n =>\n      n.name.toLowerCase() === name.toLowerCase()\n    );\n  }\n\n  \u002F**\n   * Organize notebooks into stacks\n   *\u002F\n  async groupByStack() {\n    const notebooks = await this.listNotebooks();\n    const groups = {};\n\n    notebooks.forEach(nb => {\n      const stack = nb.stack || '(No Stack)';\n      if (!groups[stack]) {\n        groups[stack] = [];\n      }\n      groups[stack].push(nb);\n    });\n\n    return groups;\n  }\n}\n```\n\n### Step 5: Complete Workflow Example\n\n```javascript\n\u002F\u002F example-workflow.js\nconst Evernote = require('evernote');\nconst NoteService = require('.\u002Fservices\u002Fnote-service');\nconst NotebookService = require('.\u002Fservices\u002Fnotebook-service');\n\nasync function noteManagementWorkflow(accessToken) {\n  const client = new Evernote.Client({\n    token: accessToken,\n    sandbox: true\n  });\n\n  const noteStore = client.getNoteStore();\n  const noteService = new NoteService(noteStore);\n  const notebookService = new NotebookService(noteStore);\n\n  \u002F\u002F 1. Ensure workspace notebook exists\n  const workNotebook = await notebookService.ensureNotebook('Work', 'Projects');\n  console.log('Using notebook:', workNotebook.name);\n\n  \u002F\u002F 2. Create a meeting note\n  const meetingNote = await noteService.createNote({\n    title: 'Team Standup - ' + new Date().toLocaleDateString(),\n    content: `\n      \u003Ch2>Attendees\u003C\u002Fh2>\n      \u003Cp>Alice, Bob, Charlie\u003C\u002Fp>\n\n      \u003Ch2>Discussion Points\u003C\u002Fh2>\n      \u003Cul>\n        \u003Cli>Sprint progress review\u003C\u002Fli>\n        \u003Cli>Blockers and dependencies\u003C\u002Fli>\n        \u003Cli>Action items\u003C\u002Fli>\n      \u003C\u002Ful>\n\n      \u003Ch2>Action Items\u003C\u002Fh2>\n      \u003Cdiv>\u003Cen-todo checked=\"false\"\u002F> Review PR #123 - Alice\u003C\u002Fdiv>\n      \u003Cdiv>\u003Cen-todo checked=\"false\"\u002F> Update documentation - Bob\u003C\u002Fdiv>\n      \u003Cdiv>\u003Cen-todo checked=\"false\"\u002F> Schedule follow-up - Charlie\u003C\u002Fdiv>\n    `,\n    notebookGuid: workNotebook.guid,\n    tagNames: ['meeting', 'standup', 'team']\n  });\n  console.log('Created meeting note:', meetingNote.guid);\n\n  \u002F\u002F 3. Create a quick task note\n  const taskNote = await noteService.createChecklistNote(\n    'Today\\'s Tasks',\n    [\n      { text: 'Review emails', checked: true },\n      { text: 'Code review', checked: false },\n      { text: 'Update sprint board', checked: false },\n      { text: 'Team sync', checked: false }\n    ],\n    workNotebook.guid\n  );\n  console.log('Created task note:', taskNote.guid);\n\n  \u002F\u002F 4. Append late addition to meeting note\n  await noteService.appendToNote(meetingNote.guid, `\n    \u003Ch2>Late Addition\u003C\u002Fh2>\n    \u003Cp>Added after the meeting: Remember to follow up on budget approval.\u003C\u002Fp>\n  `);\n  console.log('Appended content to meeting note');\n\n  \u002F\u002F 5. Mark first task as done\n  await noteService.toggleTodo(taskNote.guid, 1); \u002F\u002F Toggle \"Code review\"\n  console.log('Toggled todo completion');\n\n  return {\n    meetingNote,\n    taskNote,\n    notebook: workNotebook\n  };\n}\n\nmodule.exports = noteManagementWorkflow;\n```\n\n## Output\n\n- Fully functional note creation service\n- ENML content formatting\n- Notebook organization\n- Tag management\n- Todo list support\n- Content append\u002Fupdate operations\n\n## Error Handling\n\n| Error | Cause | Solution |\n|-------|-------|----------|\n| `BAD_DATA_FORMAT` | Invalid ENML | Use wrapInENML helper, validate content |\n| `LIMIT_REACHED` | Too many notebooks (250 max) | Clean up unused notebooks |\n| `DATA_REQUIRED` | Missing title or content | Validate inputs before API call |\n| `INVALID_USER` | Token expired | Re-authenticate user |\n\n## Best Practices\n\n1. **Always validate ENML** before sending to API\n2. **Use tagNames** (strings) not tagGuids for simplicity\n3. **Batch read-then-update** operations to avoid conflicts\n4. **Handle rate limits** with exponential backoff\n5. **Keep note titles under 255 characters**\n\n## Resources\n\n- [Creating Notes](https:\u002F\u002Fdev.evernote.com\u002Fdoc\u002Farticles\u002Fcreating_notes.php)\n- [ENML Reference](https:\u002F\u002Fdev.evernote.com\u002Fdoc\u002Farticles\u002Fenml.php)\n- [Note Types Reference](https:\u002F\u002Fdev.evernote.com\u002Fdoc\u002Freference\u002F)\n\n## Next Steps\n\nFor search and retrieval workflows, see `evernote-core-workflow-b`.\n","# Evernote Core Workflow A: Note Creation & Management\n\n## Overview\n\nPrimary workflow for creating, organizing, and managing notes in Evernote. This covers the essential CRUD operations that form the foundation of any Evernote integration.\n\n## Prerequisites\n\n- Completed `evernote-install-auth` setup\n- Understanding of ENML format\n- Valid access token configured\n\n## Instructions\n\n### Step 1: Note Creation Service\n\n```javascript\n\u002F\u002F services\u002Fnote-service.js\nconst Evernote = require('evernote');\n\nclass NoteService {\n  constructor(noteStore) {\n    this.noteStore = noteStore;\n  }\n\n  \u002F**\n   * Create a new note with proper ENML formatting\n   *\u002F\n  async createNote({ title, content, notebookGuid, tagNames = [] }) {\n    const note = new Evernote.Types.Note();\n    note.title = this.sanitizeTitle(title);\n    note.content = this.wrapInENML(content);\n\n    if (notebookGuid) {\n      note.notebookGuid = notebookGuid;\n    }\n\n    if (tagNames.length > 0) {\n      note.tagNames = tagNames;\n    }\n\n    return this.noteStore.createNote(note);\n  }\n\n  \u002F**\n   * Create note from plain text\n   *\u002F\n  async createTextNote(title, text, notebookGuid = null) {\n    const content = this.textToENML(text);\n    return this.createNote({ title, content, notebookGuid });\n  }\n\n  \u002F**\n   * Create note from HTML (converted to ENML)\n   *\u002F\n  async createHtmlNote(title, html, notebookGuid = null) {\n    const content = this.htmlToENML(html);\n    return this.createNote({ title, content, notebookGuid });\n  }\n\n  \u002F**\n   * Create a checklist note\n   *\u002F\n  async createChecklistNote(title, items, notebookGuid = null) {\n    const checklistHtml = items.map(item => {\n      if (typeof item === 'string') {\n        return `\u003Cdiv>\u003Cen-todo checked=\"false\"\u002F> ${this.escapeHtml(item)}\u003C\u002Fdiv>`;\n      }\n      return `\u003Cdiv>\u003Cen-todo checked=\"${item.checked}\"\u002F> ${this.escapeHtml(item.text)}\u003C\u002Fdiv>`;\n    }).join('\\n');\n\n    return this.createNote({\n      title,\n      content: checklistHtml,\n      notebookGuid\n    });\n  }\n\n  \u002F\u002F Helper methods\n  wrapInENML(content) {\n    return `\u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\u003C!DOCTYPE en-note SYSTEM \"http:\u002F\u002Fxml.evernote.com\u002Fpub\u002Fenml2.dtd\">\n\u003Cen-note>\n${content}\n\u003C\u002Fen-note>`;\n  }\n\n  textToENML(text) {\n    const escaped = this.escapeHtml(text).replace(\u002F\\n\u002Fg, '\u003Cbr\u002F>');\n    return this.wrapInENML(`\u003Cdiv>${escaped}\u003C\u002Fdiv>`);\n  }\n\n  htmlToENML(html) {\n    \u002F\u002F Remove forbidden elements and attributes\n    let clean = html\n      .replace(\u002F\u003Cscript[^>]*>[\\s\\S]*?\u003C\\\u002Fscript>\u002Fgi, '')\n      .replace(\u002F\u003Cform[^>]*>[\\s\\S]*?\u003C\\\u002Fform>\u002Fgi, '')\n      .replace(\u002F\u003Ciframe[^>]*>[\\s\\S]*?\u003C\\\u002Fiframe>\u002Fgi, '')\n      .replace(\u002F\\s(class|id|onclick|onload)=\"[^\"]*\"\u002Fgi, '');\n\n    return this.wrapInENML(clean);\n  }\n\n  sanitizeTitle(title) {\n    \u002F\u002F Max 255 chars, no newlines\n    return title.replace(\u002F[\\r\\n]\u002Fg, ' ').slice(0, 255);\n  }\n\n  escapeHtml(text) {\n    return text\n      .replace(\u002F&\u002Fg, '&amp;')\n      .replace(\u002F\u003C\u002Fg, '&lt;')\n      .replace(\u002F>\u002Fg, '&gt;')\n      .replace(\u002F\"\u002Fg, '&quot;');\n  }\n}\n\nmodule.exports = NoteService;\n```\n\n### Step 2: Note Retrieval and Reading\n\n```javascript\nclass NoteService {\n  \u002F\u002F ... previous methods ...\n\n  \u002F**\n   * Get note with content\n   *\u002F\n  async getNote(noteGuid) {\n    return this.noteStore.getNote(noteGuid, true, false, false, false);\n  }\n\n  \u002F**\n   * Get note with all resources (attachments)\n   *\u002F\n  async getNoteWithResources(noteGuid) {\n    return this.noteStore.getNote(noteGuid, true, true, true, false);\n  }\n\n  \u002F**\n   * Get note metadata only (faster)\n   *\u002F\n  async getNoteMetadata(noteGuid) {\n    return this.noteStore.getNote(noteGuid, false, false, false, false);\n  }\n\n  \u002F**\n   * Extract plain text from ENML content\n   *\u002F\n  extractText(enmlContent) {\n    return enmlContent\n      \u002F\u002F Remove XML declaration and DOCTYPE\n      .replace(\u002F\u003C\\?xml[^>]*\\?>\u002Fg, '')\n      .replace(\u002F\u003C!DOCTYPE[^>]*>\u002Fg, '')\n      \u002F\u002F Remove all HTML tags\n      .replace(\u002F\u003C[^>]+>\u002Fg, ' ')\n      \u002F\u002F Decode entities\n      .replace(\u002F&amp;\u002Fg, '&')\n      .replace(\u002F&lt;\u002Fg, '\u003C')\n      .replace(\u002F&gt;\u002Fg, '>')\n      .replace(\u002F&quot;\u002Fg, '\"')\n      \u002F\u002F Clean whitespace\n      .replace(\u002F\\s+\u002Fg, ' ')\n      .trim();\n  }\n\n  \u002F**\n   * Check if note has uncompleted todos\n   *\u002F\n  hasUncompletedTodos(enmlContent) {\n    return \u002F\u003Cen-todo\\s+checked=\"false\"\u002F.test(enmlContent);\n  }\n}\n```\n\n### Step 3: Note Updates\n\n```javascript\nclass NoteService {\n  \u002F\u002F ... previous methods ...\n\n  \u002F**\n   * Update note title\n   *\u002F\n  async updateTitle(noteGuid, newTitle) {\n    const note = await this.getNoteMetadata(noteGuid);\n    note.title = this.sanitizeTitle(newTitle);\n    return this.noteStore.updateNote(note);\n  }\n\n  \u002F**\n   * Update note content\n   *\u002F\n  async updateContent(noteGuid, newContent) {\n    const note = await this.getNoteMetadata(noteGuid);\n    note.content = this.wrapInENML(newContent);\n    return this.noteStore.updateNote(note);\n  }\n\n  \u002F**\n   * Append content to existing note\n   *\u002F\n  async appendToNote(noteGuid, additionalContent) {\n    const note = await this.getNote(noteGuid);\n    const currentContent = note.content;\n\n    \u002F\u002F Insert before closing \u003C\u002Fen-note>\n    const newContent = currentContent.replace(\n      '\u003C\u002Fen-note>',\n      `\u003Chr\u002F>${additionalContent}\u003C\u002Fen-note>`\n    );\n\n    note.content = newContent;\n    return this.noteStore.updateNote(note);\n  }\n\n  \u002F**\n   * Add tags to note\n   *\u002F\n  async addTags(noteGuid, tagNames) {\n    const note = await this.getNoteMetadata(noteGuid);\n    const existingTags = note.tagNames || [];\n    note.tagNames = [...new Set([...existingTags, ...tagNames])];\n    return this.noteStore.updateNote(note);\n  }\n\n  \u002F**\n   * Move note to different notebook\n   *\u002F\n  async moveToNotebook(noteGuid, notebookGuid) {\n    const note = await this.getNoteMetadata(noteGuid);\n    note.notebookGuid = notebookGuid;\n    return this.noteStore.updateNote(note);\n  }\n\n  \u002F**\n   * Toggle todo completion\n   *\u002F\n  async toggleTodo(noteGuid, todoIndex) {\n    const note = await this.getNote(noteGuid);\n    let content = note.content;\n    let count = 0;\n\n    content = content.replace(\u002F\u003Cen-todo\\s+checked=\"(true|false)\"\\s*\\\u002F>\u002Fg, (match, checked) => {\n      if (count === todoIndex) {\n        const newChecked = checked === 'true' ? 'false' : 'true';\n        count++;\n        return `\u003Cen-todo checked=\"${newChecked}\"\u002F>`;\n      }\n      count++;\n      return match;\n    });\n\n    note.content = content;\n    return this.noteStore.updateNote(note);\n  }\n}\n```\n\n### Step 4: Note Organization\n\n```javascript\nclass NotebookService {\n  constructor(noteStore) {\n    this.noteStore = noteStore;\n  }\n\n  \u002F**\n   * List all notebooks\n   *\u002F\n  async listNotebooks() {\n    return this.noteStore.listNotebooks();\n  }\n\n  \u002F**\n   * Get default notebook\n   *\u002F\n  async getDefaultNotebook() {\n    return this.noteStore.getDefaultNotebook();\n  }\n\n  \u002F**\n   * Create notebook\n   *\u002F\n  async createNotebook(name, stack = null) {\n    const notebook = new Evernote.Types.Notebook();\n    notebook.name = name;\n    if (stack) {\n      notebook.stack = stack;\n    }\n    return this.noteStore.createNotebook(notebook);\n  }\n\n  \u002F**\n   * Find or create notebook\n   *\u002F\n  async ensureNotebook(name, stack = null) {\n    const notebooks = await this.listNotebooks();\n    const existing = notebooks.find(n =>\n      n.name.toLowerCase() === name.toLowerCase()\n    );\n    return existing || this.createNotebook(name, stack);\n  }\n\n  \u002F**\n   * Get notebook by name\n   *\u002F\n  async getNotebookByName(name) {\n    const notebooks = await this.listNotebooks();\n    return notebooks.find(n =>\n      n.name.toLowerCase() === name.toLowerCase()\n    );\n  }\n\n  \u002F**\n   * Organize notebooks into stacks\n   *\u002F\n  async groupByStack() {\n    const notebooks = await this.listNotebooks();\n    const groups = {};\n\n    notebooks.forEach(nb => {\n      const stack = nb.stack || '(No Stack)';\n      if (!groups[stack]) {\n        groups[stack] = [];\n      }\n      groups[stack].push(nb);\n    });\n\n    return groups;\n  }\n}\n```\n\n### Step 5: Complete Workflow Example\n\n```javascript\n\u002F\u002F example-workflow.js\nconst Evernote = require('evernote');\nconst NoteService = require('.\u002Fservices\u002Fnote-service');\nconst NotebookService = require('.\u002Fservices\u002Fnotebook-service');\n\nasync function noteManagementWorkflow(accessToken) {\n  const client = new Evernote.Client({\n    token: accessToken,\n    sandbox: true\n  });\n\n  const noteStore = client.getNoteStore();\n  const noteService = new NoteService(noteStore);\n  const notebookService = new NotebookService(noteStore);\n\n  \u002F\u002F 1. Ensure workspace notebook exists\n  const workNotebook = await notebookService.ensureNotebook('Work', 'Projects');\n  console.log('Using notebook:', workNotebook.name);\n\n  \u002F\u002F 2. Create a meeting note\n  const meetingNote = await noteService.createNote({\n    title: 'Team Standup - ' + new Date().toLocaleDateString(),\n    content: `\n      \u003Ch2>Attendees\u003C\u002Fh2>\n      \u003Cp>Alice, Bob, Charlie\u003C\u002Fp>\n\n      \u003Ch2>Discussion Points\u003C\u002Fh2>\n      \u003Cul>\n        \u003Cli>Sprint progress review\u003C\u002Fli>\n        \u003Cli>Blockers and dependencies\u003C\u002Fli>\n        \u003Cli>Action items\u003C\u002Fli>\n      \u003C\u002Ful>\n\n      \u003Ch2>Action Items\u003C\u002Fh2>\n      \u003Cdiv>\u003Cen-todo checked=\"false\"\u002F> Review PR #123 - Alice\u003C\u002Fdiv>\n      \u003Cdiv>\u003Cen-todo checked=\"false\"\u002F> Update documentation - Bob\u003C\u002Fdiv>\n      \u003Cdiv>\u003Cen-todo checked=\"false\"\u002F> Schedule follow-up - Charlie\u003C\u002Fdiv>\n    `,\n    notebookGuid: workNotebook.guid,\n    tagNames: ['meeting', 'standup', 'team']\n  });\n  console.log('Created meeting note:', meetingNote.guid);\n\n  \u002F\u002F 3. Create a quick task note\n  const taskNote = await noteService.createChecklistNote(\n    'Today\\'s Tasks',\n    [\n      { text: 'Review emails', checked: true },\n      { text: 'Code review', checked: false },\n      { text: 'Update sprint board', checked: false },\n      { text: 'Team sync', checked: false }\n    ],\n    workNotebook.guid\n  );\n  console.log('Created task note:', taskNote.guid);\n\n  \u002F\u002F 4. Append late addition to meeting note\n  await noteService.appendToNote(meetingNote.guid, `\n    \u003Ch2>Late Addition\u003C\u002Fh2>\n    \u003Cp>Added after the meeting: Remember to follow up on budget approval.\u003C\u002Fp>\n  `);\n  console.log('Appended content to meeting note');\n\n  \u002F\u002F 5. Mark first task as done\n  await noteService.toggleTodo(taskNote.guid, 1); \u002F\u002F Toggle \"Code review\"\n  console.log('Toggled todo completion');\n\n  return {\n    meetingNote,\n    taskNote,\n    notebook: workNotebook\n  };\n}\n\nmodule.exports = noteManagementWorkflow;\n```\n\n## Output\n\n- Fully functional note creation service\n- ENML content formatting\n- Notebook organization\n- Tag management\n- Todo list support\n- Content append\u002Fupdate operations\n\n## Error Handling\n\n| Error | Cause | Solution |\n|-------|-------|----------|\n| `BAD_DATA_FORMAT` | Invalid ENML | Use wrapInENML helper, validate content |\n| `LIMIT_REACHED` | Too many notebooks (250 max) | Clean up unused notebooks |\n| `DATA_REQUIRED` | Missing title or content | Validate inputs before API call |\n| `INVALID_USER` | Token expired | Re-authenticate user |\n\n## Best Practices\n\n1. **Always validate ENML** before sending to API\n2. **Use tagNames** (strings) not tagGuids for simplicity\n3. **Batch read-then-update** operations to avoid conflicts\n4. **Handle rate limits** with exponential backoff\n5. **Keep note titles under 255 characters**\n\n## Resources\n\n- [Creating Notes](https:\u002F\u002Fdev.evernote.com\u002Fdoc\u002Farticles\u002Fcreating_notes.php)\n- [ENML Reference](https:\u002F\u002Fdev.evernote.com\u002Fdoc\u002Farticles\u002Fenml.php)\n- [Note Types Reference](https:\u002F\u002Fdev.evernote.com\u002Fdoc\u002Freference\u002F)\n\n## Next Steps\n\nFor search and retrieval workflows, see `evernote-core-workflow-b`.\n",{"name":5,"author":53,"license":15,"version":54,"description":55,"allowed-tools":56},"Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Execute Evernote primary workflow: Note Creation and Management.\nUse when creating notes, organizing content, managing notebooks,\nor implementing note-taking features.\nTrigger with phrases like \"create evernote note\", \"evernote note workflow\",\n\"manage evernote notes\", \"evernote content\".\n","Read, Write, Edit, Bash(npm:*), Grep","main","90b50ed0778745a80fd5bfb13b1843d45b9e82f7","tests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Fevernote-pack\u002Fskills\u002Fevernote-core-workflow-a",234,"https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust","https:\u002F\u002Fgithub.com\u002FDicklesworthstone","https:\u002F\u002Fwww.jeffreyemanuel.com\u002F","Building in NY","2026-11-13 11:50:27",{"source":8,"skillName":5,"commands":67,"prompt":77,"zipAvailable":78},[68,71,74],{"tool":69,"command":70},"npx","npx skills add Dicklesworthstone\u002Fpi_agent_rust --skill evernote-core-workflow-a",{"tool":72,"command":73},"bunx","bunx skills add Dicklesworthstone\u002Fpi_agent_rust --skill evernote-core-workflow-a",{"tool":75,"command":76},"pnpm","pnpm dlx skills add Dicklesworthstone\u002Fpi_agent_rust --skill evernote-core-workflow-a","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Fevernote-pack\u002Fskills\u002Fevernote-core-workflow-a\u002FSKILL.md",true,[],[81,119,143,169,193,214],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":85,"licenseFileUrl":86,"sourceHtmlUrl":87,"categories":88,"keywords":92,"publishedAt":48},"01M6FEGPPK0ZTKCCM0R3E3KS33","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Futilities\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Futilities\u002Fweb-artifacts-builder\u002FSKILL.md",[89],{"categoryNo":90,"categoryName":91,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000009","前端开发",[93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,28,111,112,113,114,115,116,117,118],"web artifacts builder","web","artifacts","artifacts builder","builder","frontend","css","components","react","component","routing","state management","state","shadcn","file","ui","Tools","Tailwind","html","single-file","simple","ui components","multi","for","jsx","suite",{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":85,"licenseFileUrl":123,"sourceHtmlUrl":124,"categories":125,"keywords":130,"publishedAt":48},"01M6FEE9VTK1W4GY21AKREJXRG","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fsecurity\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fsecurity\u002Fwebapp-testing\u002FSKILL.md",[126,129],{"categoryNo":127,"categoryName":128,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":90,"categoryName":91,"taxonomyType":21,"taxonomyTypeDesc":22},[131,132,133,98,134,135,94,136,137,138,108,139,140,141,142,32,116],"testing","webapp testing","webapp","screenshots","playwright","debugging","toolkit","browser","logs","applications","behavior","local",{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":147,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":48},"01M6FE20F7ZTQBFWKF4MPJ2SBX","neuropixels-analysis","Neuropixels neural recording analysis. Load SpikeGLX\u002FOpenEphys data, preprocess, motion correction, Kilosort4 spike sorting, quality metrics, Allen\u002FIBL curation, AI-assisted visual analysis, for Neuropixels 1.0\u002F2.0 extracellular electrophysiology. Use when working with neural recordings, spike sorting, extracellular electrophysiology, or when the user mentions Neuropixels, SpikeGLX, Open Ephys, Kilosort, quality metrics, or unit curation.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fneuropixels-analysis\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fneuropixels-analysis\u002FSKILL.md",[],[151,152,153,154,155,156,157,158,28,159,160,161,162,163,164,165,32,166,167,168,116,29],"analysis","neuropixels analysis","spike","metrics","data","open","quality","user","recordings","Neural","motion","visual","quality metrics","unit","sorting","curation","recording","load",{"skillNo":170,"name":171,"nameZh":6,"description":172,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":85,"licenseFileUrl":173,"sourceHtmlUrl":174,"categories":175,"keywords":177,"publishedAt":48},"01M6FDP0PDK6F1GGX395C7625Z","skill-creator","Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fskill-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fskill-creator\u002FSKILL.md",[176],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[178,179,180,46,181,182,183,184,185,186,187,188,189,190,32,116,191,29,192],"skill creator","creator","workflows","update","capabilities","knowledge","tool","integrations","specialized","guide","new skill","existing skill","users","Existing","new",{"skillNo":194,"name":195,"nameZh":6,"description":196,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":197,"sourceHtmlUrl":198,"categories":199,"keywords":201,"publishedAt":48},"01M6FDM8Y7VK7NYG9SM7QPA3PW","notebooklm","Use this skill to query your Google NotebookLM notebooks directly from Claude Code for source-grounded, citation-backed answers from Gemini. Browser automation, library management, persistent auth. Drastically reduced hallucinations through document-only responses.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fnotebooklm\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fnotebooklm\u002FSKILL.md",[200],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[195,202,203,204,205,206,207,138,208,39,28,209,210,211,212,116,213],"google","browser automation","gemini","automation","auth","code","library","only","document","query","Citation","source",{"skillNo":215,"name":216,"nameZh":6,"description":217,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":85,"licenseFileUrl":218,"sourceHtmlUrl":219,"categories":220,"keywords":227,"publishedAt":48},"01M6FDHPXE10J3XGTCH5HBHS1M","slack-gif-creator","Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like \"make me a GIF of X doing Y for Slack.\"","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fenterprise-communication\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fenterprise-communication\u002Fslack-gif-creator\u002FSKILL.md",[221,224],{"categoryNo":222,"categoryName":223,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000005","邮件与沟通",{"categoryNo":225,"categoryName":226,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000016","图像与多媒体",[228,229,230,179,231,109,232,233,183,28,234,190,235,236,237,116,238,29],"slack gif creator","slack","gif","validation","constraints","Animation","me","make","Utilities","concepts","request"]