Automated Debugging: Claude analyzes the error messages, identifies the issues, and attempts to fix the code.
Claude: Fixing test failures in user authentication module.
Retry Commits: Claude retries the commit after making the necessary fixes, repeating the process until all tests pass.
git commit -m "fix: address test failures in user authentication"
Phase 4: Progress Tracking and Completion
To monitor the progress and finalize the session:
Monitor Progress: Track the progress of the overnight session by viewing the log file.
cat .overnight-dev-log.txt
Review Results: Wake up to fully tested code, complete features, and a clean Git history.
7 AM: You wake up to:
- 47 passing tests (0 failing)
- 94% test coverage
- Clean conventional commit history
- Fully documented JWT authentication
- Production-ready code
Session Completion: The session completes when all tests pass, the code meets the specified quality standards, and the changes are committed.
1---2name: 279-workflow-7152f88c3description: Workflow4---5# Workflow67## Workflow89### Phase 1: Project Setup and Configuration1011To prepare the project for overnight development:12131. **Verify Prerequisites:** Ensure the project is a Git repository, has a configured test framework, and includes at least one passing test.14 ```bash15 git init16 npm install --save-dev jest # Example for Node.js17 ```18192. **Install the Plugin:** Add the Claude Code Plugin marketplace and install the `overnight-dev` plugin.20 ```bash21 /plugin marketplace add jeremylongshore/claude-code-plugins22 /plugin install overnight-dev@claude-code-plugins-plus23 ```24253. **Run Setup Command:** Execute the `/overnight-setup` command to create necessary Git hooks and configuration files.26 ```bash27 /overnight-setup28 ```2930### Phase 2: Task Definition and Planning3132To define the task for the overnight session:33341. **Define a Clear Goal:** Specify a clear and testable goal for the overnight session, such as "Build user authentication with JWT (90% coverage)."35 ```text36 Task: Build user authentication with JWT (90% coverage)37 Success: All tests pass, 90%+ coverage, fully documented38 ```39402. **Start Coding:** Begin implementing the feature by writing tests first, following the TDD approach.41 ```javascript42 // Example test case (Node.js with Jest)43 it('should authenticate a user with valid credentials', async () => {44 // Test implementation45 });46 ```47483. **Attempt to Commit:** Try to commit the changes, which will trigger the Git hooks and run the tests.49 ```bash50 git commit -m "feat: implement user authentication"51 ```5253### Phase 3: Autonomous Development and Debugging5455To allow Claude to work autonomously:56571. **Git Hooks Enforcement:** The Git hooks will block the commit if any tests fail, providing Claude with the error messages.58 ```text59 Overnight Dev: Running pre-commit checks...60 Running linting...61 Linting passed62 Running tests...63 12 tests failing64 Commit blocked!65 ```66672. **Automated Debugging:** Claude analyzes the error messages, identifies the issues, and attempts to fix the code.68 ```text69 Claude: Fixing test failures in user authentication module.70 ```71723. **Retry Commits:** Claude retries the commit after making the necessary fixes, repeating the process until all tests pass.73 ```bash74 git commit -m "fix: address test failures in user authentication"75 ```7677### Phase 4: Progress Tracking and Completion7879To monitor the progress and finalize the session:80811. **Monitor Progress:** Track the progress of the overnight session by viewing the log file.82 ```bash83 cat .overnight-dev-log.txt84 ```85862. **Review Results:** Wake up to fully tested code, complete features, and a clean Git history.87 ```text88 7 AM: You wake up to:89 - 47 passing tests (0 failing)90 - 94% test coverage91 - Clean conventional commit history92 - Fully documented JWT authentication93 - Production-ready code94 ```95963. **Session Completion:** The session completes when all tests pass, the code meets the specified quality standards, and the changes are committed.
Run npx skillmds@latest add tools-only/279-workflow-7152f88c in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Workflow It is listed under Productivity on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tools-only (@tools-only) published this skill. Their other Agent Skills are listed on their SkillMD profile.