Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion patterns/archetypes/batched-ci-doctor.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"Query a bounded lookback window of completed GitHub Actions runs and analyze only failures that have not recovered on rerun",
"Cluster failures by a stable key such as workflow, job, failing step, and normalized error signature before investigating root causes",
"Keep one stable tracking issue for the batch: search before creating, then add a comment with materially new findings on later runs",
"Diagnostic only — report evidence-backed root causes and remediation steps, but do not rerun workflows or modify repository code"
"Diagnostic only \u2014 report evidence-backed root causes and remediation steps, but do not rerun workflows or modify repository code"
],
"anti_patterns": []
}
2 changes: 1 addition & 1 deletion patterns/archetypes/code-health-auditor.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"Set expires on the created issue or pull request so stale findings don't accumulate",
"Assign findings to copilot so remediation can be picked up automatically",
"Persist the history of previously-audited structural dimensions in cache-memory and weight selection toward ones not covered in recent runs, so scheduled runs rotate through file size, duplication, and complexity instead of repeating the same dimension",
"Before creating a new finding, search the most recently closed items from this workflow and read the close reason and any review feedback — treat a rejecting comment or 'not planned' close as a negative signal and avoid re-proposing the same fix"
"Before creating a new finding, search the most recently closed items from this workflow and read the close reason and any review feedback \u2014 treat a rejecting comment or 'not planned' close as a negative signal and avoid re-proposing the same fix"
],
"anti_patterns": []
}
34 changes: 16 additions & 18 deletions patterns/archetypes/code-improvement.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"id": "code-improvement",
"label": "Code Improvement",
"description": "Diagnose and fix code or CI issues",
"success_rate": 0.46,
"count": 73,
"success_rate": 0.33,
"count": 35,
"recommended_triggers": [
{
"type": "schedule",
"config": {}
},
{
"type": "reaction",
"type": "workflow_run",
"config": {}
},
{
Expand All @@ -33,23 +33,23 @@
"top_repos": [
{
"repo": "github/gh-aw",
"stars": 5063
"stars": 5134
},
{
"repo": "githubnext/agentics",
"stars": 925
"stars": 952
},
{
"repo": "github/spec-kit",
"stars": 132415
"repo": "ethereum/ethereum-org-website",
"stars": 5968
},
{
"repo": "github/awesome-copilot",
"stars": 38469
"repo": "dotnet/macios",
"stars": 2903
},
{
"repo": "langfuse/langfuse",
"stars": 33968
"repo": "microsoft/agentrc",
"stars": 1063
}
],
"tips": [
Expand All @@ -58,15 +58,13 @@
"Scope each run to one narrow, well-defined improvement (a single failing check or a named category of fix) rather than an open-ended \"fix anything broken\" mandate \u2014 broad, unscoped code-improvement workflows have the lowest observed success rates",
"Use explicit DO NOT constraints to keep changes scoped to the requested improvement",
"Use protected-files: fallback-to-issue for manifests, CI configuration, and agent instructions",
"Add a pre-activation step that skips scheduled runs once too many open PRs share your title prefix, to avoid spamming maintainers",
"When rotating across several improvement categories (e.g. code quality, testing, docs, performance), persist the history of previously-selected categories in cache-memory and weight selection toward ones not covered in recent runs, so scheduled runs don't repeatedly re-select the same category",
"Cap the schedule to one open pull request at a time with skip-if-match (max: 1) and expires, and before proposing a new fix search the most recently closed pull requests from this workflow — treat a 'not planned' close or rejecting review comment as a negative signal and avoid re-proposing the same change"
"Add a pre-activation step that skips scheduled runs once too many open PRs share your title prefix, to avoid spamming maintainers"
],
"anti_patterns": [
"ci-coach",
"code-simplifier",
"ci-doctor",
"ci-doctor",
"code-simplifier"
"build-doctor",
"code-simplifier",
"bug-agent-fix",
"issue-fix"
]
}
23 changes: 17 additions & 6 deletions patterns/archetypes/content-moderation.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"id": "content-moderation",
"label": "Content Moderation",
"description": "Review content for quality or policy",
"success_rate": 0.0,
"count": 3,
"success_rate": 0.86,
"count": 6,
"recommended_triggers": [
{
"type": "issue_comment",
Expand Down Expand Up @@ -35,18 +35,29 @@
"top_repos": [
{
"repo": "github/gh-aw",
"stars": 5063
"stars": 5134
},
{
"repo": "githubnext/agentics",
"stars": 925
"stars": 952
},
{
"repo": "Bertverbeek4PS/bc2adls",
"stars": 168
},
{
"repo": "SSWConsulting/SSW.Rules.Content",
"stars": 62
},
{
"repo": "chrizbo/agentics-beyond-code",
"stars": 25
}
],
"tips": [
"Never auto-close or lock \u2014 label and comment only",
"Include explicit rules for what IS legitimate to reduce false positives",
"Use DO NOT constraints for actions the agent should never take",
"Enable tools.github.lockdown to restrict surfaced content from public repos to authors with push access"
"Use DO NOT constraints for actions the agent should never take"
],
"anti_patterns": []
}
4 changes: 2 additions & 2 deletions patterns/archetypes/contribution-guidelines-checker.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
"top_repos": [],
"tips": [
"Search CONTRIBUTING.md, .github/CONTRIBUTING.md, docs/CONTRIBUTING.md, and README contribution sections in order before falling back to general best practices",
"Label the pull request ready when it complies and leave one constructive comment when it does not — never both",
"Label the pull request ready when it complies and leave one constructive comment when it does not \u2014 never both",
"Use a small model since this runs on every pull request open/synchronize event and cost adds up",
"For high-volume repositories, pre-filter and fetch PR data in a steps: block, then dispatch each PR to an inline sub-agent for evaluation so the parent workflow only compiles results",
"Use DO NOT constraints to avoid merging, approving, or closing contributions — label and comment only",
"Use DO NOT constraints to avoid merging, approving, or closing contributions \u2014 label and comment only",
"To monitor a different repository than the one the workflow runs in, enable the GitHub toolsets needed for the external repo, set target-repo on add-labels and add-comment, and document the required token scopes in the prompt"
],
"anti_patterns": []
Expand Down
34 changes: 17 additions & 17 deletions patterns/archetypes/custom.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
"id": "custom",
"label": "Custom",
"description": "Custom or uncategorized workflow",
"success_rate": 0.5,
"count": 356,
"success_rate": 0.56,
"count": 164,
"recommended_triggers": [
{
"type": "schedule",
"config": {}
},
{
"type": "roles",
"type": "reaction",
"config": {}
},
{
"type": "reaction",
"type": "slash_command",
"config": {}
}
],
Expand All @@ -29,23 +29,23 @@
"top_repos": [
{
"repo": "github/gh-aw",
"stars": 5063
"stars": 5134
},
{
"repo": "githubnext/agentics",
"stars": 925
"stars": 952
},
{
"repo": "f/prompts.chat",
"stars": 168280
"repo": "OtterMind/Chat2DB",
"stars": 28117
},
{
"repo": "github/spec-kit",
"stars": 132415
"repo": "pydantic/pydantic-ai",
"stars": 19920
},
{
"repo": "home-assistant/core",
"stars": 90197
"repo": "ethereum/ethereum-org-website",
"stars": 5968
}
],
"tips": [
Expand All @@ -54,10 +54,10 @@
"Use DO NOT constraints to bound agent behavior \u2014 61% more likely to be healthy"
],
"anti_patterns": [
"issue-go-yes",
"hero-scenarios",
"dash",
"tester",
"scribe"
"localize-pt",
"validate-pr",
"planner",
"q",
"keybot"
]
}
10 changes: 3 additions & 7 deletions patterns/archetypes/daily-test-improver.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"id": "daily-test-improver",
"label": "Daily Test Improver",
"description": "Add high-value tests and improve test quality",
"success_rate": 1.0,
"count": 3,
"success_rate": 0.0,
"count": 2,
"recommended_triggers": [
{
"type": "permissions",
Expand Down Expand Up @@ -33,11 +33,7 @@
"top_repos": [
{
"repo": "githubnext/agentics",
"stars": 925
},
{
"repo": "rancher/dashboard",
"stars": 621
"stars": 952
}
],
"tips": [
Expand Down
36 changes: 18 additions & 18 deletions patterns/archetypes/dependency-monitor.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
"id": "dependency-monitor",
"label": "Dependency Monitor",
"description": "Track and update dependencies",
"success_rate": 0.5,
"count": 48,
"success_rate": 0.21,
"count": 10,
"recommended_triggers": [
{
"type": "schedule",
"config": {}
},
{
"type": "permissions",
"type": "pull_request",
"config": {}
},
{
"type": "reaction",
"type": "issues",
"config": {}
}
],
Expand All @@ -35,23 +35,23 @@
"top_repos": [
{
"repo": "github/gh-aw",
"stars": 5063
"stars": 5134
},
{
"repo": "github/awesome-copilot",
"stars": 38469
"repo": "adoptium/adoptium",
"stars": 185
},
{
"repo": "dotnet/aspnetcore",
"stars": 38406
"repo": "nitinjain999/platform-skills",
"stars": 42
},
{
"repo": "langfuse/langfuse",
"stars": 33968
"repo": "LionSR/TNLean",
"stars": 36
},
{
"repo": "dotnet/maui",
"stars": 23317
"repo": "SatelliteQE/broker",
"stars": 21
}
],
"tips": [
Expand All @@ -64,10 +64,10 @@
"Use protected-files: fallback-to-issue for CI configuration and agent instructions (not the dependency manifests themselves, since updating those is the intended change)"
],
"anti_patterns": [
"wiki-sync",
"course-updater",
"update-github-info",
"update-github-info",
"dependabot-pr-bundler"
"docs-blueprint-sync",
"php-dependency-upgrade",
"doc-sync",
"renovate-gate",
"agent-health-monitor"
]
}
30 changes: 16 additions & 14 deletions patterns/archetypes/documentation-updater.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"id": "documentation-updater",
"label": "Documentation Updater",
"description": "Keep docs accurate and up-to-date",
"success_rate": 0.68,
"count": 9,
"success_rate": 0.7,
"count": 10,
"recommended_triggers": [
{
"type": "schedule",
"type": "push",
"config": {}
},
{
"type": "skip-if-match",
"type": "schedule",
"config": {}
},
{
Expand All @@ -33,23 +33,23 @@
"top_repos": [
{
"repo": "githubnext/agentics",
"stars": 925
"stars": 952
},
{
"repo": "microsoft/apm",
"stars": 3671
"repo": "OP5dev/TF-via-PR",
"stars": 338
},
{
"repo": "microsoft/hve-core",
"stars": 1408
"repo": "Azure/typespec-azure",
"stars": 27
},
{
"repo": "github/gh-aw-firewall",
"stars": 138
"repo": "codegefluester/GamesDat",
"stars": 1
},
{
"repo": "baizhiheizi/mixin_bot",
"stars": 16
"repo": "vinijmoura/dow-01",
"stars": 0
}
],
"tips": [
Expand All @@ -59,5 +59,7 @@
"Use protected-files: fallback-to-issue for manifests, CI configuration, and agent instructions",
"Add a pre-activation step that skips scheduled runs once too many open PRs share your title prefix, to avoid spamming maintainers"
],
"anti_patterns": []
"anti_patterns": [
"daily-doc-updater"
]
}
Loading