When to Use This Skill
- Before a major plugin refactor: cataloging all scripts across
opspal-core, opspal-salesforce, and other plugins to find duplication and consolidation candidates
- After a plugin migration: verifying no orphaned scripts remain in deprecated directories
- Ownership audit: mapping scripts to the agent or hook that invokes them to identify unmaintained or dead code
- Pre-release hygiene: confirming the
scripts/lib/ shared library is not growing cross-plugin coupling violations
- Investigating script-heavy incidents: quickly locating which script a hook invokes without tracing the full execution chain
Not for: Automatically deleting or consolidating scripts — this skill produces the inventory and recommendations only; execution requires explicit approval.
| Input | Description |
|---|
| Scope paths | Plugin directories to scan (e.g., plugins/opspal-core/scripts/, ) |