This repository was archived by the owner on Dec 29, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +42
-1
lines changed
Expand file tree Collapse file tree 3 files changed +42
-1
lines changed Original file line number Diff line number Diff line change @@ -38,3 +38,8 @@ Do not commit if either command fails.
3838- ` static/ ` - Static assets
3939- ` src/ ` - Source code
4040- ` docusaurus.config.ts ` - Main configuration
41+
42+ ## Slash Commands
43+
44+ When you are invoked from a github issue comment, you MUST ALWAYS react to slash commands of the form ` /command ` .
45+ For a slash command, locate and execute the corresponding prompt file in ` .github/prompts/$command.prompt.md `
Original file line number Diff line number Diff line change 1+ ---
2+ mode : ' agent'
3+ ---
4+
5+ You are operating on a downstream repository called ` meshcloud/meshcloud-docs-staging ` which is forked from the upstream
6+ repository ` meshcloud/meshcloud-docs ` . You are working in the context of a pull request on the downstream repository.
7+
8+ You must submit the changes you made to the upstream repository as a pull request.
9+
10+ Execute the following command to push the current branch to the upstream repository
11+
12+ ``` sh
13+ git push --set-upstream upstream $( git branch --show-current)
14+ ```
15+
16+ After pushing the branch, you can create a pull request using the ` create_pull_request ` tool.
17+ Use the following inputs for the tool call:
18+
19+ ```
20+ body: <PR description>
21+ title: <PR title>
22+ draft: true
23+ base: develop
24+ head: $(git branch --show-current)
25+ owner: meshcloud
26+ repo: meshcloud-docs
27+ ```
28+
29+ Create the <PR description > and <PR title > from the context of the changes you made in the downstream pull request.
Original file line number Diff line number Diff line change 2121 steps :
2222 - name : Checkout code
2323 uses : actions/checkout@v4
24+ with :
25+ fetch-depth : 0 # Ensure all history is fetched for Copilot to work correctly
26+ token : ${{ secrets.COPILOT_MCP_GITHUB_PERSONAL_ACCESS_TOKEN }}
27+
28+ - name : Set up git remote for meshcloud-docs
29+ run : |
30+ git remote -v
31+ git remote add upstream https://github.com/meshcloud/meshcloud-docs
2432
2533 - name : Set up Node.js
2634 uses : actions/setup-node@v4
3240 - name : Install dependencies
3341 run : yarn install --frozen-lockfile
3442
35-
You can’t perform that action at this time.
0 commit comments