Skip to content

Commit 426ac8a

Browse files
localdenCopilot
andauthored
Update templates/commands/implement.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 4de1b6b commit 426ac8a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

templates/commands/implement.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,11 @@ You **MUST** consider the user input before proceeding (if not empty).
5858
- **REQUIRED**: Create/verify ignore files based on actual project setup:
5959
6060
**Detection & Creation Logic**:
61-
- Check `git rev-parse --git-dir 2>/dev/null` → create/verify .gitignore
61+
- Check if the following command succeeds to determine if the repository is a git repo (create/verify .gitignore if so):
62+
63+
```sh
64+
git rev-parse --git-dir 2>/dev/null
65+
```
6266
- Check if Dockerfile* exists or Docker in plan.md → create/verify .dockerignore
6367
- Check if .eslintrc* or eslint.config.* exists → create/verify .eslintignore
6468
- Check if .prettierrc* exists → create/verify .prettierignore

0 commit comments

Comments
 (0)