Guides designing minimal public APIs by defaulting to private visibility, deprecating before deleting, and reviewing exports. Useful for library authors and package maintainers.
Every exported symbol is a promise you maintain until you break it, and callers bind to whatever you expose whether or not you meant them to. A wide surface is expensive forever: it constrains refactors, multiplies test burden, and turns internal details into contracts. The method is to expose the minimum callers need and to withdraw capability on a schedule, never by surprise.
private, an unexported lowercase name in Go, no __all__ entry
in Python. Widen only when a concrete caller needs it. Export on demand.pkg/internal/impl/thing freeze your layout in place.@Deprecated,
warnings.warn(DeprecationWarning), or a doc note stating the
replacement and the removal version. Keep it working at least one minor
release.Libraries under a strict semantic-versioning contract set the real rules here: follow the project's stability policy over personal taste. Internal code with a single consumer can be looser, and framework plugin points sometimes must expose more than feels comfortable.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Not loaded · from ai-skills-commands
Claude Code won't load this skill
It ships in ai-skills-commands at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
npx claudepluginhub amey-thakur/ai-skills --plugin ai-skills-commands1,000 skills in this plugin
/ab-test-designDesign product experiments with real hypotheses, honest sample-size math, guardrails, and peeking discipline. Use when validating a change by experiment or reviewing a test before believing its result./accessibility-reviewAudit a UI for real accessibility, keyboard-first, with concrete failures and fixes rather than checkbox compliance. Use when reviewing or building any user interface./accessibility-specialist-roleOperate as an accessibility specialist who audits against WCAG, trains teams to stop shipping the same defects, and owns the compliance sign-off. Use when a product needs to be usable with a keyboard, a screen reader, or magnification and someone must certify it before launch.Other plugins' skills for the same job