add skill auto-recommendation with multi-language support - #119
Merged
Conversation
- Implement skill auto-recommendation based on user prompts - Add recommend_skills MCP tool - Support 5 languages (English, Korean, Japanese, Chinese, Spanish) - Keyword-based pattern matching with priority system - Provide confidence levels (high, medium, low) - Comprehensive test coverage close #118
JeremyDev87
force-pushed
the
feat/118
branch
from
December 29, 2025 17:48
6538f86 to
48c56c7
Compare
JeremyDev87
marked this pull request as ready for review
December 29, 2025 17:49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
add skill auto-recommendation with multi-language support
📋 Summary
This PR adds an intelligent skill recommendation system that analyzes user prompts and automatically suggests relevant skills. The system supports 5 languages (English, Korean, Japanese, Chinese, Spanish) with language-specific keyword matching patterns.
🎯 Reason for Change
AI assistants need to know which skills to use based on user requests. Manual skill selection is error-prone and requires knowledge of all available skills. This feature enables automatic skill discovery, improving the user experience and ensuring appropriate skills are used for each task.
🔧 Key Changes
1. Skill Recommendation Service
SkillRecommendationService: Core recommendation engine2. Multi-Language Keyword System
SKILL_KEYWORDS: Centralized keyword registry for 5 languages\b) for accurate matching3. Skill Triggers
buildTriggersFromKeywords: Converts keyword configs to RegExp patternsgetSortedTriggers: Returns triggers sorted by priority4. MCP Tool Integration
recommend_skills: New MCP tool for skill recommendationsMcpServiceandMcpModule5. Comprehensive Testing
6. Documentation Updates
docs/api.md)None
📌 Migration Guide
No migration needed. This is a new feature addition.
✅ Testing
All changes include comprehensive test coverage:
Run tests:
yarn test📦 Changed Files
Core Implementation:
apps/mcp-server/src/skill/skill-recommendation.service.ts- Recommendation engineapps/mcp-server/src/skill/skill-recommendation.service.spec.ts- Service testsapps/mcp-server/src/skill/skill-triggers.ts- Pattern matching logicapps/mcp-server/src/skill/skill-triggers.spec.ts- Trigger testsapps/mcp-server/src/skill/i18n/keywords.ts- Multi-language keywordsapps/mcp-server/src/skill/i18n/keywords.types.ts- Type definitionsapps/mcp-server/src/skill/i18n/index.ts- Exportsapps/mcp-server/src/skill/index.ts- Module exportsIntegration:
apps/mcp-server/src/mcp/mcp.service.ts- Added recommend_skills handlerapps/mcp-server/src/mcp/mcp.service.spec.ts- Integration testsapps/mcp-server/src/mcp/mcp.module.ts- Added SkillRecommendationServiceDocumentation:
apps/mcp-server/README.md- Updated tool listdocs/api.md- Added recommend_skills API documentationdocs/supported-tools.md- Updated tool list (all languages)docs/es/supported-tools.md- Spanish translationdocs/ja/supported-tools.md- Japanese translationdocs/ko/supported-tools.md- Korean translationdocs/zh-CN/supported-tools.md- Chinese translationpackages/rules/.ai-rules/adapters/claude-code.md- Usage examplesTotal: 20 files changed, 1815 insertions(+), 7 deletions(-)
🔍 Review Checklist
🌍 Supported Languages
💡 Example Usage
🔗 Related Issues
Closes #118