·dart-drift
</>

dart-drift

madteacher/mad-agents-skills

在 Dart 應用程序(CLI、服務器端、非 Flutter)中使用漂移數據庫的完整指南。在構建需要本地 SQLite 數據庫存儲或 PostgreSQL 連接以及類型安全查詢、反應流、遷移和高效 CRUD 操作的 Dart 應用程序時使用。包括 sqlite3 包的設置、drift_postgres 的 PostgreSQL 支持、連接池和服務器端模式。

65安裝·3熱度·@madteacher

安裝

$npx skills add https://github.com/madteacher/mad-agents-skills --skill dart-drift

SKILL.md

Comprehensive guide for using drift database library in Dart applications.

Dart Drift skill provides complete guidance for implementing persistent storage in Dart applications (CLI tools, backend services, non-Flutter desktop apps) using the drift library. Drift is a reactive persistence library for Dart built on SQLite, with optional PostgreSQL support, offering type-safe queries, auto-updating streams, schema migrations, and cross-platform database connections.

在 Dart 應用程序(CLI、服務器端、非 Flutter)中使用漂移數據庫的完整指南。在構建需要本地 SQLite 數據庫存儲或 PostgreSQL 連接以及類型安全查詢、反應流、遷移和高效 CRUD 操作的 Dart 應用程序時使用。包括 sqlite3 包的設置、drift_postgres 的 PostgreSQL 支持、連接池和服務器端模式。 來源:madteacher/mad-agents-skills。

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/madteacher/mad-agents-skills --skill dart-drift 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/madteacher/mad-agents-skills --skill dart-drift
分類
</>開發工具
認證
收錄時間
2026-02-01
更新時間
2026-02-18

快速解答

什麼是 dart-drift?

在 Dart 應用程序(CLI、服務器端、非 Flutter)中使用漂移數據庫的完整指南。在構建需要本地 SQLite 數據庫存儲或 PostgreSQL 連接以及類型安全查詢、反應流、遷移和高效 CRUD 操作的 Dart 應用程序時使用。包括 sqlite3 包的設置、drift_postgres 的 PostgreSQL 支持、連接池和服務器端模式。 來源:madteacher/mad-agents-skills。

如何安裝 dart-drift?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/madteacher/mad-agents-skills --skill dart-drift 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/madteacher/mad-agents-skills