Skip to content

Conversation

@konard
Copy link
Member

@konard konard commented Sep 14, 2025

Summary

Implements functionality to call all users with specific programming languages as requested in issue #24.

Changes Made

  • Added CallUsersByLanguageTrigger.cs: New trigger that handles commands like ! C++ to tag users
  • Updated Program.cs: Integrated the new trigger into the IssueTracker
  • Added test script: Created experimental test to verify trigger logic

How it Works

The bot now responds to issue comments containing ! <language> commands:

  1. Validates programming language: Supports 30+ languages with common aliases (e.g., JS → JavaScript, CPP → C++)
  2. Searches GitHub repositories: Finds top repositories using the specified language
  3. Identifies active developers: Extracts repository owners/contributors
  4. Posts @mentions: Creates a comment tagging up to 10 developers

Supported Languages

C++, C#, C, Java, JavaScript, Python, Ruby, Go, PHP, Swift, Kotlin, Rust, TypeScript, Scala, R, Dart, Lua, Perl, Haskell, Clojure, F#, Objective-C, Shell, PowerShell, HTML, CSS, Assembly, MATLAB, Groovy, Elixir, Erlang, Julia, Nim, Crystal

Example Usage

Command: Comment ! C++ on any issue
Result: Bot responds with a comment like:

Calling all C++ developers! 👋

@torvalds @bjarne @linus @developer4 @Developer5...

Found 10 top C++ developers based on repository stars.

Test Plan

  • Code compiles without errors
  • Trigger correctly identifies ! <language> pattern
  • Language validation works with aliases
  • Integration with existing bot architecture
  • End-to-end testing with GitHub API (requires bot deployment)

🤖 Generated with Claude Code

Co-Authored-By: Claude [email protected]


Resolves #24

Adding CLAUDE.md with task information for AI processing.
This file will be removed when the task is complete.

Issue: #24
@konard konard self-assigned this Sep 14, 2025
- Add CallUsersByLanguageTrigger to handle commands like "! C++"
- Support 30+ programming languages with aliases (e.g., JS -> JavaScript)
- Search GitHub repositories by language and tag top contributors
- Integrate trigger into IssueTracker in Program.cs
- Add experimental test script to verify trigger logic

The bot now responds to "! <language>" commands by:
1. Validating the programming language
2. Searching for top repositories in that language
3. Finding and mentioning active developers
4. Posting a comment with @mentions to call developers

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@konard konard changed the title [WIP] Call all users with specific programming language Implement language-specific user tagging functionality for issue #24 Sep 14, 2025
@konard konard marked this pull request as ready for review September 14, 2025 03:04
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.

Call all users with specific programming language

1 participant