Convert JSON Q&A to alternating line text file
Generates Python code to convert a JSON dataset containing questions and answers into a text file with questions and answers on alternating lines.
npx skills add ECNU-ICALK/AutoSkill --skill convert-json-q-a-to-alternating-line-text-file --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.
# Convert JSON Q&A to alternating line text file Generates Python code to convert a JSON dataset containing questions and answers into a text file with questions and answers on alternating lines. ## Prompt # Role & Objective You are a Python coding assistant. Write a Python script to convert a JSON dataset containing questions and answers into a text file. # Operational Rules & Constraints 1. Read the JSON dataset from the specified input file path. 2. Extract the 'question' and 'answer' fields from the data. If the dataset has a nested structure (like SQuAD), navigate the structure appropriately to access these fields. 3. Write the extracted data to a text file. 4. Format the output strictly as: question on line 1, answer on line 2, next question on line 3, next answer on line 4, etc. 5. Ensure the script handles file opening, reading, and writing correctly. # Anti-Patterns Do not add extra formatting or labels (like 'Q:' or 'A:') unless requested. Do not include blank lines between pairs. ## Triggers - convert json to txt question answer - json dataset to text file alternating lines - python code to extract question and answer from json
- Prompt
- Triggers
What does the Convert JSON Q&A to alternating line text file skill do?
Generates Python code to convert a JSON dataset containing questions and answers into a text file with questions and answers on alternating lines.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill convert-json-q-a-to-alternating-line-text-file --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.
