review-function-visibility

Audit function visibility boundaries and rename misclassified public or private functions.

1|Updated Jan 12, 2026
One-click install
npx skills add https://github.com/cwilliams5/Alt-Tabby --skill review-function-visibility
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-function-visibility
Source: https://github.com/cwilliams5/Alt-Tabby/tree/main/.claude/skills/review-function-visibility
Command: npx skills add https://github.com/cwilliams5/Alt-Tabby --skill review-function-visibility

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps maintain code quality by identifying and rectifying issues with function visibility, ensuring that private functions are correctly marked and public functions are intentionally exposed.

Core Features & Use Cases

  • Identify Unused Public Functions: Finds public functions that are not called externally, suggesting they might be private.
  • Analyze Function Callers: Provides detailed information about where functions are called from, aiding in the decision to rename or keep them public.
  • Use Case: A developer can use this skill to clean up a large codebase by identifying and renaming hundreds of functions that are mistakenly marked as public but are only used internally.

Quick Start

Run the query_visibility.ps1 script to find candidate functions for review.

Frequently Asked Questions about review-function-visibility

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find unused public functions in my codebase for refactoring?

To find unused public functions for refactoring, run the query_visibility.ps1 script to audit function visibility boundaries and identify public functions that lack external callers. The audit analyzes caller counts to suggest candidates that should be renamed to private.

What is function visibility auditing and when do I need it?

Function visibility auditing is the process of analyzing codebases to identify misclassified public or private functions. You need it during code maintenance and refactoring efforts to ensure private functions are correctly marked and public functions are intentionally exposed.

Can I analyze external caller counts before changing function visibility in PowerShell?

Yes, you can analyze external caller counts using the provided PowerShell scripts. The tooling verifies function usage and impact by providing detailed information about where functions are called from before you make any visibility changes.

What's the best way to clean up misclassified public functions in a large codebase?

The best way to clean up misclassified public functions is to audit function visibility boundaries using the query_visibility.ps1 script. It identifies hundreds of mistakenly marked public functions that are only used internally and provides tools to verify impact before renaming.

Does this function visibility auditing tool work without external dependencies?

Yes, the function visibility auditing tool works without external dependencies. It relies on included scripts and references to analyze your codebase and identify misclassified public or private functions for cleanup.