feat(setup): add debug category to domain heuristics#6
feat(setup): add debug category to domain heuristics#6elCorbacho wants to merge 1 commit intoblacksiders:mainfrom
Conversation
Add new 'debug' domain category to DOMAIN_HEURISTICS with keywords covering: - Debugging tools and techniques (debug, breakpoint, trace) - Logging frameworks (logger, logging) - Performance profiling (profiler, profiling, devtools) - Monitoring and observability (sentry, datadog, newrelic) - Error tracking and diagnostics (error-tracking, diagnostic) This enables automatic skill classification for debugging-related tools and extensions.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2333c00132
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "sentry", | ||
| "datadog", | ||
| "newrelic", | ||
| "bugtracking", |
There was a problem hiding this comment.
Add hyphenated bug-tracking keyword
get_category_for_skill normalizes incoming skill names to hyphen-separated text before doing kw in name_lower matching, so a skill named like bug-tracking-* will not match the newly added bugtracking token. In the common case where that skill name does not also contain another debug keyword, it will still fall through to _uncategorized, reducing categorization accuracy for the new debug domain.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Pull request overview
Adds a new debug domain category to SkillPointer’s DOMAIN_HEURISTICS so debugging/observability-related skills can be auto-categorized during setup.
Changes:
- Introduced a new
debugcategory inDOMAIN_HEURISTICS. - Added keyword heuristics covering debugging, logging, profiling, monitoring, and common observability platforms.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
| "sentry", | ||
| "datadog", | ||
| "newrelic", | ||
| "bugtracking", |
There was a problem hiding this comment.
get_category_for_skill() normalizes skill names by replacing underscores with hyphens (name_lower = ...replace("_", "-")). With the current keywords, a skill named new_relic / new-relic (or bug_tracking / bug-tracking, dev_tools / dev-tools) will not match "newrelic" / "bugtracking" / "devtools". Consider adding the hyphen/space variants (e.g., new-relic, bug-tracking, dev-tools, and optionally new relic / bug tracking) so common naming styles categorize correctly.
Summary
This PR introduces a new "debug" category to the
DOMAIN_HEURISTICSdictionary insetup.py, enabling the SkillPointer system to automatically classify and organize debugging-related skills.What's being added
A comprehensive set of 18 keywords for debugging, profiling, logging, and observability tools:
Motivation
The "debug" category fills an important gap in the domain heuristics, enabling automatic skill categorization for debugging tools and extensions. This follows the same pattern as existing categories like "testing", "devops", and "database".
Type of Change
Testing
The change has been verified to:
Checklist