From 426ac8ab2e2a3ddfa11107a419f9a93dc7c0d4e1 Mon Sep 17 00:00:00 2001 From: Den Delimarsky <53200638+localden@users.noreply.github.com> Date: Fri, 10 Oct 2025 11:05:16 -0700 Subject: [PATCH] Update templates/commands/implement.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- templates/commands/implement.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/commands/implement.md b/templates/commands/implement.md index 2c9b65b0..c2f0b205 100644 --- a/templates/commands/implement.md +++ b/templates/commands/implement.md @@ -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