شعار Authoring Skills

Authoring Skills

مؤسسة
friday-platform
authoring-skills

Authors new agent skills that follow the Anthropic + agentskills.io specification. Use when the user asks to create, draft, review, or refactor a skill, write a SKILL.md file, lay out reference files, or bundle scripts. Covers frontmatter rules, 500-line / 5000-token body budgets, one-level-deep reference layout, progressive disclosure, gotchas sections, control calibration, the evaluation-first authoring loop, and the lint gate before publish.

نظرة عامة

الناشرfriday-platform
المستودعfriday-studio
اسم المهارةauthoring-skills
النجوم
102
التفريعات
5
الملفات المرفقة
7
الروابط
  • تعليمات بصيغة Markdown

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

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

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

  • الملفات المرفقة: 7

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

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

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

التثبيت

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

1

التثبيت في TypingMind

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

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/friday-platform/friday-studio/tree/main/packages/system/skills/authoring-skills
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Authoring skills

A skill is a bundle of instructions loaded into an agent's context window on demand. This skill covers how to write one that is concise, discoverable, calibrated to its task, and testable.

Copy this checklist into the response when starting a skill:

Skill authoring:
- [ ] 1. Capture real expertise (hands-on task or project artifacts — not LLM synthesis)
- [ ] 2. Write frontmatter: `name` (gerund form) + `description` (3rd person, what + when)
- [ ] 3. Draft SKILL.md body — gotchas first, then workflow, then references
- [ ] 4. Extract overflow into references/ (one level deep from SKILL.md)
- [ ] 5. Bundle scripts only when the agent would reinvent the logic each run
- [ ] 6. Write ≥3 evaluation cases, baseline without the skill, then with
- [ ] 7. Run scripts/lint_skill.py and address every error
- [ ] 8. Test with a fresh agent instance (Claude-A / Claude-B loop)

1. Start from real expertise

Skills generated from LLM general knowledge come out vague ("handle errors appropriately", "follow best practices"). Useful skills are grounded in project-specific material.

Two paths:

Extract from a hands-on task. Complete a real task with the agent, correcting as you go. Then distil the reusable pattern. Pay attention to: the sequence of steps that actually worked, the corrections you had to make, the input/output shapes, and the project-specific context you had to supply.

Synthesise from project artifacts. Feed internal docs, runbooks, API specs, code review comments, version history, and postmortems into the draft. Real incident reports outperform any "best practices" blog post because they capture your schemas, failure modes, and conventions.

2. Frontmatter

Full field spec: references/frontmatter.md.

Quick rules:

  • name: lowercase, hyphens, ≤64 chars, gerund-form preferred (processing-pdfs, creating-workspaces). Never contains anthropic or claude.
  • description: ≤1024 chars, third person, answers what + when. This field alone drives skill discovery — every other token in SKILL.md is invisible to the router.

Good:

yaml
description: Extracts text and tables from PDF files, fills forms, and merges documents. Use when working with PDFs or when the user mentions forms or document extraction.

Bad:

yaml
description: I can help with PDFs.         # first person, no trigger
description: Does stuff with files.        # meaningless

user-invocable: false is for runtime-composed system skills. Author skills should leave this at its default (true) so load_skill and @friday/... references keep working. Marking your own skill user-invocable: false does not trigger auto-loading — the runtime currently auto-composes no skills.

3. Body

Default assumption: the agent is already smart. Include only what it would otherwise get wrong.

Budgets (enforced by scripts/lint_skill.py):

  • ≤500 lines, ≤5000 tokens in SKILL.md → warning.
  • ≤800 lines, ≤8000 tokens → error.

Move overflow to references/<topic>.md, one level deep. Never chain references through nested files — Claude partial-reads nested content and drops information.

Recommended section order (adapt for the task):

  1. Heading + one-paragraph summary.
  2. Progress checklist in a fenced code block — the agent copies and checks off.
  3. Gotchas — the highest-value section in most skills. Concrete corrections to mistakes the agent would make without being told. See references/patterns.md.
  4. Workflow — ordered steps with validation gates. See references/patterns.md for the validation loop and plan-validate-execute patterns.
  5. Output templates when the format is prescribed.
  6. Reference pointers — each says which file and when to load it. "See references/api-errors.md if the API returns a non-200 status" is useful; "see references/ for details" is not.

4. Calibrate control

Match specificity to fragility. Most skills mix all three levels — calibrate each section independently. See references/control-calibration.md.

Task profileFreedomForm
Many valid paths, context-dependentHighDescribe intent and success criteria
Preferred pattern, some variation fineMediumPseudocode or parameterised script
Fragile, must-sequence, error-proneLowExact command, "do not modify"

