@openhands/extensions 0.17.0 → 0.19.0

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.
Files changed (76) hide show
  1. package/.agents/skills/custom-codereview-guide.md +7 -0
  2. package/.github/dependabot.yml +24 -0
  3. package/.github/scripts/check_issue_readiness.py +272 -0
  4. package/.github/scripts/check_pr_description.py +226 -0
  5. package/.github/scripts/post-readiness-comment.mjs +184 -0
  6. package/.github/scripts/refresh_linked_pr_checks.py +171 -0
  7. package/.github/workflows/issue-readiness-check.yml +142 -0
  8. package/.github/workflows/pr-description-check.yml +37 -0
  9. package/.release-please-manifest.json +1 -1
  10. package/AGENTS.md +16 -0
  11. package/README.md +13 -2
  12. package/automations/README.md +3 -2
  13. package/automations/bundle-index.js +10 -1
  14. package/automations/catalog/github-agents-md-maintainer/manifest.json +101 -0
  15. package/automations/catalog/github-issue-to-pr/manifest.json +112 -0
  16. package/automations/catalog/github-pr-reviewer/manifest.json +6 -0
  17. package/automations/catalog/github-repo-monitor/manifest.json +6 -0
  18. package/automations/catalog/jira-issue-to-bitbucket-pr/manifest.json +23 -0
  19. package/automations/catalog/jira-issue-to-gitlab-mr/manifest.json +23 -0
  20. package/automations/catalog/linear-issue-to-bitbucket-pr/manifest.json +23 -0
  21. package/automations/catalog/linear-issue-to-github-pr/manifest.json +23 -0
  22. package/automations/catalog/linear-issue-to-gitlab-mr/manifest.json +23 -0
  23. package/automations/catalog/news-digest/manifest.json +81 -0
  24. package/automations/catalog/qa-changes/manifest.json +72 -0
  25. package/automations/catalog/slack-github-linear-daily-organization.json +27 -0
  26. package/automations/catalog-index.js +25 -7
  27. package/automations/catalog.schema.json +35 -2
  28. package/automations/index.d.ts +34 -1
  29. package/automations/interface.json +3 -1
  30. package/integrations/catalog/datadog.json +2 -2
  31. package/integrations/catalog/gitlab.json +41 -0
  32. package/integrations/catalog/notion.json +1 -1
  33. package/integrations/catalog-index.js +71 -69
  34. package/integrations/index.d.ts +1 -1
  35. package/marketplaces/openhands-extensions.json +59 -6
  36. package/package.json +1 -1
  37. package/plugins/pr-review/scripts/prompt.py +2 -0
  38. package/pyproject.toml +1 -1
  39. package/python/openhands_extensions/_version.py +1 -1
  40. package/skills/github-agents-md-maintainer/.plugin/plugin.json +19 -0
  41. package/skills/github-agents-md-maintainer/README.md +59 -0
  42. package/skills/github-agents-md-maintainer/SKILL.md +271 -0
  43. package/skills/github-agents-md-maintainer/commands/agents-md-setup.md +8 -0
  44. package/skills/github-agents-md-maintainer/references/state-schema.md +113 -0
  45. package/skills/github-agents-md-maintainer/scripts/main.py +1187 -0
  46. package/skills/github-issue-to-pr/.plugin/plugin.json +19 -0
  47. package/skills/github-issue-to-pr/README.md +84 -0
  48. package/skills/github-issue-to-pr/SKILL.md +373 -0
  49. package/skills/github-issue-to-pr/commands/issue-to-pr-setup.md +8 -0
  50. package/skills/github-issue-to-pr/references/state-schema.md +139 -0
  51. package/skills/github-issue-to-pr/scripts/main.py +1305 -0
  52. package/skills/github-pr-reviewer/SKILL.md +2 -1
  53. package/skills/github-pr-reviewer/scripts/main.py +45 -4
  54. package/skills/github-pr-reviewer/tests/test_main.py +74 -0
  55. package/skills/index.js +38 -2
  56. package/skills/news-digest/.plugin/plugin.json +19 -0
  57. package/skills/news-digest/README.md +71 -0
  58. package/skills/news-digest/SKILL.md +284 -0
  59. package/skills/news-digest/commands/news-digest-setup.md +8 -0
  60. package/skills/news-digest/references/state-schema.md +178 -0
  61. package/skills/news-digest/scripts/main.py +1250 -0
  62. package/skills/openhands-sdk/SKILL.md +1 -0
  63. package/skills/ticket-to-code-change/.plugin/plugin.json +21 -0
  64. package/skills/ticket-to-code-change/README.md +5 -0
  65. package/skills/ticket-to-code-change/SKILL.md +50 -0
  66. package/skills/ticket-to-code-change/commands/ticket-to-code-change-setup.md +8 -0
  67. package/tests/fixtures/automations/github-repo-monitor.json +77 -0
  68. package/tests/test_automation_setup.py +56 -0
  69. package/tests/test_catalogs.py +5 -3
  70. package/tests/test_check_issue_readiness.py +135 -0
  71. package/tests/test_check_pr_description.py +228 -0
  72. package/tests/test_github_agents_md_maintainer.py +352 -0
  73. package/tests/test_github_issue_to_pr.py +539 -0
  74. package/tests/test_news_digest.py +646 -0
  75. package/tests/test_pr_review_prompt.py +10 -0
  76. package/tests/test_refresh_linked_pr_checks.py +130 -0
