Skip to content

Unify skills taxonomy across leaderboard and profile - #3

Open
DreadPirateRobertz wants to merge 1 commit into
steveyegge:profile-viewerfrom
DreadPirateRobertz:polecat/skills-taxonomy-fix
Open

Unify skills taxonomy across leaderboard and profile#3
DreadPirateRobertz wants to merge 1 commit into
steveyegge:profile-viewerfrom
DreadPirateRobertz:polecat/skills-taxonomy-fix

Conversation

@DreadPirateRobertz

Copy link
Copy Markdown

Summary

  • Extracts skill classification (Languages/Domains/Capabilities) into a shared commons.ClassifySkill function, eliminating duplicate hardcoded lists
  • Updates the leaderboard to show categorized skills (TopLanguages, TopDomains, TopCapabilities) matching the profile's taxonomy
  • Updates the profile to use the shared classification instead of its own local hardcoded language set and domain prefix list

The scoreboard previously showed a flat list of top skill tags (e.g., go, sql, testing) while the profile categorized them into Languages, Domains, and Capabilities. This PR ensures both surfaces use the same taxonomy from a single source of truth.

Test plan

  • go test ./... — all tests pass
  • go vet ./... — clean
  • New skills_test.go covers classification of languages, domains, capabilities, prefix matching, and String() output
  • Updated leaderboard_test.go validates categorized skill output
  • Updated server_test.go validates API JSON response uses categorized fields

🤖 Generated with Claude Code

Extract skill classification (Languages/Domains/Capabilities) into a
shared commons.ClassifySkill function used by both leaderboard and
profile. The leaderboard now shows categorized skills matching the
profile taxonomy instead of a flat tag list.

- Add internal/commons/skills.go with shared language set, domain
  prefixes, and ClassifySkill function
- Update leaderboard to classify top skills into TopLanguages,
  TopDomains, TopCapabilities
- Update profile to use shared classification instead of local
  hardcoded lists
- Update API types and CLI output to reflect categorized skills

Fixes gt-rzla

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
DreadPirateRobertz pushed a commit to DreadPirateRobertz/wasteland that referenced this pull request Mar 7, 2026
Add profile viewer — character sheet for the-pile
fkautz pushed a commit to fkautz/wasteland that referenced this pull request Mar 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant