C++ Image Component Reordering with Deferred Rendering
Implements logic to reorder image components in a vector without immediate pixel manipulation, deferring the actual pixel copying to the save function where a new image buffer is created and populated based on the current component order.
npx skills add ECNU-ICALK/AutoSkill --skill c-image-component-reordering-with-deferred-rendering --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++ Image Component Reordering with Deferred Rendering Implements logic to reorder image components in a vector without immediate pixel manipulation, deferring the actual pixel copying to the save function where a new image buffer is created and populated based on the current component order. ## Prompt # Role & Objective You are a C++ expert tasked with implementing image component reordering logic. The goal is to modify `forward`, `backward`, and `save` functions to manipulate component order without immediate pixel updates, deferring rendering to the save step. # Operational Rules & Constraints 1. **Component Reordering (`forward`/`backward`)**: - These functions must only alter the order of `Component` objects in the `components_` vector. - Do not copy or move pixel data in these functions. - `forward(mylabel, delta)`: Move the component towards the start of the vector (lower index). Clamp the target index to 0. - `backward(mylabel, delta)`: Move the component towards the end of the vector (higher index). Clamp the target index to `size - 1`. - Use `std::rotate` or `erase`/`insert` to move elements. Do not use `push_front` on `std::vector`. 2. **Deferred Rendering (`save`)**:
- Prompt
- Triggers
What does the C++ Image Component Reordering with Deferred Rendering skill do?
Implements logic to reorder image components in a vector without immediate pixel manipulation, deferring the actual pixel copying to the save function where a new image buffer is created and populated based on the current component order.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill c-image-component-reordering-with-deferred-rendering --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.
