/niteshift on a PR to start a task that fixes CI failures and addresses review feedback.
Command syntax
| Part | Description |
|---|---|
/niteshift | Required prefix |
prompt | Optional additional instructions |
Examples
/pr-fix-ci skill to fix CI failures and address review comments.
How it works
1
Comment detected
Niteshift webhook receives the comment event and validates:
- Comment is on a pull request (not an issue)
- Comment author is the PR author
- User has a Niteshift account with the feature enabled
2
Task created
Niteshift creates a task linked to the PR:
- Clones the PR branch
- Makes PR context available to the agent
- Activates the
/pr-fix-ciskill
3
GitHub updated
Niteshift reacts to your comment with ๐ while processing, then:
- Creates a check run on the PR
- Posts a comment with the task URL
- Reacts with ๐ on success
4
Agent works
The agent polls CI, fixes failures, and addresses review feedback. When complete, changes are ready for you to review and push.
Requirements
To use PR comments:- GitHub App installed โ On the repositoryโs account or organization
- Niteshift account โ Linked to your GitHub username
- Feature enabled โ PR commands are enabled for your account
- PR author โ Only the PR author can trigger tasks via comments
What the task does
Tasks created from PR comments automatically run the/pr-fix-ci skill:
- Wait for CI checks to complete (up to 20 minutes)
- Fetch failure logs from failed checks
- Fetch all PR review threads
- Categorize feedback based on your reactions
- Fix issues with minimal changes
- Reply to threads explaining what was done
Check runs
Niteshift posts GitHub check runs to show task status:| Check | Purpose |
|---|---|
| Niteshift Preview | Shows provisioning and task status |
| Niteshift Fixes | Shows what was fixed after /pr-fix-ci completes |
Limitations
- Only PR authors can trigger tasks (prevents spam)
- One active task per PR
- Tasks inherit the PR branch, not main
- Changes must be manually pushed after review