Update templates/commands/implement.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Den Delimarsky
2025-10-10 11:05:16 -07:00
committed by GitHub
parent 4de1b6b6c3
commit 426ac8ab2e

View File

@@ -58,7 +58,11 @@ You **MUST** consider the user input before proceeding (if not empty).
- **REQUIRED**: Create/verify ignore files based on actual project setup:
**Detection & Creation Logic**:
- Check `git rev-parse --git-dir 2>/dev/null` → create/verify .gitignore
- Check if the following command succeeds to determine if the repository is a git repo (create/verify .gitignore if so):
```sh
git rev-parse --git-dir 2>/dev/null
```
- Check if Dockerfile* exists or Docker in plan.md → create/verify .dockerignore
- Check if .eslintrc* or eslint.config.* exists → create/verify .eslintignore
- Check if .prettierrc* exists → create/verify .prettierignore