Stuff I use in all projects
This repository includes several efficient workflow commands to streamline development:
DESCRIPTION="[Task ID]: [Description]" && \
SUMMARY="[One-sentence summary]" && \
git add . && \
git commit -m "$DESCRIPTION" && \
tree -I "node_modules|.git|build|dist|.next|.expo|.DS_Store" -a > docs/agent/file-structure.txt && \
git add docs/agent/file-structure.txt && \
git commit --amend --no-edit && \
REPO_URL=$(git remote get-url origin | sed 's/\.git$//') && \
COMMIT_HASH=$(git rev-parse HEAD) && \
echo "- $(date +%Y-%m-%d): $SUMMARY [Commit](${REPO_URL}/commit/${COMMIT_HASH})" >> .agent-updates && \
git add .agent-updates && \
git commit -m "Update .agent-updates with commit link" && \
git pushThis command:
- Commits your changes with a descriptive message
- Updates the file structure documentation
- Amends the commit to include the updated file structure
- Adds an entry to the .agent-updates file with the commit link
- Commits the updated .agent-updates file
- Pushes all changes to the remote repository
See the agent-flow.mdc file for more workflow commands and documentation.