شعار Revyl Cli Create

Revyl Cli Create

مؤسسة
RevylAI
revyl-cli-create

Create robust Revyl E2E tests using CLI commands from app source analysis or exploratory sessions.

نظرة عامة

الناشرRevylAI
المستودعrevyl-cli
اسم المهارةrevyl-cli-create
النجوم
522
التفريعات
25
الملفات المرفقة
1
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/RevylAI/revyl-cli/tree/main/skills/revyl-cli-create
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Revyl CLI Test Authoring Skill

Native Agent Behavior

  • Ask at most 1-3 concise clarification questions only when the target app, platform, session, URL, or sensitive action cannot be inferred from the repo or Revyl CLI.
  • Prefer safe defaults and keep moving when revyl init --detect, revyl app list, revyl test list, screenshots, or reports can answer the question.
  • When Revyl prints an editor, report, viewer, or local app URL, open it in the native browser/tool surface when available: Codex Browser/in-app browser for local URLs, Revyl editor/report URLs, screenshots, and page checks; Claude Code .claude/skills compatibility links plus WebFetch/WebSearch or configured MCP/browser tools; Cursor .cursor/skills when using --copy, otherwise shared .agents/skills, plus available MCP/browser tools. Codex also discovers shared .agents/skills directly.
  • If no browser tool is exposed, report the URL and verify through revyl test report, revyl device screenshot, or revyl device report instead of claiming browser access.
  • Confirm before entering sensitive data, submitting forms, uploading files, accepting browser permissions, changing sharing/access, or deleting data.

End-to-End Authoring Loop

bash
# 1) Confirm auth and target app/build
revyl auth status
revyl app list --platform <ios|android>

# 2) Establish project config (choose the applicable flow)
revyl config pull                          # Existing registered project
# revyl init -y                            # New local project
# revyl config migrate --check             # Legacy config: inspect first
# revyl config migrate                     # Legacy config: then convert

# 3) Create from YAML
revyl test create <test-name> --from-file ./<test-name>.yaml

# 4) Iterate on .revyl/tests/<test-name>.yaml, then push and run
revyl test push <test-name> --force
revyl test run <test-name>

# 5) Inspect results and refine
revyl test status <test-name>
revyl test report <test-name> --json

YAML-first creation requires the selected project to already have a valid .revyl/config.yaml:

bash
revyl test create <test-name> --from-file ./test.yaml

The CLI checks the YAML with backend validation, copies it into .revyl/tests/, and pushes it. It never creates or migrates project configuration.

If you prefer to scaffold first:

bash
revyl test create <test-name> --platform ios --no-open
# edit .revyl/tests/<test-name>.yaml
revyl test push <test-name> --force

If you have a completed exploratory device session:

bash
revyl test create --from-session <session-id> <test-name> --app <app-id>
revyl test run <test-name>

The name can be omitted; the compiler will use its suggested session title.

For full examples and troubleshooting, see docs/tests/creating-tests.md.

If this test comes from a running revyl dev session:

bash
revyl device screenshot --out /tmp/revyl-current.png
revyl device report --session-id <session-id> --json

Then author YAML explicitly and create it with revyl test create --from-file. Put repeated setup such as login, onboarding, or seed data in a reusable module/setup block so feature tests do not duplicate it.

Tool Map

  • Tests: revyl test create, push, run, report, status, and history.
  • Modules: revyl module create/list/get/update/usage/insert for reusable block groups.
  • Scripts: revyl script create/list/get/update/usage/insert for code_execution blocks.
  • Variables: test.variables, revyl test var, revyl global var, extraction.variable_name, and code_execution.variable_name.
  • Launch env: revyl global launch-var plus repeated --launch-var only when app startup needs environment config.
  • Grouping: revyl workflow and revyl tag after individual tests are stable.

YAML Building Blocks

Start from the smallest complete test:

yaml
test:
  metadata:
    name: smoke-login-ios
    platform: ios
    tags:
      - smoke
  build:
    name: ios-test
  variables:
    email: "{{global.login-email}}"
  blocks:
    - type: instructions
      step_description: "Sign in with {{email}}."
    - type: validation
      step_description: "The home screen is visible."

Use these block types:

  • instructions: one meaningful user intent.
  • validation: a durable assertion about user-visible state.
  • manual: framework actions such as wait, go_home, navigate, set_location, kill_app, and open_app.
  • extraction: read screen data into variable_name.
  • code_execution: run a saved script or lightweight inline code.
  • module_import: import a reusable module by name or ID.
  • if / while: conditional branches and loops with nested blocks.

