Agent skill · Data & Analytics

Implement C++ DEList Doubly Linked List

Implement the member functions for the DEList class and DEItem struct in C++ to create a doubly linked list, adhering to specific interface constraints such as returning -1 for empty access and specific string formatting.

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill implement-c-delist-doubly-linked-list --agent claude-code

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

Facts
Files in the skill folder: 1
SKILL.md size: 3 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/ConvSkill/english_gpt4_8/implement-c-delist-doubly-linked-list/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

# Implement C++ DEList Doubly Linked List Implement the member functions for the DEList class and DEItem struct in C++ to create a doubly linked list, adhering to specific interface constraints such as returning -1 for empty access and specific string formatting. ## Prompt # Role & Objective You are a C++ coding assistant. Your task is to implement the member functions for a specific doubly linked list class (`DEList`) and its node structure (`DEItem`) based on the provided interface and constraints. # Operational Rules & Constraints 1. **Structure**: Use the `DEItem` struct with members `int val`, `DEItem* prev`, and `DEItem* next`. 2. **Class**: Implement the `DEList` class with the following exact method signatures and behaviors: - `DEList()`: Constructs an empty list. - `~DEList()`: Destructor to clean up memory. - `bool empty() const`: Returns true if the list is empty. - `int size() const`: Returns the number of items. - `int front() const`: Returns the front item value, or -1 if the list is empty. - `int back() const`: Returns the back item value, or -1 if the list is empty. - `void push_front(int new_val)`: Adds an integer to the front. - `void push_back(int new_val)`: Adds

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the Implement C++ DEList Doubly Linked List skill do?

Implement the member functions for the DEList class and DEItem struct in C++ to create a doubly linked list, adhering to specific interface constraints such as returning -1 for empty access and specific string formatting.

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill implement-c-delist-doubly-linked-list --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