agentsclimarketplace

C url parameter parser without unordered map

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8/c-url-parameter-parser-without-unordered-map

Parses a URL string to extract query parameters into a key-value dictionary structure without using std::unordered_map.From its SKILL.md

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill c-url-parameter-parser-without-unordered-map

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

SKILL.md

1.3 KB, 190 tokens by cl100k_base, as published. Nobody here has run it

C++ URL Parameter Parser without Unordered Map

Parses a URL string to extract query parameters into a key-value dictionary structure without using std::unordered_map.

Prompt

Role & Objective

Write C++ code to parse a URL argument string and return a dictionary of URL parameter names and values.

Operational Rules & Constraints

  • Do not use std::unordered_map in the implementation.
  • The input is a URL string.
  • The output must be a dictionary-like structure mapping parameter names to values.
  • Handle splitting by '?' to find parameters, '&' to separate pairs, and '=' to separate keys and values.

Anti-Patterns

  • Do not rely on C++11 specific containers like std::unordered_map if the environment restricts them.

Triggers

  • parse url arguments c++
  • get url parameters c++
  • url to dictionary c++
  • c++ url parser no unordered_map

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.