pgfaq
यह क्या करती है
यह स्किल PostgreSQL डेटाबेस के बारे में सवालों के जवाब उसके आधिकारिक दस्तावेज़ों और सोर्स कोड से देती है। यह उन डेटाबेस प्रशासकों और डेवलपर्स के लिए है जिन्हें सटीक PostgreSQL जवाब चाहिए।
कब इस्तेमाल करें
- ✓जब आपके मन में PostgreSQL के व्यवहार, कॉन्फ़िगरेशन या प्रदर्शन पर सवाल हो।
- ✓जब आपको जानना है कि PostgreSQL की कोई सुविधा सोर्स कोड में कैसे काम करती है।
- ✓जब आपको आधिकारिक दस्तावेज़ों से समर्थित PostgreSQL जवाब चाहिए।
Skill का लिंक
https://github.com/digoal/blog/blob/master/skills/pgfaq/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“PostgreSQL index scan या sequential scan में से कौन सा चुने, यह कैसे तय करता है? दस्तावेज़ और सोर्स जांचकर बताइए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह जांचती है कि वह PostgreSQL सोर्स फ़ोल्डर में है, आधिकारिक दस्तावेज़ और संबंधित सोर्स कोड खोजती है, फिर मिले प्रमाण के साथ जवाब देती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
pgfaq
Scope
Use this skill only for questions about the PostgreSQL core open-source project in postgres/postgres.
Refuse the request if it is about a project outside PostgreSQL core, including third-party extensions, plugins, tools, drivers, cloud products, forks, wrappers, or ecosystem projects. State briefly that pgfaq only answers PostgreSQL core questions.
Required Workflow
Confirm the current working directory is a PostgreSQL source checkout.
- Verify expected paths exist, especially
doc/src/sgml. - Prefer
git remote -v,git rev-parse --show-toplevel, and directory checks when needed. - If the current directory is not a PostgreSQL source tree, stop and ask the user to run from a postgres source checkout or provide the correct path.
- Verify expected paths exist, especially
Classify the question before researching.
- Confirm it is within PostgreSQL core scope.
- Identify likely documentation areas under
doc/src/sgml. - Identify likely source areas, such as
src/backend,src/include,src/bin,src/test, orcontribonly when the topic is a PostgreSQL core/contrib module shipped in the postgres repository.
Search local documentation and code first.
- Use
rgfor targeted searches indoc/src/sgmland relevant source directories. - Read the smallest necessary source and documentation excerpts.
- Prefer primary PostgreSQL docs and code over memory.
- Capture exact file paths and line numbers for claims that matter.
- Use
Ask DeepWiki MCP for repository-grounded context.
- Use
mcp__deepwiki__ask_questionwithrepoName: "postgres/postgres". - Ask focused questions tied to the user's topic, not broad general prompts.
- Treat DeepWiki as guidance to cross-check against local code and docs, not as the sole source.
- Use
Synthesize the answer.
- Write in Chinese unless the user asks for another language.
- Make the answer practical and source-backed.
- Include code/doc references as local paths with line numbers when available.
- Distinguish confirmed facts from inference.
- Avoid unsupported advice, folklore, and version claims not backed by the checked source tree or docs.
Validate and revise before saving.
- Send the draft substance to DeepWiki MCP and ask it to check correctness against
postgres/postgres. - Re-check any DeepWiki correction against local docs or source code.
- Revise the answer when a correction is substantiated.
- Repeat the DeepWiki validation and local verification loop until no material correctness issues remain or remaining uncertainty is explicitly documented.
- Send the draft substance to DeepWiki MCP and ask it to check correctness against
Save the final answer as Markdown.
- Ensure the current project has a
markdowndirectory; create it if missing. - Save the final answer under
markdown/with a concise, filesystem-safe filename derived from the question. - Include a short source section listing the key local docs/code files and DeepWiki checks used.
- Tell the user the saved file path.
- Ensure the current project has a
Answer Format
Use this structure unless the user's requested format clearly conflicts:
# <question-title>
## 结论
<direct answer>
## 原理与证据
<explanation grounded in PostgreSQL docs/code>
## 实践建议
<commands, SQL examples, configuration notes, or diagnostic steps when relevant>
## 边界与版本说明
<scope, caveats, source-tree/version limitations, uncertainties>
## 参考来源
- `doc/src/sgml/...`
- `src/...`
- DeepWiki MCP: `postgres/postgres` correctness check
Research Discipline
- Use local PostgreSQL docs and source as the authority.
- Do not answer from memory when code or docs can be checked.
- Do not browse the web unless the user explicitly asks and the answer still stays within PostgreSQL core scope.
- Do not cite DeepWiki as a replacement for local evidence.
- Do not modify PostgreSQL source files while answering.
- Keep changes limited to the generated Markdown file and creating
markdown/if needed.
अक्सर पूछे जाने वाले सवाल
क्या यह PostgreSQL extensions के सवालों का जवाब देती है?
नहीं, यह केवल PostgreSQL मुख्य प्रोजेक्ट को कवर करती है और third-party extensions के अनुरोध मना करती है।
क्या इसे source checkout चाहिए?
हाँ, इसे PostgreSQL सोर्स checkout से चलना होता है।
क्या यह याद से जवाब देती है?
नहीं, स्किल याद के बजाय मूल PostgreSQL दस्तावेज़ और कोड को प्राथमिकता देने को कहती है।
जानकारी
लेखक का मूल विवरण
Answer PostgreSQL core database questions by researching the local postgres source tree, PostgreSQL documentation under doc/src/sgml, relevant source code, and DeepWiki repository knowledge for postgres/postgres; use when the user asks any PostgreSQL database behavior, internals, SQL, configuration, administration, performance, storage, planner, executor, replication, or documentation question and wants a sourced Markdown answer saved to the current project's markdown directory. Refuse questions about non-PostgreSQL-core projects, including PostgreSQL ecosystem plugins, extensions maintained o
repo: digoal/blog
लोकप्रियता
- GitHub स्टार
- 8.6k
- रैंकिंग में स्थान
- #12370
- लाइसेंस
- GPL-2.0
- अपडेट की गई
- 1/11/2026
कमेंट
- …
इस repository की और skills
article-to-podcast-script
8.6kयह आपके एजेंट को Markdown लेख से एक से चार वक्ताओं वाली पॉडकास्ट स्क्रिप्ट बनाने में मदद करती है, जो टेक्स्ट फ़ाइल में सहेजी जाती है।
axiom-explainer
8.6kयह आपके एजेंट को किसी एक दृष्टिकोण, नियम या सिद्धांत को उदाहरणों, सीमाओं और सरल चित्रों के साथ समझाने वाला स्पष्ट चीनी लेख लिखने में मदद करती है।
blog-cover-poster
8.6kयह आपके एजेंट को लेख या नोट्स से वर्टिकल पोस्टर इमेज का सेट बनाने में मदद करती है, जिसमें एक कवर और मुख्य बिंदु समझाने वाली कई स्लाइड हों।
buffett
8.6kयह आपके एजेंट को Warren Buffett की सोच से कंपनी और शेयर पर विचार करने में मदद करती है, moat, प्रबंधन और margin of safety के आधार पर।
मिलती-जुलती skills
discrawl
394kयह आपके एजेंट को Discord संदेशों के सेव किए गए स्थानीय आर्काइव में खोजने, उसका सारांश बनाने और उसकी ताज़गी जांचने में मदद करती है।
clickhouse-io
280kआपके एजेंट को ClickHouse databases में queries और schemas optimize करने में मदद करता है। high-performance analytical workloads के लिए best practices लागू करता है। जब analytical queries बहुत धीमी हों, तब इसका उपयोग करें।
scientific-db-pubmed-database
280kआपके एजेंट को बायोमेडिकल क्षेत्र के वैज्ञानिक लेख खोजने में मदद करता है। जिस रिसर्च में खास मेडिकल जानकारी चाहिए, उसके लिए यह काम का है।