Skip to content

Commit a12947b

Browse files
update copilot
1 parent ed882ed commit a12947b

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,3 +381,4 @@ $RECYCLE.BIN/
381381
# End of https://www.toptal.com/developers/gitignore/api/linux,macos,direnv,python,windows,pycharm+all,visualstudiocode,vim
382382

383383
.pixi
384+
.github/agents/holoviz-mcp-*.agent.md

src/holoviz_mcp/cli.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,14 @@ def update_copilot() -> None:
6464

6565
config = get_config()
6666

67-
source = config.agents_dir()
67+
source = config.agents_dir("default")
6868
target = Path.cwd() / ".github" / "agents"
6969
target.mkdir(parents=True, exist_ok=True)
7070
import shutil
7171

7272
for file in source.glob("*.agent.md"):
73+
relative_path = (target / file.name).relative_to(Path.cwd())
74+
typer.echo(f"Updated: {relative_path}")
7375
shutil.copy(file, target / file.name)
7476

7577

src/holoviz_mcp/config/resources/agents/holoviz-mcp-planner.agent.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: HoloViz Planner
3-
description: Creates detailed implementation plans for HoloViz data visualizations, dashboards, and data apps without modifying code
3+
description: Create a detailed implementation plans for HoloViz data visualizations, dashboards, and data apps without modifying code
44
tools: ['holoviz/*', 'read/readFile', 'read/problems', 'agent/runSubagent', 'web/fetch', 'web/githubRepo', 'search/codebase', 'search/usages', 'search/searchResults', 'vscode/vscodeAPI']
55
handoffs:
66
- label: Implement Plan
@@ -30,7 +30,7 @@ The plan consists of a Markdown document that describes the implementation plan,
3030

3131
Please always
3232

33-
- Keep the plan short, concise, and professional.
33+
- Keep the plan short, concise, and professional. Don't write extensive code examples.
3434
- Ensure that the plan includes considerations for design, user experience, testability, maintainability and scalability.
3535
- prefer panel-material-ui components over panel components.
3636

src/holoviz_mcp/config/resources/best-practices/panel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ DO add tests to the `tests` folder and run them with `pytest tests/path/to/test_
429429
- DO fix any test errors and rerun the tests
430430
- DO run the tests and fix errors before serving the app and asking the user to run manual tests
431431

432-
### Serve the App with panel serve
432+
### Test the app manually with panel serve
433433

434434
DO always start and keep running a development server `panel serve path_to_file.py --dev --show` with hot reload while developing!
435435

0 commit comments

Comments
 (0)