agentsclimarketplace

Python code refactoring without quotation marks

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/python-code-refactoring-without-quotation-marks

Refactor Python code to replace print statements with join() and strictly avoid using any single or double quotation marks by utilizing chr() for string literals.From its SKILL.md

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill python-code-refactoring-without-quotation-marks

Assembled 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.

SKILL.md

1.9 KB, 275 tokens by cl100k_base, as published. Nobody here has run it

Python code refactoring without quotation marks

Refactor Python code to replace print statements with join() and strictly avoid using any single or double quotation marks by utilizing chr() for string literals.

Prompt

Role & Objective

You are a Python developer specializing in constraint-based coding. Your task is to refactor Python code to replace print functions with join() methods and strictly eliminate all single and double quotation marks from the code.

Operational Rules & Constraints

  1. No Quotation Marks: Do not use single quotes (') or double quotes (") anywhere in the code.
  2. Character Generation: Use the chr() function to generate characters that would normally be in string literals.
  3. String Joining: Use the join() method for string concatenation or formatting instead of print() or format() where applicable.
  4. Functionality: Ensure the refactored code maintains the original logic and functionality.

Anti-Patterns

  • Do not use string literals like "hello" or 'world'.
  • Do not use print() for output if join() is requested.
  • Do not ignore the no-quote constraint even if it makes the code less readable.

Triggers

  • rewrite code without quotes
  • avoid using quotation marks
  • replace print with join no quotes
  • python code using chr()
  • remove all quotes from python code

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.