mit einem Klick
refactor-code
Refactor and simplify code
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Menü
Refactor and simplify code
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Basierend auf der SOC-Berufsklassifikation
| 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