@@ -0,0 +1,101 @@
1
+ {
2
+ "id": "github-agents-md-maintainer",
3
+ "name": "AGENTS.md Maintainer",
4
+ "category": "Documentation",
5
+ "icon": "bot",
6
+ "description": "Keep AGENTS.md current in your repositories. On a schedule, an agent reads the repository, creates or updates AGENTS.md, and opens a pull request - and stays quiet while one of its pull requests is still open.",
7
+ "requires": {
8
+ "integrations": {
9
+ "github": {
10
+ "message": "Used to read the repository, push the branch, and open the pull request."
11
+ }
12
+ },
13
+ "features": [
14
+ "customTarball"
15
+ ]
16
+ },
17
+ "popularityRank": 80,
18
+ "estimatedSetupMinutes": 3,
19
+ "exampleImplementation": "Trigger: cron, weekly by default (0 9 * * 1)\nRequired secret: GITHUB_PERSONAL_ACCESS_TOKEN, with permission to write contents and pull requests\n\n1. Read the repositories, branch prefix, pull request mode, and schedule from setup.\n2. Process each repository independently, with its own state, so one falling behind never blocks another.\n3. Key one unit of work to the ISO week, so a cron that fires more often, a retried run, or a restarted service cannot open the same pull request twice.\n4. Skip a repository whose previous pull request from this automation is still open; a second one would edit the same file.\n5. Ask GitHub whether AGENTS.md exists, which decides create vs update and the pull request title.\n6. Clone the default branch into a directory of its own, create the working branch, and start an OpenHands conversation with that directory as its workspace.\n7. The agent reads the repository, edits AGENTS.md, commits, pushes, and opens the pull request; the script verifies that on GitHub and opens it itself when the agent did not.\n8. Record no-changes when AGENTS.md is already accurate, which is the expected result most weeks.\n9. Remove the clone once the conversation has stopped.",
20
+ "impact": {
21
+ "basis": "completed-runs",
22
+ "one": "1 maintenance pass completed",
23
+ "other": "{{count}} maintenance passes completed"
24
+ },
25
+ "setup": {
26
+ "version": "1.0",
27
+ "mode": "direct",
28
+ "form": {
29
+ "triggers": {
30
+ "cron": {
31
+ "schedule": {
32
+ "type": "cron",
33
+ "label": "Check frequency",
34
+ "help": "How often to review AGENTS.md. Work is keyed by ISO week, so a schedule more frequent than weekly only polls.",
35
+ "default": "0 9 * * 1",
36
+ "required": true
37
+ },
38
+ "timezone": {
39
+ "type": "timezone",
40
+ "label": "Timezone",
41
+ "help": "Timezone the schedule is interpreted in.",
42
+ "default": "UTC",
43
+ "required": true
44
+ }
45
+ }
46
+ },
47
+ "args": {
48
+ "repositories": {
49
+ "type": "repo-picker",
50
+ "label": "Repositories",
51
+ "help": "The repositories whose AGENTS.md is maintained. Each keeps its own state and its own weekly claim.",
52
+ "provider": "github",
53
+ "multiple": true,
54
+ "required": true
55
+ },
56
+ "branchPrefix": {
57
+ "type": "text",
58
+ "label": "Branch prefix",
59
+ "help": "Branches are named after this prefix and the ISO week, such as openhands/agents-md-2026-W34. It is also how the automation recognises its own open pull requests.",
60
+ "default": "openhands/agents-md",
61
+ "required": true,
62
+ "constraints": {
63
+ "minLength": 1,
64
+ "maxLength": 50
65
+ }
66
+ },
67
+ "pullRequestMode": {
68
+ "type": "select",
69
+ "label": "Pull request mode",
70
+ "help": "Whether the pull request is opened as a draft or ready for review.",
71
+ "default": "draft",
72
+ "required": true,
73
+ "options": [
74
+ {
75
+ "value": "draft",
76
+ "label": "Draft"
77
+ },
78
+ {
79
+ "value": "ready",
80
+ "label": "Ready for review"
81
+ }
82
+ ]
83
+ }
84
+ }
85
+ },
86
+ "bundle": {
87
+ "version": "1.0.0",
88
+ "entrypoint": "python3 main.py",
89
+ "timeout": 900,
90
+ "files": {
91
+ "main.py": "skills/github-agents-md-maintainer/scripts/main.py"
92
+ },
93
+ "config": {
94
+ "repos": "{{form.repositories}}",
95
+ "branch_prefix": "{{form.branchPrefix}}",
96
+ "pull_request_mode": "{{form.pullRequestMode}}"
97
+ }
98
+ },
99
+ "message": "This deployment cannot run the scheduled AGENTS.md automation directly. Set it up in this conversation instead: confirm the repositories to maintain, the branch prefix, whether pull requests open as drafts, and the schedule, then create the automation."
100
+ }
101
+ }
@@ -0,0 +1,112 @@
1
+ {
2
+ "id": "github-issue-to-pr",
3
+ "name": "GitHub Issue to PR Agent",
4
+ "category": "Software development",
5
+ "description": "Watch for a configurable label on GitHub issues, implement the issue in a clone of the default branch, and open a pull request for each label event.",
6
+ "requires": {
7
+ "integrations": {
8
+ "github": {
9
+ "message": "Used to read labelled issues, push the branch, and open the pull request."
10
+ }
11
+ },
12
+ "features": [
13
+ "customTarball"
14
+ ]
15
+ },
16
+ "popularityRank": 95,
17
+ "estimatedSetupMinutes": 4,
18
+ "exampleImplementation": "Trigger: cron polling for open GitHub issues with a configured label such as openhands\nRequired secret: GITHUB_PERSONAL_ACCESS_TOKEN, with permission to write contents, issues, and pull requests\n\n1. Read the repositories, trigger label, branch prefix, draft mode, and polling schedule from setup.\n2. Poll each repository independently, with its own state, so issue numbers never collide.\n3. List open labelled issues, drop pull requests, and find the latest matching GitHub labeled issue event for each.\n4. Deduplicate on the label event ID so every label application queues exactly one attempt.\n5. Clone the default branch into a directory of its own, create the working branch, and start an OpenHands conversation with that directory as its workspace. The clone carries no credential and the agent is handed no secrets, because the prompt is built from an issue body that anyone can write.\n6. Comment on the issue with the branch and the conversation link.\n7. Once the conversation has stopped, commit whatever the agent left, push the branch, open a draft pull request titled after the issue, and comment the link on the issue. An agent that made no changes gets its answer posted instead.\n8. Remove the clone once the conversation has stopped, so nothing accumulates between runs.",
19
+ "impact": {
20
+ "basis": "completed-runs",
21
+ "one": "1 issue sweep completed",
22
+ "other": "{{count}} issue sweeps completed"
23
+ },
24
+ "setup": {
25
+ "version": "1.0",
26
+ "mode": "direct",
27
+ "form": {
28
+ "triggers": {
29
+ "cron": {
30
+ "schedule": {
31
+ "type": "cron",
32
+ "label": "Check frequency",
33
+ "help": "How often to look for newly labelled issues.",
34
+ "default": "*/15 * * * *",
35
+ "required": true
36
+ },
37
+ "timezone": {
38
+ "type": "timezone",
39
+ "label": "Timezone",
40
+ "help": "Timezone the schedule is interpreted in.",
41
+ "default": "UTC",
42
+ "required": true
43
+ }
44
+ }
45
+ },
46
+ "args": {
47
+ "repositories": {
48
+ "type": "repo-picker",
49
+ "label": "Repositories",
50
+ "help": "The repositories whose labelled issues are implemented. Each is polled independently and keeps its own state, so issue numbers never collide between them.",
51
+ "provider": "github",
52
+ "multiple": true,
53
+ "required": true
54
+ },
55
+ "triggerLabel": {
56
+ "type": "text",
57
+ "label": "Trigger label",
58
+ "help": "Only issues carrying this label are worked on.",
59
+ "default": "openhands",
60
+ "required": true,
61
+ "constraints": {
62
+ "minLength": 1,
63
+ "maxLength": 50
64
+ }
65
+ },
66
+ "branchPrefix": {
67
+ "type": "text",
68
+ "label": "Branch prefix",
69
+ "help": "Branches are named after this prefix and the issue number, such as openhands/issue-42.",
70
+ "default": "openhands/issue",
71
+ "required": true,
72
+ "constraints": {
73
+ "minLength": 1,
74
+ "maxLength": 50
75
+ }
76
+ },
77
+ "pullRequestMode": {
78
+ "type": "select",
79
+ "label": "Pull request mode",
80
+ "help": "Whether the pull request is opened as a draft or ready for review.",
81
+ "default": "draft",
82
+ "required": true,
83
+ "options": [
84
+ {
85
+ "value": "draft",
86
+ "label": "Draft"
87
+ },
88
+ {
89
+ "value": "ready",
90
+ "label": "Ready for review"
91
+ }
92
+ ]
93
+ }
94
+ }
95
+ },
96
+ "bundle": {
97
+ "version": "1.0.0",
98
+ "entrypoint": "python3 main.py",
99
+ "timeout": 900,
100
+ "files": {
101
+ "main.py": "skills/github-issue-to-pr/scripts/main.py"
102
+ },
103
+ "config": {
104
+ "repos": "{{form.repositories}}",
105
+ "trigger_label": "{{form.triggerLabel}}",
106
+ "branch_prefix": "{{form.branchPrefix}}",
107
+ "pull_request_mode": "{{form.pullRequestMode}}"
108
+ }
109
+ },
110
+ "message": "This deployment cannot run the scheduled issue-to-PR automation directly. Set it up in this conversation instead: confirm the repositories to watch, the trigger label, the branch prefix, whether pull requests open as drafts, and the polling schedule, then create the automation."
111
+ }
112
+ }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "id": "github-pr-reviewer",
3
+ "version": "1.0.0",
3
4
  "name": "GitHub Code Review Agent",
