[bot] Add /pr command, new hook types, applyTo arrays, and Squad SDK-First mode#16
Draft
github-actions[bot] wants to merge 1 commit intomainfrom
Draft
Conversation
- Add /pr command section (v1.0.5): local PR creation, CI fixes, review automation - Add preToolUse, subagentStart, preCompact hook types (v1.0.5/v1.0.7) - Add hooks-in-settings.json config note and PascalCase event name compat (v1.0.6/v1.0.8) - Add applyTo array syntax example to Path-Specific Instructions (v1.0.6) - Update Squad What's new to v0.8.21-v0.8.25 with SDK-First mode - Update ASCII diagram, Table of Contents, and Quick Reference table Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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 free
to 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.
What's new
Updates based on GitHub Copilot CLI releases v1.0.5–v1.0.9 (March 13–19, 2026) and Squad v0.8.21–v0.8.25 (March 7–8, 2026).
New features found
/prcommand (CLI v1.0.5, 2026-03-13) — create and view PRs, automatically fix CI failures, address review feedback, and resolve merge conflicts from within a CLI sessionpreCompact— runs before context compaction, useful for saving statesubagentStart— fires when a subagent is spawned, allows injecting additional context into its promptpreToolUse— fires before any tool is invoked; can block or warn (demonstrated by Tool Guardian hook in awesome-copilot)settings.json,settings.local.json, orconfig.json, not only inhooks.jsonfilesapplyToaccepts arrays (v1.0.6) — Path-Specific Instructions frontmatterapplyTofield now accepts both a string and an array of glob patternsdefineTeam(),defineAgent(),defineRouting()etc.; compile withsquad buildSections updated
/pr Commandto the Agentic block/pr — Pull Request AutomationlinkapplyToarray syntax example and updated summary table/pr — Pull Request Automationsection between Autopilot Mode and Copilot Coding Agentv0.8.xtov0.8.21–v0.8.25with SDK-First mode bullet/prrowSources