You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .cursor/rules/general.mdc
+22-9Lines changed: 22 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -10,16 +10,29 @@ alwaysApply: true
10
10
- Description: :100: A set of utilities for judging programs on Exercode (https://exercode.willbooster.com/).
11
11
- Package Manager: yarn
12
12
13
-
## General Instructions
13
+
## Development Workflow
14
14
15
-
- Do not write tests unless explicitly requested.
16
-
- When fixing tests, gather debug information through logging and screenshots before modifying the code.
17
-
- After making code changes, run `yarn check-all-for-ai` to execute all tests (note: this may take up to 30 minutes), or run `yarn check-for-ai` for type checking and linting only.
18
-
- If you are confident your changes will not break any tests, you may use `check-for-ai`.
19
-
- Once you have verified your changes, commit them to the non-main branch using the `--no-verify` option and push to the current branch.
20
-
- Follow conventional commits, i.e., your commit message should start with `feat:`, `fix:`, etc.
21
-
- Make sure to add a new line at the end of your commit message with: `Co-authored-by: WillBooster (Cursor) <agent@willbooster.com>`.
22
-
- Always create new commits. Avoid using `--amend`.
15
+
When changing code, complete these steps before responding to the user.
16
+
17
+
1. If the current branch is `main`, create a new branch.
18
+
- Include unexpected changes since they are mine.
19
+
2. Make code changes as needed.
20
+
3. If possible, write e2e tests for your changes.
21
+
4. Run `yarn check-all-for-ai` to execute all tests (note: this may take up to 30 minutes), or run `yarn check-for-ai` for type checking and linting only.
22
+
- If you are confident your changes will not break any tests, you may use `check-for-ai`.
23
+
5. Commit your changes to the current branch and push.
24
+
- Follow conventional commits, i.e., your commit message should start with `feat:`, `fix:`, `test:`, etc.
25
+
- Make sure to add a new line at the end of your commit message with: `Co-authored-by: WillBooster (Cursor) <agent@willbooster.com>`.
26
+
- When pre-commit hooks prevent your changes, fix your code, then re-commit and re-push.
27
+
6. Create a pull request using `gh`.
28
+
- The pull request title should match your commit message.
29
+
7. Repeat the following steps until the test workflow passes:
30
+
1. Wait and check the CI results using `gh` until the test workflow completes.
31
+
2. If tests fail, identify the root causes by gathering debug information through logging and screenshots, then fix the code and/or tests.
32
+
3. Fetch unresolved review comments from the pull request using `gh` and address them.
Copy file name to clipboardExpand all lines: AGENTS.md
+22-9Lines changed: 22 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,16 +4,29 @@
4
4
- Description: :100: A set of utilities for judging programs on Exercode (https://exercode.willbooster.com/).
5
5
- Package Manager: yarn
6
6
7
-
## General Instructions
7
+
## Development Workflow
8
8
9
-
- Do not write tests unless explicitly requested.
10
-
- When fixing tests, gather debug information through logging and screenshots before modifying the code.
11
-
- After making code changes, run `yarn check-all-for-ai` to execute all tests (note: this may take up to 30 minutes), or run `yarn check-for-ai` for type checking and linting only.
12
-
- If you are confident your changes will not break any tests, you may use `check-for-ai`.
13
-
- Once you have verified your changes, commit them to the non-main branch using the `--no-verify` option and push to the current branch.
14
-
- Follow conventional commits, i.e., your commit message should start with `feat:`, `fix:`, etc.
15
-
- Make sure to add a new line at the end of your commit message with: `Co-authored-by: WillBooster (Codex CLI) <agent@willbooster.com>`.
16
-
- Always create new commits. Avoid using `--amend`.
9
+
When changing code, complete these steps before responding to the user.
10
+
11
+
1. If the current branch is `main`, create a new branch.
12
+
- Include unexpected changes since they are mine.
13
+
2. Make code changes as needed.
14
+
3. If possible, write e2e tests for your changes.
15
+
4. Run `yarn check-all-for-ai` to execute all tests (note: this may take up to 30 minutes), or run `yarn check-for-ai` for type checking and linting only.
16
+
- If you are confident your changes will not break any tests, you may use `check-for-ai`.
17
+
5. Commit your changes to the current branch and push.
18
+
- Follow conventional commits, i.e., your commit message should start with `feat:`, `fix:`, `test:`, etc.
19
+
- Make sure to add a new line at the end of your commit message with: `Co-authored-by: WillBooster (Codex CLI) <agent@willbooster.com>`.
20
+
- When pre-commit hooks prevent your changes, fix your code, then re-commit and re-push.
21
+
6. Create a pull request using `gh`.
22
+
- The pull request title should match your commit message.
23
+
7. Repeat the following steps until the test workflow passes:
24
+
1. Wait and check the CI results using `gh` until the test workflow completes.
25
+
2. If tests fail, identify the root causes by gathering debug information through logging and screenshots, then fix the code and/or tests.
26
+
3. Fetch unresolved review comments from the pull request using `gh` and address them.
Copy file name to clipboardExpand all lines: CLAUDE.md
+22-9Lines changed: 22 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,16 +4,29 @@
4
4
- Description: :100: A set of utilities for judging programs on Exercode (https://exercode.willbooster.com/).
5
5
- Package Manager: yarn
6
6
7
-
## General Instructions
7
+
## Development Workflow
8
8
9
-
- Do not write tests unless explicitly requested.
10
-
- When fixing tests, gather debug information through logging and screenshots before modifying the code.
11
-
- After making code changes, run `yarn check-all-for-ai` to execute all tests (note: this may take up to 30 minutes), or run `yarn check-for-ai` for type checking and linting only.
12
-
- If you are confident your changes will not break any tests, you may use `check-for-ai`.
13
-
- Once you have verified your changes, commit them to the non-main branch using the `--no-verify` option and push to the current branch.
14
-
- Follow conventional commits, i.e., your commit message should start with `feat:`, `fix:`, etc.
15
-
- Make sure to add a new line at the end of your commit message with: `Co-authored-by: WillBooster (Claude Code) <agent@willbooster.com>`.
16
-
- Always create new commits. Avoid using `--amend`.
9
+
When changing code, complete these steps before responding to the user.
10
+
11
+
1. If the current branch is `main`, create a new branch.
12
+
- Include unexpected changes since they are mine.
13
+
2. Make code changes as needed.
14
+
3. If possible, write e2e tests for your changes.
15
+
4. Run `yarn check-all-for-ai` to execute all tests (note: this may take up to 30 minutes), or run `yarn check-for-ai` for type checking and linting only.
16
+
- If you are confident your changes will not break any tests, you may use `check-for-ai`.
17
+
5. Commit your changes to the current branch and push.
18
+
- Follow conventional commits, i.e., your commit message should start with `feat:`, `fix:`, `test:`, etc.
19
+
- Make sure to add a new line at the end of your commit message with: `Co-authored-by: WillBooster (Claude Code) <agent@willbooster.com>`.
20
+
- When pre-commit hooks prevent your changes, fix your code, then re-commit and re-push.
21
+
6. Create a pull request using `gh`.
22
+
- The pull request title should match your commit message.
23
+
7. Repeat the following steps until the test workflow passes:
24
+
1. Wait and check the CI results using `gh` until the test workflow completes.
25
+
2. If tests fail, identify the root causes by gathering debug information through logging and screenshots, then fix the code and/or tests.
26
+
3. Fetch unresolved review comments from the pull request using `gh` and address them.
Copy file name to clipboardExpand all lines: GEMINI.md
+22-9Lines changed: 22 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,16 +4,29 @@
4
4
- Description: :100: A set of utilities for judging programs on Exercode (https://exercode.willbooster.com/).
5
5
- Package Manager: yarn
6
6
7
-
## General Instructions
7
+
## Development Workflow
8
8
9
-
- Do not write tests unless explicitly requested.
10
-
- When fixing tests, gather debug information through logging and screenshots before modifying the code.
11
-
- After making code changes, run `yarn check-all-for-ai` to execute all tests (note: this may take up to 30 minutes), or run `yarn check-for-ai` for type checking and linting only.
12
-
- If you are confident your changes will not break any tests, you may use `check-for-ai`.
13
-
- Once you have verified your changes, commit them to the non-main branch using the `--no-verify` option and push to the current branch.
14
-
- Follow conventional commits, i.e., your commit message should start with `feat:`, `fix:`, etc.
15
-
- Make sure to add a new line at the end of your commit message with: `Co-authored-by: WillBooster (Gemini CLI) <agent@willbooster.com>`.
16
-
- Always create new commits. Avoid using `--amend`.
9
+
When changing code, complete these steps before responding to the user.
10
+
11
+
1. If the current branch is `main`, create a new branch.
12
+
- Include unexpected changes since they are mine.
13
+
2. Make code changes as needed.
14
+
3. If possible, write e2e tests for your changes.
15
+
4. Run `yarn check-all-for-ai` to execute all tests (note: this may take up to 30 minutes), or run `yarn check-for-ai` for type checking and linting only.
16
+
- If you are confident your changes will not break any tests, you may use `check-for-ai`.
17
+
5. Commit your changes to the current branch and push.
18
+
- Follow conventional commits, i.e., your commit message should start with `feat:`, `fix:`, `test:`, etc.
19
+
- Make sure to add a new line at the end of your commit message with: `Co-authored-by: WillBooster (Gemini CLI) <agent@willbooster.com>`.
20
+
- When pre-commit hooks prevent your changes, fix your code, then re-commit and re-push.
21
+
6. Create a pull request using `gh`.
22
+
- The pull request title should match your commit message.
23
+
7. Repeat the following steps until the test workflow passes:
24
+
1. Wait and check the CI results using `gh` until the test workflow completes.
25
+
2. If tests fail, identify the root causes by gathering debug information through logging and screenshots, then fix the code and/or tests.
26
+
3. Fetch unresolved review comments from the pull request using `gh` and address them.
0 commit comments