{{ message }}
Repository navigation
docs: consolidate custom command documentation - #4331
Merged
Merged
Conversation
Signed-off-by: David Gageot <david.gageot@docker.com> Assisted-By: claude-sonnet-4-5
dgageot
marked this pull request as ready for review
September 17, 2026 15:07
trungutt
approved these changes
Sep 17, 2026
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.

The Named Commands section in
docs/configuration/agents/index.mdhad grown into a near-complete duplicate of the dedicated Custom Commands reference page, including the three-format breakdown, argument-expansion syntax, and multiple full YAML examples. This meant that any update to the commands feature required edits in two places, and the two copies had already started to drift.This change trims the agent-configuration page down to the minimal snippet needed to introduce the feature and show the basic syntax, then points readers to the canonical
docs/configuration/commands/index.mdfor URL commands, agent-switching, top-levelcommands:groups, the--disable-commandsflag, and all argument-expansion details. The concise introductory note on immediate execution is preserved inline since it is the one behavioral detail a reader needs before deciding to click through.Markdown lint, front matter, Hugo 0.163.0 build, llms.txt semantic checks, and lychee offline link validation all passed. Go source and tests are unchanged.