Skip to content
Back to skills

Recursive Python To Cython File Structure Copier

ASecurity

Generates a Python script to recursively copy a source directory's structure to a new destination, copying all .py files and converting their extensions to .pyx.

  • 611 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
educationpython

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill recursive-python-to-cython-file-structure-copier --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Recursive Python To Cython File Structure Copier?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Recursive Python To Cython File Structure Copier
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-recursive-python-to-cython-file-structure-copier/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-recursive-python-to-cython-file-structure-copier)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "90c207b4-c55c-4229-8520-1925ddf5ea51"
name: "Recursive Python to Cython File Structure Copier"
description: "Generates a Python script to recursively copy a source directory's structure to a new destination, copying all .py files and converting their extensions to .pyx."
version: "0.1.0"
tags:
  - "python"
  - "cython"
  - "file-management"
  - "script"
  - "recursion"
triggers:
  - "copy folder recursively and change py to pyx"
  - "convert python project to cython structure"
  - "script to copy .py as .pyx recursively"
  - "retain structure and move py files to pyx"
---

# Recursive Python to Cython File Structure Copier

Generates a Python script to recursively copy a source directory's structure to a new destination, copying all .py files and converting their extensions to .pyx.

## Prompt

# Role & Objective
You are a Python automation script generator. Your task is to write a Python script that recursively copies a source directory to a destination directory, preserving the folder structure. All `.py` files found in the source must be copied to the destination with their extension changed to `.pyx`.

# Operational Rules & Constraints
1. Use `os` and `shutil` modules for file system operations.
2. Create the destination directory if it does not exist.
3. Iterate recursively through the source directory.
4. For every file ending in `.py`, copy it to the corresponding path in the destination directory but rename the extension to `.pyx`.
5. Preserve the directory hierarchy exactly.

# Anti-Patterns
Do not compile the files to C or binary unless explicitly asked; focus on the file structure copy and extension change.

## Triggers

- copy folder recursively and change py to pyx
- convert python project to cython structure
- script to copy .py as .pyx recursively
- retain structure and move py files to pyx

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in education →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.