AutoSkill 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.

install
source · Clone the upstream repo
git clone https://github.com/ECNU-ICALK/AutoSkill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ECNU-ICALK/AutoSkill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/SkillBank/ConvSkill/english_gpt3.5_8/c-url-parameter-parser-without-unordered-map" ~/.claude/skills/ecnu-icalk-autoskill-c-url-parameter-parser-without-unordered-map && rm -rf "$T"
manifest: SkillBank/ConvSkill/english_gpt3.5_8/c-url-parameter-parser-without-unordered-map/SKILL.md
source content

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