一键导入
prepare-cl
// Instructions for preparing a CL for upload, including committing, verification, and optional upload.
// Instructions for preparing a CL for upload, including committing, verification, and optional upload.
Instructions for reviewing session bottlenecks and drafting process improvements.
Instructions for running the SeniorReviewer subagent.
Guidelines for generating AIP-160 filter strings for Fleet Console.
Guidelines for building high-density enterprise UIs in Fleet Console.
Instructions for manually testing the Fleet Console using the browser subagent.
Instructions for running tests, linter, and type-checks.
| name | prepare_cl |
| description | Instructions for preparing a CL for upload, including committing, verification, and optional upload. |
Note: This document contains instructions for AI code assistants working in this repository. Human developers can use it as a reference.
Use this skill when you have completed a task and need to prepare the changes for code review.
Progress:
Verification:
project_verification skill (lint, test, type-check) to ensure no regressions.senior_reviewer skill to get a self-review and address feedback.Commit Changes:
git status to see modified files.git add <files>.Bug: b/XXXXXXX (note the b/ prefix).git commit -m "[fleet] Fix CSV export missing columns by preserving URL columns\n\n... details ...\n\nBug: b/515102813"Upload UI Demo:
make deploy-ui-demo in the UI directory.Login first using 'gcloud auth login'), notify the developer and ask them to run it on your behalf. Do not block the task on this failure. (Alternatively, the developer may choose to disable the sandbox to allow direct uploads).Optional Upload:
git cl upload.chmod ~/.sso: operation not permitted or a path-specific permission error, it is due to sandbox restrictions preventing the agent from modifying home directory files. In this case, do not block the task; notify the developer and ask them to run git cl upload on your behalf. (Alternatively, the developer may choose to disable the sandbox to allow direct uploads).yes y | EDITOR=true git cl upload to automatically answer "yes" to prompts and bypass the text editor.Rebasing and Handling Merge Conflicts:
git status first to ensure a clean working directory before attempting a rebase.git pull --rebase origin main (or the configured upstream branch) to sync with upstream.<<<<<<< and >>>>>>>).npm run lint) on the file before staging!git add <files>.git rebase --continue.