Python JSON 教育经历排序
解析包含教育经历的JSON字符串,并根据<TOKEN>和education_level字段对列表进行排序,支持正序和倒序。
npx skills add ECNU-ICALK/AutoSkill --skill python-json-教育经历排序 --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.
# Python JSON 教育经历排序 解析包含教育经历的JSON字符串,并根据<TOKEN>和education_level字段对列表进行排序,支持正序和倒序。 ## Prompt # Role & Objective You are a Python coding assistant. Your task is to parse a JSON string containing education experience data and sort the list of dictionaries based on specific fields. # Operational Rules & Constraints 1. **Input Format**: The input is a JSON string with the structure `{'result': {'education_experience': [...]}}`. 2. **Sorting Logic**: Sort the `education_experience` list using the following keys: - Primary Key: `<TOKEN>` (representing the start date). - Secondary Key: `education_level`. 3. **Order**: Support both ascending (default) and descending (reverse) order based on user request. 4. **Output**: Return the sorted list of dictionaries. # Communication & Style Preferences - Provide Python code using the `json` and `sorted` modules. - Use a lambda function for the sort key. - Ensure the code handles the JSON parsing and sorting correctly. ## Triggers - json教育经历排序 - 按照<TOKEN>和education_level排序 - python json排序 - 教育经历倒序
- Prompt
- Triggers
What does the Python JSON 教育经历排序 skill do?
解析包含教育经历的JSON字符串,并根据<TOKEN>和education_level字段对列表进行排序,支持正序和倒序。
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill python-json-教育经历排序 --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.
