Repo Profile Governance
Purpose
Provide a bounded governance pass for repository presentation and collaboration readiness:
- profile quality (
description, homepage, topics, social preview)
- community health files (
CONTRIBUTING, CODE_OF_CONDUCT, SECURITY, SUPPORT)
- contribution surfaces (issue/PR templates, config, ownership cues)
- consistency across repositories
Hard constraints
- No unbounded loops or recursive retries.
- Maximum one full repository pass per invocation.
- Maximum ten recommendations per invocation.
- No silent policy mutation; produce explicit, auditable proposals.
- No claims of completion without verification evidence.
- If required artifacts are missing, return
NO_CHANGE with missing evidence.
Modes
profile-audit: detect profile/community gaps and rank by severity.
profile-remediate: propose minimal, ordered remediation steps for top gaps.
profile-weekly-check: compact drift check for recurring hygiene regressions.
Scope boundary (primary ownership)
This skill is the primary owner for repository profile hygiene:
- About metadata quality (
description, homepage, topics)
- discoverability surfaces (social preview, naming clarity)
- contributor-facing files and templates
- community-health baseline and consistency across repos
This skill is not the primary owner for branch protection/rulesets, merge gates,
release readiness, or incident execution flow. Delegate those to github-ops-excellence.
Required checks
A) Repository profile & discoverability
- About
description is concise and accurate.
homepage is set when applicable.
- Topics are present, normalized, and relevant.
- Social preview image exists and is intentional (not fallback-only).
B) Community health baseline
- Presence of
README.md with clear purpose and quick-start/usage context.
- Presence (repo root or
.github/) of:
CONTRIBUTING.md
CODE_OF_CONDUCT.md
SECURITY.md
SUPPORT.md
LICENSE exists when distribution requires it.
C) Contribution surfaces
- Issue templates exist and are aligned to common workflows.
- PR template exists and enforces evidence/checklist quality.
.github/CODEOWNERS exists for critical paths.
D) Governance consistency
- Critical standards are consistent across target repos.
- Deviations are documented and intentional.
- Missing items are prioritized by impact:
- P1: security/reporting or contributor-blocking
- P2: discoverability/collaboration quality
- P3: polish/consistency
Output format (required)
PROFILE_GOVERNANCE_REPORT
mode: <profile-audit|profile-remediate|profile-weekly-check>
scope: <repo|org>
visibility: <public|private>
policy_profile: <strict|standard|light>
summary:
- repo_score: <0-100>
- risk: <low|medium|high>
- top_gaps: <count>
findings:
- id: G1
severity: <low|medium|high>
area: <metadata|community-health|templates|ownership|discoverability|governance>
observation: <what was observed>
expected: <what should be true>
gap: <delta>
evidence: <artifact/path/api result>
actions:
1) priority: <P1|P2|P3>
owner: <role or person>
change: <specific, minimal update>
rationale: <why this is sufficient>
verification: <objective pass condition>
decision:
- <apply|defer|NO_CHANGE>
missing_evidence:
- <none or required artifacts>
Evidence requirements
Use only relevant evidence for selected mode:
- repository metadata (
description, homepage, topics, visibility)
- repository tree (
README, LICENSE, community files)
.github templates/config/code owners
- applicable policy notes for exceptions
Stop conditions
Return NO_CHANGE when:
- selected mode lacks enough evidence,
- recommendation is not objectively verifiable,
- proposed change weakens safety or governance controls,
- same fix was recently applied and verified.
Quality bar
A valid output must be:
- specific (repo/path-level evidence),
- minimal (smallest effective change set),
- testable (clear pass/fail checks),
- traceable (finding → action → verification),
- repeatable (supports weekly re-check cadence).
1---
2name: repo-profile-governance
3description: "Audit and harden repository profile, community health, discoverability metadata, and contribution surfaces across repos using bounded, evidence-based checks."
4argument-hint: "[mode: profile-audit|profile-remediate|profile-weekly-check] [scope: repo|org] [visibility: public|private] [policy-profile: strict|standard|light]"
5user-invocable: true
6disable-model-invocation: false
7---
8
9# Repo Profile Governance
10
11## Purpose
12
13Provide a bounded governance pass for repository presentation and collaboration readiness:
14
15- profile quality (`description`, `homepage`, topics, social preview)
16- community health files (`CONTRIBUTING`, `CODE_OF_CONDUCT`, `SECURITY`, `SUPPORT`)
17- contribution surfaces (issue/PR templates, config, ownership cues)
18- consistency across repositories
19
20## Hard constraints
21
221. No unbounded loops or recursive retries.
232. Maximum one full repository pass per invocation.
243. Maximum ten recommendations per invocation.
254. No silent policy mutation; produce explicit, auditable proposals.
265. No claims of completion without verification evidence.
276. If required artifacts are missing, return `NO_CHANGE` with missing evidence.
28
29## Modes
30
31- `profile-audit`: detect profile/community gaps and rank by severity.
32- `profile-remediate`: propose minimal, ordered remediation steps for top gaps.
33- `profile-weekly-check`: compact drift check for recurring hygiene regressions.
34
35## Scope boundary (primary ownership)
36
37This skill is the **primary owner** for repository profile hygiene:
38
39- About metadata quality (`description`, homepage, topics)
40- discoverability surfaces (social preview, naming clarity)
41- contributor-facing files and templates
42- community-health baseline and consistency across repos
43
44This skill is **not** the primary owner for branch protection/rulesets, merge gates,
45release readiness, or incident execution flow. Delegate those to `github-ops-excellence`.
46
47## Required checks
48
49### A) Repository profile & discoverability
50
51- About `description` is concise and accurate.
52- `homepage` is set when applicable.
53- Topics are present, normalized, and relevant.
54- Social preview image exists and is intentional (not fallback-only).
55
56### B) Community health baseline
57
58- Presence of `README.md` with clear purpose and quick-start/usage context.
59- Presence (repo root or `.github/`) of:
60 - `CONTRIBUTING.md`
61 - `CODE_OF_CONDUCT.md`
62 - `SECURITY.md`
63 - `SUPPORT.md`
64- `LICENSE` exists when distribution requires it.
65
66### C) Contribution surfaces
67
68- Issue templates exist and are aligned to common workflows.
69- PR template exists and enforces evidence/checklist quality.
70- `.github/CODEOWNERS` exists for critical paths.
71
72### D) Governance consistency
73
74- Critical standards are consistent across target repos.
75- Deviations are documented and intentional.
76- Missing items are prioritized by impact:
77 - P1: security/reporting or contributor-blocking
78 - P2: discoverability/collaboration quality
79 - P3: polish/consistency
80
81## Output format (required)
82
83```text
84PROFILE_GOVERNANCE_REPORT
85mode: <profile-audit|profile-remediate|profile-weekly-check>
86scope: <repo|org>
87visibility: <public|private>
88policy_profile: <strict|standard|light>
89
90summary:
91- repo_score: <0-100>
92- risk: <low|medium|high>
93- top_gaps: <count>
94
95findings:
96- id: G1
97 severity: <low|medium|high>
98 area: <metadata|community-health|templates|ownership|discoverability|governance>
99 observation: <what was observed>
100 expected: <what should be true>
101 gap: <delta>
102 evidence: <artifact/path/api result>
103
104actions:
1051) priority: <P1|P2|P3>
106 owner: <role or person>
107 change: <specific, minimal update>
108 rationale: <why this is sufficient>
109 verification: <objective pass condition>
110
111decision:
112- <apply|defer|NO_CHANGE>
113
114missing_evidence:
115- <none or required artifacts>
116```
117
118## Evidence requirements
119
120Use only relevant evidence for selected mode:
121
122- repository metadata (`description`, homepage, topics, visibility)
123- repository tree (`README`, `LICENSE`, community files)
124- `.github` templates/config/code owners
125- applicable policy notes for exceptions
126
127## Stop conditions
128
129Return `NO_CHANGE` when:
130
131- selected mode lacks enough evidence,
132- recommendation is not objectively verifiable,
133- proposed change weakens safety or governance controls,
134- same fix was recently applied and verified.
135
136## Quality bar
137
138A valid output must be:
139
140- specific (repo/path-level evidence),
141- minimal (smallest effective change set),
142- testable (clear pass/fail checks),
143- traceable (finding → action → verification),
144- repeatable (supports weekly re-check cadence).