make-blog-post
ما الذي تفعله
تحوّل هذه المهارة قطعة من الكود إلى مقال مدونة، مكتوب بأسلوب الكاتب. وتركز على دالة أو سكربت أو فئة أو أداة محددة، مع أمثلة عامة وأمثلة استخدام.
متى تستخدمها
- ✓عندما تريد تحويل كود يعمل إلى مقال.
- ✓عندما تطلب إعداد برنامج تعليمي أو دليل حول مقتطف من الكود.
- ✓عندما تريد أن يكتب الذكاء الاصطناعي مقالاً على مدونة بأسلوبك، مستنداً إلى نصوص قديمة لك.
رابط المهارة
https://github.com/github/awesome-copilot/blob/main/skills/make-blog-post/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“حوّل هذا الكود إلى مقال مدونة، بأسلوبي، واحفظه في /my-blog.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يفهم الذكاء الاصطناعي أولاً أي جزء من الكود تريد تحويله إلى مقال. ثم يتعلم أسلوبك في الكتابة من نصوص قديمة تزوده بها أو من مقالات سبق نشرها. وأخيراً ينشئ مسودة للمقال لتوافق عليها.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Make Blog Post
Turn code from the current session into a blog post that reads as if its author wrote it: one walkthrough of one function, script, class, or tool, built around a generalized sample and a usage example.
This skill runs only when the user asks for a post. The natural moment is the end of a turn, once the code works: /make-blog-post, optionally followed by what to cover, where the post goes, and links or files of the author's past posts.
When to Use This Skill
- The user asks to write, draft, or turn code into a blog post, article, tutorial, walkthrough, or gist.
- The user invokes
/make-blog-post, with or without naming the subject, the destination, or writing samples.
Do not use it for API reference, READMEs, changelogs, or release notes, or for a post that needs several unrelated examples or a multi-file walkthrough.
Examples
/make-blog-post
/make-blog-post the retry helper in src/http.ts
/make-blog-post the slugify function, as a gist
/make-blog-post put it in the blog, match https://example.com/posts/one and https://example.com/posts/two
Workflow
Work through the steps in order. Nothing is written to disk until the draft is approved in step 5.
1. Pick the subject
- Use what the user named: a function, file, selection, snippet, or topic. Code pasted into the conversation is in scope too.
- Otherwise, take the code written or changed in this session. When more than one piece qualifies, list up to three, each with a one-line purpose, and ask which one to write up.
- Check that the subject works as a standalone post. It should:
- Solve one clear, general-purpose problem.
- Fit in one self-contained example.
- Not depend on project-specific state, services, or configuration that cannot be replaced with a stand-in.
- Not be trivial. A one-line wrapper or a lone standard-library call does not qualify.
- When a check fails, say which one and suggest an angle that works, such as the technique behind the code. Proceed with the original subject if the user still wants it.
2. Resolve the destination
Consider only what the user said, the current workspace, and paths the user provides. Do not assume any folder exists, and do not walk parent or sibling directories looking for one.
- The user named a destination (a local path, the current workspace repository, a venue such as a gist, or "just show me"): use it, and do not move the post elsewhere because another place fits conventions better. If the user names another repository, ask for its local checkout path; do not clone or modify it remotely. A partial name such as "the blog" resolves against the current workspace only. If the workspace is not that blog, ask for the path.
- The workspace is a blog or site: take the posts folder from the generator's own configuration, and match an existing post's folder, extension, file naming, and front matter. See references/blog-platforms.md for detection and each generator's contract.
- Otherwise: write no file. Deliver the post in chat and offer to save it to a path the user names.
A default destination or voice profile recorded in the user's custom instructions counts as named by the user. That is the place for a personal workflow, such as a folder where every post is archived.
When writing to a named path:
- Create missing subfolders under a root that exists. If the root itself does not exist, ask instead of building a tree that may be a typo.
- If the path breaks the detected generator's contract (the wrong folder for the collection, a missing date prefix), state in one line what would break, offer the compatible path, and ask which to use.
- If the request conflicts with the site's conventions, say so once, then follow the request. The security rules and the approval gate still apply.
3. Learn the author's voice
A post that reads like generic documentation is not the author's post. Before drafting, collect three to five samples of the author's own writing, from these sources in order:
- Samples named in the request: files, folders, URLs, or pasted text.
- A saved voice profile the user points to, in the request or in their custom instructions.
- When step 2 resolved a blog repository, the most recent posts by this author in its posts folder.
…
الأسئلة الشائعة
ماذا يحدث إذا لم تكن لدي نصوص قديمة ليتعلم منها الذكاء الاصطناعي أسلوبي؟
يمكن للذكاء الاصطناعي أن يستخدم أسلوباً محايداً، أو أن يطرح عليك بضعة أسئلة سريعة لفهم تفضيلاتك في الكتابة.
هل يمكن للذكاء الاصطناعي الكتابة عن عدة أكواد مختلفة في مقال واحد؟
لا، تركز هذه المهارة على قطعة واحدة من الكود في كل مرة، لتحقيق مقال أوضح وأكثر تركيزاً.
أين سيُحفظ المقال؟
يعتمد ذلك على طلبك. يمكن حفظه في مكان محدد تشير إليه، أو في مدونتك، أو عرضه في المحادثة فقط إذا لم يُحدَّد مكان.
التفاصيل
الوصف الأصلي من المؤلف
Turn code from the current session into a blog post written in the voice of its author. Covers one function, script, class, or tool as a focused walkthrough with a generalized sample and a usage example, learns tone and structure from existing posts or writing samples by the same author, takes the destination from what the user names or the blog repository in use instead of assumed folders, and sa
repo: github/awesome-copilot
الشعبية
- نجوم GitHub
- 40k
- الترتيب
- #7273
- الترخيص
- MIT
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
acquire-codebase-knowledge
40kيساعد وكيلك على فهم مشروع برمجي موجود وتوثيقه. مفيد لتعريف الأشخاص الجدد أو للحصول على نظرة عامة على البنية.
acreadiness-assess
40kيمكّن وكيلك من تقييم جاهزية مشروع للذكاء الاصطناعي وإنشاء تقرير. مفيد لمعرفة مدى استعداد المشروع لاستخدام أدوات الذكاء الاصطناعي.
acreadiness-generate-instructions
40kيساعد وكيلك على إنشاء تعليمات لأدوات الذكاء الاصطناعي بناءً على تقييم. مفيد لتحسين طريقة تفاعل الذكاء الاصطناعي مع الكود وسد الثغرات المحددة.
acreadiness-policy
40kيمكّن وكيلك من تحديد أو تطبيق سياسات لتقييم مشاريع الذكاء الاصطناعي. مفيد لتوحيد طريقة تقييم المشاريع وضمان الالتزام.
مهارات مشابهة
obsidian-vault-maintainer
394kيساعد وكيلك على الحفاظ على خزنة ذاكرة متوافقة مع Obsidian، بروابط ويكي تعمل وخصائص متسقة وأقسام آلية آمنة.
wiki-maintainer
394kيساعد وكيلك على صيانة ويكي ذاكرة OpenClaw بصفحات قابلة للتكرار وكتل مُدارة آمنة، مع فحص التناقضات والثغرات.
obsidian
394kيتيح لوكيلك قراءة ملاحظات Obsidian ومهامها وروابطها وخصائصها والبحث فيها وإنشاؤها وتعديلها، عبر سطر أوامر Obsidian الرسمي.