Audit agentic frameworks for outdated SlashCommand tool workarounds and identify migration opportunities
Audit agentic frameworks for outdated SlashCommand tool workarounds and identify migration opportunities
/plugin marketplace add lpasqualis/lpclaude/plugin install lpclaude-config@lpclaude-marketplace[object Object]migration/Analyze the current project's agentic framework (.claude/commands/, .claude/agents/, workers/ and related documentation) to identify outdated patterns from when slash commands couldn't be invoked programmatically. Now that the SlashCommand tool is available, these workarounds should be modernized.
Use Grep to find documentation mentioning slash command limitations:
cannot.*invoke.*slash|can't.*execute.*slash|unable.*run.*slash|limitation.*slash.*commandload.*slash.*command|read.*command.*definition|parse.*command.*fileworkaround.*slash|alternative.*to.*slash**/*.md, focusing on CLAUDE.md files, documentation, and command definitionsSearch for patterns indicating manual slash command handling:
.claude/commands/ directoriesReview agents in .claude/agents/:
Examine workers/ directory for:
For each finding, classify as:
Create a structured report:
## SlashCommand Tool Migration Audit
### Documentation Updates Needed
- [file:line] - Description of outdated claim
Suggested fix: [updated text]
### Code Patterns to Modernize
- [file:line] - Current workaround pattern
Migration: Use SlashCommand(command: "/command-name")
### Agents/Workers to Simplify
- [component] - Current complexity
Simplification: [proposed change]
### Validation Risks
- [pattern] - Why manual review is needed
For each identified pattern, create specific migration recommendations:
Score each finding by:
Present findings in priority order:
Provide a comprehensive audit report with:
Focus on practical, actionable improvements that leverage the SlashCommand tool to simplify the framework.
$ARGUMENTS