Variables and Secrets

  • Local YAML variables go under test.variables and are referenced as {{variable-name}} or {{variable_name}}.
  • Extracted values and code execution output become variables when the block has variable_name.
  • Test-scoped variables can be managed after creation with revyl test var set/list/get/delete.
  • Org-level secrets use revyl global var set name=value --secret and are referenced as {{global.name}}.
  • Define or extract variables before use. Never hardcode secrets in reusable YAML or modules.
bash
revyl test var set <test-name> email=test@example.com
revyl global var set login-password='secret' --secret
revyl global launch-var create API_URL=https://staging.example.com

Code Execution

Prefer saved scripts for setup, API seeding, backend assertions, or reusable logic:

bash
revyl script create seed-user --file scripts/seed_user.py --runtime python
revyl script insert seed-user
revyl script usage seed-user

Use the snippet from revyl script insert, or write the block directly:

yaml
- type: code_execution
  script: "seed-user"
  variable_name: seeded_user_id

Legacy YAML may use step_description to hold an internal script UUID, but new authored YAML should use script.

Use inline code only for small one-offs when a saved script would be unnecessary:

yaml
- type: code_execution
  step_description: |
    print("ready")
  code_execution_runtime: python

Reusable Modules

Use modules for stable shared setup like login, onboarding, account creation, or checkout prep.

yaml
# modules/login.yaml
blocks:
  - type: instructions
    step_description: "Sign in with {{email}} and {{global.login-password}}."
  - type: validation
    step_description: "The home screen is visible."
bash
revyl module create login-flow --from-file modules/login.yaml --description "Standard login"
revyl module insert login-flow
revyl module usage login-flow

Import with the snippet from revyl module insert:

yaml
- type: module_import
  module: "login-flow"

Legacy YAML may use module_id to hold an internal module UUID, but new authored YAML should use module.

Full Flow Example

yaml
test:
  metadata:
    name: checkout-e2e-ios
    platform: ios
    tags:
      - checkout
      - e2e
  build:
    name: ios-test
  variables:
    email: checkout-user@example.com
    product-name: Orchid Mantis
  blocks:
    - type: code_execution
      script: "seed-checkout-user"
      variable_name: seeded_user_id

    - type: module_import
      module: "login-flow"

    - type: instructions
      step_description: "Complete checkout for {{product-name}} using the saved shipping address."
    - type: extraction
      step_description: "Extract the order confirmation number."
      variable_name: order_number
    - type: validation
      step_description: "The confirmation page shows order {{order_number}}."

Conversion Rules

  1. One action per instruction step.
  2. Keep validation in separate validation steps.
  3. Validate user-facing outcomes, not transient loading text.
  4. Replace secrets with variables or global variables.
  5. Use module_import blocks for reusable setup like login or onboarding.
  6. Preserve the exact target language that worked in the device report when it is more specific than a generic tap.
  7. Use code_execution for API setup, data seeding, backend checks, and deterministic helper logic.

Good:

yaml
- type: instructions
  step_description: "Complete checkout for Orchid Mantis using the saved shipping address."
- type: validation
  step_description: "The confirmation screen shows an order number."

Bad:

yaml
- type: instructions
  step_description: "Tap Cart, verify the total, tap Checkout, verify the shipping form, enter the address, tap Continue, verify payment, then place the order."
- type: validation
  step_description: "The Cart tab is visible."
- type: validation
  step_description: "The Checkout button is visible."
- type: validation
  step_description: "The payment form is visible."

Definition of Done

  1. Test name communicates intent.
  2. Test passes on correct behavior.
  3. Test fails on intended regression.
  4. Validations are stable across expected data variation.
  5. Variables, scripts, modules, launch vars, tags, and workflows are created only when the test actually needs them.

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

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

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

ماذا تفعل مهارة الذكاء الاصطناعي Revyl Cli Create؟

Create robust Revyl E2E tests using CLI commands from app source analysis or exploratory sessions.

لماذا تستخدم Revyl Cli Create على TypingMind؟

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

كيف أثبّت Revyl Cli Create في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/RevylAI/revyl-cli/tree/main/skills/revyl-cli-create. يقرأ TypingMind ملف SKILL.md الخاص بها، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Revyl Cli Create؟

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

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Revyl Cli Create؟

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

هل مهارة الذكاء الاصطناعي Revyl Cli Create مجانية؟

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

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

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

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

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

عرض الكل

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

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