मुख्य सामग्री पर जाएँ
Skillpedia
लेखन8.6k · #12371

postgres-commit-history-article

यह क्या करती है

यह स्किल दो commits के बीच PostgreSQL commit इतिहास देखती है और डेटाबेस उपयोगकर्ताओं के लिए काम के बदलावों पर लेख लिखती है। यह उन DBA और डेवलपर्स के लिए है जो PostgreSQL रिलीज़ पर नज़र रखते हैं।

कब इस्तेमाल करें

  • ✓जब आप जानना चाहते हैं कि दो commits के बीच PostgreSQL में क्या बदला।
  • ✓जब आपको DBA और डेवलपर्स के लिए नई PostgreSQL सुविधाओं पर लेख चाहिए।
  • ✓जब उपयोग के उदाहरण PostgreSQL परीक्षणों या दस्तावेज़ों से जांचने हों।

Skill का लिंक

https://github.com/digoal/blog/blob/master/skills/postgres-commit-history-article/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/digoal/blog/blob/master/skills/postgres-commit-history-article/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“इन दो IDs के बीच के PostgreSQL commits देखिए और उन बदलावों पर चीनी लेख लिखिए जो DBA को जानने चाहिए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

यह पूरे diff के बिना commit संदेश इकट्ठा करती है, उपयोगी बदलाव चुनती है, उदाहरणों के लिए दस्तावेज़ और परीक्षण जांचती है, और लेख लिखती है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Postgres Commit History Article

Goal

Turn a PostgreSQL commit range into a publishable Chinese Markdown article for DBA and application developers when the range contains valuable user-facing or operator-facing changes. Work from commit logs first, then only deep-read full commit messages for selected valuable groups. Before writing usage examples, inspect relevant SQL tests, documentation, or source context so examples are rich and correct. Do not analyze code diffs unless needed to understand a mechanism or produce a practical example.

Inputs

Expect the user to run the skill from a PostgreSQL git checkout and provide:

commitid1 commitid2

Treat the range as inclusive of both endpoints. If the order is unclear, test both ancestry directions and use the direction that produces a valid range; otherwise ask for clarification.

Workflow

  1. Verify context.

    • Confirm git rev-parse --show-toplevel succeeds.
    • Confirm the repository looks like PostgreSQL, for example src/backend, src/include, and configure.ac exist.
    • Create markdown/ in the current project if missing.
  2. Collect commit metadata without diffs.

    • Prefer scripts/collect_pg_commits.py from this skill.
    • Run it from the PostgreSQL repository root:
python3 /path/to/postgres-commit-history-article/scripts/collect_pg_commits.py commitid1 commitid2 --output markdown/postgres-commit-range.json
  • The JSON includes inclusive commits, short ids, authors, dates, subjects, full bodies, revert relationships, merge flags, and suggested chronological/reverse order.
  1. First-pass analysis from short descriptions only.

    • Read every commit subject.
    • Exclude commits that were reverted inside the selected range. Exclude both the reverting commit and the reverted commit unless the revert itself carries lasting user-facing value.
    • Treat typo, buildfarm-only, test-only, documentation-only, translation-only, and mechanical cleanup commits as low priority unless they expose an important operational change.
    • Select commits with clear value for DBAs or application developers: performance, reliability, observability, planner/executor behavior, SQL features, replication, recovery, backup, storage, concurrency, security, compatibility, extension APIs, client tooling, migration risk, and behavior changes.
    • If no commits remain with clear DBA or application-developer value, stop here. Return an analysis summary in the chat and do not write a Markdown article file.
  2. Group related commits.

    • Group commit ids that solve the same problem, evolve the same feature, fix follow-ups for the same change, or are authored by the same person around the same subsystem.
    • Prefer problem-oriented group names, not file/subsystem names. Example: "降低逻辑复制槽失效风险" is better than "replication commits".
    • Preserve each group's commit short ids and authors.
  3. Deep-read only selected groups.

    • For each selected group, read the full commit messages from the collected JSON or with git show -s --format=fuller <commit>.
    • Still avoid code diff analysis. Inspect diff only when the full message is insufficient to explain the mechanism, compatibility impact, or example.
    • Capture exact behavior changes, affected users, constraints, GUCs/options/functions/catalogs, and upgrade caveats.
  4. Verify example material before writing usage examples.

    • Before writing each 使用示例, inspect nearby authoritative material for that feature:
      • SQL regression tests: src/test/regress/sql/, src/test/isolation/specs/, src/test/subscription/t/, src/test/recovery/t/, extension test SQL, or TAP tests.
      • Documentation: doc/src/sgml/, especially pages for SQL commands, functions, catalogs, GUCs, monitoring views, replication, backup/recovery, and release notes.
      • Source context only when tests/docs do not expose enough syntax or operational detail.
    • Prefer examples adapted from committed tests or docs, then simplify them for readers.
    • If a commit introduces SQL syntax, functions, catalog columns, GUCs, views, command options, psql/client behavior, replication/recovery operations, or extension APIs, verify the exact names and valid usage from tests/docs before writing.
    • Record the evidence used for each example in your working notes and mention key paths when useful in the article.
    • If tests/docs/source do not provide enough confidence, do not fabricate a runnable SQL example. Use an oper
अक्सर पूछे जाने वाले सवाल

क्या यह हर कोड बदलाव पढ़ती है?

नहीं, यह commit लॉग से शुरू करती है, और चुने गए उपयोगी समूहों के पूरे संदेश ही पढ़ती है।

क्या PostgreSQL checkout चाहिए?

हाँ, स्किल को PostgreSQL git checkout के अंदर चलना होता है।

अगर कोई बदलाव उपयोगी न हो तो?

अगर दायरे में कोई उपयोगी बदलाव न हो, तो स्किल लेख नहीं लिखती।

जानकारी

लेखक का मूल विवरण

Analyze PostgreSQL git commit history between two commit ids and, when valuable DBA/application-developer changes exist, write a Chinese Markdown article for WeChat/公众号 readers with examples checked against SQL tests, docs, or relevant source. Use when the user is inside a PostgreSQL source checkout and provides two commit ids, asks to interpret Postgres commits, summarize a release/development window, identify DBA/application-developer value from commit logs, group related commits, exclude reverted commits, and either output a sourced article under the current project's markdown directory or

repo: digoal/blog

लोकप्रियता

GitHub स्टार
8.6k
रैंकिंग में स्थान
#12371
लाइसेंस
GPL-2.0
अपडेट की गई
1/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस 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