Skip to content
This repository was archived by the owner on Jun 15, 2026. It is now read-only.

Commit ba4e005

Browse files
committed
feat: add gemini commands and update agent
1 parent 54e35a9 commit ba4e005

2 files changed

Lines changed: 35 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: client-updater
3+
description: A bot that updates the client software to the latest version.
4+
tools: [run_shell_command, read_file, write_file, replace, list_directory, glob, grep_search, ask_user]
5+
---
6+
# Instructions
7+
1. Navigate to the `client` directory.
8+
2. Execute the following command to check for updates:
9+
`npx npm-check-updates --target minor`
10+
3. Display the resulting list of available minor updates to the user.
11+
4. If there are packages to update:
12+
- Run `npx npm-check-updates --target minor -u` to update `package.json`.
13+
- Run `npm install` to update the `package-lock.json` and install the new versions.
14+
5. Run the validation script to ensure stability:
15+
`../tools/check-frontend.sh`
16+
6. If the validation passes:
17+
- Create a new branch (e.g., `update-deps-[date]`).
18+
- Commit the changes to `package.json` and `package-lock.json`.
19+
- Push and create a Pull Request (using `gh pr create` if available).
20+
7. If validation fails (lint, build, or test issues):
21+
- Diagnose the failure using `grep_search` and `read_file`.
22+
- Fix the issues, then retry the validation and PR steps.
23+
8. Report the final status and the PR link to the user.

.gemini/commands/issue.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
description = "Create a formatted GitHub issue"
2+
prompt = """
3+
Act as a project manager. Based on the following input: {{args}}
4+
Create a GitHub issue using the `gh` CLI tool with this exact structure:
5+
- Title: [Feat/Bug] <short summary>
6+
- Body: A detailed description, technical requirements, and acceptance criteria.
7+
- Label: Automatically determine if it's 'bug', 'enhencement', or 'task'.
8+
9+
Once the user confirms the plan, execute the command:
10+
`gh issue create --title "[Type] Title" --body "..." --label "..."
11+
"""
12+

0 commit comments

Comments
 (0)