work PR测试
- 作者仓库星标 2,483
- 许可证 MIT
- 作者仓库 node-google-spreadsheet
You are given an issue or external PR to implement. The input may be a URL, pasted issue text, or pasted PR diff/description.
Input: $ARGUMENTS
Workflow
Follow these steps in order:
1. Understand the task
- If given a URL, fetch it to read the issue/PR details.
- Analyze the issue or PR to understand what needs to be done.
- Summarize the task back to the user and confirm before proceeding.
2. Create a branch
- Create a descriptive branch name based on the task (e.g.,
fix/cell-formatting-bug,feat/add-batch-update). - Branch from
main.
3. Implement the changes
- Make the necessary code changes.
- Follow existing code patterns and conventions in the project.
4. Add or update tests
- Add tests for the new functionality or bug fix in
src/test/. - Follow existing test patterns — tests are integration tests that hit real Google APIs.
- If modifying existing behavior, update relevant existing tests as needed.
- To validate, only run the relevant test file(s) to avoid rate limiting:
bun vitest run src/test/<relevant-file>.test.ts - Do NOT run the full test suite.
5. Update documentation
- If your changes affect the public API (new methods, changed parameters, new features, etc.), update the relevant docs in
docs/.- Class API docs are in
docs/classes/(one file per class:google-spreadsheet.md,google-spreadsheet-worksheet.md,google-spreadsheet-row.md,google-spreadsheet-cell.md). - Guides are in
docs/guides/. - The sidebar is
docs/_sidebar.md— update it if adding a new page.
- Class API docs are in
- Match the style and format of the existing documentation.
6. Lint
- Run
bun run lint:fixto auto-fix any lint issues. - If lint errors remain, fix them manually.
7. Add a changeset
- Run
bun changeset— since this is interactive, instead create the changeset file directly. - Create a
.changeset/<descriptive-name>.mdfile with the appropriate format:--- "google-spreadsheet": <patch|minor|major> --- <Short description of the change> - Use
patchfor bug fixes,minorfor new features and non-breaking changes,majorfor breaking changes.
8. Commit and push
- Stage and commit all changes with a clear commit message.
- Push the branch to origin.
9. Create a PR
- Use
gh pr createto open a pull request. - Write a clear title and description summarizing the changes.
- If the input was a GitHub issue, reference it in the PR body (e.g., "Fixes #123").
- Return the PR URL to the user.
- 流狐分类
- 工程开发
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 94 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @theoephraim · MIT
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 即装即用
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- macOS · Linux · Windows
- 底层运行要求
- Bun
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 检测到的网络行为
- 允许外网请求
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 Follow these steps in order:
If given a URL, fetch it to read the issue/PR details. Analyze the issue or PR to understand what needs to be done. Summarize the task back to the user and confirm before proceeding.
Create a descriptive branch name based on the task (e.g., fix/cell-formatting-bug, feat/add-batch-update). Branch from main.
Make the necessary code changes. Follow existing code patterns and conventions in the project.
Add tests for the new functionality or bug fix in src/test/. Follow existing test patterns — tests are integration tests that hit real Google APIs. If modifying existing behavior, update relevant existing tests as needed.
If your changes affect the public API (new methods, changed parameters, new features, etc.), update the relevant docs in docs/. Class API docs are in docs/classes/ (one file per class: google-spreadsheet.md, google-spreadsheet-worksheet.md,…
You are given an issue or external PR to implement. The input may be a URL, pasted issue text, or pasted PR diff/description.
**Input:** $ARGUMENTS
## Workflow
Follow these steps in order:
### 1. Understand the task
- If given a URL, fetch it to read the issue/PR details.
- Analyze the issue or PR to understand what needs to be done.
- Summarize the task back to the user and confirm before proceeding.
### 2. Create a branch
- Create a descriptive branch name based on the task (e.g., `fix/cell-formatting-bug`, `feat/add-batch-update`).
- Branch from `main`.
### 3. Implement the changes
- Make the necessary code changes.
- Follow existing code patterns and conventions in the project.
### 4. Add or update tests
- Add tests for the new functionality or bug fix in `src/test/`.
- Follow existing test patterns — tests are integration tests that hit real Google APIs.
- If modifying existing behavior, update relevant existing tests as needed.
- To validate, only run the relevant test file(s) to avoid rate limiting: `bun vitest run src/test/<relevant-file>.test.ts`
- Do NOT run the full test suite.
### 5. Update documentation
- If your changes affect the public API (new methods, changed parameters, new features, etc.), update the relevant docs in `docs/`.
- Class API docs are in `docs/classes/` (one file per class: `google-spreadsheet.md`, `google-spreadsheet-worksheet.md`, `google-spreadsheet-row.md`, `google-spreadsheet-cell.md`).
- Guides are in `docs/guides/`.
- The sidebar is `docs/_sidebar.md` — update it if adding a new page.
- Match the style and format of the existing documentation.
### 6. Lint
- Run `bun run lint:fix` to auto-fix any lint issues.
- If lint errors remain, fix them manually.
### 7. Add a changeset
… 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Workflow → 1. Understand the task → 2. Create a branch → 3. Implement the changes → 4. Add or update tests → 5. Update documentation
要点 -> Input · You are given an issue or external PR to implement. · <Short description of the change> - Use patch for bug fixes, minor for new features and non-breaking changes, major for breaking changes.
文件/命令 -> fix/cell-formatting-bug · feat/add-batch-update · main · src/test/ · bun vitest run src/test/<relevant-file>.test.ts · docs/ · docs/classes/ · google-spreadsheet.md
内容 SHA-256 -> 004549b64a69
方法与流程
适用与边界
原文中的明确线索
fix/cell-formatting-bug、feat/add-batch-update、main、src/test/、bun vitest run src/test/<relevant-file>.test.ts、docs/、docs/classes/、google-spreadsheet.md