community-health
Skill1 starsChanged 3 months agoMITView on GitHub
Creates or completes GitHub community health files - CONTRIBUTING, CODE_OF_CONDUCT, SECURITY, SUPPORT, GOVERNANCE, FUNDING.yml, CODEOWNERS, LICENSE - tailored to the repo, not boilerplate. Use when the user asks for these files, contributing guidelines, a code of conduct, whether to require a CLA or DCO, or to complete the community profile. Not for issue/PR templates or enabling security settings like scanning and rulesets.
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- add-skillSkill
- publish-repoSkill
- docs-authorSkill
- docs-siteSkill
- issue-pr-templatesSkill
- readme-authorSkill
- repo-auditSkill
- repo-discoverabilitySkill
- repo-protectionsSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 28
Right-size before writing: Read the stage table in references/health-files-guide.md: solo/early repos need LICENSE + README + CI first.
- Distinctive: line 68
Don't write a CLA unprompted.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
community-health
Writes the prose files GitHub surfaces around every issue, PR, and repo visit. The failure this skill fixes: generic boilerplate that doesn't match the repo (CONTRIBUTING files with commands that don't exist, SECURITY files pointing at disclosure paths that 404, CODEOWNERS files that enforce nothing).
When NOT to use
- Issue forms / PR templates / labels →
issue-pr-templates(GitHub counts them in the community profile, but they're structured YAML work, not prose). - Enabling secret scanning, rulesets, code-owner enforcement →
repo-protections. - README work →
readme-author.
Workflow
- Inspect the repo first: language, real test/build/setup commands, maintainer
handles, license state, project stage (solo? contributors? org?). Every file must
reflect reality — a CONTRIBUTING that says
make testwhen there is no Makefile is worse than no file. - Right-size before writing. Read the stage table in
references/health-files-guide.md: solo/early repos need LICENSE + README + CI first; CODE_OF_CONDUCT/GOVERNANCE earn their keep once outside contributors exist. Recommend a staged order, don't dump all files unasked. - Write the requested files per the per-file requirements in the guide:
CONTRIBUTING.md— dev setup, the repo's real test/lint commands, PR workflow, where to propose ideas first. Surfaced by GitHub in issue/PR flows.CODE_OF_CONDUCT.md— Contributor Covenant, unmodified; flag the contact placeholder for the maintainer.SECURITY.md— private reporting path; note the PVR link 404s until enabled on a public repo (enforcement itself →repo-protections); supported versions.SUPPORT.md— route questions away from the issue tracker.GOVERNANCE.md— one page: roles, how decisions get made, how contributors become maintainers. One page beats none; skip for solo repos.FUNDING.yml— valid platform keys only, in.github/.CODEOWNERS— real handles on sensitive paths including.github/and workflow files; always warn it is inert until a ruleset requires code-owner review, and route enforcement torepo-protections.LICENSE— full standard text at the root (GitHub's detector needs it); MIT/Apache-2.0 default; note the CLA-vs-DCO table in the guide if asked.
- Verify:
python3 "${CLAUDE_SKILL_DIR}/scripts/check_health_files.py" [--remote owner/repo]--remotealso fetches GitHub's community-profile health percentage. Note the profile also counts issue/PR templates — if templates are the remaining gap, say so and route that work toissue-pr-templatesrather than writing them here. - Summarize what was added, what was deliberately deferred and why.
Output spec
Requested files exist, are non-empty, contain the repo's real commands/handles, and
pass scripts/check_health_files.py. Placeholders the maintainer must fill (CoC
contact, funding handles) are explicitly listed in the summary, not silently left.
Gotchas
- Files are recognized in
.github/, the root, ordocs/— pick one convention;.github/keeps the root clean, root maximizes visibility. - CODEOWNERS syntax errors are silent — validate paths exist and handles are real.
- Don't write a CLA unprompted; DCO is the low-friction default, and the choice depends on relicensing needs (see the guide's decision table).
- A
SECURITY.mdpromising response times the maintainer can't keep is a liability — default to "best effort within 7 days" phrasing unless told otherwise.
Files
references/health-files-guide.md— per-file content requirements, stage table, CLA/DCO decision table, community-profile checklist.scripts/check_health_files.py— presence/content checks;--remoteadds the community-profile API; non-zero exit on missing required files.
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.

