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