Skillpedia
الكتابة26k · #9987

clean-user-facing-text

ما الذي تفعله

تمنح هذه المهارة وكيلك مرحلة تنظيف أخيرة للمقالات والتقارير والرسائل الإلكترونية ونصوص المنتجات. وهي مخصصة لمن يملك النص الذي يريد إنهاءه.

متى تستخدمها

  • ✓عندما تطلب من وكيلك تنظيف مقالة أو تقرير قبل نشره.
  • ✓عندما تريد تنقيح مخطوطة أو رسالة إلكترونية دون تغيير حقائقها أو معناها.
  • ✓عندما تحتاج إلى إزالة الأحرف الخفية غير المرئية من نص سيقرؤه الناس.

رابط المهارة

https://github.com/guillaumemeyer/watermarks-remover/blob/main/skills/clean-user-facing-text/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/guillaumemeyer/watermarks-remover/blob/main/skills/clean-user-facing-text/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“هل يمكنك تنظيف مسودة هذه المقالة وإزالة أي أحرف مخفية قبل أن أنشرها؟”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

clean-user-facing-text: دليل كامل

كتبتَ مسودة، أو ساعدك الذكاء الاصطناعي في كتابتها، والآن يجب أن تصل إلى القرّاء. قد تختبئ فيها مشكلتان. الأولى هي محارف Unicode غير مرئية دخلت عند نسخ النص من نافذة دردشة أو من صفحة ويب. لا تراها، لكنها قد تسبب مشكلات لاحقًا. والثانية هي الصياغة الجاهزة: عبارات انتقال مكررة، وحشو، وإيقاع متساوٍ يجعل النص يبدو عامًا.

تعالج هذه المهارة المشكلتين بترتيب ثابت. تزيل المحارف المشبوهة بسكربت، وتعيد الكتابة فقط عندما يحتاج النص إلى ذلك، ثم تزيل أي عناصر غير مرغوبة جديدة وتقيّم النتيجة. وهي مخصصة للنصوص التي تملكها أو يُسمح لك بمعالجتها. لا تَعِد بالتفوق على أدوات الكشف، ولا تُخفي الإفصاحات المطلوبة.

حالات الاستخدام

مدونة مسودتها من مساعد ذكي

طلبتَ من أداة دردشة منشورًا من 900 كلمة والصقته في نظام إدارة المحتوى. قبل النشر، تطلب من الوكيل مراجعته. يزيل المحارف المخفية، ويستبدل عبارات الانتقال الجامدة، ويُبقي أسماء منتجاتك وأسعارك واقتباساتك كما هي تمامًا.

تقرير يُرسل إلى عميل

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

توثيق يتضمن أمثلة برمجية

يخلط ملف README لديك بين الشروح والأوامر ومسارات الملفات. تتعامل المهارة مع كتل الكود والأوامر والمسارات والروابط والمعرّفات بوصفها مقاطع محمية. يُراجَع فقط ما يحيط بها من جمل، فلا تُعاد صياغة أمر منسوخ فيتوقف عن العمل.

خطوة بخطوة

  1. 1ثبّت المهارة بوضع مجلدها في ~/.claude/skills/clean-user-facing-text/ (أو في .claude/skills/ داخل مشروعك). تحقق من أن المجلد يحتوي على السكربتات التي تستدعيها، مثل clean_text.py وinspect_text.py.
  2. 2تأكد من توفر Python، لأن المهارة تشغّل فحوصها عبر سكربتات Python تعمل دون استدعاء نموذج لغوي.
  3. 3أعطِ الوكيل ملفك أو النص الملصوق، واذكر أنه نصك. أخبره باللغة، وهل يجب الحفاظ على صوت معين.
  4. 4اطلب تدقيقًا أولًا إذا كنت تريد قائمة فقط بالمقاطع المُعلَّمة. وإلا فدعه يقيس النص وينظفه، ويعيد كتابته فقط إذا استدعت النتيجة ذلك.
  5. 5اقرأ درجتي قبل التنظيف وبعده، ثم قارن النص النهائي بالأصل من حيث الحقائق والأسماء والأرقام.

مثال

