[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MCNQ4EBVD1DA2MH91XT4CG":3,"skill-same:01M6MCNQ4EBVD1DA2MH91XT4CG":92},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":47,"linkOnly":48,"markdownContent":49,"markdownBody":50,"frontMatter":51,"refName":58,"commitSha":59,"skillDirectory":60,"forksCount":61,"repositoryHtmlUrl":62,"repositoryHomepageUrl":63,"ownerHtmlUrl":64,"ownerBlogUrl":65,"ownerDescription":66,"updatedAt":67,"install":68,"resources":81},"01M6MCNQ4EBVD1DA2MH91XT4CG","rust-iterator-collections",null,"Design and review Rust iterator pipelines and collection code for clear ownership, allocation, ordering, and error behavior. Use when writing, refactoring, or reviewing iterators, HashMap Entry usage, collect, FromIterator, Extend, custom iterators, or allocation-heavy loops.","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1566,"MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Frust-iterator-collections\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],"rust iterator collections","rust","collections","use","when","extend","custom","review rust","for","allocation","usage","loops","error","design","behavior","refactoring","collection","collect","code","performance","codex","review","writing","2026-11-10 10:12:30",false,"---\nname: rust-iterator-collections\ndescription: Design and review Rust iterator pipelines and collection code for clear ownership, allocation, ordering, and error behavior. Use when writing, refactoring, or reviewing iterators, HashMap Entry usage, collect, FromIterator, Extend, custom iterators, or allocation-heavy loops.\nlicense: MIT\ncompatibility: Codex, Claude Code, and other Agent Skills-compatible clients.\nmetadata:\n  version: \"0.1.0\"\n  displayName: Rust Iterator Collections\n  category: Rust\n  tags: rust,iterators,collections,hashmap,performance\n---\n\n# Rust Iterator Collections\n\nUse this skill to turn collection code into clear, idiomatic Rust. Prefer\niterator and collection APIs that express the operation directly while keeping\nownership, allocation, and error behavior visible.\n\n## Core Workflow\n\n1. Identify the input ownership mode: borrowed iteration, mutable iteration, or\n   consuming iteration.\n2. Pick the simplest iterator shape: `iter`, `iter_mut`, `into_iter`, ranges,\n   `drain`, or a collection-specific method.\n3. Replace manual loops with adapters only when the resulting code is clearer.\n   Keep explicit loops for complex branching, early mutation, or debugging.\n4. Use fallible iterator consumers such as `collect::\u003CResult\u003CVec\u003C_>, _>>()`,\n   `try_fold`, and `try_for_each` when errors should short-circuit.\n5. Use `HashMap::entry` or `BTreeMap::entry` for insert-or-update logic.\n6. Avoid unnecessary intermediate `Vec`s. Chain iterators or extend an existing\n   collection when possible.\n7. Test empty input, single item input, duplicate keys, ordering expectations,\n   and error short-circuiting.\n\n## Iterator Rules\n\n- Accept `impl IntoIterator\u003CItem = T>` when the function only needs iteration.\n- Use `&[T]` when slice semantics are enough; avoid `&Vec\u003CT>`.\n- Use `filter_map` for map-then-discard-`None`; use `flat_map` when each item\n  expands to zero or more items.\n- Use `map_while` or `scan` for stateful transformations when they make stopping\n  behavior explicit.\n- Add type annotations at `collect` boundaries, not throughout the pipeline.\n- Prefer `cloned` or `copied` over `map(|x| x.clone())` when cloning iterator\n  items is intentional.\n\n## Collection Rules\n\nRead `references\u002Fiterator-collection-patterns.md` when refactoring a loop or\nreviewing collection mutation.\n\n- Use `Vec` for contiguous ordered data, `VecDeque` for queue-like push\u002Fpop at\n  both ends, `BinaryHeap` for priority queues, `HashMap` for unordered lookup,\n  and `BTreeMap` for sorted lookup or range queries.\n- Use `retain`, `drain`, `splice`, and `split_off` instead of mutating a\n  collection while separately iterating over borrowed elements.\n- Use `Entry::or_insert_with` when default construction is expensive.\n- Preserve ordering deliberately. Do not swap `BTreeMap` for `HashMap` when\n  iteration order is part of behavior.\n- Reserve capacity only when size is known or profiling shows reallocation\n  matters.\n\n## Review Checklist\n\n- The pipeline communicates ownership and error behavior clearly.\n- No `contains_key` followed by `insert` where `entry` would be simpler.\n- No avoidable `collect::\u003CVec\u003C_>>()` just to iterate again.\n- Indexing is used only when indices are the domain concept.\n- Tests cover duplicates, empty input, and deterministic ordering where needed.\n","# Rust Iterator Collections\n\nUse this skill to turn collection code into clear, idiomatic Rust. Prefer\niterator and collection APIs that express the operation directly while keeping\nownership, allocation, and error behavior visible.\n\n## Core Workflow\n\n1. Identify the input ownership mode: borrowed iteration, mutable iteration, or\n   consuming iteration.\n2. Pick the simplest iterator shape: `iter`, `iter_mut`, `into_iter`, ranges,\n   `drain`, or a collection-specific method.\n3. Replace manual loops with adapters only when the resulting code is clearer.\n   Keep explicit loops for complex branching, early mutation, or debugging.\n4. Use fallible iterator consumers such as `collect::\u003CResult\u003CVec\u003C_>, _>>()`,\n   `try_fold`, and `try_for_each` when errors should short-circuit.\n5. Use `HashMap::entry` or `BTreeMap::entry` for insert-or-update logic.\n6. Avoid unnecessary intermediate `Vec`s. Chain iterators or extend an existing\n   collection when possible.\n7. Test empty input, single item input, duplicate keys, ordering expectations,\n   and error short-circuiting.\n\n## Iterator Rules\n\n- Accept `impl IntoIterator\u003CItem = T>` when the function only needs iteration.\n- Use `&[T]` when slice semantics are enough; avoid `&Vec\u003CT>`.\n- Use `filter_map` for map-then-discard-`None`; use `flat_map` when each item\n  expands to zero or more items.\n- Use `map_while` or `scan` for stateful transformations when they make stopping\n  behavior explicit.\n- Add type annotations at `collect` boundaries, not throughout the pipeline.\n- Prefer `cloned` or `copied` over `map(|x| x.clone())` when cloning iterator\n  items is intentional.\n\n## Collection Rules\n\nRead `references\u002Fiterator-collection-patterns.md` when refactoring a loop or\nreviewing collection mutation.\n\n- Use `Vec` for contiguous ordered data, `VecDeque` for queue-like push\u002Fpop at\n  both ends, `BinaryHeap` for priority queues, `HashMap` for unordered lookup,\n  and `BTreeMap` for sorted lookup or range queries.\n- Use `retain`, `drain`, `splice`, and `split_off` instead of mutating a\n  collection while separately iterating over borrowed elements.\n- Use `Entry::or_insert_with` when default construction is expensive.\n- Preserve ordering deliberately. Do not swap `BTreeMap` for `HashMap` when\n  iteration order is part of behavior.\n- Reserve capacity only when size is known or profiling shows reallocation\n  matters.\n\n## Review Checklist\n\n- The pipeline communicates ownership and error behavior clearly.\n- No `contains_key` followed by `insert` where `entry` would be simpler.\n- No avoidable `collect::\u003CVec\u003C_>>()` just to iterate again.\n- Indexing is used only when indices are the domain concept.\n- Tests cover duplicates, empty input, and deterministic ordering where needed.\n",{"name":5,"license":15,"metadata":52,"description":7,"compatibility":57},{"tags":53,"version":54,"category":55,"displayName":56},"rust,iterators,collections,hashmap,performance","0.1.0","Rust","Rust Iterator Collections","Codex, Claude Code, and other Agent Skills-compatible clients.","main","2b63f856ce19c2a797929cacabd9e0fc936812fa","plugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Frust-iterator-collections",483,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-13 02:16:32",{"source":8,"skillName":5,"commands":69,"prompt":79,"zipAvailable":80},[70,73,76],{"tool":71,"command":72},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill rust-iterator-collections",{"tool":74,"command":75},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill rust-iterator-collections",{"tool":77,"command":78},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill rust-iterator-collections","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Frust-iterator-collections\u002FSKILL.md",true,[82,88],{"path":83,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":86,"sourceHtmlUrl":87},"agents\u002Fopenai.yaml","REFERENCE","参考文档",229,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Frust-iterator-collections\u002Fagents\u002Fopenai.yaml",{"path":89,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fiterator-collection-patterns.md",1778,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Frust-iterator-collections\u002Freferences\u002Fiterator-collection-patterns.md",[93,102,109,116,140,164],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":97,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":101},"01M746ZWACVKMZ1BJXJZHYJSSX","migrate-to-e2e","Moves an existing Playwright, Cypress, Selenium, Appium, Detox, Maestro, or TesterArmy suite to e2e one slice at a time, with the old suite running beside the new one until each ported test is proven. Keeps a MIGRATION.md progress file so any later session resumes where the last stopped. Optionally plants a defect to show both suites catch it. Use for \u002Fmigrate-to-e2e, \"migrate our tests to e2e\", \"port these Maestro flows\", \"move our TesterArmy tests\", or when a project has an e2e config and an older suite still running.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Ftester-army\u002Fe2e\u002Fskills\u002Fmigrate-to-e2e\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":97,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":101},"01M746ZPTAX1Q0FBKAB1CYND7E","e2e","Writes, runs, and debugs end-to-end tests for web and mobile apps with e2e, the agentic test runner, which mixes agent.act goals with exact locator assertions on a Playwright browser or an iOS or Android device. Also drives a project's running app live over the e2e MCP server to look at a screen, check a UI change, take a screenshot or record a video, and try a locator; and runs bug bashes, parallel e2e explore runs with each bug proven by a repro test. Use when a project depends on e2e or has an e2e.config.ts, when asked for end-to-end, browser, mobile, or agentic UI tests, to check a change in the running app, to QA or bug bash an app or branch, or when an e2e run fails.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Ftester-army\u002Fe2e\u002Fskills\u002Fe2e\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":97,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":101},"01M746ZJN784HVHMDP9MQGCSGG","create-verification-skill","Generate a project-local verify-\u003Capp> skill on top of e2e, so any coding agent can launch the app, check it is worth driving, exercise a feature the way a user does, keep evidence, and bug bash it. Writes the skill, a feature map with one explore charter per feature, and proves it once. Use for \u002Fcreate-verification-skill, \"make a verification skill for this repo\", or when a project has no scripted way to prove UI behavior.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Ftester-army\u002Fe2e\u002Fskills\u002Fcreate-verification-skill\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":97,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":47},"01M716A6ETNB9B1SQ3GXZC75VR","deja-search","deja-vu memory — search the user's past AI coding sessions with the deja CLI. Holds what they already settled and never wrote into the repo (naming rules, banned or already-tried tools, required checks before merge, preferred values, who owns what). Use before your first edit in a task, before you call a change done or ready to merge, before you recommend a tool, library, design or reviewer, before re-debugging an error that may already be solved, when they say 'didn't we fix this before', 'what did we decide about X' or 'I already have that', and before telling them something on this machine does not exist.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fvshulcz\u002Fdeja-vu\u002Fskills\u002Fdeja-search\u002FSKILL.md",[],[123,124,125,36,126,127,128,129,130,37,131,28,132,133,134,135,136,137,138,139],"search","deja search","never","ready","memory","re","decide","fix","debugging","you","done","reviewer","io","change","cli","merge","past",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":97,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":47},"01M716A3J2W5SENSE9VGMXB375","deja-reflect","End-of-session reflection and memory curation with deja-vu. Review what was decided, what commands broke and what repaired them, and record durable project rules or decisions with deja remember so the next session starts with them.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fvshulcz\u002Fdeja-vu\u002Fskills\u002Fdeja-reflect\u002FSKILL.md",[],[147,148,45,135,149,150,151,152,153,154,155,156,157,158,127,159,160,161,162,163],"deja reflect","reflect","with","record","github","next","https","node","Rules","decisions","brew","remember","project rules","project","session","end","reflection",{"skillNo":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":97,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":177,"publishedAt":47},"01M715T3RR4BAYSR57HPPTJ0PF","revid","Make, edit, export and post AI videos with Revid (revid.ai) through the Revid MCP server. Use whenever the user wants a short-form or long-form video made (from an idea, a script, a URL, an article, a PDF, a tweet, a product page, their own clips, or a song), wants to find what is going viral on TikTok, YouTube, Instagram or X before making something, wants to edit or re-export an existing Revid project, generate a standalone AI image or clip, make a series episode, or publish and schedule a finished video to connected social accounts. Covers setup (hosted MCP with OAuth, or an API key), the 36 tools, credits, polling and the rules for publishing. Routes to the more specific revid-* skills when one fits.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Ftmakersas\u002Frevid-skills\u002Fskills\u002Frevid\u002FSKILL.md",[170,173,174],{"categoryNo":171,"categoryName":172,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000016","图像与多媒体",{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":175,"categoryName":176,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000010","后端与接口",[166,178,179,180,181,182,183,160,184,128,185,186,187,188,28,189,190,191,192,193],"URL","Video","short-form","standalone","PDF","viral","tiktok","short","social","MCP","song","image","mcp server","schedule","api","publish"]