@lvlup-sw/exarchos-dev 2.0.0 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvlup-sw/exarchos-dev",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "Developer convenience plugins for Exarchos — installs GitHub, Serena, Context7, and Microsoft Learn MCP",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
"dist",
|
|
11
11
|
".claude-plugin",
|
|
12
12
|
".mcp.json",
|
|
13
|
-
"settings.json"
|
|
13
|
+
"settings.json",
|
|
14
|
+
"rules",
|
|
15
|
+
"skills"
|
|
14
16
|
],
|
|
15
17
|
"scripts": {
|
|
16
18
|
"build": "tsc",
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mcp-tool-guidance
|
|
3
|
+
description: "Prefer specialized MCP tools over generic CLI approaches."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# MCP Tool Guidance
|
|
7
|
+
|
|
8
|
+
Use specialized MCP tools over generic approaches:
|
|
9
|
+
|
|
10
|
+
1. **Workflow state** — Exarchos MCP, never manual JSON
|
|
11
|
+
2. **Code structure** — Serena (`find_symbol`, `get_symbols_overview`) over grep
|
|
12
|
+
3. **GitHub operations** — GitHub MCP tools over `gh` CLI
|
|
13
|
+
4. **PR creation** — Graphite MCP (`gt submit --no-interactive --publish --merge-when-ready`), never `gh pr create`
|
|
14
|
+
5. **Library docs** — Context7 before web search
|
|
15
|
+
6. **State management** — `exarchos_workflow` set/get, never edit JSON directly
|
|
16
|
+
|
|
17
|
+
See `@skills/workflow-state/references/mcp-tool-reference.md` for detailed mappings.
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# Companion MCP Tool Reference
|
|
2
|
+
|
|
3
|
+
> Installed by exarchos-dev-tools companion (`npx @lvlup-sw/exarchos-dev`)
|
|
4
|
+
|
|
5
|
+
## GitHub (`mcp__plugin_github_github__*`)
|
|
6
|
+
|
|
7
|
+
GitHub platform integration. **Always use GitHub MCP tools for ALL GitHub operations. NEVER use `gh` CLI when an MCP equivalent exists.**
|
|
8
|
+
|
|
9
|
+
| Tool | When to Use |
|
|
10
|
+
|------|-------------|
|
|
11
|
+
| `get_file_contents` | Reading files from remote repos or other branches |
|
|
12
|
+
| `search_code` | Finding code patterns across repositories |
|
|
13
|
+
| `search_issues` | Checking for existing issues before creating new ones |
|
|
14
|
+
| `list_pull_requests` / `search_pull_requests` | Finding related PRs, checking PR status |
|
|
15
|
+
| `pull_request_read` | Reading PR details, diffs, review comments, status checks, files changed |
|
|
16
|
+
| `issue_read` / `issue_write` | Reading/managing issues |
|
|
17
|
+
| `list_commits` / `get_commit` | Examining commit history |
|
|
18
|
+
| `list_branches` / `create_branch` | Branch management |
|
|
19
|
+
| `add_issue_comment` | Commenting on issues |
|
|
20
|
+
| `pull_request_review_write` | Submitting PR reviews |
|
|
21
|
+
| `merge_pull_request` | Merging pull requests |
|
|
22
|
+
| `update_pull_request` | Updating PR title, body, or state |
|
|
23
|
+
|
|
24
|
+
### Key methods for `pull_request_read`
|
|
25
|
+
|
|
26
|
+
| Method | Instead of |
|
|
27
|
+
|--------|-----------|
|
|
28
|
+
| `get` | `gh pr view` |
|
|
29
|
+
| `get_diff` | `gh pr diff` |
|
|
30
|
+
| `get_status` | `gh pr checks` |
|
|
31
|
+
| `get_files` | `gh pr view --json files` |
|
|
32
|
+
| `get_review_comments` | `gh api repos/.../pulls/.../comments` |
|
|
33
|
+
| `get_reviews` | `gh pr view --json reviews` |
|
|
34
|
+
| `get_comments` | `gh pr view --json comments` |
|
|
35
|
+
|
|
36
|
+
**Proactive use:** When the user mentions a PR number, issue, or GitHub URL, use these tools to fetch context rather than asking the user to paste content. When checking PR merge status, review comments, or CI status, always use `pull_request_read` with the appropriate method.
|
|
37
|
+
|
|
38
|
+
## Serena (`mcp__plugin_serena_serena__*`)
|
|
39
|
+
|
|
40
|
+
Semantic code analysis with symbol-level understanding. **Prefer over grep/glob for code structure questions.**
|
|
41
|
+
|
|
42
|
+
| Tool | When to Use |
|
|
43
|
+
|------|-------------|
|
|
44
|
+
| `find_symbol` | Locating classes, functions, methods by name — faster and more precise than grep |
|
|
45
|
+
| `get_symbols_overview` | Understanding file/module structure without reading entire files |
|
|
46
|
+
| `find_referencing_symbols` | Finding all callers/users of a symbol — critical for safe refactoring |
|
|
47
|
+
| `search_for_pattern` | Regex search when symbol name is unknown |
|
|
48
|
+
| `replace_symbol_body` | Replacing entire function/class bodies with structural awareness |
|
|
49
|
+
| `insert_before_symbol` / `insert_after_symbol` | Adding code at precise structural locations |
|
|
50
|
+
| `rename_symbol` | Safe renames that update all references |
|
|
51
|
+
| `replace_content` | Regex-based replacement within files |
|
|
52
|
+
|
|
53
|
+
**Proactive use:** When exploring unfamiliar code, start with `get_symbols_overview` and `find_symbol` before reading full files. Use `find_referencing_symbols` before modifying any public API.
|
|
54
|
+
|
|
55
|
+
## Context7 (`mcp__plugin_context7_context7__*`)
|
|
56
|
+
|
|
57
|
+
Up-to-date library documentation. **Use instead of web search for library/framework questions.**
|
|
58
|
+
|
|
59
|
+
| Tool | When to Use |
|
|
60
|
+
|------|-------------|
|
|
61
|
+
| `resolve-library-id` | Finding the Context7 ID for a library |
|
|
62
|
+
| `query-docs` | Getting current API docs, examples, and usage patterns |
|
|
63
|
+
|
|
64
|
+
**Proactive use:** When writing code that uses external libraries, query Context7 for current API docs rather than relying on training data which may be outdated.
|
|
65
|
+
|
|
66
|
+
## Microsoft Learn (`mcp__microsoft-learn__*`)
|
|
67
|
+
|
|
68
|
+
Official Microsoft/Azure documentation via remote HTTP MCP. **Use for any Microsoft technology questions.**
|
|
69
|
+
|
|
70
|
+
| Tool | When to Use |
|
|
71
|
+
|------|-------------|
|
|
72
|
+
| `search` | Quick overview of Azure/.NET/M365 topics |
|
|
73
|
+
| `get-code-samples` | Finding working code examples for Microsoft SDKs |
|
|
74
|
+
| `get-document` | Deep-reading full docs when search excerpts aren't enough |
|
|
75
|
+
|
|
76
|
+
**Proactive use:** When working with .NET, Azure, or any Microsoft SDK, search docs to verify API usage rather than guessing from training data.
|
|
77
|
+
|
|
78
|
+
## Companion Tool Anti-Patterns
|
|
79
|
+
|
|
80
|
+
| Don't | Do Instead |
|
|
81
|
+
|-------|------------|
|
|
82
|
+
| Grep for class definitions | Use Serena `find_symbol` |
|
|
83
|
+
| Ask user to paste PR content | Use GitHub `pull_request_read` |
|
|
84
|
+
| Use `gh pr view` | Use GitHub `pull_request_read` with method `get` |
|
|
85
|
+
| Use `gh pr list` | Use GitHub `list_pull_requests` or `search_pull_requests` |
|
|
86
|
+
| Use `gh pr diff` | Use GitHub `pull_request_read` with method `get_diff` |
|
|
87
|
+
| Use `gh pr checks` | Use GitHub `pull_request_read` with method `get_status` |
|
|
88
|
+
| Use `gh pr merge` | Use GitHub `merge_pull_request` |
|
|
89
|
+
| Use `gh api repos/.../pulls/.../comments` | Use GitHub `pull_request_read` with method `get_review_comments` |
|
|
90
|
+
| Use `gh api` for any GitHub data | Use the corresponding GitHub MCP tool |
|
|
91
|
+
| Use `gh issue view` or `gh issue list` | Use GitHub `issue_read` or `list_issues` / `search_issues` |
|
|
92
|
+
| Use `gh pr view --json` for structured data | Use GitHub MCP tools which return structured data natively |
|
|
93
|
+
| Guess library APIs from memory | Use Context7 `query-docs` |
|
|
94
|
+
| Web search for .NET API reference | Use Microsoft Learn `search` |
|
|
95
|
+
| Read entire files to find functions or understand structure | Use Serena `get_symbols_overview` then `find_symbol` with `include_body` |
|
|
96
|
+
| Use grep/rg to search code patterns | Use Serena `search_for_pattern` for regex search |
|
|
97
|
+
| Use sed/awk for code replacement | Use Serena `replace_content` or `replace_symbol_body` |
|
|
98
|
+
| Generate diffs with shell commands | Use GitHub `pull_request_read` or Graphite `gt diff` |
|
|
99
|
+
| Manually parse PR comments | Use GitHub `pull_request_read` for structured review data |
|