agents/skills/v8-workflow/SKILL.md
This skill defines the standard process for setting up and managing your development environment in V8.
Before starting any feature or bug fix, you MUST decide on a strategy:
Isolated Strategy (Recommended): Create a dedicated git worktree and
branch. This prevents cross-contamination between tasks. Use
create_worktree.sh.
Reuse Strategy: Work in the current directory and branch.
Issue Reset: If starting a new task without a worktree, always ask
before resetting the git cl issue.
When using an isolated worktree (e.g., worktrees/task-fix-10010110), you MUST
ensure that all file-modifying tools (replace, write_file, etc.) target the
correct directory:
file_path arguments with the worktree
directory. For example, use worktrees/task-fix-10010110/src/wasm/... instead
of src/wasm/....src/ or test/
will default to the main repository's root, violating task isolation.Once the branch is ready, ensure your local environment is configured for V8 development:
export PATH=$PATH:$HOME/depot_toolsout/x64.debug).