matimo-github 0.1.3__tar.gz → 0.2.0__tar.gz
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.
- {matimo_github-0.1.3 → matimo_github-0.2.0}/.gitignore +3 -1
- matimo_github-0.2.0/LICENSE +21 -0
- {matimo_github-0.1.3 → matimo_github-0.2.0}/PKG-INFO +4 -3
- {matimo_github-0.1.3 → matimo_github-0.2.0}/README.md +1 -1
- {matimo_github-0.1.3 → matimo_github-0.2.0}/pyproject.toml +2 -2
- matimo_github-0.2.0/src/matimo_github/skills/github/SKILL.md +183 -0
- {matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/__init__.py +0 -0
- {matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/add-collaborator/definition.yaml +0 -0
- {matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/create-issue/definition.yaml +0 -0
- {matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/create-pull-request/definition.yaml +0 -0
- {matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/create-release/definition.yaml +0 -0
- {matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/create-repository/definition.yaml +0 -0
- {matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/delete-repository/definition.yaml +0 -0
- {matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/get-issue/definition.yaml +0 -0
- {matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/get-repository/definition.yaml +0 -0
- {matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/list-code-alerts/definition.yaml +0 -0
- {matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/list-collaborators/definition.yaml +0 -0
- {matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/list-commits/definition.yaml +0 -0
- {matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/list-issues/definition.yaml +0 -0
- {matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/list-pull-requests/definition.yaml +0 -0
- {matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/list-releases/definition.yaml +0 -0
- {matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/list-repositories/definition.yaml +0 -0
- {matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/merge-pull-request/definition.yaml +0 -0
- {matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/search-code/definition.yaml +0 -0
- {matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/search-issues/definition.yaml +0 -0
- {matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/search-repositories/definition.yaml +0 -0
- {matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/search-users/definition.yaml +0 -0
- {matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/update-code-alert/definition.yaml +0 -0
- {matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/update-issue/definition.yaml +0 -0
|
@@ -58,7 +58,6 @@ temp/
|
|
|
58
58
|
|
|
59
59
|
# Personal scratch notes / working docs — not part of the shipped repo
|
|
60
60
|
.local-notes/
|
|
61
|
-
typescript/examples/mcp/matimo-tools/.matimo-approvals.json
|
|
62
61
|
typescript/examples/mcp/matimo-tools/fetch-weather/definition.yaml
|
|
63
62
|
typescript/examples/mcp/matimo-tools/npm_downloads/definition.yaml
|
|
64
63
|
typescript/examples/mcp/matimo-tools/skills/ecosystem-health/SKILL.md
|
|
@@ -68,3 +67,6 @@ typescript/packages/cli/.matimo/certs/server.crt
|
|
|
68
67
|
typescript/packages/cli/.matimo/certs/server.key
|
|
69
68
|
typescript/examples/mcp/.matimo/certs/server.crt
|
|
70
69
|
typescript/examples/mcp/.matimo/certs/server.key
|
|
70
|
+
|
|
71
|
+
# HITL approval manifests are per-machine state (HMAC-signed approvals); never commit one
|
|
72
|
+
**/.matimo-approvals.json
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 ROAIQ TECHNOLOGIES PRIVATE LIMITED
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: matimo-github
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: Matimo provider — GitHub tools (repos, issues, PRs, releases)
|
|
5
5
|
License: MIT
|
|
6
|
+
License-File: LICENSE
|
|
6
7
|
Keywords: agents,ai,github,matimo,tools
|
|
7
8
|
Classifier: Development Status :: 4 - Beta
|
|
8
9
|
Classifier: Intended Audience :: Developers
|
|
9
10
|
Classifier: License :: OSI Approved :: MIT License
|
|
10
11
|
Classifier: Programming Language :: Python :: 3.11
|
|
11
12
|
Requires-Python: >=3.11
|
|
12
|
-
Requires-Dist: matimo-core<0.
|
|
13
|
+
Requires-Dist: matimo-core<0.3.0,>=0.2.0
|
|
13
14
|
Description-Content-Type: text/markdown
|
|
14
15
|
|
|
15
16
|
# matimo-github
|
|
@@ -17,7 +18,7 @@ Description-Content-Type: text/markdown
|
|
|
17
18
|
> GitHub tools for [Matimo](https://matimo.dev) - manage repositories, issues, pull requests, releases, and more.
|
|
18
19
|
|
|
19
20
|
[](https://pypi.org/project/matimo-github/)
|
|
20
|
-
[](https://matimo.dev
|
|
21
|
+
[](https://docs.matimo.dev)
|
|
21
22
|
|
|
22
23
|
---
|
|
23
24
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
> GitHub tools for [Matimo](https://matimo.dev) - manage repositories, issues, pull requests, releases, and more.
|
|
4
4
|
|
|
5
5
|
[](https://pypi.org/project/matimo-github/)
|
|
6
|
-
[](https://matimo.dev
|
|
6
|
+
[](https://docs.matimo.dev)
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "matimo-github"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.2.0"
|
|
8
8
|
description = "Matimo provider — GitHub tools (repos, issues, PRs, releases)"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = { text = "MIT" }
|
|
@@ -17,7 +17,7 @@ classifiers = [
|
|
|
17
17
|
"Programming Language :: Python :: 3.11",
|
|
18
18
|
]
|
|
19
19
|
dependencies = [
|
|
20
|
-
"matimo-core>=0.
|
|
20
|
+
"matimo-core>=0.2.0,<0.3.0",
|
|
21
21
|
]
|
|
22
22
|
|
|
23
23
|
[project.entry-points."matimo.providers"]
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: github
|
|
3
|
+
description: "Complete guide to all GitHub tools — search, issues, pull requests, repositories, releases, collaborators, and security alerts."
|
|
4
|
+
version: "1.0.0"
|
|
5
|
+
license: "MIT"
|
|
6
|
+
metadata:
|
|
7
|
+
category: "Development"
|
|
8
|
+
difficulty: "beginner"
|
|
9
|
+
apply-to: "github-search-code github-search-issues github-search-repositories github-search-users github-create-issue github-get-issue github-list-issues github-update-issue github-create-pull-request github-list-pull-requests github-merge-pull-request github-create-repository github-get-repository github-delete-repository github-list-repositories github-add-collaborator github-list-collaborators github-list-commits github-create-release github-list-releases github-list-code-alerts github-update-code-alert"
|
|
10
|
+
author: "Matimo"
|
|
11
|
+
tags: "github,git,issues,pull-requests,repositories,search"
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# GitHub
|
|
15
|
+
|
|
16
|
+
Complete guide to using Matimo's GitHub tools for search, issues, PRs, repositories, releases, and security.
|
|
17
|
+
|
|
18
|
+
## All Available Tools
|
|
19
|
+
|
|
20
|
+
| Tool | Purpose | Category |
|
|
21
|
+
|------|---------|----------|
|
|
22
|
+
| `github-search-code` | Search code across repositories | Search |
|
|
23
|
+
| `github-search-issues` | Search issues and pull requests | Search |
|
|
24
|
+
| `github-search-repositories` | Find repositories | Search |
|
|
25
|
+
| `github-search-users` | Find users and organizations | Search |
|
|
26
|
+
| `github-create-issue` | Create a new issue | Issues |
|
|
27
|
+
| `github-get-issue` | Get issue details | Issues |
|
|
28
|
+
| `github-list-issues` | List issues for a repository | Issues |
|
|
29
|
+
| `github-update-issue` | Update an existing issue | Issues |
|
|
30
|
+
| `github-create-pull-request` | Create a pull request | Pull Requests |
|
|
31
|
+
| `github-list-pull-requests` | List PRs for a repository | Pull Requests |
|
|
32
|
+
| `github-merge-pull-request` | Merge a pull request | Pull Requests |
|
|
33
|
+
| `github-create-repository` | Create a new repository | Repos |
|
|
34
|
+
| `github-get-repository` | Get repository details | Repos |
|
|
35
|
+
| `github-delete-repository` | Delete a repository (destructive!) | Repos |
|
|
36
|
+
| `github-list-repositories` | List repos for a user/org | Repos |
|
|
37
|
+
| `github-add-collaborator` | Add a collaborator | Repos |
|
|
38
|
+
| `github-list-collaborators` | List current collaborators | Repos |
|
|
39
|
+
| `github-list-commits` | List recent commits | Repos |
|
|
40
|
+
| `github-create-release` | Create a tagged release | Releases |
|
|
41
|
+
| `github-list-releases` | List existing releases | Releases |
|
|
42
|
+
| `github-list-code-alerts` | View security/code scanning alerts | Security |
|
|
43
|
+
| `github-update-code-alert` | Dismiss or acknowledge alerts | Security |
|
|
44
|
+
|
|
45
|
+
## Authentication
|
|
46
|
+
|
|
47
|
+
Requires `GITHUB_TOKEN` environment variable with appropriate scopes (`repo`, `read:org`, `read:user`).
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## Search
|
|
52
|
+
|
|
53
|
+
### Code Search
|
|
54
|
+
|
|
55
|
+
Use `github-search-code` with query qualifiers:
|
|
56
|
+
|
|
57
|
+
| Qualifier | Example | Purpose |
|
|
58
|
+
|-----------|---------|---------|
|
|
59
|
+
| `repo:owner/name` | `repo:acme/api` | Specific repo |
|
|
60
|
+
| `org:name` | `org:acme` | Across an org |
|
|
61
|
+
| `path:dir` | `path:src/utils` | In directory |
|
|
62
|
+
| `filename:name` | `filename:package.json` | By filename |
|
|
63
|
+
| `extension:ext` | `extension:ts` | By extension |
|
|
64
|
+
| `language:lang` | `language:typescript` | By language |
|
|
65
|
+
|
|
66
|
+
Use `-` prefix for negation: `-path:test -path:node_modules`.
|
|
67
|
+
|
|
68
|
+
### Issue & PR Search
|
|
69
|
+
|
|
70
|
+
Use `github-search-issues` with qualifiers: `is:issue`/`is:pr`, `state:open`/`state:closed`, `label:name`, `assignee:user`, `author:user`.
|
|
71
|
+
|
|
72
|
+
### Repository Search
|
|
73
|
+
|
|
74
|
+
Use `github-search-repositories` with: `stars:>N`, `language:lang`, `topic:name`, `pushed:>date`.
|
|
75
|
+
|
|
76
|
+
### Search Tips
|
|
77
|
+
|
|
78
|
+
1. Start broad, then narrow with qualifiers
|
|
79
|
+
2. Use negation (`-`) to exclude noise
|
|
80
|
+
3. Quote `"exact phrases"` for multi-word searches
|
|
81
|
+
4. Rate limit: 30 requests/minute for authenticated users
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## Issues
|
|
86
|
+
|
|
87
|
+
### Creating Issues
|
|
88
|
+
|
|
89
|
+
Use `github-create-issue` with `owner`, `repo`, `title` (required), and optional `body`, `labels`, `assignees`.
|
|
90
|
+
|
|
91
|
+
**Best practices:**
|
|
92
|
+
- Descriptive titles: "Login page returns 500 on invalid email" not "Bug"
|
|
93
|
+
- Add labels for categorization
|
|
94
|
+
- Reference related issues with `#number`
|
|
95
|
+
- Assign to the right person
|
|
96
|
+
|
|
97
|
+
### Updating Issues
|
|
98
|
+
|
|
99
|
+
Use `github-update-issue` to change title, body, state (`open`/`closed`), labels, assignees, or milestone.
|
|
100
|
+
|
|
101
|
+
### Listing Issues
|
|
102
|
+
|
|
103
|
+
Use `github-list-issues` with filters: `state` (open/closed/all), `labels`, `assignee`, `sort` (created/updated/comments), `direction` (asc/desc).
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
## Pull Requests
|
|
108
|
+
|
|
109
|
+
### Creating PRs
|
|
110
|
+
|
|
111
|
+
Use `github-create-pull-request` with `owner`, `repo`, `title`, `head` (source branch), `base` (target branch), and optional `body`, `draft`.
|
|
112
|
+
|
|
113
|
+
**Best practices:**
|
|
114
|
+
- Reference the issue: "Fixes #42"
|
|
115
|
+
- Use draft PRs for work-in-progress
|
|
116
|
+
- Keep PRs focused on a single change
|
|
117
|
+
|
|
118
|
+
### Merging PRs
|
|
119
|
+
|
|
120
|
+
Use `github-merge-pull-request` with `owner`, `repo`, `pull_number`, and optional `merge_method` (`merge`/`squash`/`rebase`).
|
|
121
|
+
|
|
122
|
+
**Pre-merge checklist:** CI passing, reviews approved, no conflicts, branch up to date.
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
## Repositories
|
|
127
|
+
|
|
128
|
+
### Creating Repos
|
|
129
|
+
|
|
130
|
+
```json
|
|
131
|
+
{
|
|
132
|
+
"owner": "acme",
|
|
133
|
+
"name": "new-service",
|
|
134
|
+
"description": "Backend service for payment processing",
|
|
135
|
+
"private": true,
|
|
136
|
+
"auto_init": true
|
|
137
|
+
}
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
Always add a description. Start private, go public when ready. Use `auto_init: true` for README.
|
|
141
|
+
|
|
142
|
+
### Collaborators
|
|
143
|
+
|
|
144
|
+
Use `github-add-collaborator` with `owner`, `repo`, `username`, and `permission` (`pull`/`push`/`admin`). Always use least-privilege.
|
|
145
|
+
|
|
146
|
+
### Releases
|
|
147
|
+
|
|
148
|
+
Use `github-create-release` with `owner`, `repo`, `tag_name`, `name`, `body`, and optional `draft`/`prerelease`. Follow semantic versioning.
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
|
|
152
|
+
## Security
|
|
153
|
+
|
|
154
|
+
Use `github-list-code-alerts` to review Dependabot and CodeQL findings. Use `github-update-code-alert` to dismiss with reason (`false_positive`, `wont_fix`, `used_in_tests`).
|
|
155
|
+
|
|
156
|
+
**Triage workflow:** List alerts → assess severity → dismiss false positives → create issues for real vulnerabilities.
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
## Common Workflows
|
|
161
|
+
|
|
162
|
+
### Bug Fix Flow
|
|
163
|
+
1. Search issues: `github-search-issues` for duplicates
|
|
164
|
+
2. Create issue: `github-create-issue`
|
|
165
|
+
3. Create PR: `github-create-pull-request` referencing the issue
|
|
166
|
+
4. Merge: `github-merge-pull-request`
|
|
167
|
+
5. Update issue: close with comment
|
|
168
|
+
|
|
169
|
+
### Release Flow
|
|
170
|
+
1. List PRs merged since last release
|
|
171
|
+
2. Create release with changelog
|
|
172
|
+
3. List and triage any new security alerts
|
|
173
|
+
|
|
174
|
+
---
|
|
175
|
+
|
|
176
|
+
## Common Errors
|
|
177
|
+
|
|
178
|
+
| Error | Cause | Fix |
|
|
179
|
+
|-------|-------|-----|
|
|
180
|
+
| 404 `Not Found` | Repo doesn't exist or no access | Check owner/repo and token scopes |
|
|
181
|
+
| 422 `Validation Failed` | Missing required fields or bad syntax | Check parameters |
|
|
182
|
+
| 403 `Rate limit exceeded` | Too many requests | Wait and retry; use conditional requests |
|
|
183
|
+
| 409 `Merge conflict` | PR has conflicts | Resolve conflicts before merging |
|
|
File without changes
|
{matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/add-collaborator/definition.yaml
RENAMED
|
File without changes
|
{matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/create-issue/definition.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/create-release/definition.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/get-issue/definition.yaml
RENAMED
|
File without changes
|
{matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/get-repository/definition.yaml
RENAMED
|
File without changes
|
{matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/list-code-alerts/definition.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/list-commits/definition.yaml
RENAMED
|
File without changes
|
{matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/list-issues/definition.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/list-releases/definition.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/search-code/definition.yaml
RENAMED
|
File without changes
|
{matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/search-issues/definition.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/search-users/definition.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{matimo_github-0.1.3 → matimo_github-0.2.0}/src/matimo_github/tools/update-issue/definition.yaml
RENAMED
|
File without changes
|