Skip to content

Commit f473c78

Browse files
committed
Track .cursor/ directory for shared developer tooling
Remove .cursor/ from .gitignore so command files like acp.md are shared across all developers. Made-with: Cursor
1 parent 4840341 commit f473c78

2 files changed

Lines changed: 31 additions & 1 deletion

File tree

.cursor/commands/acp.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
Add, commit, and push all pending changes directly to `main`. CI runs tests automatically on push.
2+
3+
## 1. Clean up
4+
- Delete any temporary scripts, scratch files, or generated artifacts that were created during this session.
5+
- Add any files we want to keep but should never check in to `.gitignore`.
6+
7+
## 2. Review before staging
8+
- Run `git status` to see all changes.
9+
- Never stage sensitive files (`.env`, credentials, API keys, secrets).
10+
- Stage files by name rather than using `git add -A` or `git add .`.
11+
12+
## 3. Commit
13+
- All work is done on `main`. Push directly to `origin/main`. No feature branches.
14+
- Write a concise commit message that explains the *why*, not just the *what*.
15+
- If the pre-commit hook fails, fix the underlying code (not the tests) using /fix-test-failures, re-stage, and create a NEW commit — do not amend.
16+
17+
## 4. Push
18+
- Push `main` to `origin`: `git push origin main`.
19+
- After pushing, verify `git status` shows a clean working tree with no unstaged changes.
20+
21+
## 5. Monitor CI
22+
- Use `gh.exe run list --branch main` to find the triggered workflow run.
23+
- Poll with `gh.exe run watch <run-id>` to monitor progress.
24+
- If tests fail, investigate with `gh.exe run view <run-id> --log-failed` and fix the issue.
25+
26+
## Shell: PowerShell on Windows
27+
Do NOT use bash heredoc syntax (`<<'EOF'`). Use PowerShell string variables with backtick-n for newlines:
28+
29+
```powershell
30+
$msg = "Subject line`n`nBody text"; git commit -m $msg
31+
```

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ TestResults
99
## files generated by popular Visual Studio add-ons.
1010

1111
.vs/
12-
.cursor/
1312
__pycache__/
1413

1514
# User-specific files

0 commit comments

Comments
 (0)