Automate repetitive coding tasks with continuous-claude. It runs Claude Code in a loop, creating PRs, waiting for checks, and merging autonomously. Ideal for operations teams managing large projects, integrating with GitHub workflows.
git clone https://github.com/AnandChowdhary/continuous-claude.githttps://github.com/AnandChowdhary/continuous-claude
1. **Install continuous-claude**: Run `pip install continuous-claude` or use the Docker image `ghcr.io/anthropics/continuous-claude`. 2. **Configure GitHub Token**: Set `GITHUB_TOKEN` in your environment with `repo` and `workflow` permissions. 3. **Define Automation Rules**: Create a YAML config file (e.g., `claude-automation.yaml`) with rules like: ```yaml tasks: - name: "Add caching to API endpoints" branch: "claude-caching-automation" commands: - "claude -m 'Add Redis caching to /api/v2/users and /api/v2/posts'" - "npm test" - "git push origin claude-caching-automation" - "gh pr create --title 'feat: add caching to API endpoints' --body 'Automated PR'" ``` 4. **Run Automation**: Execute `continuous-claude --config claude-automation.yaml --log-file logs/claude.log` in your project root. 5. **Monitor Results**: Check the log file and GitHub PRs for status updates. Use `--dry-run` for testing before live runs.
Automatically increase test coverage in a large codebase by generating and merging PRs.
Refactor legacy code incrementally by creating multiple PRs that address specific issues.
Fix post-update breaking changes by continuously running tests and applying fixes until all pass.
Manage dependency updates and resolve issues automatically using release notes.
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/AnandChowdhary/continuous-claudeCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Automate the following repetitive coding task using continuous-claude: [TASK_DESCRIPTION]. Start by creating a new branch named 'claude-[FEATURE_NAME]-automation'. Run tests and generate a pull request. Wait for CI checks to pass, then merge the PR if all checks succeed. Log all actions to [LOG_FILE_PATH].
``` [2024-05-15 14:30:00] Starting continuous-claude automation for 'Add caching to API endpoints' [2024-05-15 14:30:01] Creating branch: claude-caching-automation [2024-05-15 14:30:05] Running tests... [2024-05-15 14:31:22] All tests passed (12/12) [2024-05-15 14:31:23] Creating PR: 'feat: add caching to API endpoints #123' [2024-05-15 14:31:25] PR created: https://github.com/org/repo/pull/123 [2024-05-15 14:31:26] Waiting for CI checks... [2024-05-15 14:35:41] CI checks passed (lint, unit-tests, build) [2024-05-15 14:35:42] Merging PR #123 into main [2024-05-15 14:35:45] PR #123 merged successfully [2024-05-15 14:35:45] Automation completed in 5m 45s ``` **Key Details:** - Branch: `claude-caching-automation` - PR: #123 (https://github.com/org/repo/pull/123) - Changes: Added Redis caching to `/api/v2/users` and `/api/v2/posts` endpoints - CI Checks: All passed (lint, unit-tests, build) - Merge Strategy: Squash merge - Log File: `/logs/claude-automation-2024-05-15.log` **Next Steps:** 1. Verify the caching behavior in staging environment 2. Monitor performance metrics for 24 hours 3. Close related issue: #456 ```
AI assistant built for thoughtful, nuanced conversation
IronCalc is a spreadsheet engine and ecosystem
ITIL-aligned IT service management platform
Customer feedback management made simple
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan