kb-github-scanning
Skill458 starsChanged 33 days agoMITView on GitHub
Reference data, not a reviewer. Search GitHub for issues, PRs, discussions, releases, and alerts. Includes query construction, date range handling, repo scoping, and cross-repo intelligence.
In this repository114 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- a11y-coreSkill
- a11y-tool-builderSkill
- accessibility-leadSkill
- accessibility-regression-detectorSkill
- accessibility-statementSkill
- actions-managerSkill
- alt-text-headingsSkill
- analyticsSkill
- aria-specialistSkill
- ci-accessibilitySkill
- cognitive-accessibilitySkill
- compliance-mappingSkill
- contrast-masterSkill
- contributions-hubSkill
- cross-document-analyzerSkill
- cross-page-analyzerSkill
- daily-briefingSkill
- data-visualization-accessibilitySkill
- design-system-auditorSkill
- desktop-a11y-specialistSkill
- desktop-a11y-testing-coachSkill
- developer-hubSkill
- document-accessibility-wizardSkill
- document-csv-reporterSkill
- document-inventorySkill
- email-accessibilitySkill
- epub-accessibilitySkill
- epub-scan-configSkill
- excel-accessibilitySkill
- forms-specialistSkill
- github-hubSkill
- i18n-accessibilitySkill
- insiders-a11y-trackerSkill
- issue-trackerSkill
- kb-accessibility-rulesSkill
- kb-ci-integrationSkill
- kb-cognitive-accessibilitySkill
- kb-data-visualization-accessibilitySkill
- kb-design-systemSkill
- kb-document-scanningSkill
- kb-email-accessibilitySkill
- kb-framework-accessibilitySkill
- kb-github-a11y-scannerSkill
- kb-github-analytics-scoringSkill
- kb-github-shared-instructionsSkill
- kb-github-workflow-standardsSkill
- kb-help-url-referenceSkill
- kb-legal-compliance-mappingSkill
- kb-lighthouse-scannerSkill
- kb-markdown-accessibilitySkill
- kb-media-accessibilitySkill
- kb-mobile-accessibilitySkill
- kb-office-remediationSkill
- kb-open-source-accessibility-frameworkSkill
- kb-path-instructionsSkill
- kb-playwright-testingSkill
- kb-python-developmentSkill
- kb-report-generationSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 9 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 59
Use github_list_releases per repo - check for recent, draft, and pre-releases.
- Distinctive: line 95
Add qualifiers to narrow by scope when the user specifies one:
- Very specific: line 108
Read .github/accessibility-agents/preferences.md (the user creates it from docs/reference/preferences.example.md) and apply these filters …
- Very specific: line 111
repos.include: - always include these repos even in restricted modes. - Very specific: line 123
search.default_window: - default time range if the user doesn't specify one. - Distinctive: line 131
When results arrive from different repos, look for and surface these patterns:
- Distinctive: line 200
If a search returns 0 results:
- Distinctive: line 204
Never return 0 results without trying at least one broader query first.
- Distinctive: line 218
Ask before loading more: _"Showing 10 of 47.
- Distinctive: line 219
Never silently truncate results - always disclose the total count.
- Distinctive: line 225
When the same item appears in multiple searches (e.g., an issue you're both assigned to AND mentioned in):
- Distinctive: line 235
If rate-limited (403/429), tell the user the reset time in one sentence.
- Distinctive: line 236
Do not retry the same query - wait if reset is <60 seconds.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GitHub Scanning
Search Query Patterns by Intent
Issues
Each intent, with its query pattern and scope.
| Intent | Query Pattern | Scope |
| Assigned to you | is:issue is:open assignee:USERNAME | All repos |
| You were @mentioned | is:issue is:open mentions:USERNAME | All repos |
| Authored by you | is:issue is:open author:USERNAME | All repos |
| Specific repo | is:issue repo:owner/repo is:open | Single repo |
| By keyword | is:issue {keyword} is:open | All repos |
| Org-wide | is:issue org:ORGNAME is:open | Org repos |
| Closed (for recap) | is:issue is:closed author:USERNAME | All repos |
Pull Requests
Each intent, with its query pattern and scope.
| Intent | Query Pattern | Scope |
| Awaiting your review | is:pr review-requested:USERNAME state:open | All repos |
| Your open PRs | is:pr author:USERNAME state:open | All repos |
| Assigned to you | is:pr assignee:USERNAME state:open | All repos |
| You reviewed, check for updates | is:pr reviewed-by:USERNAME state:open | All repos |
| Specific PR | Fetch directly with owner, repo, number | Single repo |
| Org-wide | is:pr org:ORGNAME state:open | Org repos |
Discussions
Each intent, with its action.
| Intent | Action |
| You're mentioned | Search with mentions:USERNAME |
| You're participating | Search discussions you've commented on |
| High activity | Filter for 10+ comments in last 24h |
| Linked to your issues | Scan description/comments for issue references |
Releases
- Use
github_list_releasesper repo - check for recent, draft, and pre-releases. - Cross-reference merged PRs against release notes to identify unreleased work.
- Compare issue milestones against release schedules to flag upcoming deadline items.
Security
- Dependabot alerts: critical and high severity across monitored repos.
- Security advisories affecting dependencies.
- Pending dependency update PRs from
dependabot[bot]orrenovate[bot].
CI/CD
- Fetch recent workflow runs - identify failing workflows, long jobs, and flaky tests.
- For failing workflows: note repo, workflow name, branch, failure reason, and link to run.
- Cross-reference user's open PRs against CI results.
Date Range Handling
Convert natural language to GitHub query qualifiers:
| User Says | GitHub Qualifier |
| "last week" | created:>YYYY-MM-DD (7 days ago) |
| "this month" | created:>YYYY-MM-01 |
| "today" | closed:YYYY-MM-DD |
| "this week" | closed:>YYYY-MM-DD (7 days ago) |
| "between X and Y" | created:X..Y |
| Not specified | Use search.default_window from preferences (default: updated:>YYYY-MM-DD 30 days) - mention this assumption |
| "for current month" (a11y tracker) | milestone:"{Month} {Year}" |
Scope Narrowing
Add qualifiers to narrow by scope when the user specifies one:
| Scope | Qualifier |
| Single repo | repo:owner/name |
| All org repos | org:orgname |
| All repos by user | user:username |
| Everything (default) | No qualifier - searches all accessible repos |
Preferences File Integration
Read .github/accessibility-agents/preferences.md (the user creates it from docs/reference/preferences.example.md) and apply these filters before and after searching. If that file does not exist, read .github/agents/preferences.md (the older location) and suggest moving it: VS Code loads every .md file in .github/agents/ as a custom agent.
repos.discovery- determines the default search scope (all / starred / owned / configured / workspace).repos.include- always include these repos even in restricted modes.repos.exclude- skip these repos in all searches.repos.overrides- per-repo settings:track.issues: false-> skip issue searches for this repotrack.pull_requests: false-> skip PR searches for this repotrack.discussions: false-> skip discussions for this repotrack.releases: false-> skip release checks for this repotrack.security: false-> skip security alerts for this repotrack.ci: false-> skip CI status for this repolabels.include/labels.exclude-> filter results by labelpaths-> only trigger for changes touching these file paths (for PRs/CI)assignees-> filter to specific assignees (empty = all)
search.default_window- default time range if the user doesn't specify one.briefing.sections- which sections to include in the daily briefing.accessibility_tracking- config for the a11y tracker (repos, labels, channels).
Cross-Repo Intelligence
When results arrive from different repos, look for and surface these patterns:
| Pattern | Action |
| Cross-repo references | When issue A contains owner/repo#N, fetch and surface item N |
| Shared label patterns | Group items in different repos tagged P0 together in triage |
| Related PRs in different repos | Flag: "This issue depends on PR #N in repo-B which is still open" |
| Merged PR not yet released | Note: "Your PR #N is merged but not in any release yet" |
| Issue with merged fix PR | Flag: "This may be resolved - PR #N that closes it was merged on {date}" |
| Branch naming patterns | Group PRs in different repos using the same branch naming convention |
Parallel Stream Collection Model
For agents that collect from multiple data streams, run independent streams simultaneously. Don't serialize operations with no dependencies.
Example: Daily Briefing - 3 Parallel Batches
Batch 1 - fully independent, run simultaneously:
- Issues (assigned, mentioned, authored)
- Pull requests (review-requested, authored)
- Releases & deployments
- Accessibility updates
Batch 2 - run after Batch 1 (CI needs PR list from Batch 1):
- GitHub Discussions
- CI/CD health (cross-references PR list)
- Security alerts
Batch 3 - can overlap with Batch 2:
- Project board status
- Recently closed/merged work
Example: Analytics - 2 Parallel Batches
Batch 1 - collection (all independent):
- Closed/merged PRs in period
- Opened issues in period
- CI workflow runs in period
- Security alerts in period
Batch 2 - analysis (depends on Batch 1 data):
- Health score computation
- Velocity metrics calculation
- Bottleneck detection
Announcement Template for Parallel Work
Running {N} searches in parallel... ({scope})
Batch 1 complete - {X} items found
Running {N} additional searches...
Batch 2 complete - {Y} items found
Scoring and prioritizing...
Done - {Z} items need action, {W} to monitorAuto-Recovery for Empty Results
If a search returns 0 results:
- Automatically broaden: remove date filter, expand scope to
all, or remove label filters. - Tell the user exactly what changed: "No results in last 7 days - broadened to last 30 days and found 3 items."
- Never return 0 results without trying at least one broader query first.
Recovery cascade:
- First try: Remove date qualifier
- Second try: Expand scope (add org: or remove repo: qualifier)
- Third try: Remove label filters
- Report 0 results only if all three attempts return nothing
Pagination
- Paginate large result sets in batches of 10.
- Ask before loading more: "Showing 10 of 47. Load more?"
- Never silently truncate results - always disclose the total count.
Result Deduplication
When the same item appears in multiple searches (e.g., an issue you're both assigned to AND mentioned in):
- Show it once, with all context combined.
- In the Signal column, combine signals: "Assigned, @mentioned".
- In priority calculations, apply the highest-scoring signal, not additive.
Rate Limiting
- If rate-limited (403/429), tell the user the reset time in one sentence.
- Do not retry the same query - wait if reset is <60 seconds; otherwise report and move on.
- For multi-stream collection, skip rate-limited streams and complete them in a follow-up.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