ماذا تطلب

“نظّف نص صفحة المنتج هذه، واحذف أي محارف مخفية. أبقِ الأسعار وأسماء المنتجات ونبرتي غير الرسمية. اذكر درجتي قبل التنظيف وبعده.”

ما الذي ستحصل عليه

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

نصائح

  • ✓إذا كان النص يتضمن إفصاحًا مطلوبًا، مثل بيان استخدام الذكاء الاصطناعي أو إشعار قانوني، فاطلب من الوكيل الإبقاء عليه. تحافظ المهارة على هذه العبارات، ولا ينبغي أن تطلب حذفها.
  • ✓لا تعتبر الدرجة بعد التنظيف دليلًا على أي شيء. تقرّ المهارة بأن إعادة الكتابة لا تثبت التأليف البشري ولا تجعل النص غير قابل للكشف، فاستخدمها مؤشرًا تقريبيًا فقط.
  • ✓قد لا تُعطى النصوص القصيرة أي درجة. وتوقع تخطي إعادة الكتابة عندما تكون المؤشرات المقاسة منخفضة أو متوسطة، ولا تُلحّ على تغييرات لا يحتاجها النص.

بدائل

  • natural-writing

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

  • first-reader

    اختره عندما يتعلق قلقك بما إذا كان القراء سيستمرون في الاهتمام ويتذكرون الفكرة، لا بوجود محارف مخفية في النص.

  • simple-english

    اختره عندما يحتاج النص التقني إلى جمل قصيرة ومحكمة يسهل فهمها في قراءة واحدة، بدلًا من تلميع خفيف.

أسئلة وأجوبة

هل ستمس كتل الكود والأوامر الخاصة بي؟

لا. تحمي المهارة الكود المحاط بأسوار وداخل الأسطر، والأوامر والمسارات والروابط والمعرّفات والمعادلات والاستشهادات. يُراجَع النص المحيط بها فقط، فتبقى أمثلتك تعمل.

هل تترجم نصي إلى لغة أخرى؟

لا. تحتفظ بلغة كتابتك. وفي النصوص غير الإنجليزية تسعى إلى صياغة طبيعية باللغة نفسها بدلًا من نسخ أنماط الجمل الإنجليزية، ولا تترجم إلا إذا طلبت ذلك.

هل يمكنني استخدامها لإخفاء أن الذكاء الاصطناعي كتب نصي؟

لا. المهارة مخصصة للنصوص التي تملكها أو يُسمح لك بمعالجتها. وهي تُبقي على الإفصاحات المطلوبة الأكاديمية والقانونية والخاصة بالمنصات، ولا تهدف إلى التهرب من الإفصاح عن التأليف.

كيف تعمل

يفحص وكيلك النص أولًا بحثًا عن الأحرف المخفية ويزيلها. ثم يعيد صياغة النثر بخفة مع الإبقاء على الحقائق والأرقام والأسماء نفسها.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Clean user-facing text

Apply a final text-hygiene pass to prose the user owns or is authorized to process. Treat Unicode cleanup as deterministic and statistical-watermark reduction as best-effort; never claim that a rewrite proves human authorship or is undetectable. Preserve required academic, legal, platform, and regulatory disclosures.

