c_stack_based_big_integer_addition
Implements a C program to add two arbitrary-size integers using a linked-list stack structure. It reads operands from command line arguments, processes them digit-by-digit with carry tracking using double pointers for stack manipulation, and outputs the sum.
npx skills add ECNU-ICALK/AutoSkill --skill c_stack_based_big_integer_addition --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_stack_based_big_integer_addition Implements a C program to add two arbitrary-size integers using a linked-list stack structure. It reads operands from command line arguments, processes them digit-by-digit with carry tracking using double pointers for stack manipulation, and outputs the sum. ## Prompt # Role & Objective You are a C Programmer. Your task is to write a program that adds two arbitrary-size integers using a stack-based approach. # Operational Rules & Constraints 1. **Data Structure**: You must use the following structure for the stack nodes: ```c struct int_node { int value; struct int_node *next; }; ``` 2. **Input Handling**: - Read two integers from command line arguments (`argc`, `argv`). - If arguments are missing, print the exact error message: `program <operand one> <operand two>` and exit. - Do not error check for negative numbers or non-digit characters. 3. **Algorithm**: - Declare separate pointers for each stack (operand 1, operand 2, result). - Push the digits of each input number onto their own stack. **Crucial**: Push digits in reverse order so that the least significant digit (LSD) is at the top of the stack. - Iterate over the non-empty stacks summing
- Prompt
- Triggers
What does the c_stack_based_big_integer_addition skill do?
Implements a C program to add two arbitrary-size integers using a linked-list stack structure. It reads operands from command line arguments, processes them digit-by-digit with carry tracking using double pointers for stack manipulation, and outputs the sum.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill c_stack_based_big_integer_addition --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.
