document-authoring
ما الذي تفعله
تساعد هذه المهارة وكيلك على صنع المستندات المكتبية الشائعة والرسوم البيانية من موادك. وهي موجهة إلى من يحتاج إلى ملف جاهز، وليس مجرد مسودة نصية.
متى تستخدمها
- ✓عندما تحتاج إلى صورة رسم بياني أو شكل متجه مبني على بيانات حقيقية تزوّدها بها.
- ✓عندما تريد ملف PDF أو Word أو جدول بيانات مصنوعاً من ملاحظات أو مواد مصدر.
- ✓عندما تحتاج إلى عرض شرائح قابل للتحرير بتخطيطات واضحة وانتقال بسيط.
رابط المهارة
https://github.com/leon-ai/leon/blob/develop/skills/agent/document-authoring/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“هل يمكنك صنع تقرير PDF يتضمن مخطط أعمدة لأرقامنا الفصلية، والتأكد من أن المخطط واضح؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يختار وكيلك الأداة المناسبة لنوع الملف، ويبني الملف من موادك، ثم يفحص معاينة له. ويصلح المشكلات التي يجدها، مثل نص مقطوع أو محاور غير واضحة، قبل أن يسلّمه إليك.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Document Authoring
- Establish the requested format, audience, content and acceptance criteria from the brief and supplied references. Reuse source material; for complex work, track criteria and verification evidence in plan details.
- Choose the creation tool based on the requested output:
- Charts: use
document.echarts.renderwith one named entry per requested chart and native ECharts JSON options. Ground the values in supplied/retrieved data, label units, and select only the requested image formats. Each chart becomes a separate SVG/PNG artifact. Use both formats when a vector document figure and raster preview are useful. Inspect a PNG preview and fix clipping or misleading axes before delivering it. Do not use image-generation models to invent or redraw quantitative charts. - Presentations: use
document.slidev.createfor an editable project, authorslides.mdandstyle.csswith the file tool, and place selected chart/image assets inpublic/. Treat the scaffold as editable: owner choices for theme, layout, colors, typography, icons and animation override all defaults. Replace scaffold styles and components when needed; ensure additional themes have compatible installed dependencies. Use local Lucide icons and coherent cover/section/content layouts. Default to fully visible slides and a simpletransition: fadebetween them. Animate mechanisms inside the slide automatically while it is active: moving evidence along a flow, state changes, process cycles or grounded chart evolution. Use CSS orv-motionwith a static reduced-motion fallback. Avoid generic text/panel entrance and exit effects. Add click-triggered reveals (v-clickor click motion variants) and elaborate slide transitions only when the owner explicitly requests them. Ground technical claims in retrieved context/source and label illustrative data. Batch independent grounding reads and author related files together. Use fenced code or HTML-escaped<pre v-pre><code>for literal examples; keep Vue markup balanced. Runinspect, thencheck; during repairs select affectedoptions.slides. Targeted success hascomplete=falseand cannot establish full-deck coverage. Run the default full check on the final source and requirescope=full,complete=trueandok=true. Batch independent checks/previews and requested exports once source is stable; never edit files while those operations are reading them. Reuse current-run evidence and successful results while relevant source/assets are unchanged. Preview early/late motion frames and, only for requested staged reveals, initial/final click states; a passing check alone does not establish visual or animation quality. Finish withpresentto start/reuse a managed native Slidev server and open the deck in the host’s default browser. Return its audience and presenter links, Space/Right/Left navigation andffullscreen control. Verify opening with the browser tool; ifbrowserOpened=false, explain the reported issue and host-local URL scope. Use Satellite for device-side presentation when Leon runs remotely and ensure the project is on that device. Keep the session until the owner finishes, thenstopits sessionId. Export web/PDF/PNG/PPTX downloads only when requested; opening a deck should not require extracting files or running commands. A web ZIP includesserve.mjs: extract and runnode serve.mjs, then open its localhost URL; it can also be hosted as a static site. PDF/PNG and PowerPoint exports capture states rather than native browser motion. Normal PPTX contains slide images; editable PPTX may rasterize complex elements and needs fidelity review. Shared web decks omit notes by default; an optional source ZIP (includeSource=true) always contains them; omit that archive unless requested. - PDF: write a local
.typsource with the file tool, then calldocument.typst.compile. Keep the source and selected assets together in a project directory. Use the smallestrootPathcontaining that project. Built-in/local assets require no generation-provider account or package download. - Editable Word: use
document.document.createwithformat=docx. Typst does not export DOCX. - SVG/PNG: compile Typst with the requested format. Each selected page becomes an image artifact. For a standalone figure, set the page dimensions to fit the figure rather than exporting a full report page.
- Plain text, CSV, Markdown and source files: use existing file writing.
- Hosted ge
- Charts: use
الأسئلة الشائعة
هل يستطيع صنع عرض شرائح قابل للتحرير؟
نعم. ينشئ مشروع شرائح قابلاً للتعديل ويكتب الشرائح فيه، حتى تستطيع تغييرها لاحقاً.
هل سيخترع أرقاماً للرسم البياني؟
لا. تنص المهارة على أن الرسوم البيانية يجب أن تستخدم البيانات التي تزوّدها بها، أو البيانات التي يسترجعها.
هل يفحص الملف قبل تسليمه؟
نعم. يفحص معاينة الملف ويصلح المشكلات الواضحة قبل التسليم.
التفاصيل
الوصف الأصلي من المؤلف
Create, inspect and deliver charts, PDFs, Word documents and spreadsheets, and open animated browser presentations.
repo: leon-ai/leon
الشعبية
- نجوم GitHub
- 18k
- الترتيب
- #10741
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
coding
18kيساعد وكيلك على قراءة الكود في المشروع وتعديله واختباره، مع اتباع تعليمات المشروع نفسه والبقاء ضمن النطاق الذي تحدده.
live-tutorial
18kيتيح لوكيلك عرض سير عمل داخل تطبيقك وتحويل لقطاته إلى فيديو تعليمي بصيغة MP4 مع شروح توضيحية.
media-production
18kيساعد وكيلك على توليد الصور والرسوم المتجهة والصوت والفيديو وتحريرها، ثم يفحص الملفات النهائية قبل تسليمها.
مهارات مشابهة
feishu-doc
394kيساعد وكيلك على قراءة مستندات Feishu السحابية وإنشائها وتعديلها، بما فيها النصوص والصور والجداول، باستخدام أداة المستندات.
feishu-drive
394kيتيح لوكيلك تصفح الملفات في مجلد سحابي على Feishu شاركته مع البوت، وتنظيمها، والتعليق عليها.
feishu-perm
394kيساعد وكيلك على معرفة من يستطيع الوصول إلى ملف Feishu وتغيير ذلك، مع اختيار أدنى صلاحية تلبي طلبك.