Claude Skills
CollectionsCompareWorkflowsNominate
Sign inSign up
© 2026 Curated Agent Skills·Learn more about Agent Skills
Back to repository

refactoring-skills

verified

Analyzes and refactors all skills in the project - consolidate, optimize, and remove unnecessary ones. Use when skills need cleanup or reorganization.

View on GitHub

Marketplace

rcc

wayne930242/Reflexive-Claude-Code

Plugin

ace

Repository

wayne930242/Reflexive-Claude-Code
7stars

plugins/ace/skills/refactoring-skills/SKILL.md

Last Verified

February 1, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/wayne930242/Reflexive-Claude-Code/blob/main/plugins/ace/skills/refactoring-skills/SKILL.md -a claude-code --skill refactoring-skills

Installation paths:

Claude
.claude/skills/refactoring-skills/
Powered by add-skill CLI

Instructions

# Refactoring Skills

Systematically analyze all skills and apply refactoring for quality and consistency.

## Process

### 1. Invoke Architecture Advisor

Use the `agent-architect` skill to get a holistic view of the current skill landscape.

### 2. Discover All Skills

```bash
find . -name "SKILL.md" -type f
```

### 3. Analyze Each Skill

For each skill, classify:

| Status | Action |
|--------|--------|
| **Keep** | Well-structured, unique purpose |
| **Refactor** | Has issues but valuable |
| **Merge** | Overlaps with another skill |
| **Extract** | Has conventions shared by other skills → move to Rules |
| **Delete** | Redundant or unused |

### 4. Apply Refactoring

**For skills to refactor:**
Use the `writing-skills` skill to guide improvements.

**For skills to merge:**
- Identify the primary skill
- Consolidate unique content
- Delete the redundant skill

**For shared conventions to extract:**
- Use `writing-rules` skill to create rule in `.claude/rules/`
- Remove duplicated convention from each skill

**For skills to delete:**
- Confirm no dependencies
- Remove entire skill directory

### 5. Validate Results

```bash
python3 skills/write-skill/scripts/validate_skill.py <skill-path>
```

### 6. Generate Report

```markdown
## Refactoring Summary

### Skills Analyzed: N

### Actions Taken:
- Kept: X skills
- Refactored: Y skills
- Merged: Z skills
- Extracted to Rules: A conventions
- Deleted: W skills

### Changes Made:
- [skill-name]: [action taken]
```

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
1467 chars