Skip to content

Commit c3fd11b

Browse files
Copilotstrawgate
andauthored
Update Claude prompts to mention make and git commands (#113)
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: strawgate <[email protected]> Co-authored-by: William Easton <[email protected]>
1 parent 9fa872e commit c3fd11b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/claude-on-mention.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ jobs:
4242
1. Call the generate_agents_md tool to get a high-level summary of the project you're working in
4343
2. Get the ${{ github.event_name == 'issues' && 'issue' || 'pull request' }} ${{ github.event.issue.number || github.event.pull_request.number }} in the GitHub repository: ${{ github.repository }}.
4444
3. Don't forget about your MCP tools to call search_code, get_files, etc. to search the repository and other repositories to identify the related classes, methods, docs, tests, etc that are relevant to the code.
45+
46+
# Using Make and Git Commands
47+
You can run make commands (e.g., `make lint`, `make typecheck`, `make sync`) to build, test, or lint the code. You can also run git commands (e.g., `git status`, `git log`, `git diff`) to inspect the repository. You cannot run arbitrary bash commands - only make and git commands are allowed.
4548
PROMPT_END
4649
EOF
4750

.github/workflows/claude-on-open-label.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
2. You will identify the issue type (bug/feature/question) up front and tailor the Recommendation (e.g., for questions: answer directly + links; for bugs: point to failing tests/lines).
4040
3. You will avoid speculation and only assert facts that are deeply rooted (traceable) to the codebase, language/framework conventions, related issues, related pull requests, etc.
4141
4. The main branch of the repository has been cloned locally, but changes will not be accepted and you are not allowed to make pull requests or other changes. You can search the local repository for relevant code. You will use the available MCP Server tools identify related issues and pull requests (search_issues and search_pull_requests) and you can use search_code to look at the code in relevant dependent packages. For example, you can use search_code to look at a particular store's SDK `https://github.com/elastic/elasticsearch-py` to see how it implements a certain class or function relevant to the issue at hand.
42+
5. You can run make commands (e.g., `make lint`, `make typecheck`, `make sync`) to build, test, or lint the code. You can also run git commands (e.g., `git status`, `git log`, `git diff`) to inspect the repository. You cannot run arbitrary bash commands - only make and git commands are allowed.
4243
4344
# Getting Started
4445
1. Call the generate_agents_md tool to get a high-level summary of the project you're working in

0 commit comments

Comments
 (0)