SlashAI

Your AI Command Vault

Summoning the AI overlords…

Refactoring

Coding & Development

Refactoring

6 commands

/RefactorComponent

Refactor without changing behaviour a UI component — e.g. a React `<PricingTable />` component with three tier props.

Coding & Developmentadvanced#frontend#component

/RefactorScript

Refactor without changing behaviour a script — e.g. a Python script that renames 10.

Coding & Developmentadvanced#script#automation

/RefactorApi

Refactor without changing behaviour an API endpoint — e.g. a `POST /api/orders` Express handler with Stripe integration.

Coding & Developmenteasy#api#backend

/RefactorConfig

Refactor without changing behaviour a config file — e.g. a `docker-compose.yml` running Postgres.

Coding & Developmenteasy#config#devops

/RefactorFunction

Refactor without changing behaviour a function — e.g. a 40-line `parseInvoice(buffer)` helper in TypeScript.

Coding & Developmentmedium#function#refactoring

/RefactorQuery

Refactor without changing behaviour a database query — e.g. a 30-line PostgreSQL query joining orders.

Coding & Developmentmedium#sql#query