Workflow

  1. Identify the prose that readers will see.

  2. Protect non-prose spans:

    • fenced and inline code
    • commands, paths, URLs, identifiers, API names, and exact values
    • formulas, citations, and text the user asks to quote verbatim
  3. Preserve every claim, fact, number, name, citation, and requirement. Never invent a detail, name, number, quote, or source to make the prose easier to write or more varied: if a fact is missing, flag the gap rather than fill it. The rewrite may sharpen, compress, or reorder, but it may not add or remove claims.

  4. Measure before. Inspect and score the input with the vendored zero-LLM stylometry estimator (see Scoring) and record the score. Read the report's density_tier: rewrite only when it is high; for low or medium, verify the text and otherwise leave the text unchanged. For a flag-only audit that never rewrites, use --audit:

    PYTHON "$SCRIPTS/inspect_text.py" --stylometry --json INPUT
    PYTHON "$SCRIPTS/inspect_text.py" --audit INPUT  # detect-only: lists flagged spans, no rewrite
    
  5. Establish the writing brief before changing prose:

    • use a voice sample only when the user owns it or is authorised to use it; don't imitate another named person
    • when there is no sample, make the prose clear and natural without pretending to imitate a particular person
    • never inject a voice the source lacks: no fake first person ("I've seen this"), invented specifics, forced contrarianism, performed candor, or added stance and personality. Preserve the writer's deliberate rough edges and domain terms rather than scrubbing them
    • keep required disclosures, uncertainty, and the writer's actual point of view
    • pick the voice and domain preset the text fits (see Voice and domain presets); the default is general prose
  6. Layer A — strip artifacts first. For text artifacts or supplied text files, run the deterministic Unicode pass before rewriting, so the rewrite operates on clean, marker-free text:

    PYTHON "$SCRIPTS/clean_text.py" INPUT -o OUTPUT --stats --no-normalize-spaces
    
  7. Layer B — rewrite once. Rewrite the remaining prose once, applying the detector levers (see Detector levers) in order:

    • vary clause order, sentence boundaries, rhythm, connectors, and function words
    • replace formulaic transitions and filler with direct, natural wording
    • keep the concrete details and judgement that make the text recognisable as the writer's
    • treat unusual grammar, repetition, directness, and phrasing as possible voice or accessibility choices; change them only when the user asks or when they create a clear reading problem
    • preserve the requested language, tone, structure, and formatting; never translate unless asked
    • for non-English text, use fluent constructions native to that language rather than English sentence patterns
    • do not add or remove claims merely to increase variation
  8. Layer A again. Run the deterministic Unicode pass on the rewritten result to catch any artifacts the rewrite introduced (smart quotes, em dashes, homoglyphs):

    PYTHON "$SCRIPTS/clean_text.py" OUTPUT -o FINAL --stats --no-normalize-spaces
    
  9. Measure after. Score the rewritten text the same way. Report scores and confidence levels when available; otherwise report status: insufficient_length. A lower after-score means the measurable signals moved; it is not a verdict from any detector, and it never overrides the fact and voice rules above.

  10. Return only the polished result unless the user asks for an audit or explanation.

For practical guidance on preserving a writer's voice and removing formulaic prose, read references/writing-in-your-voice.md whenever the user asks to retain or adjust voice. For what detectors really measure and which claims are legitimate, read references/detectors.md.

Scoring

scripts/inspect_text.py --stylometry (or the standalone scripts/score_stylometry.py, which also accepts --explain) runs the zero-LLM estimator vendored from the service pipeline: sentence-length burstiness (coefficient of variation)

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

هل تغيّر هذه المهارة الحقائق في نصي؟

لا. صُممت لتبقي كل ادعاء ورقم واسم واستشهاد كما هو، وتُبلغ عن الفجوات بدل ملئها.

هل يضمن النص المنظف اجتياز أدوات كشف الذكاء الاصطناعي؟

لا. تنص المهارة على أن إعادة الصياغة لا تثبت التأليف البشري ولا تجعل النص غير قابل للكشف.

على أي أنواع من النصوص يمكنني استخدامها؟

تعمل على النثر، مثل المقالات والمخطوطات والتوثيق والرسائل ونصوص المنتجات وملفات HTML أو Markdown، وتترك الشيفرة والأوامر دون تغيير.

التفاصيل

الوصف الأصلي من المؤلف

Clean and finalize authorized natural-language text intended for readers by auditing suspicious invisible Unicode and rewriting prose while preserving facts, meaning, and the writer's voice. Use when the user asks to clean, humanize, polish, or finalize articles, manuscripts, reports, documentation, emails, product copy, UI text, Markdown, or HTML prose, or when a project rule or instruction file explicitly requires this workflow. Don't use for code-only tasks or undisclosed authorship evasion; leave code, commands, identifiers, paths, APIs, formulas, citations, required disclosures, and verba

repo: guillaumemeyer/watermarks-remover

الشعبية

نجوم GitHub
26k
الترتيب
#9987
الترخيص
MIT
آخر تحديث
1‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة