Prepare Git Hooks in Task Worktrees - #815
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the repo-worktree skill documentation to ensure new task worktrees proactively prepare Git hook runtimes (Husky.Net and Python pre-commit), preventing first-commit failures caused by missing generated hook artifacts in fresh worktrees.
Changes:
- Extend the
repo-worktreeskill description to include hook preparation as part of standard worktree setup. - Add a new "Preparing Git Hooks" section describing when and how to install Husky.Net and Python pre-commit hooks in a newly created or attached worktree.
- Regenerate the carried skill distributions and update the fleet-skills source digest to match.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/skills/repo-worktree/SKILL.md | Adds documented worktree-step guidance for preparing Husky.Net and Python pre-commit hook runtimes. |
| .agents/skills/repo-worktree/SKILL.md | Mirrors the same hook-preparation guidance in the agents skill distribution copy. |
| .claude-plugin/fleet-skills/skills/repo-worktree/SKILL.md | Mirrors the same hook-preparation guidance in the Claude plugin skill distribution copy. |
| .claude-plugin/fleet-skills/.source-digest | Updates the digest to reflect the regenerated carried skill distribution content. |
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Uh oh!
There was an error while loading. Please reload this page.
Merged
ptr727 added a commit
that referenced
this pull request
Aug 18, 2026
## Summary - promote the current `develop` branch to `main` - include the worktree hook preparation guidance from #815 - distribute the updated `repo-worktree` skill to downstream Copilot reviewers ## Verification - #815 passed all required checks - Copilot reviewed the current #815 head and full diff with no findings - the full local verification chain passed before #815 was merged Closesptr727/PhotoCleaner#61
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why
Fresh worktrees contain tracked hook configuration but omit generated runtimes such as
.husky/_/husky.sh. A first commit can therefore fail even when the clone-level hook path is configured. Worktree preparation now installs supported hook runtimes before the first commit.Verification
OPERATIONS.mdlocal verification chain