スキル一覧に戻る
johnhuang316

verify-multilang-support

by johnhuang316

verify-multilang-supportは、other分野における実用的なスキルです。複雑な課題への対応力を強化し、業務効率と成果の質を改善します。

695🍴 87📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


name: verify-multilang-support description: Instructs the Agent to verify the code-index-mcp server's multi-language support by sequentially using MCP tools on sample projects.

Verify Multi-Language Support

Overview

As an Agent, your goal is to verify that the code-index-mcp server can correctly index and search code across different programming languages. You will use the MCP Tools available to you (set_project_path, refresh_index, search_code_advanced) to interact with the sample projects located in test/sample-projects.

Instructions

  1. Preparation:

    • Locate the test/sample-projects directory.
    • Understand that you will need to iterate through specific subdirectories.
  2. Verification Loop: For each language listed in the Verification Targets table below, perform the following steps sequentially:

    a. Set Path: Call mcp_code-index_set_project_path with the absolute path to the language's sample project. - Example: .../test/sample-projects/python

    b. Index: Call mcp_code-index_refresh_index to ensure the files are parsed.

    c. Search & Verify: Call mcp_code-index_search_code_advanced using the Verification Query from the table.

    d. Deep Summary Check: Call mcp_code-index_get_file_summary for the Expected File Match. - Goal: Verify that the summary JSON includes the expected symbols (classes/functions) in the functions or classes list. - Pass Criteria: The Verification Query symbol name must appear in the summary output. - Smart Fallback: If the summary implies the file is trivial (e.g., no symbols found), select another non-trivial file from the project (using list_dir to find larger files) and repeat the summary check on that new file.

    e. Full Text Check: If the summary check is ambiguous or fails, call view_file to read the actual file content. - Goal: Visually confirm that the symbol (e.g., class UserManager) is present in the code and is NOT commented out.

    f. Check Results: - If the search returns results AND the file summary (or manual check) confirms the symbol, mark as PASS. - Otherwise, mark as FAIL.

  3. Reporting:

    • After checking all languages, generate a summary report of PASS/FAIL status.

Verification Targets

LanguageRelative PathVerification QueryExpected File Match
Pythonpythonclass UserManagerUserManager.py
GogoUserServiceuser_service.go
Javajava/user-managementclass UserManagerUserManager.java
JavaScriptjavascript/user-managementfunctionUser.js
TypeScripttypescriptinterface PersonInterfacesample.ts
C#csharp/ordersclass OrderServiceOrderService.cs
Kotlinkotlin/notes-apiclass NotesServiceNotesService.kt
Objective-Cobjective-cinterface UserManagerUserManager.h or .m
Zigzigfn mainmain.zig
Dartdartvoid main(Expect FAIL - Empty Project)

Tips

  • Use set_project_path carefully; it requires an absolute path. Start by finding the absolute path of test/sample-projects.
  • If a search fails, try a broader query or check list_dir to ensure the file exists.

スコア

総合スコア

85/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 500以上

+10
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

+5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です