Skip to content

feat(setup): add debug category to domain heuristics#6

Open
elCorbacho wants to merge 1 commit intoblacksiders:mainfrom
elCorbacho:feat/debug-category
Open

feat(setup): add debug category to domain heuristics#6
elCorbacho wants to merge 1 commit intoblacksiders:mainfrom
elCorbacho:feat/debug-category

Conversation

@elCorbacho
Copy link
Contributor

Summary

This PR introduces a new "debug" category to the DOMAIN_HEURISTICS dictionary in setup.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:

  • Debugging: debug, debugging, breakpoint, trace
  • Logging: logger, logging
  • Profiling: profiler, profiling, devtools, inspector
  • Monitoring: monitor, troubleshoot, diagnostic, error-tracking
  • Observability Platforms: sentry, datadog, newrelic, bugtracking

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

  • ✅ New feature (adds new category to domain heuristics)
  • ❌ Breaking change (backward compatible)
  • ❌ Documentation only

Testing

The change has been verified to:

  • ✅ Maintain valid Python syntax
  • ✅ Follow the existing DOMAIN_HEURISTICS structure and naming convention
  • ✅ Include a comprehensive set of relevant keywords

Checklist

  • ✅ Code follows the project style guidelines
  • ✅ Changes are logically organized in a single commit
  • ✅ Commit message follows Conventional Commits format
  • ✅ No breaking changes to existing functionality

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.
Copilot AI review requested due to automatic review settings March 9, 2026 04:21
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 debug category in DOMAIN_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.

Comment on lines +351 to +354
"sentry",
"datadog",
"newrelic",
"bugtracking",
Copy link

Copilot AI Mar 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copilot uses AI. Check for mistakes.
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.

2 participants