تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

script-creator

بواسطة cadot-eu

Web & Frontend Development
416التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Create and modify scripts in ~/.nanobot/workspace/test with strict Git versioning.

الوصف

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

Manages script creation and modification in a dedicated workspace directory, using Git as the sole source of truth for each script's history. Each script lives in its own directory with an isolated Git repository. Before any action, the skill presents a detailed plan and waits for explicit confirmation.

Forces a checkpoint commit before every modification, so any change is reversible without relying on manual backups or undo history.

متى تستخدمها

  • Creating a versioned Python automation script from scratch
  • Making tracked changes to an existing shell or Python script
  • Isolating Python package dependencies per script via virtualenv
  • Rolling back a script to a previous state using Git history
  • Maintaining multiple independent scripts without cross-contamination

مثال على سير العمل

الإدخال

User asks: Create a Python script that fetches weather data using the requests library

الوكيل
  1. 1

    Presents creation plan listing directory path, file name, language, dependencies, and all steps

  2. 2

    Waits for explicit user confirmation before proceeding

  3. 3

    Creates ~/.nanobot/workspace/test/weather_fetcher/ and initializes a Git repository inside it

  4. 4

    Activates the shared venv and installs the requests package

  5. 5

    Writes script content to weather_fetcher.py and creates the initial Git commit

الإخراج

Script created at ~/.nanobot/workspace/test/weather_fetcher/weather_fetcher.py with one clean Git commit and requests installed in the shared venv

التثبيت

clawhub install cadot-eu/script-creator

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط