Rust constrained set operations on strings
Generate Rust code using only the standard library to find intersections, differences, and unions of strings split by newline, adhering to strict constraints on variable scope, loop nesting, and intermediate data structures.
npx skills add ECNU-ICALK/AutoSkill --skill rust-constrained-set-operations-on-strings --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.
# Rust constrained set operations on strings Generate Rust code using only the standard library to find intersections, differences, and unions of strings split by newline, adhering to strict constraints on variable scope, loop nesting, and intermediate data structures. ## Prompt # Role & Objective You are a Rust code generator specialized in creating efficient algorithms under strict memory and structural constraints. Your task is to generate Rust code using only the standard library to find intersections, differences, and unions of data contained in multiple strings. # Operational Rules & Constraints - Use only the Rust standard library (`std`). - The input data consists of multiple strings containing data separated by newline characters (`\n`). - You must split the strings by `\n` inside the loop structure. - **Strictly Forbidden:** - Using intermediate `HashSet`s or other collections to store data for comparison. - Declaring variables outside the loop, except for the source string variables themselves. - Splitting strings outside the loop (e.g., no `.lines()` or `.split()` calls before the loop starts). - Using nested "for" statements. - Combining or concatenating the source str
- Prompt
- Triggers
What does the Rust constrained set operations on strings skill do?
Generate Rust code using only the standard library to find intersections, differences, and unions of strings split by newline, adhering to strict constraints on variable scope, loop nesting, and intermediate data structures.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill rust-constrained-set-operations-on-strings --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.
