Skip to content
Prompt

empty-repos — Copilot Instructions

by github

AI Summary

A GitHub Actions workflow that automatically scans organizations for empty and README-only repositories, generating monthly reports as issues. Ideal for open source program offices (OSPOs) and innersource teams managing repository hygiene.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to add the "empty-repos — Copilot Instructions" prompt rules to my project.
Repository: https://github.com/github/empty-repos

Please read the repo to find the rules/prompt file, then:
1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type)
2. If there's an existing rules file, merge the new rules in rather than overwriting
3. Confirm what was added

Description

A GitHub Actions workflow to find empty repos

Prerequisites and Setup

• Install required tools: • Node.js v20+ is available: node --version • npm 10+ is available: npm --version • GitHub CLI 2.76+ is available: gh --version • yamllint is available: yamllint --version

Available Tools Output

`bash node --version # v20.19.4 npm --version # 10.8.2 gh --version # gh version 2.76.2 yamllint --version # yamllint 1.x `

Empty Repos Workflow

The Empty Repos Workflow is a GitHub Actions workflow that scans organizations for empty repositories and README-only repositories, generating monthly reports as GitHub issues. Always reference these instructions first and fallback to search or bash commands only when you encounter unexpected information that does not match the info here.

Repository Structure

• .github/workflows/empty-repos.yml - The main GitHub Actions workflow file • Documentation files - README.md, CONTRIBUTING.md, CODE_OF_CONDUCT.md, SECURITY.md, SUPPORT.md • Configuration files - CODEOWNERS, LICENSE • No application code - This is a pure GitHub Actions workflow repository

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 4mo ago
Stale
AdoptionUnder 100 stars
7 ★ · Niche
DocsMissing or thin
Undocumented

GitHub Signals

Stars7
Forks1
Issues0
Updated4mo ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Any AI assistant that accepts custom rules or system prompts

Claude
ChatGPT
Cursor
Windsurf
Copilot
+ more