شعار Release

Release

المجتمع
jrswab
release

Prepare code for release (version bumps, changelog, README updates) and create an annotated tag to trigger the GoReleaser workflow.

نظرة عامة

الناشرjrswab
المستودعaxe
اسم المهارةrelease
النجوم
898
التفريعات
35
الملفات المرفقة
تعليمات فقط
الترخيصApache-2.0
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها jrswab على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Release في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/jrswab/axe/tree/master/docs/skills/release
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jrswab/axe.git /tmp/axe
mkdir -p .claude/skills
cp -r /tmp/axe/docs/skills/release .claude/skills/release
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Release في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Release تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Release بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Your job is to guide the user through a full release for this project. A release includes preparing the code (version bumps, README documentation, changelog), creating an annotated git tag with a v prefix (e.g. v1.5.0), pushing it to trigger the GoReleaser GitHub Actions workflow, setting release notes, and linking the GHCR Docker image.

Rules

  • Always create an annotated tag (git tag -a), never a lightweight tag.
  • Tag format is vMAJOR.MINOR.PATCH following Semantic Versioning.
  • The changelog MUST follow Keep a Changelog 1.1.0 format.
  • Valid changelog categories: Added, Changed, Deprecated, Removed, Fixed, Security.
  • All version strings MUST be updated before committing. There are three locations (listed in Reference). Run version tests after bumping to catch drift.
  • README.md MUST document any user-facing changes — new config fields, CLI flags, behavior changes, exit codes.
  • DO NOT push to master until the user confirms.
  • DO NOT push the tag until the user confirms.
  • DO NOT skip asking the user for the version number, tag annotation message, and changelog review.

Steps

  1. Gather context

    • Check the current branch and ensure it is clean (git status).
    • List existing tags (git tag --sort=-v:refname) to determine the next version.
    • Collect the commit log since the last tag (or all commits if this is the first release).
  2. Ask the user

    • What version number to use.
    • What the annotated tag message should say.
    • Whether the auto-generated changelog looks correct or needs edits.
  3. Categorize commits into Keep a Changelog sections:

    • Added — new features and capabilities.
    • Changed — changes to existing functionality.
    • Deprecated — features marked for removal.
    • Removed — features that were removed.
    • Fixed — bug fixes.
    • Security — vulnerability fixes.
    • Exclude commits prefixed with docs:, test:, ci:, or merge commits.
  4. Bump version strings

    • Update all three version locations listed in the Reference section.
    • Run go test ./cmd/ -run TestVersion -count=1 to verify the bump is consistent.
  5. Update README.md

    • Explore new feature implementations (via subagents if available) to understand config fields, flags, defaults, and behavior before writing documentation.
    • For each user-facing change, update the relevant README sections: Features list, Run Flags table, Agent Configuration example TOML, and add new sections as needed.
    • Add or update the Exit Codes table if new exit codes were introduced.
    • Do NOT guess at config fields or flag names — read the actual implementation first.
  6. Update CHANGELOG.md

    • Prepend the new release section under the # Changelog header.
    • Add a reference link at the bottom of the file using the Keep a Changelog format:
      • First release: [1.0.0]: https://github.com/jrswab/axe/releases/tag/v1.0.0
      • Subsequent releases: [1.1.0]: https://github.com/jrswab/axe/compare/v1.0.0...v1.1.0
  7. Commit and push prep changes

    • Stage all modified files and commit with message: Update changelog and version for vX.Y.Z
    • Push to master only after the user confirms.
  8. Verify

    • Run go build . to confirm the binary compiles.
    • Run go test ./cmd/ -run TestVersion -count=1 at minimum.
    • Confirm tests pass before proceeding to tag creation.
  9. Ask user to confirm tag creation

    • Show the tag name, annotation message, and commit hash.
    • Wait for explicit confirmation before creating the tag.
  10. Create the annotated tag on the prep commit.

  11. Push the tag to origin only after the user confirms. The v* tag push triggers the GoReleaser workflow which builds binaries and creates the GitHub release.

  12. Set release notes via gh

    • Extract the new version's section from CHANGELOG.md — everything between the ## [X.Y.Z] heading and the next ## heading, excluding the heading itself and trailing blank lines.
    • Append a Docker section to the extracted notes:
      ## Docker
      
      ```bash
      docker pull ghcr.io/jrswab/axe:X.Y.Z
      ```
      
      See the [GHCR package page](https://github.com/jrswab/axe/pkgs/container/axe) for all available tags.
    • Write the combined content (changelog section + Docker section) to a temporary file.
    • Poll gh release view vX.Y.Z every 10 seconds (up to 120 seconds) until the GoReleaser workflow creates the release.
    • Run gh release edit vX.Y.Z --notes-file <tmp-file> to set the release description.
    • Clean up the temporary file.
    • This is the authoritative source for release notes — do NOT rely on the workflow's awk extraction.

Reference

Project Files

  • GoReleaser config: .goreleaser.yml (auto-changelog is disabled)
  • Release workflow: .github/workflows/release.yml (builds binaries and Docker image; do NOT rely on it for release notes)
  • Changelog: CHANGELOG.md

Version Strings (all three must match)

  • cmd/root.go — const Version (source of truth)
  • internal/mcpclient/mcpclient.go — hardcoded Version: in mcp.NewClient call
  • cmd/version_test.go — test assertions for the version string

GHCR Image

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Release؟

Prepare code for release (version bumps, changelog, README updates) and create an annotated tag to trigger the GoReleaser workflow.

لماذا تستخدم Release على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Release عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Release في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/jrswab/axe/tree/master/docs/skills/release. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Release؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Release؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Release معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Release مجانية؟

نعم. نشرها jrswab على GitHub بموجب ترخيص Apache-2.0. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