Provide defaults, not menus. Pick one tool, mention a single fallback, then stop.

5. Use patterns, not prose

A reusable structure beats a paragraph of description. Pattern library in references/patterns.md:

  • Gotchas — concrete environment-specific facts.
  • Template — concrete input/output example; agents pattern-match on structure.
  • Checklist inside a fenced code block — the agent copies and checks off as it progresses.
  • Validation loop — do → validate → fix → repeat.
  • Plan-validate-execute — for batch or destructive operations.
  • Examples — ≥3 input/output pairs when output style matters.

6. Bundle scripts only when reusable

When the agent reinvents the same logic across runs, write a script once and put it in scripts/. See references/scripts.md.

Scripts must:

  • Handle error conditions explicitly — do not punt to the agent.
  • Justify every constant ("3 retries balances reliability vs latency" — not RETRIES = 5 with no comment).
  • Use forward slashes in all paths.
  • Declare dependencies. Do not assume packages are installed.

State whether the agent should execute the script (usually) or read it as reference (rarely).

7. Evaluate before polishing

Write evals before writing extensive documentation. See references/evaluation.md.

  1. Run target tasks without the skill. Document specific failures.
  2. Write ≥3 evaluation cases that capture the gap.
  3. Baseline score without the skill.
  4. Write the minimal skill that closes the gap.
  5. Rerun. Read execution traces, not just final outputs — wasted exploration reveals vague instructions; ignored references reveal weak triggers.
  6. Iterate: add to gotchas when the agent makes a correctable mistake; cut sections the agent never uses.

The Claude-A / Claude-B loop is the core iteration pattern: Claude A helps you refine the skill, Claude B (a fresh instance with the skill loaded) performs real tasks, and observations from Claude B drive the next revision.

Gotchas

  • name contains anthropic or claude — rejected by the validator. Use a task-based gerund instead.
  • First-person description (I can …, You can …) — the description goes into the router system prompt; mixed person breaks discovery. Third person only.
  • Nested references — Claude partial-reads with head -100 when files are linked from other linked files. Keep reference depth = 1 from SKILL.md.
  • Reference file >100 lines without a table of contents — partial-reads miss later sections. Add a ## Contents list at the top.
  • Time-sensitive prose (before August 2025) — goes stale. Put superseded info in a collapsed <details> block labelled "Old patterns".
  • Offering multiple options as equals (you can use pypdf, pdfplumber, PyMuPDF, or pdf2image) — agent spends context choosing. Pick one default plus one fallback; stop there.
  • Inconsistent terminology — one term per concept throughout. Do not mix "field"/"box"/"element" or "extract"/"pull"/"get".
  • Skill under 20 lines — likely redundant with the base model. Confirm via eval before shipping.
  • Explaining general concepts — "A PDF is a portable document format…". The agent knows. Cut it.
  • Workspace-specific configuration — does not belong in a skill. Put it in workspace.yml.

When NOT to write a skill

  • The task is one-off → write it in the prompt.
  • The base model already handles it → confirm via eval.
  • The content is environment config → workspace.yml or friday.yml.
  • The content is a single function → a bundled script is enough; no skill wrapper needed.

Lint before publish

bash
python scripts/lint_skill.py path/to/skill/

Errors (fail publish): frontmatter schema violation, body >800 lines or >8000 tokens, broken reference links, backslash paths, first-person description, reserved name substrings, reference depth >1.

Warnings (informational): body >500 lines or >5000 tokens, description missing "Use when …" clause, time-sensitive phrasing, reference file >100 lines without a table of contents.

References

  • references/frontmatter.md — field-by-field spec, good/bad description examples.
  • references/control-calibration.md — high/medium/low freedom with concrete samples.
  • references/patterns.md — gotchas, templates, checklists, validation loops, plan-validate-execute.
  • references/scripts.md — when to bundle, error handling, constant justification, dependency declaration.
  • references/evaluation.md — eval-first workflow, Claude-A / Claude-B loop, what to watch for in traces.
  • references/anti-patterns.md — full list of what to avoid.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

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

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

Authors new agent skills that follow the Anthropic + agentskills.io specification. Use when the user asks to create, draft, review, or refactor a skill, write a SKILL.md file, lay out reference files, or bundle scripts. Covers frontmatter rules, 500-line / 5000-token body budgets, one-level-deep reference layout, progressive disclosure, gotchas sections, control calibration, the evaluation-first authoring loop, and the lint gate before publish.

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

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

كيف أثبّت Authoring Skills في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/friday-platform/friday-studio/tree/main/packages/system/skills/authoring-skills. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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