mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-03-30 13:43:26 +08:00
15 lines
454 B
Plaintext
15 lines
454 B
Plaintext
{
|
|
"version": "1.0.0",
|
|
"enabled": true,
|
|
"name": "typecheck-on-edit",
|
|
"description": "Run TypeScript type checking when TypeScript files are edited to catch type errors early.",
|
|
"when": {
|
|
"type": "fileEdited",
|
|
"patterns": ["*.ts", "*.tsx"]
|
|
},
|
|
"then": {
|
|
"type": "askAgent",
|
|
"prompt": "A TypeScript file was just saved. Check for any obvious type errors or type safety issues in the modified file and flag them if found."
|
|
}
|
|
}
|