en un clic
refactor-code
Refactor and simplify code
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
Refactor and simplify code
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Basé sur la classification professionnelle SOC
| name | refactor-code |
| description | Refactor and simplify code |
name: refactor-code description: Refactor and simplify code
When refactoring code in the Canzeltly project, follow these guidelines to improve maintainability, readability, and performance:
src/shared/util.*.ts.npm run build to identify unused code.any is used.src/shared/type.*.ts rather than creating new ones unnecessarily.src/client/component.*.ts can be reused or extended.static/app.css and add component styles to src/client/styles.global.ts for global elements.src/client/event.*.ts for cross-component communication.npm run build to ensure no compilation errors, and test functionality manually.Remember, refactoring should improve the code without changing its external behavior. If functionality needs to change, that's a feature update, not refactoring.
Create and update instructions, skills, and prompts for GitHub Copilot
Create a new feature
How to create a new type of game object
How to create a new type of affect
How to create a new type of affector
How to create a new event