- Introduced backend patterns skill with guidelines on API design, database optimization, and server-side best practices. - Added coding standards skill outlining universal coding principles for TypeScript, NestJS, and Node.js development. - Implemented continuous learning skill to automatically extract reusable patterns from Cursor sessions. - Created NestJS best practices skill detailing architecture patterns, dependency injection, error handling, and security measures. - Included various rules and templates for NestJS best practices to ensure production-ready applications.
35 lines
740 B
JSON
35 lines
740 B
JSON
{
|
|
"version": 1,
|
|
"hooks": {
|
|
"sessionStart": [
|
|
{
|
|
"command": "node .cursor/scripts/hooks/session-start.js"
|
|
}
|
|
],
|
|
"sessionEnd": [
|
|
{
|
|
"command": "node .cursor/scripts/hooks/session-end.js"
|
|
},
|
|
{
|
|
"command": "node .cursor/scripts/hooks/evaluate-session.js"
|
|
}
|
|
],
|
|
"preCompact": [
|
|
{
|
|
"command": "node .cursor/scripts/hooks/pre-compact.js"
|
|
}
|
|
],
|
|
"afterFileEdit": [
|
|
{
|
|
"command": "node .cursor/scripts/hooks/suggest-compact.js"
|
|
}
|
|
],
|
|
"beforeShellExecution": [
|
|
{
|
|
"command": ".cursor/hooks/before-shell.sh",
|
|
"matcher": "npm run dev|pnpm( run)? dev|yarn dev|bun run dev|git push"
|
|
}
|
|
]
|
|
}
|
|
}
|