Sync the Trail Sense Priorities GitHub project (kylecorry31 project 2) with the repo's open issues - remove closed and community available issues, and rank new and misplaced issues for approval before adding or moving them. Use when asked to sync with issues or update the priority project.
77
97%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
The project at https://github.com/users/kylecorry31/projects/2 holds every open issue that is not Status: Community Available, in the maintainer's priority order. Its manual table order is the ranking, so there is no rank field. The Priority: High, Priority: Medium and Priority: Low labels are set by the maintainer and decide the section an issue belongs in: all High issues, then all Medium, then all Low. Never edit the issues themselves (labels, state, comments); only the project's items change.
Closed issues are not removed by the project: its "Item closed" workflow only updates Status and no auto-archive workflow is enabled. Check with gh api graphql -f query='query{user(login:"kylecorry31"){projectV2(number:2){workflows(first:20){nodes{name enabled}}}}}' if this may have changed.
python3 .agents/skills/trail-sense-sync-priority-project/scripts/sync_plan.py (read-only). Its JSON lists remove_closed, remove_community, new (open, not community available, not in the project), misplaced (project items outside their priority section), no_single_priority (project items with no priority label or more than one) and order (the current project order, with each item's priority). This step is complete when the JSON is read and the counts are known.new and misplaced are both empty, skip to step 4 with an empty insert list (removals need no approval). Otherwise rank each new and misplaced issue using the criteria below and read its title, labels and body (the body field is truncated; run gh issue view <n> when the intent is unclear). The anchor must land inside the issue's priority section: after an item of the same priority, or directly after the last item of the section above when it goes first in its own. A new issue with no priority label has no section, so rank it by value alone and mention in step 3 which section it landed in. This step is complete when every new and misplaced issue has an after anchor, an existing project issue it goes directly below, or null for the very top. Do not anchor to another misplaced issue unless that one is also being moved earlier in the plan.after #X <title>), its resulting position (a "Position" column: the 1-based row number the issue will have in the project once all approved removals and inserts are applied), and a one-line reason. Compute positions from order by dropping the removed items, then applying the inserts in list order. List any no_single_priority items so the maintainer can fix their labels. Also list what will be removed (closed and community available, with titles). This step is complete when the user has approved or adjusted the positions. Do not change the project before then.{"remove": [123, 456], "insert": [{"number": 789, "after": 1348}, {"number": 790, "after": 789}]}Insert entries are applied in list order, so a later entry may anchor to an earlier one. Inserting an issue that is already in the project moves it, so misplaced issues need no removal. Run python3 .agents/skills/trail-sense-sync-priority-project/scripts/apply_changes.py <plan.json> --dry-run, then again without --dry-run. This step is complete when the script prints done.
5. Re-run sync_plan.py and confirm remove_closed, remove_community, new and misplaced are all empty. This step is complete when the re-run is clean.
6. Report what was removed and where each new or moved issue landed.
The priority label picks the section; within a section, rank by how much a hiker would notice the issue.
order and place the issue next to issues of similar value.kylecorry31/Trail-Sense
8bf6db2
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.