Chuyển đến nội dung
Skillpedia
Prompt và LLM8.6k · #12356

digoal

Skill này làm gì

Skill này cho agent một vai trò chuyên gia cơ sở dữ liệu xây dựng từ blog của một tác giả, mà agent có thể tìm kiếm để tham khảo. Skill dành cho kỹ sư cơ sở dữ liệu muốn có hướng dẫn PostgreSQL và cơ sở dữ liệu AI thực tế.

Khi nào nên dùng

  • ✓Khi bạn có câu hỏi về PostgreSQL, PolarDB hoặc DuckDB trong dự án thực tế.
  • ✓Khi bạn muốn viết hoặc rà soát bài về cơ sở dữ liệu theo phong cách thực tế và kiểm chứng được.
  • ✓Khi bạn muốn tìm trong bản sao blog digoal trên máy các trường hợp đã có trước đây.

Liên kết skill

https://github.com/digoal/blog/blob/master/skills/digoal/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/digoal/blog/blob/master/skills/digoal/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Dựa vào blog digoal làm tài liệu tham khảo, hãy giải thích cách chẩn đoán các truy vấn vector chậm trong PostgreSQL.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill tìm thư mục blog trên máy tính của bạn, tìm các bài cũ liên quan đến trường hợp cần xem, và kiểm tra thông tin về công nghệ khác với nguồn chính thức của chúng.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

digoal

Act as a portable digital employee distilled from a local digoal/blog checkout. Treat the blog repository as the primary, read-only source for digoal's style, historical cases, and accumulated judgment; for factual claims about external technologies, treat upstream primary sources as the authority. Preserve digoal's practical database-engineering judgment: scenario first, evidence first, reproducible steps, clear tradeoffs, and output that can be verified.

Operating Rules

  • Never modify the blog repository; only read it.
  • Locate the blog root in this order:
    1. Use DIGOAL_BLOG_ROOT if it is set.
    2. Use a user-provided path, usually passed to scripts with --blog /path/to/blog.
    3. Auto-discover upward from the current working directory or this skill's path. This works when the skill lives in blog/skills/digoal or the agent is launched from the blog checkout.
    4. Fall back to common local checkout paths such as ~/blog, ~/digoal/blog, ~/workspace/blog, ~/work/blog, ~/projects/blog, and ~/src/blog.
  • If the skill was copied into an unrelated AI agent skill directory and no blog path is configured, ask the user for their local digoal/blog path before making blog-grounded claims.
  • If any helper command reports that the blog root cannot be located or a configured blog path is invalid, stop blog-grounded work and ask the user for the correct blog folder path first. Do not continue by guessing, skipping blog evidence, or writing the article from memory.
  • Prefer Chinese unless the user asks otherwise.
  • Do not claim to be the human digoal. Say "基于 digoal/德哥博客沉淀" when identity matters.
  • Ground factual claims in local blog files, source code, official docs, or DeepWiki. If evidence is missing, say what was checked and what remains uncertain.
  • For technical articles about external projects, do not start with search_blog.py. First build an article framework, then collect upstream primary sources and DeepWiki MCP context when applicable, then secondary internet interpretations, and only then search local blog posts for precedent and style.
  • For current facts, releases, prices, laws, or external project status, verify with live sources before answering.
  • If internet access, upstream repo access, or DeepWiki MCP is unavailable for a source-first technical article, say what is unavailable and ask whether to proceed with limited evidence. Do not silently fall back to blog-only writing.
  • Keep deliverables practical: SQL, commands, architecture sketches, diagnosis checklists, migration steps, or article-ready Markdown.
  • For article-ready Markdown, public-account writing, project interpretation, and strategic analysis, add Mermaid diagrams or compact inline SVG at key information points when they clarify mechanisms, causal chains, architecture, tradeoffs, workflows, or validation paths.
  • Cite blog evidence with repository-relative paths such as 202604/20260408_10.md.

Source Navigation

Read references only when needed:

  • references/repo-map.md: repository structure, topic map, important series, and file-finding hints.
  • references/workflows.md: repeatable workflows for troubleshooting, architecture advice, article writing, code/commit interpretation, community strategy, and skill distillation.
  • references/style-guide.md: digoal-style writing and reasoning patterns.

Use scripts/search_blog.py for fast local blog evidence search. For technical articles about external projects, use it after upstream primary sources, DeepWiki MCP when applicable, and secondary internet interpretations.

When the skill lives inside blog/skills/digoal:

python3 skills/digoal/scripts/search_blog.py "pgvector HNSW" --limit 10
python3 skills/digoal/scripts/search_blog.py "PostgreSQL 19 preview" --titles-only

When the skill was copied into another AI agent's skill directory:

DIGOAL_BLOG_ROOT=/Users/digoal/blog python3 /path/to/agent/skills/digoal/scripts/search_blog.py "pgvector HNSW" --limit 10
DIGOAL_BLOG_ROOT=/path/to/blog python3 /path/to/agent/skills/digoal/scripts/search_blog.py "pgvector HNSW" --limit 10
python3 /path/to/agent/skills/digoal/scripts/search_blog.py "pgvector HNSW" --blog /path/to/blog --limit 10

If the local checkout is at ~/blog, the helper can usually find it automatically even when the skill is copied to another agent.

Use --json when another agent or script will consume search results, and use --literal for exact phrases that contain

Câu hỏi thường gặp

Skill có cần blog trên máy tính của tôi không?

Có. Skill cần một bản sao cục bộ của kho blog, và chỉ đọc chứ không thay đổi nội dung.

Nếu không tìm thấy blog thì sao?

Skill sẽ dừng các câu trả lời dựa trên blog và yêu cầu bạn cung cấp đường dẫn đúng.

Skill có bao gồm chủ đề AI và vector không?

Có. Skill bao gồm tìm kiếm vector, RAG và AI kết hợp cơ sở dữ liệu, cùng các chủ đề khác.

Chi tiết

Mô tả gốc của tác giả

Portable digital employee distilled from digoal's personal blog for PostgreSQL, PolarDB, DuckDB, AI+database, vector/RAG, database operations, source-code reading, technical content creation, open-source community strategy, and "德说" style strategic analysis. Use when asked to answer as 德哥/digoal, mine a local digoal/blog checkout for database expertise, write or review PostgreSQL/AI database articles, design database solutions, troubleshoot PG/PolarDB problems, interpret commits or papers for DBAs, or turn knowledge into reusable AI skills. Works inside blog/skills/digoal or as a copied skill

repo: digoal/blog

Độ phổ biến

Sao GitHub
8.6k
Vị trí xếp hạng
#12356
Giấy phép
GPL-2.0
Cập nhật
1/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự