# Visibility Exports

> Review that newly exported functions have callers outside the package, lowercasing those that don't.

- Skill: `kubernetes-sigs-kueue/visibility-exports` (Agent Skill)
- Install (CLI): `npx get-skill add kubernetes-sigs-kueue/visibility-exports`
- Raw SKILL.md: https://api.skillmd.com/api/skills/kubernetes-sigs-kueue/visibility-exports/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- License: Apache-2.0
- Author: kubernetes-sigs (https://skillmd.com/u/kubernetes-sigs-kueue)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/kubernetes-sigs-kueue/visibility-exports

---


# Skill: Visibility Review — Don't Export What Doesn't Need to Be Exported

Use this when reviewing Go code that adds new exported functions or methods.

## What to check

For every new exported identifier, grep for callers outside the declaring package. If all
callers are within the same package, lowercase it — exported symbols become permanent API
surface that can't be removed without a breaking change.

```bash
grep -rn ".FunctionName()" ./ --include="*.go"
```

Note: test files in the same package (`package foo`) can access unexported symbols, so
there's no need to export just for tests.

