apply-nightshift

Apply Night Shift session patches to the Nx repository using git worktrees.

1|Updated Jun 3, 2025
One-click install
npx skills add https://github.com/jaysoo/dot-ai-config --skill apply-nightshift
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: apply-nightshift
Source: https://github.com/jaysoo/dot-ai-config/tree/main/dot_gemini/skills/apply-nightshift
Command: npx skills add https://github.com/jaysoo/dot-ai-config --skill apply-nightshift

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates the end-to-end process of applying Night Shift produced patches to the Nx repository using dedicated git worktrees, accelerating repair cycles and ensuring traceable commits.

Core Features & Use Cases

  • Create isolated worktrees for each patch/fix batch and keep master branches clean.
  • Read Night Shift session reports, extract fixes, and apply patches reliably, with fallbacks for patch failures.
  • Generate structured commits and prepare patches for review without pushing to PRs automatically.

Quick Start

Review the latest Night Shift session and apply all selected fixes to the Nx repository using dedicated git worktrees.

Frequently Asked Questions about apply-nightshift

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I apply Night Shift patches to an Nx repository using git worktrees?

To apply Night Shift patches to the Nx repository, this skill reads session reports, extracts fixes, and applies them to isolated git worktrees. It automates the end-to-end patching process while keeping your master branches clean and ensuring traceable, structured commits.

Can I resolve patch conflicts automatically when applying Night Shift session fixes?

Conflict resolution during patch application is handled by the skill using built-in fallbacks for patch failures. It processes both direct patch paths and session-based review modes, ensuring reliable application of fixes from your Night Shift session reports to your worktrees.

Does applying code review patches with git worktrees keep my master branch clean?

Yes, using dedicated git worktrees for each patch batch keeps your master branches clean. The skill creates isolated worktrees for applying fixes, preventing direct modifications to the main branch until your structured commits are reviewed and merged.

What do I need to set up before automating commit management from Night Shift reports?

You need access to nightly session files, patch files, the Nx repository, and standard git tooling. The skill requires these inputs to read session reports, extract fixes, create worktrees, and prepare structured commit messages for review.

Will this skill automatically push applied patches to pull requests?

No, the skill does not automatically push patches to pull requests. It applies fixes to git worktrees and generates structured commits, preparing the patches for review without automatically opening PRs or pushing to remotes.

Why use git worktrees for applying automated code review fixes instead of patching directly?

Git worktrees provide isolated environments for each fix batch, ensuring your main branch remains clean during patching. This approach accelerates repair cycles by safely handling patch application and conflict resolution before integrating changes into the main codebase.