Skip to content

Conversation

@bpmct
Copy link
Member

@bpmct bpmct commented Dec 7, 2025

Adds automatic GitHub CLI authentication and workflow instructions to the dogfood template's Claude Code tasks.

The startup script now authenticates gh CLI using coder external-auth access-token github, eliminating manual authentication. The system prompt instructs tasks to read GitHub issue details with gh issue view and create feature branches with descriptive names before implementation.

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com

Updates the dogfood template to enhance the Claude Code task workflow:

1. Adds GitHub CLI authentication to startup script using Coder's
   external-auth, ensuring gh commands work automatically in workspaces.

2. Updates system prompt to instruct tasks to:
   - Use gh CLI to read issue details when given GitHub issue URLs
   - Create feature branches with descriptive names before starting work
   - Follow established CLAUDE.md guidelines for implementation

This improves the dogfooding experience by automating GitHub integration
and enforcing better branch management practices for development tasks.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@bpmct bpmct requested a review from DevelopmentCats December 7, 2025 22:09
@bpmct bpmct changed the title feat(dogfood): add gh CLI workflow and GitHub auth to tasks feat(dogfood): add gh CLI workflow and GitHub auth for tasks Dec 7, 2025
Copy link
Member

@matifali matifali left a comment

Choose a reason for hiding this comment

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

LGTM. I have ran into this multiple times

@bpmct bpmct merged commit b228c6b into main Dec 8, 2025
38 checks passed
@bpmct bpmct deleted the feat/dogfood-gh-cli-workflow branch December 8, 2025 17:12
@github-actions github-actions bot locked and limited conversation to collaborators Dec 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants