Skillpedia
الأتمتة81k · #1577

browser-form-fill

ما الذي تفعله

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

متى تستخدمها

  • ✓عندما تحتاج إلى تعبئة النموذج نفسه مرات كثيرة.
  • ✓عندما يحتوي النموذج على حقول ثابتة ويتوفر تطابق محفوظ.
  • ✓عندما تريد حفظ تطابق حقول لنموذج جديد لاستخدامه لاحقاً.

رابط المهارة

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-browser/skills/browser-form-fill/SKILL.md

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

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

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

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

استخدم هذه المهارة لمساعدتي: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-browser/skills/browser-form-fill/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

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

“املأ نموذج التواصل في هذا الموقع باسمي وشركتي وبريدي الإلكتروني، ولا ترسله بعد.”

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

كيف تعمل

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

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

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

Browser Form Fill

Fill a form using a structured field map ({"first_name": "Ada", "company": "..."}). When a browser-templates entry exists for the host, use it to resolve field names → CSS selectors automatically; otherwise resolve via the page accessibility snapshot.

When to use

  • Submitting a known form (signup, contact, checkout) where field names are stable.
  • Re-using a stored template for a recurring submission.
  • Authoring a new template for a site by recording the resolved selectors.

Steps

  1. Open a recorded session via browser-record.
  2. Resolve selectors:
    • Template path (--template <name>): pull {field_name → selector} from browser-templates.
    • Snapshot path: call browser_snapshot, walk the accessibility tree, match each input's accessible name / label to the field map keys.
  3. AIDefence PII gate: every value in the field map passes aidefence_has_pii before any keystroke; record pii_in_form: true in the session manifest. Do not record the values themselves in the trajectory; record only the field names + a redacted placeholder.
  4. Fill with browser_fill / browser_type / browser_select / browser_check per input type.
  5. Submit if --submit: locate the submit button via the snapshot, browser_click, then browser_wait for navigation.
  6. Persist the template if a new mapping was discovered:
    npx -y @claude-flow/cli@latest memory store --namespace browser-templates \
      --key "<host>:<form-name>" \
      --value "{field_map:{...}, submit_selector:..., post_submit_url_pattern:...}"
    
  7. Verify post-submit state if a verification snippet was provided in the field map's _assert key.

Caveats

  • Trajectory steps for fills MUST redact values. The PII gate is the contract.
  • For inputs that require typing simulation (e.g., autocomplete reactions), use browser_type (simulates keystrokes) rather than browser_fill (sets value programmatically). Record which one was used in the trajectory step.
  • Multi-step forms are a sequence of browser-form-fill invocations; chain them via the same session id.
  • If the form has a CAPTCHA, surface the request to the user — do not attempt to bypass.
الأسئلة الشائعة

هل سيرسل النموذج وحده؟

فقط عندما تطلب الإرسال. وإلا يملأ الحقول ويتوقف.

هل تُحفظ قيمي في السجل؟

تقول المهارة إنها تسجل أسماء الحقول وعنصراً نائباً مُنقّحاً فقط، لا القيم.

هل تستطيع تعلم نموذج جديد؟

نعم. يمكن للمهارة حفظ التطابق الذي تكتشفه حتى يصبح تعبئة النموذج أسهل في المرة القادمة.

التفاصيل

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

Fill a web form by mapping field-name → value, with optional template lookup from browser-templates for known forms

repo: ruvnet/ruflo

الشعبية

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

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

0

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

التعليقات

  • …

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

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