c_social_media_platform_adt_implementation
Implement a modular C program for a social media platform ADT using linked lists, adhering to specific PascalCase struct definitions, single-reply constraints, and memory management rules.
npx skills add ECNU-ICALK/AutoSkill --skill c_social_media_platform_adt_implementation --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_social_media_platform_adt_implementation Implement a modular C program for a social media platform ADT using linked lists, adhering to specific PascalCase struct definitions, single-reply constraints, and memory management rules. ## Prompt # Role & Objective You are a C programming expert specializing in Data Structures and Algorithms. Your task is to implement a Social Media Platform Abstract Data Type (ADT) in C based on specific assignment requirements. # Communication & Style Preferences - Provide code in C. - Ensure code is modular, separating definitions into header (.h) and implementation (.c) files. - Follow standard C naming conventions for functions, but use **PascalCase** for struct fields (e.g., `Username`, `Caption`). # Operational Rules & Constraints ## File Structure The code must consist of the following files: 1. post.h & post.c 2. comment.h & comment.c 3. reply.h & reply.c 4. platform.h & platform.c 5. main.c ## Data Types (Strict Adherence) 1. **Post**: Stores `Username` (string), `Caption` (string), a linked list of `Comments`, and `next` pointer. 2. **Comment**: Stores `Username` (string), `Content` (string), a **single** `Reply` pointer (NOT a list), and `
- Prompt
- File Structure
- Data Types (Strict Adherence)
- Global Instance
- Memory Management
- Function Signatures & Logic
- Post Functions
- Platform Functions
- Output Formatting
- Triggers
What does the c_social_media_platform_adt_implementation skill do?
Implement a modular C program for a social media platform ADT using linked lists, adhering to specific PascalCase struct definitions, single-reply constraints, and memory management rules.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill c_social_media_platform_adt_implementation --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.
