mirror of
https://github.com/MAKS-IT-COM/maksit-gitea-cursor.git
synced 2026-09-29 20:48:10 +02:00
16 lines
770 B
Plaintext
16 lines
770 B
Plaintext
---
|
|
description: Use the configured self-hosted Gitea instance instead of GitHub when the user is working with Gitea
|
|
alwaysApply: true
|
|
---
|
|
|
|
When the user talks about Gitea or a self-hosted git host:
|
|
|
|
- Use the Gitea MCP tools (`gitea_*`), not GitHub.
|
|
- Treat `GITEA_URL` as the only git host for API calls.
|
|
- Gitea pull requests live under `/pulls`. Merge styles are merge, rebase, rebase-merge, squash.
|
|
- Pagination `limit` is often capped at 50.
|
|
- Prefer `gitea_catalog` + `gitea_call` for endpoints without a dedicated action.
|
|
- Never echo access tokens or Actions secret values.
|
|
- Do not use admin, secret, or raw-request tools unless the user asks and those flags are enabled.
|
|
- Prefer conventional commits and small pull requests. Reference issues as `#<number>`.
|