[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F6FC29GAVMNKP20S2ZRNV0":3,"skill-same:01M6F6FC29GAVMNKP20S2ZRNV0":82},{"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":50,"linkOnly":51,"markdownContent":52,"markdownBody":53,"frontMatter":54,"refName":59,"commitSha":60,"skillDirectory":61,"forksCount":62,"repositoryHtmlUrl":63,"repositoryHomepageUrl":6,"ownerHtmlUrl":64,"ownerBlogUrl":65,"ownerDescription":66,"updatedAt":67,"install":68,"resources":81},"01M6F6FC29GAVMNKP20S2ZRNV0","evernote-debug-bundle",null,"Debug Evernote API issues with diagnostic tools and techniques.\nUse when troubleshooting API calls, inspecting requests\u002Fresponses,\nor diagnosing integration problems.\nTrigger with phrases like \"debug evernote\", \"evernote diagnostic\",\n\"troubleshoot evernote\", \"evernote logs\", \"inspect evernote\".","Dicklesworthstone\u002Fpi_agent_rust","Dicklesworthstone","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F35050222?v=4","01M6CG26AR942CSVMN1M5E3DSE","Jeff Emanuel","01M6CG26EPP71PSHW1VDS71121",1992,"MIT","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Fevernote-pack\u002Fskills\u002Fevernote-debug-bundle\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49],"debug","evernote","evernote debug bundle","bundle","when","troubleshoot","techniques","inspect","calls","with","trigger","io","use","edit","write","read","node","grep","troubleshooting","Bash","api","Tools","logs","integration","npm","issues","2026-11-10 10:12:30",false,"---\nname: evernote-debug-bundle\ndescription: |\n  Debug Evernote API issues with diagnostic tools and techniques.\n  Use when troubleshooting API calls, inspecting requests\u002Fresponses,\n  or diagnosing integration problems.\n  Trigger with phrases like \"debug evernote\", \"evernote diagnostic\",\n  \"troubleshoot evernote\", \"evernote logs\", \"inspect evernote\".\nallowed-tools: Read, Write, Edit, Bash(npm:*), Bash(node:*), Grep\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\n---\n\n# Evernote Debug Bundle\n\n## Overview\n\nComprehensive debugging toolkit for Evernote API integrations, including request logging, ENML validation, token inspection, and diagnostic utilities.\n\n## Prerequisites\n\n- Evernote SDK installed\n- Node.js environment\n- Understanding of common Evernote errors\n\n## Instructions\n\n### Step 1: Debug Logger\n\n```javascript\n\u002F\u002F utils\u002Fdebug-logger.js\nconst fs = require('fs');\nconst path = require('path');\n\nclass EvernoteDebugLogger {\n  constructor(options = {}) {\n    this.enabled = options.enabled ?? process.env.EVERNOTE_DEBUG === 'true';\n    this.logFile = options.logFile || 'evernote-debug.log';\n    this.logDir = options.logDir || '.\u002Flogs';\n    this.maxLogSize = options.maxLogSize || 10 * 1024 * 1024; \u002F\u002F 10MB\n\n    if (this.enabled) {\n      fs.mkdirSync(this.logDir, { recursive: true });\n    }\n  }\n\n  log(operation, data) {\n    if (!this.enabled) return;\n\n    const entry = {\n      timestamp: new Date().toISOString(),\n      operation,\n      ...data\n    };\n\n    \u002F\u002F Console output\n    console.log(`[EVERNOTE DEBUG] ${operation}`, JSON.stringify(data, null, 2));\n\n    \u002F\u002F File output\n    this.writeToFile(entry);\n  }\n\n  logRequest(operation, params) {\n    this.log(operation, {\n      type: 'REQUEST',\n      params: this.sanitizeParams(params)\n    });\n  }\n\n  logResponse(operation, response) {\n    this.log(operation, {\n      type: 'RESPONSE',\n      response: this.summarizeResponse(response)\n    });\n  }\n\n  logError(operation, error) {\n    this.log(operation, {\n      type: 'ERROR',\n      errorCode: error.errorCode,\n      parameter: error.parameter,\n      identifier: error.identifier,\n      key: error.key,\n      rateLimitDuration: error.rateLimitDuration,\n      message: error.message,\n      stack: error.stack\n    });\n  }\n\n  sanitizeParams(params) {\n    \u002F\u002F Remove sensitive data from logs\n    const sanitized = { ...params };\n    if (sanitized.token) sanitized.token = '[REDACTED]';\n    if (sanitized.password) sanitized.password = '[REDACTED]';\n    if (sanitized.content && sanitized.content.length > 500) {\n      sanitized.content = sanitized.content.substring(0, 500) + '...[truncated]';\n    }\n    return sanitized;\n  }\n\n  summarizeResponse(response) {\n    if (!response) return null;\n\n    \u002F\u002F Summarize common response types\n    if (response.guid) {\n      return {\n        guid: response.guid,\n        title: response.title,\n        created: response.created,\n        updated: response.updated,\n        contentLength: response.content?.length\n      };\n    }\n\n    if (Array.isArray(response)) {\n      return {\n        count: response.length,\n        items: response.slice(0, 3).map(item => ({\n          guid: item.guid,\n          title: item.title || item.name\n        }))\n      };\n    }\n\n    return response;\n  }\n\n  writeToFile(entry) {\n    const filePath = path.join(this.logDir, this.logFile);\n    const line = JSON.stringify(entry) + '\\n';\n\n    try {\n      fs.appendFileSync(filePath, line);\n      this.rotateIfNeeded(filePath);\n    } catch (error) {\n      console.error('Failed to write debug log:', error.message);\n    }\n  }\n\n  rotateIfNeeded(filePath) {\n    try {\n      const stats = fs.statSync(filePath);\n      if (stats.size > this.maxLogSize) {\n        const rotated = `${filePath}.${Date.now()}`;\n        fs.renameSync(filePath, rotated);\n      }\n    } catch (error) {\n      \u002F\u002F Ignore rotation errors\n    }\n  }\n}\n\nmodule.exports = EvernoteDebugLogger;\n```\n\n### Step 2: Instrumented Client Wrapper\n\n```javascript\n\u002F\u002F utils\u002Finstrumented-client.js\nconst Evernote = require('evernote');\nconst EvernoteDebugLogger = require('.\u002Fdebug-logger');\n\nclass InstrumentedEvernoteClient {\n  constructor(client, logger = null) {\n    this.client = client;\n    this.logger = logger || new EvernoteDebugLogger();\n    this._noteStore = null;\n    this._userStore = null;\n  }\n\n  get noteStore() {\n    if (!this._noteStore) {\n      this._noteStore = this.wrapStore(\n        this.client.getNoteStore(),\n        'NoteStore'\n      );\n    }\n    return this._noteStore;\n  }\n\n  get userStore() {\n    if (!this._userStore) {\n      this._userStore = this.wrapStore(\n        this.client.getUserStore(),\n        'UserStore'\n      );\n    }\n    return this._userStore;\n  }\n\n  wrapStore(store, storeName) {\n    const logger = this.logger;\n\n    return new Proxy(store, {\n      get(target, prop) {\n        const original = target[prop];\n\n        if (typeof original !== 'function') {\n          return original;\n        }\n\n        return async (...args) => {\n          const operation = `${storeName}.${prop}`;\n          const startTime = Date.now();\n\n          logger.logRequest(operation, {\n            args: args.map((arg, i) => ({\n              index: i,\n              type: typeof arg,\n              value: typeof arg === 'object' ? arg : String(arg).substring(0, 100)\n            }))\n          });\n\n          try {\n            const result = await original.apply(target, args);\n            const duration = Date.now() - startTime;\n\n            logger.logResponse(operation, {\n              duration,\n              result\n            });\n\n            return result;\n          } catch (error) {\n            const duration = Date.now() - startTime;\n\n            logger.logError(operation, {\n              duration,\n              error\n            });\n\n            throw error;\n          }\n        };\n      }\n    });\n  }\n}\n\nmodule.exports = InstrumentedEvernoteClient;\n```\n\n### Step 3: ENML Validator\n\n```javascript\n\u002F\u002F utils\u002Fenml-validator.js\n\nclass ENMLValidator {\n  static validate(content) {\n    const errors = [];\n    const warnings = [];\n\n    \u002F\u002F Required structure\n    if (!content.includes('\u003C?xml version=\"1.0\"')) {\n      errors.push({\n        type: 'MISSING_XML_DECLARATION',\n        message: 'Missing XML declaration',\n        fix: 'Add: \u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>'\n      });\n    }\n\n    if (!content.includes('\u003C!DOCTYPE en-note')) {\n      errors.push({\n        type: 'MISSING_DOCTYPE',\n        message: 'Missing DOCTYPE declaration',\n        fix: 'Add: \u003C!DOCTYPE en-note SYSTEM \"http:\u002F\u002Fxml.evernote.com\u002Fpub\u002Fenml2.dtd\">'\n      });\n    }\n\n    if (!\u002F\u003Cen-note[^>]*>\u002F.test(content)) {\n      errors.push({\n        type: 'MISSING_ROOT',\n        message: 'Missing \u003Cen-note> root element',\n        fix: 'Wrap content in \u003Cen-note>...\u003C\u002Fen-note>'\n      });\n    }\n\n    if (!content.includes('\u003C\u002Fen-note>')) {\n      errors.push({\n        type: 'UNCLOSED_ROOT',\n        message: 'Missing closing \u003C\u002Fen-note> tag',\n        fix: 'Add closing \u003C\u002Fen-note> tag'\n      });\n    }\n\n    \u002F\u002F Forbidden elements\n    const forbidden = [\n      { pattern: \u002F\u003Cscript\u002Fi, element: 'script' },\n      { pattern: \u002F\u003Cform\u002Fi, element: 'form' },\n      { pattern: \u002F\u003Cinput\u002Fi, element: 'input' },\n      { pattern: \u002F\u003Cbutton\u002Fi, element: 'button' },\n      { pattern: \u002F\u003Ciframe\u002Fi, element: 'iframe' },\n      { pattern: \u002F\u003Cobject\u002Fi, element: 'object' },\n      { pattern: \u002F\u003Cembed\u002Fi, element: 'embed' },\n      { pattern: \u002F\u003Capplet\u002Fi, element: 'applet' },\n      { pattern: \u002F\u003Cmeta\u002Fi, element: 'meta' },\n      { pattern: \u002F\u003Clink\u002Fi, element: 'link' },\n      { pattern: \u002F\u003Cstyle\u002Fi, element: 'style' }\n    ];\n\n    forbidden.forEach(({ pattern, element }) => {\n      if (pattern.test(content)) {\n        errors.push({\n          type: 'FORBIDDEN_ELEMENT',\n          message: `Forbidden element: \u003C${element}>`,\n          fix: `Remove all \u003C${element}> elements`\n        });\n      }\n    });\n\n    \u002F\u002F Forbidden attributes\n    const forbiddenAttrs = [\n      { pattern: \u002F\\sclass\\s*=\u002Fi, attr: 'class' },\n      { pattern: \u002F\\sid\\s*=\u002Fi, attr: 'id' },\n      { pattern: \u002F\\sonclick\\s*=\u002Fi, attr: 'onclick' },\n      { pattern: \u002F\\sonload\\s*=\u002Fi, attr: 'onload' },\n      { pattern: \u002F\\sonerror\\s*=\u002Fi, attr: 'onerror' },\n      { pattern: \u002F\\sonmouseover\\s*=\u002Fi, attr: 'onmouseover' }\n    ];\n\n    forbiddenAttrs.forEach(({ pattern, attr }) => {\n      if (pattern.test(content)) {\n        errors.push({\n          type: 'FORBIDDEN_ATTRIBUTE',\n          message: `Forbidden attribute: ${attr}`,\n          fix: `Remove all ${attr}=\"...\" attributes`\n        });\n      }\n    });\n\n    \u002F\u002F Unclosed tags (basic check)\n    const voidElements = ['br', 'hr', 'img', 'en-media', 'en-todo', 'en-crypt'];\n    const unclosedPattern = \u002F\u003C(br|hr|img|en-media|en-todo)(?![^>]*\\\u002F>)[^>]*>\u002Fgi;\n    const unclosed = content.match(unclosedPattern);\n    if (unclosed) {\n      unclosed.forEach(tag => {\n        warnings.push({\n          type: 'UNCLOSED_VOID_ELEMENT',\n          message: `Void element should be self-closing: ${tag}`,\n          fix: 'Use self-closing syntax: \u003Cbr\u002F>, \u003Chr\u002F>, etc.'\n        });\n      });\n    }\n\n    \u002F\u002F Check en-media hash format\n    const mediaPattern = \u002F\u003Cen-media[^>]*hash=\"([^\"]*)\"[^>]*>\u002Fgi;\n    let match;\n    while ((match = mediaPattern.exec(content)) !== null) {\n      const hash = match[1];\n      if (!\u002F^[a-f0-9]{32}$\u002Fi.test(hash)) {\n        errors.push({\n          type: 'INVALID_MEDIA_HASH',\n          message: `Invalid MD5 hash in en-media: ${hash}`,\n          fix: 'Use valid 32-character MD5 hex hash'\n        });\n      }\n    }\n\n    \u002F\u002F Size warning\n    const sizeBytes = Buffer.byteLength(content, 'utf8');\n    const sizeMB = sizeBytes \u002F (1024 * 1024);\n    if (sizeMB > 25) {\n      warnings.push({\n        type: 'LARGE_CONTENT',\n        message: `Note content is large: ${sizeMB.toFixed(2)} MB`,\n        fix: 'Consider splitting into multiple notes'\n      });\n    }\n\n    return {\n      valid: errors.length === 0,\n      errors,\n      warnings,\n      stats: {\n        sizeBytes,\n        sizeMB: sizeMB.toFixed(2),\n        hasTodos: \u002F\u003Cen-todo\u002F.test(content),\n        hasMedia: \u002F\u003Cen-media\u002F.test(content),\n        hasEncryption: \u002F\u003Cen-crypt\u002F.test(content)\n      }\n    };\n  }\n\n  static fix(content) {\n    let fixed = content;\n\n    \u002F\u002F Add missing XML declaration\n    if (!fixed.includes('\u003C?xml version=\"1.0\"')) {\n      fixed = '\u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n' + fixed;\n    }\n\n    \u002F\u002F Add missing DOCTYPE\n    if (!fixed.includes('\u003C!DOCTYPE en-note')) {\n      fixed = fixed.replace(\n        '\u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>',\n        '\u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n\u003C!DOCTYPE en-note SYSTEM \"http:\u002F\u002Fxml.evernote.com\u002Fpub\u002Fenml2.dtd\">'\n      );\n    }\n\n    \u002F\u002F Remove forbidden elements\n    fixed = fixed.replace(\u002F\u003Cscript[^>]*>[\\s\\S]*?\u003C\\\u002Fscript>\u002Fgi, '');\n    fixed = fixed.replace(\u002F\u003Cform[^>]*>[\\s\\S]*?\u003C\\\u002Fform>\u002Fgi, '');\n    fixed = fixed.replace(\u002F\u003Cstyle[^>]*>[\\s\\S]*?\u003C\\\u002Fstyle>\u002Fgi, '');\n    fixed = fixed.replace(\u002F\u003Ciframe[^>]*>[\\s\\S]*?\u003C\\\u002Fiframe>\u002Fgi, '');\n\n    \u002F\u002F Remove forbidden attributes\n    fixed = fixed.replace(\u002F\\s(class|id|onclick|onload|onerror)=\"[^\"]*\"\u002Fgi, '');\n\n    \u002F\u002F Fix unclosed void elements\n    fixed = fixed.replace(\u002F\u003C(br|hr)(?![^>]*\\\u002F>)([^>]*)>\u002Fgi, '\u003C$1$2\u002F>');\n\n    return fixed;\n  }\n}\n\nmodule.exports = ENMLValidator;\n```\n\n### Step 4: Token Inspector\n\n```javascript\n\u002F\u002F utils\u002Ftoken-inspector.js\n\nclass TokenInspector {\n  static async inspect(client) {\n    const userStore = client.getUserStore();\n    const noteStore = client.getNoteStore();\n\n    const results = {\n      timestamp: new Date().toISOString(),\n      user: null,\n      accounting: null,\n      businessUser: null,\n      notebooks: null,\n      tags: null,\n      errors: []\n    };\n\n    \u002F\u002F User info\n    try {\n      const user = await userStore.getUser();\n      results.user = {\n        id: user.id,\n        username: user.username,\n        email: user.email,\n        name: user.name,\n        timezone: user.timezone,\n        privilege: this.privilegeToString(user.privilege),\n        created: new Date(user.created),\n        updated: new Date(user.updated),\n        active: user.active\n      };\n\n      if (user.accounting) {\n        results.accounting = {\n          uploadLimit: this.formatBytes(user.accounting.uploadLimit),\n          uploaded: this.formatBytes(user.accounting.uploaded),\n          remaining: this.formatBytes(\n            user.accounting.uploadLimit - user.accounting.uploaded\n          ),\n          uploadLimitEnd: new Date(user.accounting.uploadLimitEnd),\n          premiumServiceStart: user.accounting.premiumServiceStart ?\n            new Date(user.accounting.premiumServiceStart) : null\n        };\n      }\n    } catch (error) {\n      results.errors.push({\n        operation: 'getUser',\n        error: error.message\n      });\n    }\n\n    \u002F\u002F Notebook count\n    try {\n      const notebooks = await noteStore.listNotebooks();\n      results.notebooks = {\n        count: notebooks.length,\n        limit: 250,\n        remaining: 250 - notebooks.length\n      };\n    } catch (error) {\n      results.errors.push({\n        operation: 'listNotebooks',\n        error: error.message\n      });\n    }\n\n    \u002F\u002F Tag count\n    try {\n      const tags = await noteStore.listTags();\n      results.tags = {\n        count: tags.length,\n        limit: 100000,\n        remaining: 100000 - tags.length\n      };\n    } catch (error) {\n      results.errors.push({\n        operation: 'listTags',\n        error: error.message\n      });\n    }\n\n    return results;\n  }\n\n  static privilegeToString(privilege) {\n    const map = {\n      1: 'NORMAL',\n      2: 'PREMIUM',\n      3: 'VIP',\n      5: 'MANAGER',\n      7: 'SUPPORT',\n      8: 'ADMIN'\n    };\n    return map[privilege] || 'UNKNOWN';\n  }\n\n  static formatBytes(bytes) {\n    if (!bytes) return '0 B';\n    const units = ['B', 'KB', 'MB', 'GB'];\n    let i = 0;\n    while (bytes >= 1024 && i \u003C units.length - 1) {\n      bytes \u002F= 1024;\n      i++;\n    }\n    return `${bytes.toFixed(2)} ${units[i]}`;\n  }\n}\n\nmodule.exports = TokenInspector;\n```\n\n### Step 5: Diagnostic CLI\n\n```javascript\n\u002F\u002F scripts\u002Fdiagnose.js\nrequire('dotenv').config();\nconst Evernote = require('evernote');\nconst TokenInspector = require('..\u002Futils\u002Ftoken-inspector');\nconst ENMLValidator = require('..\u002Futils\u002Fenml-validator');\n\nasync function runDiagnostics() {\n  console.log('=== Evernote Diagnostic Report ===\\n');\n\n  \u002F\u002F 1. Check environment\n  console.log('1. Environment Check');\n  console.log('-------------------');\n  console.log('EVERNOTE_ACCESS_TOKEN:', process.env.EVERNOTE_ACCESS_TOKEN ? 'Set' : 'NOT SET');\n  console.log('EVERNOTE_SANDBOX:', process.env.EVERNOTE_SANDBOX || 'Not set (defaulting to production)');\n  console.log();\n\n  if (!process.env.EVERNOTE_ACCESS_TOKEN) {\n    console.error('ERROR: No access token configured');\n    process.exit(1);\n  }\n\n  \u002F\u002F 2. Test connection\n  console.log('2. Connection Test');\n  console.log('-----------------');\n\n  const client = new Evernote.Client({\n    token: process.env.EVERNOTE_ACCESS_TOKEN,\n    sandbox: process.env.EVERNOTE_SANDBOX === 'true'\n  });\n\n  try {\n    const inspection = await TokenInspector.inspect(client);\n\n    if (inspection.user) {\n      console.log('User:', inspection.user.username);\n      console.log('Account type:', inspection.user.privilege);\n      console.log('Active:', inspection.user.active);\n    }\n\n    if (inspection.accounting) {\n      console.log('Upload quota:', inspection.accounting.remaining, 'remaining');\n      console.log('Quota resets:', inspection.accounting.uploadLimitEnd);\n    }\n\n    if (inspection.notebooks) {\n      console.log('Notebooks:', inspection.notebooks.count, '\u002F', inspection.notebooks.limit);\n    }\n\n    if (inspection.tags) {\n      console.log('Tags:', inspection.tags.count);\n    }\n\n    if (inspection.errors.length > 0) {\n      console.log('\\nErrors encountered:');\n      inspection.errors.forEach(e => console.log(`  - ${e.operation}: ${e.error}`));\n    }\n\n  } catch (error) {\n    console.error('Connection failed:', error.message);\n    if (error.errorCode === 4) {\n      console.error('Token is invalid. Please re-authenticate.');\n    }\n    if (error.errorCode === 5) {\n      console.error('Token has expired. Please re-authenticate.');\n    }\n    process.exit(1);\n  }\n\n  \u002F\u002F 3. Test note creation\n  console.log('\\n3. Note Creation Test');\n  console.log('--------------------');\n\n  const testContent = `\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>\u003Cp>Diagnostic test note\u003C\u002Fp>\u003C\u002Fen-note>`;\n\n  const validation = ENMLValidator.validate(testContent);\n  console.log('ENML Validation:', validation.valid ? 'PASSED' : 'FAILED');\n  if (!validation.valid) {\n    validation.errors.forEach(e => console.log(`  Error: ${e.message}`));\n  }\n\n  console.log('\\n=== Diagnostic Complete ===');\n}\n\nrunDiagnostics().catch(console.error);\n```\n\n### Step 6: Package.json Scripts\n\n```json\n{\n  \"scripts\": {\n    \"diagnose\": \"node scripts\u002Fdiagnose.js\",\n    \"diagnose:verbose\": \"EVERNOTE_DEBUG=true node scripts\u002Fdiagnose.js\",\n    \"validate:enml\": \"node -e \\\"require('.\u002Futils\u002Fenml-validator').validate(require('fs').readFileSync(process.argv[1], 'utf8'))\\\" --\"\n  }\n}\n```\n\n## Output\n\n- Debug logger with request\u002Fresponse tracking\n- Instrumented client wrapper for automatic logging\n- ENML validator with auto-fix capability\n- Token and account inspector\n- Diagnostic CLI script\n\n## Usage\n\n```bash\n# Run full diagnostics\nnpm run diagnose\n\n# Run with verbose logging\nnpm run diagnose:verbose\n\n# Validate ENML file\nnpm run validate:enml note-content.xml\n```\n\n## Error Handling\n\n| Issue | Diagnostic | Solution |\n|-------|------------|----------|\n| Auth failures | Check token in logs | Re-authenticate |\n| ENML errors | Use ENMLValidator | Auto-fix with validator |\n| Rate limits | Check request frequency in logs | Add delays |\n| Missing data | Inspect response logs | Check API parameters |\n\n## Resources\n\n- [Error Handling](https:\u002F\u002Fdev.evernote.com\u002Fdoc\u002Farticles\u002Ferror_handling.php)\n- [ENML DTD](http:\u002F\u002Fxml.evernote.com\u002Fpub\u002Fenml2.dtd)\n- [API Reference](https:\u002F\u002Fdev.evernote.com\u002Fdoc\u002Freference\u002F)\n\n## Next Steps\n\nFor rate limit handling, see `evernote-rate-limits`.\n","# Evernote Debug Bundle\n\n## Overview\n\nComprehensive debugging toolkit for Evernote API integrations, including request logging, ENML validation, token inspection, and diagnostic utilities.\n\n## Prerequisites\n\n- Evernote SDK installed\n- Node.js environment\n- Understanding of common Evernote errors\n\n## Instructions\n\n### Step 1: Debug Logger\n\n```javascript\n\u002F\u002F utils\u002Fdebug-logger.js\nconst fs = require('fs');\nconst path = require('path');\n\nclass EvernoteDebugLogger {\n  constructor(options = {}) {\n    this.enabled = options.enabled ?? process.env.EVERNOTE_DEBUG === 'true';\n    this.logFile = options.logFile || 'evernote-debug.log';\n    this.logDir = options.logDir || '.\u002Flogs';\n    this.maxLogSize = options.maxLogSize || 10 * 1024 * 1024; \u002F\u002F 10MB\n\n    if (this.enabled) {\n      fs.mkdirSync(this.logDir, { recursive: true });\n    }\n  }\n\n  log(operation, data) {\n    if (!this.enabled) return;\n\n    const entry = {\n      timestamp: new Date().toISOString(),\n      operation,\n      ...data\n    };\n\n    \u002F\u002F Console output\n    console.log(`[EVERNOTE DEBUG] ${operation}`, JSON.stringify(data, null, 2));\n\n    \u002F\u002F File output\n    this.writeToFile(entry);\n  }\n\n  logRequest(operation, params) {\n    this.log(operation, {\n      type: 'REQUEST',\n      params: this.sanitizeParams(params)\n    });\n  }\n\n  logResponse(operation, response) {\n    this.log(operation, {\n      type: 'RESPONSE',\n      response: this.summarizeResponse(response)\n    });\n  }\n\n  logError(operation, error) {\n    this.log(operation, {\n      type: 'ERROR',\n      errorCode: error.errorCode,\n      parameter: error.parameter,\n      identifier: error.identifier,\n      key: error.key,\n      rateLimitDuration: error.rateLimitDuration,\n      message: error.message,\n      stack: error.stack\n    });\n  }\n\n  sanitizeParams(params) {\n    \u002F\u002F Remove sensitive data from logs\n    const sanitized = { ...params };\n    if (sanitized.token) sanitized.token = '[REDACTED]';\n    if (sanitized.password) sanitized.password = '[REDACTED]';\n    if (sanitized.content && sanitized.content.length > 500) {\n      sanitized.content = sanitized.content.substring(0, 500) + '...[truncated]';\n    }\n    return sanitized;\n  }\n\n  summarizeResponse(response) {\n    if (!response) return null;\n\n    \u002F\u002F Summarize common response types\n    if (response.guid) {\n      return {\n        guid: response.guid,\n        title: response.title,\n        created: response.created,\n        updated: response.updated,\n        contentLength: response.content?.length\n      };\n    }\n\n    if (Array.isArray(response)) {\n      return {\n        count: response.length,\n        items: response.slice(0, 3).map(item => ({\n          guid: item.guid,\n          title: item.title || item.name\n        }))\n      };\n    }\n\n    return response;\n  }\n\n  writeToFile(entry) {\n    const filePath = path.join(this.logDir, this.logFile);\n    const line = JSON.stringify(entry) + '\\n';\n\n    try {\n      fs.appendFileSync(filePath, line);\n      this.rotateIfNeeded(filePath);\n    } catch (error) {\n      console.error('Failed to write debug log:', error.message);\n    }\n  }\n\n  rotateIfNeeded(filePath) {\n    try {\n      const stats = fs.statSync(filePath);\n      if (stats.size > this.maxLogSize) {\n        const rotated = `${filePath}.${Date.now()}`;\n        fs.renameSync(filePath, rotated);\n      }\n    } catch (error) {\n      \u002F\u002F Ignore rotation errors\n    }\n  }\n}\n\nmodule.exports = EvernoteDebugLogger;\n```\n\n### Step 2: Instrumented Client Wrapper\n\n```javascript\n\u002F\u002F utils\u002Finstrumented-client.js\nconst Evernote = require('evernote');\nconst EvernoteDebugLogger = require('.\u002Fdebug-logger');\n\nclass InstrumentedEvernoteClient {\n  constructor(client, logger = null) {\n    this.client = client;\n    this.logger = logger || new EvernoteDebugLogger();\n    this._noteStore = null;\n    this._userStore = null;\n  }\n\n  get noteStore() {\n    if (!this._noteStore) {\n      this._noteStore = this.wrapStore(\n        this.client.getNoteStore(),\n        'NoteStore'\n      );\n    }\n    return this._noteStore;\n  }\n\n  get userStore() {\n    if (!this._userStore) {\n      this._userStore = this.wrapStore(\n        this.client.getUserStore(),\n        'UserStore'\n      );\n    }\n    return this._userStore;\n  }\n\n  wrapStore(store, storeName) {\n    const logger = this.logger;\n\n    return new Proxy(store, {\n      get(target, prop) {\n        const original = target[prop];\n\n        if (typeof original !== 'function') {\n          return original;\n        }\n\n        return async (...args) => {\n          const operation = `${storeName}.${prop}`;\n          const startTime = Date.now();\n\n          logger.logRequest(operation, {\n            args: args.map((arg, i) => ({\n              index: i,\n              type: typeof arg,\n              value: typeof arg === 'object' ? arg : String(arg).substring(0, 100)\n            }))\n          });\n\n          try {\n            const result = await original.apply(target, args);\n            const duration = Date.now() - startTime;\n\n            logger.logResponse(operation, {\n              duration,\n              result\n            });\n\n            return result;\n          } catch (error) {\n            const duration = Date.now() - startTime;\n\n            logger.logError(operation, {\n              duration,\n              error\n            });\n\n            throw error;\n          }\n        };\n      }\n    });\n  }\n}\n\nmodule.exports = InstrumentedEvernoteClient;\n```\n\n### Step 3: ENML Validator\n\n```javascript\n\u002F\u002F utils\u002Fenml-validator.js\n\nclass ENMLValidator {\n  static validate(content) {\n    const errors = [];\n    const warnings = [];\n\n    \u002F\u002F Required structure\n    if (!content.includes('\u003C?xml version=\"1.0\"')) {\n      errors.push({\n        type: 'MISSING_XML_DECLARATION',\n        message: 'Missing XML declaration',\n        fix: 'Add: \u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>'\n      });\n    }\n\n    if (!content.includes('\u003C!DOCTYPE en-note')) {\n      errors.push({\n        type: 'MISSING_DOCTYPE',\n        message: 'Missing DOCTYPE declaration',\n        fix: 'Add: \u003C!DOCTYPE en-note SYSTEM \"http:\u002F\u002Fxml.evernote.com\u002Fpub\u002Fenml2.dtd\">'\n      });\n    }\n\n    if (!\u002F\u003Cen-note[^>]*>\u002F.test(content)) {\n      errors.push({\n        type: 'MISSING_ROOT',\n        message: 'Missing \u003Cen-note> root element',\n        fix: 'Wrap content in \u003Cen-note>...\u003C\u002Fen-note>'\n      });\n    }\n\n    if (!content.includes('\u003C\u002Fen-note>')) {\n      errors.push({\n        type: 'UNCLOSED_ROOT',\n        message: 'Missing closing \u003C\u002Fen-note> tag',\n        fix: 'Add closing \u003C\u002Fen-note> tag'\n      });\n    }\n\n    \u002F\u002F Forbidden elements\n    const forbidden = [\n      { pattern: \u002F\u003Cscript\u002Fi, element: 'script' },\n      { pattern: \u002F\u003Cform\u002Fi, element: 'form' },\n      { pattern: \u002F\u003Cinput\u002Fi, element: 'input' },\n      { pattern: \u002F\u003Cbutton\u002Fi, element: 'button' },\n      { pattern: \u002F\u003Ciframe\u002Fi, element: 'iframe' },\n      { pattern: \u002F\u003Cobject\u002Fi, element: 'object' },\n      { pattern: \u002F\u003Cembed\u002Fi, element: 'embed' },\n      { pattern: \u002F\u003Capplet\u002Fi, element: 'applet' },\n      { pattern: \u002F\u003Cmeta\u002Fi, element: 'meta' },\n      { pattern: \u002F\u003Clink\u002Fi, element: 'link' },\n      { pattern: \u002F\u003Cstyle\u002Fi, element: 'style' }\n    ];\n\n    forbidden.forEach(({ pattern, element }) => {\n      if (pattern.test(content)) {\n        errors.push({\n          type: 'FORBIDDEN_ELEMENT',\n          message: `Forbidden element: \u003C${element}>`,\n          fix: `Remove all \u003C${element}> elements`\n        });\n      }\n    });\n\n    \u002F\u002F Forbidden attributes\n    const forbiddenAttrs = [\n      { pattern: \u002F\\sclass\\s*=\u002Fi, attr: 'class' },\n      { pattern: \u002F\\sid\\s*=\u002Fi, attr: 'id' },\n      { pattern: \u002F\\sonclick\\s*=\u002Fi, attr: 'onclick' },\n      { pattern: \u002F\\sonload\\s*=\u002Fi, attr: 'onload' },\n      { pattern: \u002F\\sonerror\\s*=\u002Fi, attr: 'onerror' },\n      { pattern: \u002F\\sonmouseover\\s*=\u002Fi, attr: 'onmouseover' }\n    ];\n\n    forbiddenAttrs.forEach(({ pattern, attr }) => {\n      if (pattern.test(content)) {\n        errors.push({\n          type: 'FORBIDDEN_ATTRIBUTE',\n          message: `Forbidden attribute: ${attr}`,\n          fix: `Remove all ${attr}=\"...\" attributes`\n        });\n      }\n    });\n\n    \u002F\u002F Unclosed tags (basic check)\n    const voidElements = ['br', 'hr', 'img', 'en-media', 'en-todo', 'en-crypt'];\n    const unclosedPattern = \u002F\u003C(br|hr|img|en-media|en-todo)(?![^>]*\\\u002F>)[^>]*>\u002Fgi;\n    const unclosed = content.match(unclosedPattern);\n    if (unclosed) {\n      unclosed.forEach(tag => {\n        warnings.push({\n          type: 'UNCLOSED_VOID_ELEMENT',\n          message: `Void element should be self-closing: ${tag}`,\n          fix: 'Use self-closing syntax: \u003Cbr\u002F>, \u003Chr\u002F>, etc.'\n        });\n      });\n    }\n\n    \u002F\u002F Check en-media hash format\n    const mediaPattern = \u002F\u003Cen-media[^>]*hash=\"([^\"]*)\"[^>]*>\u002Fgi;\n    let match;\n    while ((match = mediaPattern.exec(content)) !== null) {\n      const hash = match[1];\n      if (!\u002F^[a-f0-9]{32}$\u002Fi.test(hash)) {\n        errors.push({\n          type: 'INVALID_MEDIA_HASH',\n          message: `Invalid MD5 hash in en-media: ${hash}`,\n          fix: 'Use valid 32-character MD5 hex hash'\n        });\n      }\n    }\n\n    \u002F\u002F Size warning\n    const sizeBytes = Buffer.byteLength(content, 'utf8');\n    const sizeMB = sizeBytes \u002F (1024 * 1024);\n    if (sizeMB > 25) {\n      warnings.push({\n        type: 'LARGE_CONTENT',\n        message: `Note content is large: ${sizeMB.toFixed(2)} MB`,\n        fix: 'Consider splitting into multiple notes'\n      });\n    }\n\n    return {\n      valid: errors.length === 0,\n      errors,\n      warnings,\n      stats: {\n        sizeBytes,\n        sizeMB: sizeMB.toFixed(2),\n        hasTodos: \u002F\u003Cen-todo\u002F.test(content),\n        hasMedia: \u002F\u003Cen-media\u002F.test(content),\n        hasEncryption: \u002F\u003Cen-crypt\u002F.test(content)\n      }\n    };\n  }\n\n  static fix(content) {\n    let fixed = content;\n\n    \u002F\u002F Add missing XML declaration\n    if (!fixed.includes('\u003C?xml version=\"1.0\"')) {\n      fixed = '\u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n' + fixed;\n    }\n\n    \u002F\u002F Add missing DOCTYPE\n    if (!fixed.includes('\u003C!DOCTYPE en-note')) {\n      fixed = fixed.replace(\n        '\u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>',\n        '\u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n\u003C!DOCTYPE en-note SYSTEM \"http:\u002F\u002Fxml.evernote.com\u002Fpub\u002Fenml2.dtd\">'\n      );\n    }\n\n    \u002F\u002F Remove forbidden elements\n    fixed = fixed.replace(\u002F\u003Cscript[^>]*>[\\s\\S]*?\u003C\\\u002Fscript>\u002Fgi, '');\n    fixed = fixed.replace(\u002F\u003Cform[^>]*>[\\s\\S]*?\u003C\\\u002Fform>\u002Fgi, '');\n    fixed = fixed.replace(\u002F\u003Cstyle[^>]*>[\\s\\S]*?\u003C\\\u002Fstyle>\u002Fgi, '');\n    fixed = fixed.replace(\u002F\u003Ciframe[^>]*>[\\s\\S]*?\u003C\\\u002Fiframe>\u002Fgi, '');\n\n    \u002F\u002F Remove forbidden attributes\n    fixed = fixed.replace(\u002F\\s(class|id|onclick|onload|onerror)=\"[^\"]*\"\u002Fgi, '');\n\n    \u002F\u002F Fix unclosed void elements\n    fixed = fixed.replace(\u002F\u003C(br|hr)(?![^>]*\\\u002F>)([^>]*)>\u002Fgi, '\u003C$1$2\u002F>');\n\n    return fixed;\n  }\n}\n\nmodule.exports = ENMLValidator;\n```\n\n### Step 4: Token Inspector\n\n```javascript\n\u002F\u002F utils\u002Ftoken-inspector.js\n\nclass TokenInspector {\n  static async inspect(client) {\n    const userStore = client.getUserStore();\n    const noteStore = client.getNoteStore();\n\n    const results = {\n      timestamp: new Date().toISOString(),\n      user: null,\n      accounting: null,\n      businessUser: null,\n      notebooks: null,\n      tags: null,\n      errors: []\n    };\n\n    \u002F\u002F User info\n    try {\n      const user = await userStore.getUser();\n      results.user = {\n        id: user.id,\n        username: user.username,\n        email: user.email,\n        name: user.name,\n        timezone: user.timezone,\n        privilege: this.privilegeToString(user.privilege),\n        created: new Date(user.created),\n        updated: new Date(user.updated),\n        active: user.active\n      };\n\n      if (user.accounting) {\n        results.accounting = {\n          uploadLimit: this.formatBytes(user.accounting.uploadLimit),\n          uploaded: this.formatBytes(user.accounting.uploaded),\n          remaining: this.formatBytes(\n            user.accounting.uploadLimit - user.accounting.uploaded\n          ),\n          uploadLimitEnd: new Date(user.accounting.uploadLimitEnd),\n          premiumServiceStart: user.accounting.premiumServiceStart ?\n            new Date(user.accounting.premiumServiceStart) : null\n        };\n      }\n    } catch (error) {\n      results.errors.push({\n        operation: 'getUser',\n        error: error.message\n      });\n    }\n\n    \u002F\u002F Notebook count\n    try {\n      const notebooks = await noteStore.listNotebooks();\n      results.notebooks = {\n        count: notebooks.length,\n        limit: 250,\n        remaining: 250 - notebooks.length\n      };\n    } catch (error) {\n      results.errors.push({\n        operation: 'listNotebooks',\n        error: error.message\n      });\n    }\n\n    \u002F\u002F Tag count\n    try {\n      const tags = await noteStore.listTags();\n      results.tags = {\n        count: tags.length,\n        limit: 100000,\n        remaining: 100000 - tags.length\n      };\n    } catch (error) {\n      results.errors.push({\n        operation: 'listTags',\n        error: error.message\n      });\n    }\n\n    return results;\n  }\n\n  static privilegeToString(privilege) {\n    const map = {\n      1: 'NORMAL',\n      2: 'PREMIUM',\n      3: 'VIP',\n      5: 'MANAGER',\n      7: 'SUPPORT',\n      8: 'ADMIN'\n    };\n    return map[privilege] || 'UNKNOWN';\n  }\n\n  static formatBytes(bytes) {\n    if (!bytes) return '0 B';\n    const units = ['B', 'KB', 'MB', 'GB'];\n    let i = 0;\n    while (bytes >= 1024 && i \u003C units.length - 1) {\n      bytes \u002F= 1024;\n      i++;\n    }\n    return `${bytes.toFixed(2)} ${units[i]}`;\n  }\n}\n\nmodule.exports = TokenInspector;\n```\n\n### Step 5: Diagnostic CLI\n\n```javascript\n\u002F\u002F scripts\u002Fdiagnose.js\nrequire('dotenv').config();\nconst Evernote = require('evernote');\nconst TokenInspector = require('..\u002Futils\u002Ftoken-inspector');\nconst ENMLValidator = require('..\u002Futils\u002Fenml-validator');\n\nasync function runDiagnostics() {\n  console.log('=== Evernote Diagnostic Report ===\\n');\n\n  \u002F\u002F 1. Check environment\n  console.log('1. Environment Check');\n  console.log('-------------------');\n  console.log('EVERNOTE_ACCESS_TOKEN:', process.env.EVERNOTE_ACCESS_TOKEN ? 'Set' : 'NOT SET');\n  console.log('EVERNOTE_SANDBOX:', process.env.EVERNOTE_SANDBOX || 'Not set (defaulting to production)');\n  console.log();\n\n  if (!process.env.EVERNOTE_ACCESS_TOKEN) {\n    console.error('ERROR: No access token configured');\n    process.exit(1);\n  }\n\n  \u002F\u002F 2. Test connection\n  console.log('2. Connection Test');\n  console.log('-----------------');\n\n  const client = new Evernote.Client({\n    token: process.env.EVERNOTE_ACCESS_TOKEN,\n    sandbox: process.env.EVERNOTE_SANDBOX === 'true'\n  });\n\n  try {\n    const inspection = await TokenInspector.inspect(client);\n\n    if (inspection.user) {\n      console.log('User:', inspection.user.username);\n      console.log('Account type:', inspection.user.privilege);\n      console.log('Active:', inspection.user.active);\n    }\n\n    if (inspection.accounting) {\n      console.log('Upload quota:', inspection.accounting.remaining, 'remaining');\n      console.log('Quota resets:', inspection.accounting.uploadLimitEnd);\n    }\n\n    if (inspection.notebooks) {\n      console.log('Notebooks:', inspection.notebooks.count, '\u002F', inspection.notebooks.limit);\n    }\n\n    if (inspection.tags) {\n      console.log('Tags:', inspection.tags.count);\n    }\n\n    if (inspection.errors.length > 0) {\n      console.log('\\nErrors encountered:');\n      inspection.errors.forEach(e => console.log(`  - ${e.operation}: ${e.error}`));\n    }\n\n  } catch (error) {\n    console.error('Connection failed:', error.message);\n    if (error.errorCode === 4) {\n      console.error('Token is invalid. Please re-authenticate.');\n    }\n    if (error.errorCode === 5) {\n      console.error('Token has expired. Please re-authenticate.');\n    }\n    process.exit(1);\n  }\n\n  \u002F\u002F 3. Test note creation\n  console.log('\\n3. Note Creation Test');\n  console.log('--------------------');\n\n  const testContent = `\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>\u003Cp>Diagnostic test note\u003C\u002Fp>\u003C\u002Fen-note>`;\n\n  const validation = ENMLValidator.validate(testContent);\n  console.log('ENML Validation:', validation.valid ? 'PASSED' : 'FAILED');\n  if (!validation.valid) {\n    validation.errors.forEach(e => console.log(`  Error: ${e.message}`));\n  }\n\n  console.log('\\n=== Diagnostic Complete ===');\n}\n\nrunDiagnostics().catch(console.error);\n```\n\n### Step 6: Package.json Scripts\n\n```json\n{\n  \"scripts\": {\n    \"diagnose\": \"node scripts\u002Fdiagnose.js\",\n    \"diagnose:verbose\": \"EVERNOTE_DEBUG=true node scripts\u002Fdiagnose.js\",\n    \"validate:enml\": \"node -e \\\"require('.\u002Futils\u002Fenml-validator').validate(require('fs').readFileSync(process.argv[1], 'utf8'))\\\" --\"\n  }\n}\n```\n\n## Output\n\n- Debug logger with request\u002Fresponse tracking\n- Instrumented client wrapper for automatic logging\n- ENML validator with auto-fix capability\n- Token and account inspector\n- Diagnostic CLI script\n\n## Usage\n\n```bash\n# Run full diagnostics\nnpm run diagnose\n\n# Run with verbose logging\nnpm run diagnose:verbose\n\n# Validate ENML file\nnpm run validate:enml note-content.xml\n```\n\n## Error Handling\n\n| Issue | Diagnostic | Solution |\n|-------|------------|----------|\n| Auth failures | Check token in logs | Re-authenticate |\n| ENML errors | Use ENMLValidator | Auto-fix with validator |\n| Rate limits | Check request frequency in logs | Add delays |\n| Missing data | Inspect response logs | Check API parameters |\n\n## Resources\n\n- [Error Handling](https:\u002F\u002Fdev.evernote.com\u002Fdoc\u002Farticles\u002Ferror_handling.php)\n- [ENML DTD](http:\u002F\u002Fxml.evernote.com\u002Fpub\u002Fenml2.dtd)\n- [API Reference](https:\u002F\u002Fdev.evernote.com\u002Fdoc\u002Freference\u002F)\n\n## Next Steps\n\nFor rate limit handling, see `evernote-rate-limits`.\n",{"name":5,"author":55,"license":15,"version":56,"description":57,"allowed-tools":58},"Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Debug Evernote API issues with diagnostic tools and techniques.\nUse when troubleshooting API calls, inspecting requests\u002Fresponses,\nor diagnosing integration problems.\nTrigger with phrases like \"debug evernote\", \"evernote diagnostic\",\n\"troubleshoot evernote\", \"evernote logs\", \"inspect evernote\".\n","Read, Write, Edit, Bash(npm:*), Bash(node:*), Grep","main","90b50ed0778745a80fd5bfb13b1843d45b9e82f7","tests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Fevernote-pack\u002Fskills\u002Fevernote-debug-bundle",233,"https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust","https:\u002F\u002Fgithub.com\u002FDicklesworthstone","https:\u002F\u002Fwww.jeffreyemanuel.com\u002F","Building in NY","2026-11-15 01:54:15",{"source":8,"skillName":5,"commands":69,"prompt":79,"zipAvailable":80},[70,73,76],{"tool":71,"command":72},"npx","npx skills add Dicklesworthstone\u002Fpi_agent_rust --skill evernote-debug-bundle",{"tool":74,"command":75},"bunx","bunx skills add Dicklesworthstone\u002Fpi_agent_rust --skill evernote-debug-bundle",{"tool":77,"command":78},"pnpm","pnpm dlx skills add Dicklesworthstone\u002Fpi_agent_rust --skill evernote-debug-bundle","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Fevernote-pack\u002Fskills\u002Fevernote-debug-bundle\u002FSKILL.md",true,[],[83,116,150,172,198,225],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":87,"licenseFileUrl":88,"sourceHtmlUrl":89,"categories":90,"keywords":96,"publishedAt":115},"01M6FCR7G5A005P364Z6ZWCJDP","theme-factory","Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors\u002Ffonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fcreative-design\u002Ftheme-factory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fcreative-design\u002Ftheme-factory\u002FSKILL.md",[91],{"categoryNo":92,"categoryName":93,"taxonomyType":94,"taxonomyTypeDesc":95},"01JBSEEDCAT000000000000015","视觉设计","SCENARIO","使用场景",[97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,33,113,114],"theme factory","factory","theme","docs","toolkit","generate","artifacts","SET","fly","slides","landing","html","styling","artifact","pages","themes","you","fonts","2026-11-11 15:11:14",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":87,"licenseFileUrl":120,"sourceHtmlUrl":121,"categories":122,"keywords":126,"publishedAt":50},"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.","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",[123],{"categoryNo":124,"categoryName":125,"taxonomyType":94,"taxonomyTypeDesc":95},"01JBSEEDCAT000000000000009","前端开发",[127,128,103,129,130,131,132,133,134,135,136,137,138,139,140,141,45,142,36,108,143,144,145,146,147,148,149],"web artifacts builder","web","artifacts builder","builder","frontend","css","components","react","component","routing","state management","state","shadcn","file","ui","Tailwind","single-file","simple","ui components","multi","for","jsx","suite",{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":87,"licenseFileUrl":154,"sourceHtmlUrl":155,"categories":156,"keywords":161,"publishedAt":50},"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",[157,160],{"categoryNo":158,"categoryName":159,"taxonomyType":94,"taxonomyTypeDesc":95},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":124,"categoryName":125,"taxonomyType":94,"taxonomyTypeDesc":95},[162,163,164,131,165,166,128,167,101,168,141,46,169,170,171,33,147],"testing","webapp testing","webapp","screenshots","playwright","debugging","browser","applications","behavior","local",{"skillNo":173,"name":174,"nameZh":6,"description":175,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":176,"sourceHtmlUrl":177,"categories":178,"keywords":179,"publishedAt":50},"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",[],[180,181,182,183,184,185,186,187,36,188,189,190,191,192,193,194,33,195,196,197,147,28],"analysis","neuropixels analysis","spike","metrics","data","open","quality","user","recordings","Neural","motion","visual","quality metrics","unit","sorting","curation","recording","load",{"skillNo":199,"name":200,"nameZh":6,"description":201,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":87,"licenseFileUrl":202,"sourceHtmlUrl":203,"categories":204,"keywords":208,"publishedAt":50},"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",[205],{"categoryNo":206,"categoryName":207,"taxonomyType":94,"taxonomyTypeDesc":95},"01JBSEEDCAT000000000000023","Skill与智能体开发",[209,210,211,212,213,214,215,216,217,218,219,220,221,222,33,147,223,28,224],"skill creator","creator","workflows","create","update","capabilities","knowledge","tool","integrations","specialized","guide","new skill","existing skill","users","Existing","new",{"skillNo":226,"name":227,"nameZh":6,"description":228,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":229,"sourceHtmlUrl":230,"categories":231,"keywords":233,"publishedAt":50},"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",[232],{"categoryNo":206,"categoryName":207,"taxonomyType":94,"taxonomyTypeDesc":95},[227,234,235,236,237,238,239,168,240,241,36,242,243,244,245,147,246],"google","browser automation","gemini","automation","auth","code","library","management","only","document","query","Citation","source"]