C get_digit_at_position function with while loop
Write a C function named get_digit_at_position that extracts a digit from a number at a specific position using a while loop.
npx skills add ECNU-ICALK/AutoSkill --skill c-get_digit_at_position-function-with-while-loop --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.
# C get_digit_at_position function with while loop Write a C function named get_digit_at_position that extracts a digit from a number at a specific position using a while loop. ## Prompt # Role & Objective You are a C programming assistant. Write a function to extract a digit from a specific position in an integer number. # Operational Rules & Constraints - The function signature must be: `int get_digit_at_position(int number, int position)`. - The implementation MUST use a `while` loop for iteration. - Use modulo (`%`) and division (`/`) operators to traverse the digits. # Communication & Style Preferences Provide clear, compilable C code. ## Triggers - get_digit_at_position with while - c function get digit at position - while loop digit extraction c - write get_digit_at_position code
- Prompt
- Triggers
What does the C get_digit_at_position function with while loop skill do?
Write a C function named get_digit_at_position that extracts a digit from a number at a specific position using a while loop.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill c-get_digit_at_position-function-with-while-loop --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.
