Skip to content

Commit 61dc79e

Browse files
authored
Merge pull request #7 from justinyoo/update-config-and-agents-v2
Update devcontainer, agents, prompts, and MCP config
2 parents 8259946 + c955a1b commit 61dc79e

8 files changed

Lines changed: 52 additions & 10 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,23 @@
11
{
22
"name": "Soc-Ops Blazor C#",
3+
34
"image": "mcr.microsoft.com/devcontainers/dotnet:10.0",
5+
6+
"features": {
7+
"ghcr.io/devcontainers/features/copilot-cli:latest": {},
8+
"ghcr.io/devcontainers/features/docker-in-docker:latest": {},
9+
"ghcr.io/devcontainers/features/github-cli:latest": {},
10+
"ghcr.io/devcontainers/features/node:latest": {}
11+
},
12+
413
"remoteUser": "vscode",
14+
515
"customizations": {
616
"vscode": {
717
"extensions": [
18+
"dbaeumer.vscode-eslint",
19+
"GitHub.copilot-chat",
20+
"ms-azuretools.vscode-containers",
821
"ms-dotnettools.csdevkit",
922
"ms-dotnettools.csharp"
1023
]
@@ -16,8 +29,11 @@
1629
]
1730
}
1831
},
32+
1933
"postCreateCommand": "bash -lc 'sln=$(find . -maxdepth 1 -name \"*.sln\" | head -n 1); if [ -n \"$sln\" ]; then dotnet restore \"$sln\"; else dotnet restore SocOps/SocOps.csproj; fi'",
20-
"forwardPorts": [5166],
34+
35+
"forwardPorts": [ 5166 ],
36+
2137
"portsAttributes": {
2238
"5166": {
2339
"label": "Blazor Dev Server",

.github/agents/tdd-green.agent.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
name: TDD Green
33
description: TDD phase for writing MINIMAL implementation to pass tests
4-
infer: true
4+
user-invocable: true
5+
disable-model-invocation: false
56
tools: ['search', 'edit', 'execute/runTests']
67
handoffs:
78
- label: TDD Refactor

.github/agents/tdd-red.agent.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
name: TDD Red
33
description: TDD phase for writing FAILING tests
4-
infer: true
4+
user-invocable: true
5+
disable-model-invocation: false
56
tools: ['read', 'edit', 'search']
67
handoffs:
78
- label: TDD Green

.github/agents/tdd-refactor.agent.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
name: TDD Refactor
33
description: Refactor code while maintaining passing tests
44
tools: ['search', 'edit', 'execute/runTests']
5-
infer: true
5+
user-invocable: true
6+
disable-model-invocation: false
67
---
78
You are TDD Refactor, the refactor-assistant. Given code that passes all tests, examine it and apply refactoring to improve readability/structure/DRYness, without changing behavior.
89

.github/agents/ui-review.agent.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
name: UI Review
33
argument-hint: Optional review area to focus on (or just "start")
44
model: Claude Haiku 4.5 (copilot)
5-
tools: ['search', 'execute/getTaskOutput', 'github/*', 'playwright/*', 'search/usages', 'read/problems', 'web/fetch', 'web/githubRepo', 'todo', 'agent']
6-
infer: true
5+
tools: ['search', 'execute', 'github/*', 'playwright/*', 'search/usages', 'read/problems', 'web', 'todo', 'agent']
6+
user-invocable: true
7+
disable-model-invocation: false
78
---
89

910
Your goal is to do an in-depth UI review of a website using Playwright and scope potential fixes.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
agent: agent
33
argument-hint: Optionally specify variations
4-
tools: ['github/create_pull_request_with_copilot', 'todo']
4+
tools: ['github/create_pull_request', 'todo']
55
---
66

77
Your goal is to explore potential solutions with a remote coding agent for a given plan.
88

99
1. Look at the plan to identify 3 variations to explore (trade-offs, interfaces, approaches, technologies, etc).
1010
2. Create #tool:todo for each variation
11-
3. Call #tool:github/create_pull_request_with_copilot to hand off the specifics for each variation to implement. Coding agent will handle the implementation details, so your focus should be on the overall plan and constraints for each variation.
11+
3. Call #tool:github/create_pull_request to hand off the specifics for each variation to implement. Coding agent will handle the implementation details, so your focus should be on the overall plan and constraints for each variation.
1212

1313
End with summarizing each variation and compare & contrast.

.github/prompts/setup.prompt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
agent: agent
33
description: Get my development workspace ready
4-
tools: ['vscode/openSimpleBrowser', 'execute/runTask', 'execute/runInTerminal', 'read', 'search', 'todo']
4+
tools: ['execute/createAndRunTask', 'execute/runInTerminal', 'read', 'search', 'todo']
55
---
66

77
Your goal is to successfully build and run the workspace as local development environment.

.vscode/mcp.json

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
1-
{
1+
{
2+
"inputs": [
3+
{
4+
"type": "promptString",
5+
"id": "github_token",
6+
"description": "GitHub Personal Access Token",
7+
"password": true
8+
}
9+
],
210
"servers": {
11+
"github": {
12+
"command": "docker",
13+
"args": [
14+
"run",
15+
"-i",
16+
"--rm",
17+
"-e",
18+
"GITHUB_PERSONAL_ACCESS_TOKEN",
19+
"ghcr.io/github/github-mcp-server"
20+
],
21+
"env": {
22+
"GITHUB_PERSONAL_ACCESS_TOKEN": "${input:github_token}"
23+
}
24+
},
325
"microsoft/playwright-mcp": {
426
"type": "stdio",
527
"command": "npx",

0 commit comments

Comments
 (0)