Toolverse
All skills

datasette-plugin-writer

by simonw

Guide for writing Datasette plugins. This skill should be used when users want to create or develop plugins for Datasette, including information about plugin hooks, the cookiecutter template, database APIs, request/response handling, and plugin configuration.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
simonw
Category
Data Science

About this skill

Guide for writing Datasette plugins. This skill should be used when users want to create or develop plugins for Datasette, including information about plugin hooks, the cookiecutter template, database APIs, request/response handling, and plugin configuration.

How to use

  1. Zainstaluj wtyczkę za pomocą cookiecutter, przygotowując dane: nazwę wtyczki (np. "my cool plugin"), krótki opis, nazwę z myślnikami (np. "my-cool-plugin"), nazwę ze znakami podkreślenia, nazwę użytkownika GitHub i swoje imię. Uruchom polecenie echo z danymi przekierowanymi do cookiecutter, które utworzy katalog projektu.

  2. Przejdź do katalogu projektu i skonfiguruj środowisko: utwórz wirtualne środowisko Pythona, aktywuj je, zainstaluj zależności razem z narzędziami testowymi poleceniem pip install -e '.[test]'.

  3. Zweryfikuj, że wtyczka jest widoczna w systemie, uruchamiając datasette plugins – powinna pojawić się na liście zainstalowanych wtyczek.

  4. Otwórz plik init.py w katalogu wtyczki i zdefiniuj hooki, które chcesz użyć: prepare_connection do rejestrowania funkcji SQL, register_routes do dodawania nowych ścieżek URL, lub inne hooki zgodnie z dokumentacją Datasette.

  5. Dodaj statyczne pliki (CSS, JavaScript) w katalogu static/ i szablony HTML w katalogu templates/, jeśli twoja wtyczka ich wymaga.

  6. Uruchom testy poleceniem python -m pytest, aby upewnić się, że wtyczka działa poprawnie, a następnie opublikuj projekt na GitHubie lub PyPI.

Related skills

skill-installer

by openai

Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).

Data Science
23118

last30days

by sickn33

Research a topic from the last 30 days on Reddit + X + Web, become an expert, and write copy-paste-ready prompts for the user's target tool.

Data Science
2148

moon-dev-trading-agents

by moondevonyt

Master Moon Dev's Ai Agents Github with 48+ specialized agents, multi-exchange support, LLM abstraction, and autonomous trading capabilities across crypto markets

Data Science
102232

ml-paper-writing

by davila7

Write publication-ready ML/AI papers for NeurIPS, ICML, ICLR, ACL, AAAI, COLM. Use when drafting papers from research repos, structuring arguments, verifying citations, or preparing camera-ready submissions. Includes LaTeX templates, reviewer guidelines, and citation

Data Science
2681

notebooklm

by leegonzales

Query Google NotebookLM for source-grounded, citation-backed answers from uploaded documents. Reduces hallucinations through Gemini's document-only responses. Browser automation with library management and persistent authentication.

Data Science
142112

quant-analyst

by zenobi-us

Expert quantitative analyst specializing in financial modeling, algorithmic trading, and risk analytics. Masters statistical methods, derivatives pricing, and high-frequency trading with focus on mathematical rigor, performance optimization, and profitable strategy development.

Data Science
67217