overnight-development
БесплатноБез исполняемых скриптовНе проверенAutomates software development overnight using Git hooks to enforce test-driven development (TDD). This skill activates when you request "overnight…
от BbgnsurfTech★ 30 звёзд на GitHubОб этом скилле
Overnight Development
Overview
This skill automates software development overnight by leveraging Git hooks to enforce test-driven development (TDD). It ensures that all code changes are fully tested and meet specified quality standards before being committed. This approach allows Claude to work autonomously, building new features, refactoring existing code, or fixing bugs while adhering to a rigorous TDD process.
Core Capabilities
- Enforces test-driven development (TDD) using Git hooks.
- Automates debugging and code fixing until all tests pass.
- Tracks progress and logs activities during overnight sessions.
- Supports flexible configuration for various testing frameworks and languages.
- Provides guidance and support through the
overnight-dev-coachagent.
Workflow
Phase 1: Project Setup and Configuration
To prepare the project for overnight development:
Verify Prerequisites: Ensure the project is a Git repository, has a configured test framework, and includes at least one passing test.
git init npm install --save-dev jest # Example for Node.jsInstall the Plugin: Add the Claude Code Plugin marketplace and install the
overnight-devplugin./plugin marketplace add jeremylongshore/claude-code-plugins /plugin install overnight-dev@claude-code-plugins-plusRun Setup Command: Execute the
/overnight-setupcommand to create necessary Git hooks and configuration files./overnight-setup
Phase 2: Task Definition and Planning
To define the task for the overnight session:
Define a Clear Goal: Specify a clear and testable goal for the overnight session, such as "Build user authentication with JWT (90% coverage)."
Task: Build user authentication with JWT (90% coverage) Success: All tests pass, 90%+ coverage, fully documentedStart Coding: Begin implementing the feature by writing tests first, following the TDD approach.
// Example test case (Node.js with Jest) it('should authenticate a user with valid credentials', async () => { // Test implementation });Attempt to Commit: Try to commit the changes, which will trigger the Git hooks and run the tests.
git commit -m "feat: implement user authentication"
Phase 3: Autonomous Development and Debugging
To allow Claude to work autonomously:
Git Hooks Enforcement: The Git hooks will block the commit if any tests fail, providing Claude with the error messages.
Overnight Dev: Running pre-commit checks... Running linting... Linting passed Running tests... 12 tests failing Commit blocked!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.txtReview 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 codeSession Completion: The session completes when all tests pass, the code meets the specified quality standards, and the changes are committed.
Using Bundled Resources
Scripts
To automate the setup process, use the overnight-setup.sh script:
./scripts/overnight-setup.sh
To track the progress of the overnight session, use the progress-tracker.py script:
./scripts/progress-tracker.py --log .overnight-dev-log.txt
References
For detailed configuration options, load:
For best practices on writing effective tests, load:
Assets
Available templates:
assets/commit-template.txt- Template for generating commit messages.assets/readme-template.md- Template for generating README files.
Examples
Example 1: Building JWT Authentication
User request: "Implement JWT authentication with 90% test coverage overnight."
Workflow:
- Claude writes failing authentication tests (TDD).
- Claude implements JWT signing (tests still failing).
- Claude debugs token generation (commit blocked, keeps trying).
Установить overnight-development в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditGrepGlobBashFAQ
Что делает скилл overnight-development?
Automates software development overnight using Git hooks to enforce test-driven development (TDD). This skill activates when you request "overnight development", "autonomous coding", "work while I sleep", or mention TDD workflows and Git hooks. It leverages Git hooks to block commits until all tests pass, enforcing a rigorous TDD process and ensuring high-quality, production-ready code. Perfect for building features autonomously - just define the goal and let Claude work overnight while tests enforce quality.
Как установить скилл overnight-development?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл overnight-development запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic