OpenParable
Skip to content
← Back to skills

Visibility Exports

Testing & Quality
visibility-exports

Visibility Exports is an Agent Skill for testing & quality published in the kubernetes-sigs/kueue repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

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

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/kubernetes-sigs/kueue/blob/HEAD/cmd/experimental/skills/reviewer/visibility-exports/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/visibility-exports, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

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.

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.