safe-refactor
When to Use
Perform safe refactoring when:
- Renaming functions, variables, or classes
- Restructuring code for better organization
- Optimizing performance-critical sections
- Improving code readability and maintainability
- Extracting methods or classes
- Consolidating duplicate code
Critical Patterns
Safety First Approach
ALWAYS follow this sequence:
More from phar-dev/phardev.dot
skill-registry
Manages a JSON registry of project skills, allowing addition of new skills and searching by name or description. Works with skill-creator to automatically register new skills.
67skill-creator
Creates new AI agent skills following the Agent Skills spec.
7git-master
MUST USE for ANY git operations. Atomic commits, rebase/squash, history search (blame, bisect, log -S). STRONGLY RECOMMENDED: Use with delegate_task(category='quick', load_skills=['git-master'], ...) to save context. Triggers: 'commit', 'rebase', 'squash', 'who wrote', 'when was X added', 'find the commit that'.
7skill-finder
Helps the agent find and recommend the most appropriate skill for a given task or user query by searching the skill-registry.
6command-creator
Creates new opencode command files with proper structure, templates, and validation. Generates .md files in .opencode/commands/ with YAML frontmatter and actionable templates.
6