31 lines
892 B
Markdown
31 lines
892 B
Markdown
<!--# cspell: ignore SSOT CMDB -->
|
|
# AGENTS.md
|
|
|
|
Ensure that all practices and instructions described by
|
|
https://raw.githubusercontent.com/ansible/ansible-creator/refs/heads/main/docs/agents.md
|
|
are followed.
|
|
|
|
## Repository Actions
|
|
|
|
**Use gitea-mcp tools for all repository interactions.** Do not use `curl`, `git`, or direct API calls.
|
|
|
|
### When to Use gitea-mcp
|
|
|
|
- Fetching issues, PRs, branches, tags, releases
|
|
- Reading files, directories, or commits from repo
|
|
- Creating issues, PRs, comments, tags, or releases
|
|
- Editing issues or PRs
|
|
|
|
### Wrong vs Right
|
|
|
|
❌ `curl http://git.valid.dk/api/v1/repos/daniel/ansible-bind9-role/issues/6`
|
|
|
|
✅ `mcp_gitea-mcp_list_repo_issues(owner, repo, page, pageSize)`
|
|
|
|
### Local Workspace
|
|
|
|
Terminal commands are fine for:
|
|
- Compiling, testing, building
|
|
- Git operations on local files (commit, push)
|
|
- Using `read_file`, `grep_search`, `semantic_search`
|