.cursor/hooks/README.md
This directory contains hooks and scripts that automate tasks and enforce standards in the Appsmith development workflow.
Automatically updates documentation based on code changes, ensuring that the documentation stays in sync with the codebase.
Hooks are triggered by specific events in the development workflow, such as:
Each hook performs specific actions to maintain code quality, enforce standards, or automate routine tasks.
To install these hooks in your local development environment:
cp .cursor/hooks/scripts/* .git/hooks/
chmod +x .git/hooks/*
This will copy the hooks to your local Git hooks directory and make them executable.
You can also run these hooks manually as needed:
# Update documentation based on code changes
.cursor/hooks/scripts/update-docs.sh
If you need to customize a hook for your specific development environment, copy it to your local .git/hooks directory and modify it as needed. Avoid changing the hooks in this directory directly, as they will be overwritten when you pull changes from the repository.