docs: prune learnings section and tighten create-pr skill#25453
Merged
Conversation
Drop the optional Learnings section and the PR learnings scanner reference. The self-learning loop it fed was never used. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Document the optional @netlify entry-path stanza for focused PRs and how to add deploy-preview deep links derived from the PR number. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Guard against running on the default branch (main/master) - Use git status --porcelain to catch staged/unstaged changes, not just unstaged ones - Handle the case where origin is upstream docker/docs by pushing to a separate fork remote, and derive FORK_OWNER from that remote - Note the docs:/scope title prefix convention Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
❌ Deploy Preview for docsdocker failed. Why did it fail? →
|
docker-agent
left a comment
Contributor
There was a problem hiding this comment.
Assessment: 🔴 CRITICAL
One high-severity issue found in the new content introduced by this PR.
aevesdocker
approved these changes
Jul 20, 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.
Summary
Removes the unused Learnings/reflections section from the create-pr skill (the self-learning loop it fed was never used), adds optional guidance for Netlify deploy-preview entry paths and deep links on focused PRs, and tightens the branch/remote handling (default-branch guard,
git status --porcelainclean-tree check, origin-vs-fork fallback, and adocs:title-prefix note).Generated by Claude Code