Skip to content

Update SKILL.md instructions for branch naming and git ops#4

Merged
skarim merged 3 commits intomainfrom
skarim/agent-skill-improvements
Mar 25, 2026
Merged

Update SKILL.md instructions for branch naming and git ops#4
skarim merged 3 commits intomainfrom
skarim/agent-skill-improvements

Conversation

@skarim
Copy link
Copy Markdown
Collaborator

@skarim skarim commented Mar 25, 2026

Updates to the SKILL.md file used in npx skills to clarify behavior for agents

  • Clearer prefix instructions: Added "Branch naming" subsection recommending prefixes as default workflow
  • Clarified staging changes across branches: Expanded "Staging changes deliberately" section to show the primary use case — splitting changes across branches with git add + gh stack add, not just multiple commits on one branch.
  • Simplified squash-merge recovery docs: Removed git rebase --onto implementation details since agents only need to know that gh stack rebase|sync handles squash-merged PRs automatically

Copilot AI review requested due to automatic review settings March 25, 2026 13:51
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the gh-stack skill documentation to standardize branch naming around prefixes (e.g., feat/...) and to clarify how gh stack add should be used when a prefix is configured.

Changes:

  • Updates stack diagrams/examples to use prefixed branch names (feat/...).
  • Adds guidance that when a prefix is set, gh stack add should be given only the suffix.
  • Expands branch naming + staging workflow explanations and updates the quick-reference commands.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread skills/gh-stack/SKILL.md
Comment thread skills/gh-stack/SKILL.md
Comment thread skills/gh-stack/SKILL.md
Copy link
Copy Markdown

Copilot AI commented Mar 25, 2026

Warning

This is an internal experiment to assess Copilot's ability to auto-approve PRs. Please 👍 this comment if the assessment below is correct and 👎 if not. Feedback in #f-ccr-auto-approve is appreciated!

Copilot thinks this PR is not ready to approve — see review comments for details.

@skarim skarim merged commit 90eb999 into main Mar 25, 2026
7 checks passed
@skarim skarim deleted the skarim/agent-skill-improvements branch March 25, 2026 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants