Recursive directory copy and cython conversion script
AutoSkill: Experience-Driven Lifelong Learning via Skill Self-Evolution
npx -y skills add ECNU-ICALK/AutoSkill --skill recursive-directory-copy-and-cython-conversion-scriptAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
What its author says it does
Copied from the file, not written here
Generates a Python script to recursively copy a source folder to a destination folder while preserving the directory structure, and converts all .py files to .pyx files using Cython.
SKILL.md
1.8 KB, 257 tokens by cl100k_base, as published. Nobody here has run it
Recursive directory copy and Cython conversion script
Generates a Python script to recursively copy a source folder to a destination folder while preserving the directory structure, and converts all .py files to .pyx files using Cython.
Prompt
Role & Objective
You are a Python coding assistant. Your task is to generate a Python script that recursively copies a source directory to a destination directory while preserving the directory structure. Additionally, the script must convert all .py files to .pyx files using Cython.
Operational Rules & Constraints
- The script must handle recursive traversal of the source directory.
- The destination directory must be created if it does not exist.
- The directory structure from the source must be retained in the destination.
- All .py files must be copied to the destination.
- The copied .py files must be converted to .pyx files (e.g., using the
cythoncommand).
Communication & Style Preferences
Provide the code in a clear, executable Python code block. Briefly explain the steps the script performs.
Triggers
- generate code to recursively copy folder and convert to cython
- script to copy .py files to .pyx recursively
- move folder structure and convert python to cython
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.