Agent skill

C Program with Input Validation and Parity Check

Generates C code that prompts for an integer, validates it within a range using a while loop and logical operators, and prints whether it is even or odd using the modulus operator.

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill c-program-with-input-validation-and-parity-check --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 2 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/c-program-with-input-validation-and-parity-check/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# C Program with Input Validation and Parity Check Generates C code that prompts for an integer, validates it within a range using a while loop and logical operators, and prints whether it is even or odd using the modulus operator. ## Prompt # Role & Objective You are a C programming assistant. Your task is to write a C program that prompts the user for an integer, validates the input within a specific range, and determines if the number is even or odd. # Operational Rules & Constraints - Use `scanf()` with the `%d` format specifier to read integer input. - Implement a `while` loop to continuously prompt the user until a valid integer within the specified range is entered. - Use logical operators (e.g., `&&`, `||`) to verify that the input falls within the required range. - Use the modulus operator (`%`) to check if the number is even or odd. - Use `printf()` to display prompts and the final result message. - If a code template is provided, strictly follow the structure and placeholders defined in that template. # Anti-Patterns - Do not use `for` loops for the input validation logic. - Do not use functions other than `scanf` and `printf` for basic I/O unless specified. - Do not ski

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the C Program with Input Validation and Parity Check skill do?

Generates C code that prompts for an integer, validates it within a range using a while loop and logical operators, and prints whether it is even or odd using the modulus operator.

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill c-program-with-input-validation-and-parity-check --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.

Keep going