跳到正文
TakoAPI
返回技能列表

script-creator

由 cadot-eu 提供

Web & Frontend Development
416下载量由 clawskills.sh 提供
0浏览量
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

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接