refactor-to-conventions — for Claude Code refactor-to-conventions, hu-events, community, for Claude Code, ide skills, react.mdc, typescript.mdc, dashboard.mdc, interface, markdown ## Findings for

v1.0.0

Acerca de este Skill

Escenario recomendado: Ideal for AI agents that need skill: refactor code to match conventions. Resumen localizado: Any specific concerns (structure, naming, performance, etc.)? This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

Características

Skill: Refactor code to match conventions
User asks to "refactorizar" or "estandarizar" code
User asks to "limpiar" or "mejorar" existing code
User points to code that doesn't follow conventions
Code review reveals convention violations

# Core Topics

jmtov jmtov
[0]
[0]
Updated: 3/20/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 10/11

This page remains useful for teams, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Quality floor passed for review
Review Score
10/11
Quality Score
61
Canonical Locale
en
Detected Body Locale
en

Escenario recomendado: Ideal for AI agents that need skill: refactor code to match conventions. Resumen localizado: Any specific concerns (structure, naming, performance, etc.)? This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

¿Por qué usar esta habilidad?

Recomendacion: refactor-to-conventions helps agents skill: refactor code to match conventions. Any specific concerns (structure, naming, performance, etc.)? This AI agent skill supports Claude Code, Cursor, and

Mejor para

Escenario recomendado: Ideal for AI agents that need skill: refactor code to match conventions.

Casos de uso accionables for refactor-to-conventions

Caso de uso: Applying Skill: Refactor code to match conventions
Caso de uso: Applying User asks to "refactorizar" or "estandarizar" code
Caso de uso: Applying User asks to "limpiar" or "mejorar" existing code

! Seguridad y limitaciones

  • Limitacion: Do not start refactoring yet. Wait for user to review and prioritize.
  • Limitacion: Requires repository-specific context from the skill documentation
  • Limitacion: Works best when the underlying tools and dependencies are already configured

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

After The Review

Decide The Next Action Before You Keep Reading Repository Material

Killer-Skills should not stop at opening repository instructions. It should help you decide whether to install this skill, when to cross-check against trusted collections, and when to move into workflow rollout.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is refactor-to-conventions?

Escenario recomendado: Ideal for AI agents that need skill: refactor code to match conventions. Resumen localizado: Any specific concerns (structure, naming, performance, etc.)? This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

How do I install refactor-to-conventions?

Run the command: npx killer-skills add jmtov/hu-events/refactor-to-conventions. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for refactor-to-conventions?

Key use cases include: Caso de uso: Applying Skill: Refactor code to match conventions, Caso de uso: Applying User asks to "refactorizar" or "estandarizar" code, Caso de uso: Applying User asks to "limpiar" or "mejorar" existing code.

Which IDEs are compatible with refactor-to-conventions?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for refactor-to-conventions?

Limitacion: Do not start refactoring yet. Wait for user to review and prioritize.. Limitacion: Requires repository-specific context from the skill documentation. Limitacion: Works best when the underlying tools and dependencies are already configured.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add jmtov/hu-events/refactor-to-conventions. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use refactor-to-conventions immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

refactor-to-conventions

Any specific concerns (structure, naming, performance, etc.)? This AI agent skill supports Claude Code, Cursor, and Windsurf workflows. Skill: Refactor code

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

Skill: Refactor code to match conventions

When the user asks to refactor, standardize, or clean up existing code, follow this procedure to align it with the project conventions defined in .cursor/rules/file-types/ (react.mdc, typescript.mdc, dashboard.mdc).

When to use

  • User asks to "refactorizar" or "estandarizar" code
  • User asks to "limpiar" or "mejorar" existing code
  • User points to code that doesn't follow conventions
  • Code review reveals convention violations

Steps

1. Identify scope

Ask the user (if not clear):

  • Which file, folder, or module to review?
  • Any specific concerns (structure, naming, performance, etc.)?

2. Read and analyze

  • Read the target file(s) completely
  • Compare against conventions from .cursor/rules/file-types/ (react.mdc, typescript.mdc, dashboard.mdc)
  • Categorize findings by type:
CategoryWhat to look for
StructureFile too large (>300 lines), wrong location, missing barrel
NamingNon-PascalCase folders, unclear function names, abbreviations
Code styleMagic numbers, hardcoded strings, logic in components
React patternsMissing hooks extraction, prop drilling, wrong form patterns
TypesMissing types, duplicated types, interface instead of type

3. Present findings

Output a summary table:

markdown
1## Findings for `path/to/file.tsx` 2 3| # | Issue | Convention violated | Severity | 4|---|-------|---------------------|----------| 5| 1 | File has 450 lines | Split at ~300 lines | Medium | 6| 2 | Magic number `86400` | Use named constant | Low | 7| 3 | Business logic in render | Move to hook/util | High |

Do not start refactoring yet. Wait for user to review and prioritize.

4. Propose refactoring plan

Based on user feedback, create a numbered plan:

markdown
1## Refactoring plan 2 31. Extract business logic to `hooks/useFeatureLogic.ts` 42. Create `constants.ts` with `SECONDS_PER_DAY = 86400` 53. Split component into main + 2 subcomponents in `components/`

Get user confirmation before proceeding.

5. Execute one step at a time

  • Implement one plan item at a time
  • After each step: summarize what changed, show key code
  • Wait for user validation before next step
  • If user questions a change, re-evaluate and adjust

6. Final review

After all steps:

  • List all files modified
  • Confirm conventions are now followed
  • Note any remaining tech debt or future improvements

Quick checks (cheatsheet)

Use this checklist when analyzing code:

File structure

  • File under 300 lines (or split by domain)
  • Components have index.tsx entry
  • Subcomponents in components/ folder
  • Forms in forms/ with proper structure

Naming

  • Folders are PascalCase
  • Functions/variables reveal purpose
  • No unexplained abbreviations

Code style

  • No magic numbers (use constants)
  • No hardcoded strings (use constants/i18n)
  • No business logic in component body
  • Uses sx not style
  • Uses Stack not Box for layout

React patterns

  • Functional components only
  • Reusable logic in custom hooks
  • react-hook-form with Controller
  • React Query with select for mapping
  • Proper dependency arrays

TypeScript

  • Uses type not interface
  • Props are typed
  • No unnecessary explicit types

Example flow

  1. User: "Refactor this file: src/pages/dashboard/Goals/List/index.tsx"
  2. Agent: Reads file, analyzes against conventions, outputs findings table
  3. Agent: "Found 4 issues. Want me to put together a refactoring plan?"
  4. User: "Yes, go ahead"
  5. Agent: Proposes numbered plan, waits for confirmation
  6. User: "Let's start with point 1"
  7. Agent: Executes step 1, summarizes, waits
  8. User: "Ok, next"
  9. Agent: Continues until done

Habilidades relacionadas

Looking for an alternative to refactor-to-conventions or another community skill for your workflow? Explore these related open-source skills.

Ver todo

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
Inteligencia Artificial

widget-generator

Logo of f
f

Generar complementos de widgets personalizables para el sistema de feeds de prompts.chat

149.6k
0
Inteligencia Artificial

flags

Logo of vercel
vercel

El Marco de React

138.4k
0
Navegador

pr-review

Logo of pytorch
pytorch

Tensores y redes neuronales dinámicas en Python con fuerte aceleración de GPU

98.6k
0
Desarrollador