diff --git a/.github/Agent_Index.png b/.github/Agent_Index.png new file mode 100644 index 00000000..297610d2 Binary files /dev/null and b/.github/Agent_Index.png differ diff --git a/.github/Agent_RunJob.png b/.github/Agent_RunJob.png new file mode 100644 index 00000000..6001b2c9 Binary files /dev/null and b/.github/Agent_RunJob.png differ diff --git a/.github/Agent_StartJob.png b/.github/Agent_StartJob.png new file mode 100644 index 00000000..1695626e Binary files /dev/null and b/.github/Agent_StartJob.png differ diff --git a/.github/bot.md b/.github/bot.md new file mode 100644 index 00000000..aa559b4f --- /dev/null +++ b/.github/bot.md @@ -0,0 +1,23 @@ +# .github/bot.ps1 (ALPHA VERSION) + +- Run [bot.ps1](./bot.ps1) to start a bot. +- The default location would be the root of this repo. + - You can change it to any repo. + - Predefine jobs are designed for all prompts in `.github/prompts`. + - For the current version, if you would like to design your own jobs, change [jobsData.ts](./Agent/packages/CopilotPortal/src/jobsData.ts), following [the instruction](./Agent/prompts/snapshot/CopilotPortal/JobsData.md). +- Click `New Job` to show all jobs. +- Select a job and finish your instruction. +- Launch and watch. +- You can inspect the job in different machines, but it is strongly recommended not to do this as it slower the server performance. It is not fully optimized yet. + +## New Job + +![](./Agent_Index.png) + +## Selection + +![](./Agent_StartJob.png) + +## Launching + +![](./Agent_RunJob.png) diff --git a/README.md b/README.md index a2097a00..236ed307 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,11 @@ For example, VS2022's default visualizers folder will be **C:\Program Files\Micr ## Using Coding Agents +[bot.ps1](./.github/bot.ps1) can automate the process: +- It starts a tool based on copilot sdk. +- `nodejs 24 LTS`, `yarn`, `copilot cli`, `powershell 7` are required. +- It starts a server with a [website portal](./.github/bot.md). + Both `AGENTS.md` and `CLAUDE.md` are prepared so that copilot/codex/claude coding agent follow the same instruction. The follow keywords maintain design documents in `.github/TaskLogs`, anything except `Copilot_Scrum.md` is not tracked by git, you can change the `.gitignore` in that folder if you like.