Add universal GitNexus skills for Cursor and Hermes.
Consolidate connect, graph, and search workflows with mobile endpoint defaults and shared installation docs. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -11,6 +11,15 @@ disable-model-invocation: true
|
||||
|
||||
Jawne wyszukiwanie w zdalnym GitNexus (`https://gitnexus.mobile.agency-ai.dev`). Działa w **Cursor** (MCP) i **Hermes** (REST).
|
||||
|
||||
**Przed pierwszym użyciem:** jeśli brak połączenia lub MCP Error — przeczytaj [`gitnexus-connect`](../gitnexus-connect/SKILL.md).
|
||||
|
||||
## Ścieżki
|
||||
|
||||
```bash
|
||||
SKILLS_ROOT="${SKILLS_ROOT:-$HOME/Pulpit/cursor/skills}"
|
||||
SEARCH_SCRIPT="$SKILLS_ROOT/gitnexus-search/scripts/gitnexus-search.py"
|
||||
```
|
||||
|
||||
## Format wejścia
|
||||
|
||||
```text
|
||||
@@ -53,11 +62,11 @@ Gdy MCP `gitnexus` jest Connected:
|
||||
Gdy MCP niedostępny — **od razu** REST, bez pytania użytkownika:
|
||||
|
||||
```bash
|
||||
python3 /home/test-user/cursor/skills/gitnexus-search/scripts/gitnexus-search.py \
|
||||
python3 "$SKILLS_ROOT/gitnexus-search/scripts/gitnexus-search.py" \
|
||||
<repo> "<prompt>"
|
||||
```
|
||||
|
||||
Opcjonalnie: `--limit N`, `--json`.
|
||||
Opcjonalnie: `--limit N`, `--json`, `--server URL`.
|
||||
|
||||
## Format odpowiedzi
|
||||
|
||||
@@ -71,12 +80,14 @@ Opcjonalnie: `--limit N`, `--json`.
|
||||
| Sytuacja | Akcja |
|
||||
|----------|-------|
|
||||
| Repo nieznane | Lista z `/api/repos` |
|
||||
| Indeks pusty (`files: 0`) | Wskazówka: re-index (`gitnexus-index-remote.py` w projekcie) |
|
||||
| Indeks pusty (`files: 0`) | Operator: re-index na hoście GitNexus (`gitnexus-connect/reference.md`) |
|
||||
| MCP Error / brak narzędzi | REST przez `gitnexus-search.py` |
|
||||
| HTTP / timeout | `curl -fsS $GITNEXUS_SERVER_URL/api/health` |
|
||||
| HTTP / timeout | `bash "$SKILLS_ROOT/gitnexus-connect/scripts/gitnexus-health.sh"` |
|
||||
|
||||
## Powiązane
|
||||
|
||||
- Setup: [`gitnexus-connect`](../gitnexus-connect/SKILL.md)
|
||||
- Graph workflow: [`gitnexus-graph`](../gitnexus-graph/SKILL.md)
|
||||
- Skrypt: [`scripts/gitnexus-search.py`](scripts/gitnexus-search.py)
|
||||
- Hermes: [`one-gateway/docs/hermes/GITNEXUS-CLIENT.md`](../../one-gateway/docs/hermes/GITNEXUS-CLIENT.md)
|
||||
- Workspace skills: [`../README.md`](../README.md)
|
||||
- Hermes: `one-gateway/docs/hermes/GITNEXUS-CLIENT.md`
|
||||
- Indeks skilli: [`../README.md`](../README.md)
|
||||
|
||||
Reference in New Issue
Block a user