4
5
  "category": "Code review",
5
6
  "description": "Watch for a configurable label on GitHub pull requests, inspect full PR and repository context, and post an AI review comment once per label event.",
@@ -16,6 +17,11 @@
16
17
  "popularityRank": 100,
17
18
  "estimatedSetupMinutes": 4,
18
19
  "exampleImplementation": "Trigger: cron polling for open GitHub PRs with a configured label such as openhands-review\nRequired secret: GITHUB_PERSONAL_ACCESS_TOKEN, with permission to write pull request reviews\n\n1. Read the repositories, trigger label, review tone, and polling schedule from setup.\n2. Poll each repository independently, with its own state, so PR numbers never collide.\n3. List open PRs and find the latest matching GitHub labeled issue event for each labeled PR.\n4. Deduplicate on the label event ID so every label application queues exactly one review.\n5. Extract the PR head commit into a directory of its own and start an OpenHands conversation with that directory as its workspace, so the agent reviews the exact commit without cloning anything.\n6. Post an acknowledgement with the conversation link, then confirm on GitHub that the review was published for that head SHA, falling back to posting the agent's text as a comment.\n7. Remove the checkout once the conversation has stopped, so nothing accumulates between runs.",
20
+ "impact": {
21
+ "basis": "completed-runs",
22
+ "one": "1 PR review sweep completed",
23
+ "other": "{{count}} PR review sweeps completed"
24
+ },
19
25
  "setup": {
20
26
  "version": "1.0",
21
27
  "mode": "direct",
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "id": "github-repo-monitor",
3
+ "version": "1.0.0",
3
4
  "name": "GitHub repository monitor",
4
5
  "category": "Developer tools",
5
6
  "description": "Watch a repository for @OpenHands mentions in issues and PR comments, start a conversation, and post the agent's reply back to GitHub.",
@@ -17,6 +18,11 @@
17
18
  "popularityRank": 98,
18
19
  "estimatedSetupMinutes": 5,
19
20
  "exampleImplementation": "Trigger: cron polling (e.g. every 15 minutes, configurable)\nRequired secret: GITHUB_PERSONAL_ACCESS_TOKEN\n\n1. Poll GitHub for new issue and PR comments since the last run.\n2. Match comments containing the trigger phrase (case-insensitive, default: @OpenHands).\n3. Post an acknowledgment comment with a link to the new OpenHands conversation.\n4. Forward follow-up replies in the same thread to the running conversation.\n5. Post the agent's final response back to GitHub when the conversation completes.",
21
+ "impact": {
22
+ "basis": "completed-runs",
23
+ "one": "1 repo scan completed",
24
+ "other": "{{count}} repo scans completed"
25
+ },
20
26
  "setup": {
21
27
  "version": "1.0",
22
28
  "mode": "direct",
@@ -0,0 +1,23 @@
1
+ {
2
+ "id": "jira-issue-to-bitbucket-pr",
3
+ "name": "Jira issue to Bitbucket PR",
4
+ "category": "Project management",
5
+ "description": "Watch Jira for implementation-ready issues, start an agent to make the requested code change, and open a Bitbucket pull request.",
6
+ "requires": {
7
+ "integrations": {
8
+ "jira": {
9
+ "message": "Reads implementation-ready issues and posts progress back to Jira."
10
+ },
11
+ "bitbucket": {
12
+ "message": "Clones the target repository, pushes a branch, and opens the pull request."
13
+ }
14
+ },
15
+ "features": [
16
+ "conversationDispatch"
17
+ ]
18
+ },
19
+ "popularityRank": 83,
20
+ "estimatedSetupMinutes": 6,
21
+ "skill": "ticket-to-code-change",
22
+ "exampleImplementation": "Trigger: Jira issue marked implementation-ready\nRequired integrations: Jira, Bitbucket\n\n1. Watch the selected Jira team or project for issues carrying a configurable implementation-ready label or state.\n2. Deduplicate issue IDs so each transition dispatches once.\n3. Read the issue, linked dependencies, acceptance criteria, and target repository.\n4. Start an independent OpenHands conversation that clones the Bitbucket repository, creates an issue-keyed branch, implements and tests the change, and opens a pull request.\n5. Post the conversation and pull request links back to the Jira issue and update its status according to the team's workflow."
23
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "id": "jira-issue-to-gitlab-mr",
3
+ "name": "Jira issue to GitLab MR",
4
+ "category": "Project management",
5
+ "description": "Watch Jira for implementation-ready issues, start an agent to make the requested code change, and open a GitLab merge request.",
6
+ "requires": {
7
+ "integrations": {
8
+ "jira": {
9
+ "message": "Reads implementation-ready issues and posts progress back to Jira."
10
+ },
11
+ "gitlab": {
12
+ "message": "Clones the target repository, pushes a branch, and opens the merge request."
13
+ }
14
+ },
15
+ "features": [
16
+ "conversationDispatch"
17
+ ]
18
+ },
19
+ "popularityRank": 84,
20
+ "estimatedSetupMinutes": 6,
21
+ "skill": "ticket-to-code-change",
22
+ "exampleImplementation": "Trigger: Jira issue marked implementation-ready\nRequired integrations: Jira, GitLab\n\n1. Watch the selected Jira team or project for issues carrying a configurable implementation-ready label or state.\n2. Deduplicate issue IDs so each transition dispatches once.\n3. Read the issue, linked dependencies, acceptance criteria, and target repository.\n4. Start an independent OpenHands conversation that clones the GitLab repository, creates an issue-keyed branch, implements and tests the change, and opens a merge request.\n5. Post the conversation and merge request links back to the Jira issue and update its status according to the team's workflow."
23
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "id": "linear-issue-to-bitbucket-pr",
3
+ "name": "Linear issue to Bitbucket PR",
4
+ "category": "Project management",
5
+ "description": "Watch Linear for implementation-ready issues, start an agent to make the requested code change, and open a Bitbucket pull request.",
6
+ "requires": {
7
+ "integrations": {
8
+ "linear": {
9
+ "message": "Reads implementation-ready issues and posts progress back to Linear."
10
+ },
11
+ "bitbucket": {
12
+ "message": "Clones the target repository, pushes a branch, and opens the pull request."
13
+ }
14
+ },
15
+ "features": [
16
+ "conversationDispatch"
17
+ ]
18
+ },
19
+ "popularityRank": 87,
20
+ "estimatedSetupMinutes": 6,
21
+ "skill": "ticket-to-code-change",
22
+ "exampleImplementation": "Trigger: Linear issue marked implementation-ready\nRequired integrations: Linear, Bitbucket\n\n1. Watch the selected Linear team or project for issues carrying a configurable implementation-ready label or state.\n2. Deduplicate issue IDs so each transition dispatches once.\n3. Read the issue, linked dependencies, acceptance criteria, and target repository.\n4. Start an independent OpenHands conversation that clones the Bitbucket repository, creates an issue-keyed branch, implements and tests the change, and opens a pull request.\n5. Post the conversation and pull request links back to the Linear issue and update its status according to the team's workflow."
23
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "id": "linear-issue-to-github-pr",
3
+ "name": "Linear issue to GitHub PR",
4
+ "category": "Project management",
5
+ "description": "Watch Linear for implementation-ready issues, start an agent to make the requested code change, and open a GitHub pull request.",
6
+ "requires": {
7
+ "integrations": {
8
+ "linear": {
9
+ "message": "Reads implementation-ready issues and posts progress back to Linear."
10
+ },
11
+ "github": {
12
+ "message": "Clones the target repository, pushes a branch, and opens the pull request."
13
+ }
14
+ },
15
+ "features": [
16
+ "conversationDispatch"
17
+ ]
18
+ },
19
+ "popularityRank": 89,
20
+ "estimatedSetupMinutes": 6,
21
+ "skill": "ticket-to-code-change",
22
+ "exampleImplementation": "Trigger: Linear issue marked implementation-ready\nRequired integrations: Linear, GitHub\n\n1. Watch the selected Linear team or project for issues carrying a configurable implementation-ready label or state.\n2. Deduplicate issue IDs so each transition dispatches once.\n3. Read the issue, linked dependencies, acceptance criteria, and target repository.\n4. Start an independent OpenHands conversation that clones the GitHub repository, creates an issue-keyed branch, implements and tests the change, and opens a pull request.\n5. Post the conversation and pull request links back to the Linear issue and update its status according to the team's workflow."
23
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "id": "linear-issue-to-gitlab-mr",
3
+ "name": "Linear issue to GitLab MR",
4
+ "category": "Project management",
5
+ "description": "Watch Linear for implementation-ready issues, start an agent to make the requested code change, and open a GitLab merge request.",
6
+ "requires": {
7
+ "integrations": {
8
+ "linear": {
9
+ "message": "Reads implementation-ready issues and posts progress back to Linear."
10
+ },
11
+ "gitlab": {
12
+ "message": "Clones the target repository, pushes a branch, and opens the merge request."
13
+ }
14
+ },
15
+ "features": [
16
+ "conversationDispatch"
17
+ ]
18
+ },
19
+ "popularityRank": 88,
20
+ "estimatedSetupMinutes": 6,
21
+ "skill": "ticket-to-code-change",
22
+ "exampleImplementation": "Trigger: Linear issue marked implementation-ready\nRequired integrations: Linear, GitLab\n\n1. Watch the selected Linear team or project for issues carrying a configurable implementation-ready label or state.\n2. Deduplicate issue IDs so each transition dispatches once.\n3. Read the issue, linked dependencies, acceptance criteria, and target repository.\n4. Start an independent OpenHands conversation that clones the GitLab repository, creates an issue-keyed branch, implements and tests the change, and opens a merge request.\n5. Post the conversation and merge request links back to the Linear issue and update its status according to the team's workflow."
23
+ }
@@ -0,0 +1,81 @@
1
+ {
2
+ "id": "news-digest",
3
+ "name": "Daily news digest",
4
+ "category": "Research",
5
+ "icon": "activity",
6
+ "description": "Read a list of public RSS and Atom feeds on a schedule, hand an agent everything new, and have it pick out what matters for your topics and write a short digest. Connects to nothing and needs no credentials.",
7
+ "requires": {
8
+ "integrations": {},
9
+ "features": [
10
+ "customTarball"
11
+ ]
12
+ },
13
+ "popularityRank": 78,
14
+ "estimatedSetupMinutes": 2,
15
+ "exampleImplementation": "Trigger: cron, daily by default (0 8 * * *)\nRequired secret: none. The feeds are public URLs and the conversation is started with an empty secret allow-list and no MCP servers.\n\n1. Read the feed list, the topics, and the schedule from setup.\n2. Key one unit of work to the UTC date, so a cron that fires more often, a retried run, or a restarted service cannot write the same digest twice.\n3. Fetch every feed over plain HTTPS and parse RSS 2.0, RSS 1.0/RDF and Atom by local element name. A feed that is down, moved, or no longer a feed is reported and skipped; the run fails only when every feed fails.\n4. Drop stories already covered by an earlier digest and stories older than the lookback window. Do not judge what a story is about: that has no right answer and is the agent's call.\n5. Start no conversation at all when nothing new was published, and leave the day open for a later run. A quiet day costs no tokens.\n6. Otherwise start an OpenHands conversation with the newest stories and the topics in the prompt, and let it decide which are relevant, group them, merge duplicate coverage, and write the digest.\n7. Deliver it three ways that need no credentials: it stays in the conversation, it is printed into the run log, and its opening is kept in state.\n8. Remember the reported stories only once a digest exists, so a failed run is recovered by the next one rather than lost.",
16
+ "impact": {
17
+ "basis": "completed-runs",
18
+ "one": "1 feed check completed",
19
+ "other": "{{count}} feed checks completed"
20
+ },
21
+ "setup": {
22
+ "version": "1.0",
23
+ "mode": "direct",
24
+ "form": {
25
+ "triggers": {
26
+ "cron": {
27
+ "schedule": {
28
+ "type": "cron",
29
+ "label": "Digest time",
30
+ "help": "When the digest is written. Work is keyed by UTC date, so a schedule more frequent than daily only polls until there is something new.",
31
+ "default": "0 8 * * *",
32
+ "required": true
33
+ },
34
+ "timezone": {
35
+ "type": "timezone",
36
+ "label": "Timezone",
37
+ "help": "Timezone the schedule is interpreted in.",
38
+ "default": "UTC",
39
+ "required": true
40
+ }
41
+ }
42
+ },
43
+ "args": {
44
+ "feeds": {
45
+ "type": "textarea",
46
+ "label": "Feeds",
47
+ "help": "One RSS or Atom feed URL per line. They must be public: this automation signs in to nothing, so a feed behind a login will simply fail and be skipped.",
48
+ "default": "https://news.ycombinator.com/rss\nhttps://feeds.arstechnica.com/arstechnica/index\nhttps://www.theverge.com/rss/index.xml",
49
+ "required": true,
50
+ "constraints": {
51
+ "minLength": 8,
52
+ "maxLength": 4000
53
+ }
54
+ },
55
+ "topics": {
56
+ "type": "textarea",
57
+ "label": "Topics of interest",
58
+ "help": "One topic per line, or separated by commas. The agent reads every new story and decides which ones are about these, so write them the way you would explain your interests to a colleague rather than as search terms. Leave this empty to cover whatever is most significant.",
59
+ "default": "artificial intelligence, open source, developer tools",
60
+ "required": false,
61
+ "constraints": {
62
+ "maxLength": 2000
63
+ }
64
+ }
65
+ }
66
+ },
67
+ "bundle": {
68
+ "version": "1.0.0",
69
+ "entrypoint": "python3 main.py",
70
+ "timeout": 900,
71
+ "files": {
72
+ "main.py": "skills/news-digest/scripts/main.py"
73
+ },
74
+ "config": {
75
+ "feeds": "{{form.feeds}}",
76
+ "topics": "{{form.topics}}"
77
+ }
78
+ },
79
+ "message": "This deployment cannot run the scheduled news digest directly. Set it up in this conversation instead: confirm the feeds to read, the topics to watch for, and the schedule, then create the automation."
80
+ }
81
+ }
@@ -0,0 +1,72 @@
1
+ {
2
+ "id": "qa-changes",
3
+ "name": "QA Changes Agent",
4
+ "category": "Code review",
5
+ "description": "When a pull request is opened for review, run the QA changes methodology — set up the environment, exercise the changed behavior as a real user would, and post the outcome by editing the PR description with a QA Agent section.",
6
+ "requires": {
7
+ "integrations": {
8
+ "github": {
9
+ "message": "Used to read the pull request, check the author's commit history, and edit the PR description."
10
+ }
11
+ },
12
+ "features": [
13
+ "repoClone",
14
+ "presetPrompt",
15
+ "webhookDelivery"
16
+ ]
17
+ },
18
+ "popularityRank": 85,
19
+ "estimatedSetupMinutes": 5,
20
+ "skill": "qa-changes",
21
+ "exampleImplementation": "Trigger: GitHub pull_request.opened and pull_request.ready_for_review events\nRequired secret: GITHUB_TOKEN\n\n1. Receive a GitHub pull_request event (opened or ready_for_review).\n2. Filter: the PR must not be a draft (draft == false), the PR description must not already contain a QA Agent section, and the PR author must have more than 3 commits already in main.\n3. Start an OpenHands conversation that clones the repo, checks out the PR head, and runs the /qa-changes methodology: understand the change, set up the environment, exercise the changed behavior as a real user would.\n4. Instead of posting a review comment, edit the PR description to append a horizontal rule followed by a QA Agent section containing the structured QA report.",
22
+ "setup": {
23
+ "version": "1.0",
24
+ "mode": "direct",
25
+ "form": {
26
+ "triggers": {
27
+ "event": {
28
+ "on": {
29
+ "type": "select",
30
+ "label": "Trigger on",
31
+ "help": "Which GitHub pull request event starts a QA run. Opened fires when a non-draft PR is created; Ready for review fires when a draft PR is marked ready.",
32
+ "default": "pull_request.opened",
33
+ "required": true,
34
+ "options": [
35
+ {
36
+ "value": "pull_request.opened",
37
+ "label": "Pull request opened"
38
+ },
39
+ {
40
+ "value": "pull_request.ready_for_review",
41
+ "label": "Pull request ready for review"
42
+ }
43
+ ]
44
+ }
45
+ }
46
+ },
47
+ "args": {
48
+ "repository": {
49
+ "type": "repo-picker",
50
+ "label": "Repository",
51
+ "help": "The repository whose pull requests will be QA'd.",
52
+ "provider": "github",
53
+ "required": true
54
+ },
55
+ "ref": {
56
+ "type": "text",
57
+ "label": "Base branch",
58
+ "help": "Branch checked out when the agent runs QA.",
59
+ "default": "main",
60
+ "required": true,
61
+ "constraints": {
62
+ "minLength": 1,
63
+ "maxLength": 255
64
+ }
65
+ }
66
+ }
67
+ },
68
+ "prompt": "A pull request was opened or marked ready for review in {{form.repository}}. Before doing any QA work, run these gate checks and stop immediately (making no changes) if any fails:\n\n1. The PR must not be a draft — it must be open for review. If the PR is a draft, stop.\n2. The PR author (the human who opened it) must have more than 3 commits already merged into the {{form.ref}} branch. Use the GitHub API to count the author's commits in {{form.ref}}. If the count is 3 or fewer, stop without making any changes.\n3. The PR description must not already contain a section named QA Agent (i.e., a header like ## QA Agent or ### QA Agent). If that section already exists, stop without making any changes or starting a conversation.\n\nIf all gate checks pass, proceed with the QA validation using the /qa-changes skill methodology:\n\n- Phase 1: Understand the change. Read the PR diff, title, and description. Identify the goal of the PR. Classify every changed file. Form a hypothesis about what the PR should achieve.\n- Phase 2: Set up the environment. Read the repo's bootstrap instructions, install dependencies, and build if needed. Note CI status but do not re-run tests.\n- Phase 3: Exercise the changed behavior. Actually run the software the way a real user would — start servers, run CLI commands, make HTTP requests, open browsers. Do NOT run the test suite, linters, or code analysis. For bug fixes, reproduce the bug before and after the fix. Show before/after evidence.\n- Phase 4: Report results.\n\nIMPORTANT — how to post your report:\nDo NOT post a new comment, review, or inline review comment. Instead, EDIT the PR description (the pull request body) to append your QA report at the very end, after a horizontal rule (---), under a new section titled QA Agent. Use the GitHub API (PATCH /repos/{owner}/{repo}/pulls/{pr_number} with a body field) to update the PR description. Append the following structure to the existing PR body:\n\n---\n\n## QA Agent\n\n{Your full QA report following the /qa-changes skill report format: verdict, summary, Does this PR achieve its stated goal? section, status table, collapsible evidence in details blocks, and issues found.}\n\nDo not make any other changes to the PR description — only append the QA Agent section at the end. Do not post any comments or reviews.",
69
+ "filter": "!pull_request.draft && !icontains(pull_request.body, 'QA Agent') && glob(repository.full_name, '{{form.repository}}')",
70
+ "message": "This deployment cannot run the webhook-driven QA automation directly. Set it up in this conversation instead: confirm the repository to QA, the base branch, and the PR event to trigger on, then create the automation."
71
+ }
72
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "id": "slack-github-linear-daily-organization",
3
+ "name": "Slack + GitHub + Linear daily organization",
4
+ "category": "Personal productivity",
5
+ "description": "Every morning, reconcile your open GitHub PRs with Linear issues, align active work, surface relevant Slack context, and send yourself a concise daily plan.",
6
+ "exampleImplementation": "Trigger: cron, every morning at 7:00 AM in the configured timezone\nRequired integrations: GitHub, Linear, Slack\n\n1. Verify access to all three services before making changes.\n2. Reconcile open GitHub PRs with issues and import missing issues into Linear.\n3. Align active Linear work with open PRs and recent Slack context.\n4. Send a concise, prioritized daily plan to the configured Slack recipient.",
7
+ "requiredIntegrationIds": [
8
+ "slack",
9
+ "github",
10
+ "linear"
11
+ ],
12
+ "popularityRank": 88,
13
+ "estimatedSetupMinutes": 10,
14
+ "suggestedTrigger": {
15
+ "type": "cron",
16
+ "schedule": "0 7 * * *",
17
+ "timezone": "[IANA_TIMEZONE]"
18
+ },
19
+ "placeholders": [
20
+ "[GITHUB_USERNAME]",
21
+ "[LINEAR_ASSIGNEE_QUERY]",
22
+ "[GITHUB_ORG_OR_REPO_SCOPE]",
23
+ "[SLACK_RECIPIENT_QUERY]",
24
+ "[IANA_TIMEZONE]"
25
+ ],
26
+ "prompt": "You are running a daily GitHub/Linear/Slack organization automation.\n\nSchedule context:\n- This automation runs every morning at 7:00 AM in [IANA_TIMEZONE].\n- Treat \"today\" and \"past 1-3 days\" in [IANA_TIMEZONE].\n\nImportant safety and access rules:\n1. First, verify that you have working access to GitHub, Linear, and Slack using the available official tools/APIs. A minimal successful read for each service is enough.\n2. If any one of GitHub, Linear, or Slack is unavailable, missing credentials, or returns an authorization error, stop immediately. Do not make partial updates. If Slack is available, send the configured Slack recipient a short message saying which service was unavailable and that no changes were made; otherwise finish with that error.\n3. Prefer official APIs/MCP tools over browser interaction. Do not browse web UIs unless no API/tool path exists.\n4. When posting to Slack or creating/updating human-readable external-service content, include a short disclosure that the content was generated by an AI agent (OpenHands) on behalf of the user.\n\nIdentity and scope:\n- GitHub user to inspect: [GITHUB_USERNAME].\n- GitHub issue scope: [GITHUB_ORG_OR_REPO_SCOPE]. Examples: visible repositories in one or more organizations, or an explicit allowlist of repositories.\n- Linear assignee: resolve by searching for [LINEAR_ASSIGNEE_QUERY]. Do not guess an ID if multiple plausible matches exist.\n- Slack recipient for the final daily plan: resolve by searching for [SLACK_RECIPIENT_QUERY], or use the current authenticated Slack user if that is the intended recipient.\n\nTask 1 — Ensure the user's open PRs are associated with GitHub issues:\n1. Find all open pull requests authored by [GITHUB_USERNAME] across the configured GitHub scope.\n2. For each PR, determine whether it is already associated with a GitHub issue. Count an association if the PR body has a clear issue reference or closing keyword (for example, #123, owner/repo#123, fixes, closes, or resolves), or if GitHub's API exposes linked/closing issues.\n3. If a PR has no associated issue:\n a. Search open issues in the same repository for an obvious matching issue using the PR title, branch name, and summary. Only treat an issue as obvious if the title/topic clearly matches; do not force weak matches.\n b. If an obvious open issue exists, use that issue.\n c. If none exists, create a new GitHub issue in the same repository summarizing the PR's purpose and linking back to the PR. Include an AI disclosure in the issue body.\n d. Update the PR description to include a non-closing association such as \"Related issue: #123\" or \"Related issue: owner/repo#123\" for cross-repo references. Preserve the existing PR description. Avoid \"Fixes\", \"Closes\", or \"Resolves\" unless the PR already used a closing keyword or the issue clearly should close when the PR merges.\n\nTask 2 — Ensure GitHub issues are represented in Linear:\n1. Find all open GitHub issues, excluding PRs, in the configured GitHub issue scope.\n2. For each issue, verify that it has a corresponding Linear issue. Match by GitHub issue URL first, then by exact repository/name/number and title if needed.\n3. If no Linear issue exists, create one in the appropriate Linear team/project using the GitHub issue title, URL, repository, labels, and a concise summary. Include an AI disclosure in the Linear issue description. Choose an appropriate priority for newly created Linear issues using this rubric:\n - Urgent: security, production outage, data loss, severe user-blocking regression, active incident.\n - High: important bug/regression, release blocker, broadly affecting users, high-value requested work.\n - Medium: normal feature/bug/task with moderate impact.\n - Low: cleanup, docs, nice-to-have, unclear/low-impact backlog.\n - No priority only if there is insufficient information.\n4. For every GitHub issue that has one or more open PRs associated with it, ensure the corresponding Linear issue is assigned to the configured Linear assignee and has a started/In Progress status. If the Linear issue is already completed or canceled, do not reopen it; mention this in the final report instead.\n5. Do not downgrade or otherwise change priorities of existing Linear issues merely because they seem wrong. If an existing priority is missing and the issue is actively in progress due to an open PR, you may set a reasonable priority. If a priority seems unclear or incorrect, flag it in the final Slack report rather than changing it.\n\nTask 3 — Check Slack context for active Linear issues:\n1. Inspect active Linear issues assigned to the configured assignee and not completed/canceled, especially urgent, high-priority, and in-progress issues.\n2. Search Slack public content and, if available in the tool configuration, private/DM-accessible content for the last 1-3 days for requests, mentions, or discussions related to those Linear issue identifiers, issue titles, linked GitHub issues/PRs, and relevant repository names.\n3. Summarize actionable Slack requests/discussions. Include links to Slack messages/threads when the Slack tooling provides them.\n4. Do not expose private Slack content beyond what is necessary for the configured recipient's own daily plan.\n\nTask 4 — Produce and send the daily plan:\n1. Review all active Linear issues assigned to the configured assignee, prioritizing Urgent then High then Medium then Low, while also considering Slack requests, open PR status, blockers, and issue age.\n2. Create a concise plan for what the recipient should work on today, focusing on the most urgent and important issues first.\n3. Include:\n - Top 3-5 recommended focus items with Linear identifiers/titles and links.\n - Any GitHub PR issue-association work performed.\n - Any GitHub issues imported into Linear.\n - Any Linear issues moved to In Progress or assigned to the configured assignee because an open PR exists.\n - Any Slack requests/discussions from the past 1-3 days relevant to active Linear issues.\n - Any issue priorities that are unclear or appear incorrect; explicitly say you did not change those priorities.\n - Any access or matching limitations.\n4. Send the report to the configured Slack recipient as a DM if possible. If DM is not possible, use the best available Slack destination for that recipient. Include the AI disclosure in the message.\n5. Finish with a short execution summary including counts of PRs checked, PRs updated, GitHub issues created, GitHub issues imported to Linear, Linear issues updated, and Slack discussions found.\n\nBe careful and conservative: avoid duplicate GitHub issues, duplicate Linear issues, weak associations, or broad destructive changes."
27
+ }
@@ -4,13 +4,22 @@
4
4
 
5
5
  import entry0 from "./catalog/github-pr-reviewer/manifest.json" with { type: "json" };
6
6
  import entry1 from "./catalog/github-repo-monitor/manifest.json" with { type: "json" };
7
- import entry2 from "./catalog/slack-standup-digest/manifest.json" with { type: "json" };
8
- import entry3 from "./catalog/slack-channel-monitor/manifest.json" with { type: "json" };
9
- import entry4 from "./catalog/linear-triage-assistant/manifest.json" with { type: "json" };
10
- import entry5 from "./catalog/jira-issue-to-pr/manifest.json" with { type: "json" };
11
- import entry6 from "./catalog/research-brief-writer/manifest.json" with { type: "json" };
12
- import entry7 from "./catalog/upstream-fork-sync/manifest.json" with { type: "json" };
13
- import entry8 from "./catalog/incident-retrospective-drafter/manifest.json" with { type: "json" };
7
+ import entry2 from "./catalog/github-issue-to-pr/manifest.json" with { type: "json" };
8
+ import entry3 from "./catalog/slack-standup-digest/manifest.json" with { type: "json" };
9
+ import entry4 from "./catalog/slack-channel-monitor/manifest.json" with { type: "json" };
10
+ import entry5 from "./catalog/linear-triage-assistant/manifest.json" with { type: "json" };
11
+ import entry6 from "./catalog/linear-issue-to-github-pr/manifest.json" with { type: "json" };
12
+ import entry7 from "./catalog/linear-issue-to-gitlab-mr/manifest.json" with { type: "json" };
13
+ import entry8 from "./catalog/linear-issue-to-bitbucket-pr/manifest.json" with { type: "json" };
14
+ import entry9 from "./catalog/jira-issue-to-pr/manifest.json" with { type: "json" };
15
+ import entry10 from "./catalog/qa-changes/manifest.json" with { type: "json" };
16
+ import entry11 from "./catalog/jira-issue-to-gitlab-mr/manifest.json" with { type: "json" };
17
+ import entry12 from "./catalog/research-brief-writer/manifest.json" with { type: "json" };
18
+ import entry13 from "./catalog/jira-issue-to-bitbucket-pr/manifest.json" with { type: "json" };
19
+ import entry14 from "./catalog/github-agents-md-maintainer/manifest.json" with { type: "json" };
20
+ import entry15 from "./catalog/upstream-fork-sync/manifest.json" with { type: "json" };
21
+ import entry16 from "./catalog/incident-retrospective-drafter/manifest.json" with { type: "json" };
22
+ import entry17 from "./catalog/news-digest/manifest.json" with { type: "json" };
14
23
 
15
24
  export const AUTOMATION_CATALOG_ENTRIES = [
16
25
  entry0,
@@ -22,4 +31,13 @@ export const AUTOMATION_CATALOG_ENTRIES = [
22
31
  entry6,
23
32
  entry7,
24
33
  entry8,
34
+ entry9,
35
+ entry10,
36
+ entry11,
37
+ entry12,
38
+ entry13,
39
+ entry14,
40
+ entry15,
41
+ entry16,
42
+ entry17,
25
43
  ];