What problem does it solve?
Developing plugins for Logseq's new DB (database) graphs is complex, often undocumented, and prone to specific, hard-to-debug issues. This Skill provides verified knowledge, workarounds, and best practices, saving developers countless hours of trial-and-error and frustration. It ensures your Logseq DB plugins work correctly and efficiently.
Core Features & Use Cases
- DB-Specific API Guidance: Master the unique APIs for creating pages, blocks, and typed properties in Logseq DB graphs, including critical insights into property type inference and correct tagging.
- React Integration Best Practices: Get a complete, verified setup guide for building robust React UIs within Logseq plugins, addressing common issues like
React.StrictMode conflicts and duplicate operations.
- Common Pitfalls & Workarounds: Learn about and avoid critical issues like
DataCloneError with the schema parameter, silent property dropping, and how to handle date properties effectively.
- Use Case: When you're tasked with creating a new Logseq DB plugin to import structured data (e.g., research papers from Zotero) or build a custom UI, use this Skill to guide you through the entire development process, from initial setup to debugging, ensuring a smooth and functional outcome.
Quick Start
Use the logseq-db-plugin-dev skill to help me create a Logseq DB plugin that imports research papers from Zotero, ensuring all properties are correctly typed and a React UI is properly integrated.