Logseq Plugin Dev

Comprehensive guide and resources for developing Logseq plugins. Use this skill when asked to: (1) Create a new Logseq plugin, (2) Implement features using the Logseq Plugin API (Editor, App, DB, UI), (3) Debug or refactor existing Logseq plugins, (4) Set up a development environment for Logseq plugins.

223 stars 42 forksAI, LLMs & Agents

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add NeverSight/learn-skills.dev --skill logseq-plugin-dev
Manual install
git clone --depth 1 https://github.com/NeverSight/learn-skills.dev.git /tmp/learn-skills.dev
mkdir -p ~/.claude/skills
cp -r /tmp/learn-skills.dev/data/skills-md/0xrichardh/agent-skills/logseq-plugin-dev ~/.claude/skills/logseq-plugin-dev

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Logseq Plugin Development

This skill helps you build high-quality plugins for Logseq using the `@logseq/libs` SDK.

## Core Concepts

Logseq plugins run in a sandboxed `iframe` and communicate with the main Logseq application via an RPC bridge.

- **Manifest**: Every plugin needs a `package.json` with a `logseq` field.
- **SDK**: Use `@logseq/libs` to interact with Logseq.
- **Lifecycle**: Use `logseq.ready(main)` to initialize your plugin.

## Getting Started

1. **Scaffold**: 
   - Basic TS: `assets/template/`
   - React + Vite: `assets/template-react/`
2. **Install Dependencies**: `npm install @logseq/libs`.
3. **Build**: Use Vite or a similar bundler to package your JS/TS code.
4. **Load**: In Logseq, go to `Settings -> Plugins -> Developer Mode`, then `Load unpacked plugin` and select your plugin directory.

## Common Workflows

### 1. Registering Commands
Use `logseq.Editor.registerSlashCommand` or `logseq.App.registerCommandPalette`.

### 2. Interacting with Content
- **Read**: `logseq.Editor.getCurrentPageBlocksTree()`
- **Write**: `logseq.Editor.insertBlock(parentBlockId, content)`
- **Query**: `logseq.DB.datascriptQuery(query)`

### 3. UI and Theming
- **UI**: Use `logseq.provideUI` to inject HTML or `logseq.showMainUI` to show a full-screen app.
- **Theming**: Use Logseq CSS variables (e.g., `--ls-primary-background-color`) for consistency.

## Resources
Read the full skill on GitHub

Details

Skill name
logseq-plugin-dev
Path
data/skills-md/0xrichardh/agent-skills/logseq-plugin-dev/SKILL.md
Repo updated
18 November 2026

FAQ

What does the Logseq Plugin Dev skill do?

Comprehensive guide and resources for developing Logseq plugins. Use this skill when asked to: (1) Create a new Logseq plugin, (2) Implement features using the Logseq Plugin API (Editor, App, DB, UI), (3) Debug or refactor existing Logseq plugins, (4) Set up a development environment for Logseq plugins.

How do I install the Logseq Plugin Dev skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add NeverSight/learn-skills.dev --skill logseq-plugin-dev. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Logseq Plugin Dev popular?

It lives in NeverSight/learn-skills.dev, which has 223 GitHub stars and 42 forks.

Related skills

Council

223

NeverSight/learn-skills.dev

Convene the Council of High Intelligence — multi-persona deliberation with historical thinkers for deeper analysis of complex problems.

Other42

Megaeth Developer

223

NeverSight/learn-skills.dev

End-to-end MegaETH development playbook (Feb 2026). Covers wallet operations, token swaps (Kyber Network), eth_sendRawTransactionSync (EIP-7966) for instant receipts, JSON-RPC batching, real-time mini-block subscriptions, storage-aware contract patterns (Solady RedBlackTreeLib), MegaEVM gas model, WebSocket keepalive, bridging from Ethereum, and debugging with mega-evme. Use when building on MegaETH, managing wallets, sending transactions, or deploying contracts.

Software Development42

Openclaw Stock Skill

223

NeverSight/learn-skills.dev

使用 data.diemeng.chat 提供的接口查询股票日线、分钟线、财务指标等数据,支持 A 股等市场。

Finance & Crypto42

Look Up a Title

223

NeverSight/learn-skills.dev

Look up where a specific movie or series lands in the goodrecmovies ranking by its IMDb id. Use when checking how good a specific title really is or where it ranks.

AI, LLMs & Agents42

LLM Models

223

NeverSight/learn-skills.dev

Access Claude, Gemini, Kimi, GLM and 100+ LLMs via inference.sh CLI using OpenRouter. Models: Claude Opus 4.5, Claude Sonnet 4.5, Claude Haiku 4.5, Gemini 3 Pro, Kimi K2, GLM-4.6, Intellect 3. One API for all models with automatic fallback and cost optimization. Use for: AI assistants, code generation, reasoning, agents, chat, content generation. Triggers: claude api, openrouter, llm api, claude sonnet, claude opus, gemini api, kimi, language model, gpt alternative, anthropic api, ai model api, llm access, chat api, claude alternative, openai alternative

AI, LLMs & Agents42

Lovable

223

NeverSight/learn-skills.dev

Integration skill for Lovable.dev projects. Activates when working with: - Lovable.dev projects with GitHub sync - Supabase Edge Functions that need deployment - Database migrations for Lovable Cloud - Projects with supabase/ directory structure - Any mention of "Lovable", "deploy edge function", "apply migration" Provides exact Lovable prompts for backend operations that can't be done via GitHub alone.

AI, LLMs & Agents42

Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.