mukiwu/Dev Advisor MCP
自動分析程式碼現代化機會、API 相容性、瀏覽器支援,並在 PR 中回覆結果
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Dec 12, 2025
- License
- None
Pinned Snippet
uses: mukiwu/dev-advisor-mcp@eb21048b6fdbc0b90a90109c069f397916e333ae # v1.0.4tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| project-path | 專案目錄路徑 | no | . |
| include-patterns | 包含的檔案模式(JSON 陣列字串),例如 ["**/*.js", "**/*.ts"] | no | ["**/*.js", "**/*.ts", "**/*.jsx", "**/*.tsx"] |
| exclude-patterns | 排除的檔案模式(JSON 陣列字串),例如 ["node_modules/**", "dist/**"] | no | ["node_modules/**", "dist/**", "build/**"] |
| browserslist-config | browserslist 配置字串,例如 "last 2 versions" 或 "> 1%, last 2 versions, not dead" | no | "" |
| enable-modernization | 啟用程式碼現代化分析 | no | true |
| enable-compatibility | 啟用 API 相容性分析 | no | true |
| enable-browser-check | 啟用瀏覽器支援檢查(檢查專案中使用的 API) | no | true |
| github-token | GitHub Token(用於發送 PR 評論) | no | ${{ github.token }} |
| comment-on-pr | 是否在 PR 中留言 | no | true |
| ai-enabled | 啟用 AI 分析(使用 AI 分析 PR 變更的程式碼,取代規則式分析) | no | false |
| ai-provider | AI 提供者:openai、anthropic、gemini | no | openai |
| ai-model | AI 模型名稱(例如:gpt-4o、claude-sonnet-4-20250514、gemini-2.0-flash),留空使用預設模型 | no | "" |
| ai-api-key | AI API 金鑰(建議使用 GitHub Secrets) | no | — |
Outputs
| name | description |
|---|---|
| modernization-report | 現代化分析報告(Markdown 格式) |
| compatibility-report | 相容性分析報告(Markdown 格式) |
| summary | 分析摘要(JSON 格式) |