Skip to content

Conversation

@eyaprak
Copy link
Owner

@eyaprak eyaprak commented Jan 21, 2026

Summary

  • Add scripts/setup-template.js that removes template-specific files after cloning
  • Add npm run setup command to package.json
  • Update README with setup instructions as step 2

Why

Users who git clone the repo get all template files including the Claude reviewer workflow. This script allows them to easily clean up those files with a single command.

What it removes

  • .github/workflows/claude-review.yml
  • .github/workflows/template-cleanup.yml
  • scripts/claude-pr-review.ts
  • devDependencies: @anthropic-ai/sdk, @octokit/rest
  • The script removes itself after running

Test plan

  • Clone the repo fresh
  • Run npm run setup
  • Verify template files are removed
  • Run npm install and verify it works

🤖 Generated with Claude Code

- Add scripts/setup-template.js that removes template-specific files
- Add npm run setup command to package.json
- Update README with setup instructions (step 2)

This allows users who git clone the repo to easily remove
the Claude reviewer workflow and related files.

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

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@github-actions github-actions bot added the reviewing:claude-ai Being reviewed by Claude AI label Jan 21, 2026
@github-actions
Copy link
Contributor

🤖 Claude Code Review

This PR adds a post-clone setup script that helps users clean up template-specific files after cloning the repository. The implementation is straightforward and functional, with proper error handling for file operations. The script safely removes specified files and dependencies, then self-destructs as intended.

📁 Files reviewed (3 files, 129 changes)
  • 📝 README.md (+12/-5)
  • 📝 package.json (+1/-0)
  • 🆕 scripts/setup-template.js (+111/-0)

Issues Found

  • ⚠️ Warnings: 1

Approved - Minor suggestions below, but good to merge.


Powered by Claude AI

Note: Unable to post inline comments

@github-actions github-actions bot added claude:approved Approved by Claude AI and removed reviewing:claude-ai Being reviewed by Claude AI labels Jan 21, 2026
@eyaprak eyaprak merged commit 0542205 into main Jan 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude:approved Approved by Claude AI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants