1.3 KiB
1.3 KiB
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
General project workflow
- Check for open tickets
- Choose next logical ticket to work on
- Create branch for ticket
- Create plan for ticket
- Execute plan
- Create appropriate commits to repository
- Submit PR to repository
- Review the PR critically
- Check if further work is needed to resolve the issues found
- Loop 8-9 until complete
- Ask me to review the PR and merge it
- Close the ticket