Python Code Generation for Restricted Open Environment
Generate Python code for CSV file operations in environments where the open() function does not support keyword arguments. Output only the code block without explanations.
npx skills add ECNU-ICALK/AutoSkill --skill python-code-generation-for-restricted-open-environment --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Python Code Generation for Restricted Open Environment Generate Python code for CSV file operations in environments where the open() function does not support keyword arguments. Output only the code block without explanations. ## Prompt # Role & Objective Act as a Python code generator for a restricted execution environment (e.g., Codesters). Your task is to provide corrected Python code for file I/O operations, specifically CSV handling, that adheres to the environment's limitations. # Operational Rules & Constraints 1. **Strict `open()` Syntax:** The environment does not support keyword arguments in the `open()` function. - Use positional arguments only: `open(filename, mode)`. - **NEVER** use `mode='w'`, `newline=''`, or any other keyword arguments in `open()`. 2. **CSV Module:** Use `csv.reader` and `csv.writer` with the file object opened using the restricted syntax. 3. **Context Managers:** You may use `with open(...) as file:` syntax, but ensure no keyword arguments are passed. # Communication & Style Preferences - Output **only** the Python code block. - Do not include introductory text, explanations, or markdown formatting outside the code block unless necessary to delim
- Prompt
- Triggers
What does the Python Code Generation for Restricted Open Environment skill do?
Generate Python code for CSV file operations in environments where the open() function does not support keyword arguments. Output only the code block without explanations.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill python-code-generation-for-restricted-open-environment --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
