Skip to content

Conversation

@jakedt
Copy link
Member

@jakedt jakedt commented Jan 14, 2026

  • Install claude code action
  • Add a issued-based suggestion implementation automation
  • Add a CLAUDE.md for the docs project

🤖 Installing Claude Code GitHub App

This PR adds a GitHub Actions workflow that enables Claude Code integration in our repository.

What is Claude Code?

Claude Code is an AI coding agent that can help with:

  • Bug fixes and improvements
  • Documentation updates
  • Implementing new features
  • Code reviews and suggestions
  • Writing tests
  • And more!

How it works

Once this PR is merged, we'll be able to interact with Claude by mentioning @claude in a pull request or issue comment.
Once the workflow is triggered, Claude will analyze the comment and surrounding context, and execute on the request in a GitHub action.

Important Notes

  • This workflow won't take effect until this PR is merged
  • @claude mentions won't work until after the merge is complete
  • The workflow runs automatically whenever Claude is mentioned in PR or issue comments
  • Claude gets access to the entire PR or issue context including files, diffs, and previous comments

Security

  • Our Anthropic API key is securely stored as a GitHub Actions secret
  • Only users with write access to the repository can trigger the workflow
  • All Claude runs are stored in the GitHub Actions run history
  • Claude's default tools are limited to reading/writing files and interacting with our repo by creating comments, branches, and commits.
  • We can add more allowed tools by adding them to the workflow file like:
allowed_tools: Bash(npm install),Bash(npm run build),Bash(npm run lint),Bash(npm run test)

There's more information in the Claude Code action repo.

After merging this PR, let's try mentioning @claude in a comment on any PR to get started!

@vercel
Copy link
Contributor

vercel bot commented Jan 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
docs Ready Ready Preview, Comment Jan 16, 2026 5:44am

Review with Vercel Agent

@github-actions
Copy link
Contributor

github-actions bot commented Jan 14, 2026

CLA Assistant Lite bot:
Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


1 out of 2 committers have signed the CLA.
✅ (samkim)[https://github.com/samkim]
@jakedt
You can retrigger this bot by commenting recheck in this Pull Request

samkim and others added 11 commits January 15, 2026 10:09
- Add suggestion handler job that runs when issues are labeled 'suggestion/accepted'
- Configure suggestion handler to auto-close issues via commit message keywords
- Update claude-code-review to only run when 'claude-review' label is present or '@claude' is in PR description
- Add git command permissions for suggestion handler workflow

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
- Add workflow_dispatch trigger with issue_number input
- Add validation step to verify issue has 'suggestion/accepted' label
- Update issue number references to support both automatic and manual triggers
- Fail workflow early if manually triggered on issue without required label

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
- Set fetch-depth: 0 to get full git history for proper branch operations
- Add show_full_output: true to see complete Claude execution logs
- Add track_progress: true to post progress updates to the issue

This will help diagnose why commits aren't being persisted and the issue isn't being updated.

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
Updated the prompt to explicitly instruct Claude to:
- Create a branch with claude/issue-N-description format
- Push the branch to origin
- Post a comment to the issue with summary and PR creation link

This ensures the workflow works correctly even when triggered via workflow_dispatch instead of automatic issue events.

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
Create concise documentation for Claude Code with:
- Tech stack overview (Next.js, Nextra, Tailwind)
- Project structure
- Content conventions for MDX files
- Code style guidelines
- Development commands

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
 Please enter the commit message for your changes. Lines starting
@samkim samkim changed the title Add Claude Code GitHub Workflow Add Claude Code GitHub Workflow and Suggestion workflow Jan 16, 2026
Add quotes to string values and fix formatting issues:
- Quote all string values for name, uses, runs-on, and permissions
- Quote types array values
- Quote 'on' keyword
- Remove extra blank lines

Fixes yamllint quoted-strings and empty-lines errors.

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
- Quote GitHub expression values in env and with sections
- Remove extra blank line at end of claude.yml

Fixes yamllint quoted-strings and empty-lines errors.

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
@samkim samkim merged commit 9a1fe43 into main Jan 16, 2026
11 of 13 checks passed
@samkim samkim deleted the add-claude-github-actions-1768426712733 branch January 16, 2026 18:16
@github-actions github-actions bot locked and limited conversation to collaborators Jan 16, 2026
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