KS
Killer-Skills

close-build — how to use close-build how to use close-build, close-build setup guide, automated merge and cleanup, PreToolUse hooks tutorial, close-build vs git flow, close-build install, what is close-build, close-build alternative, python scripts for git automation, git repository management best practices

v1.0.0
GitHub

About this Skill

Ideal for Git Repository Agents needing automated merge and cleanup capabilities via Python scripts and PreToolUse hooks. close-build is a skill that automates the process of merging to the main branch and cleaning up local repositories, utilizing scripts like close_build.py and hooks like .claude/hooks/close-build-gate.sh

Features

Runs squash merge to main via python3 scripts/workflow/close_build.py
Performs local cleanup, including branch deletion and active context clearing
Utilizes PreToolUse hooks, such as .claude/hooks/close-build-gate.sh, for automated closure tests and doc stewardship
Supports dry run mode for testing closure gates without committing changes
Automates targeted closure tests and doc stewardship, eliminating manual invocation

# Core Topics

marcusglee11 marcusglee11
[0]
[0]
Updated: 3/2/2026

Quality Score

Top 5%
39
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add marcusglee11/LifeOS/close-build

Agent Capability Analysis

The close-build MCP Server by marcusglee11 is an open-source Categories.community integration for Claude and other AI agents, enabling seamless task automation and capability expansion. Optimized for how to use close-build, close-build setup guide, automated merge and cleanup.

Ideal Agent Persona

Ideal for Git Repository Agents needing automated merge and cleanup capabilities via Python scripts and PreToolUse hooks.

Core Value

Empowers agents to automate squash merges to main, local cleanup, and enforce targeted closure tests and doc stewardship using Python 3 and PreToolUse hooks like `.claude/hooks/close-build-gate.sh`.

Capabilities Granted for close-build MCP Server

Automating merge to main and cleanup processes
Enforcing closure gates via PreToolUse hooks
Streamlining Git repository management with Python scripts

! Prerequisites & Limits

  • Requires Python 3
  • Git repository access needed
  • Specific to repositories using PreToolUse hooks
Project
SKILL.md
1.5 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

Close Build

Merge to main and clean up. Closure gates run automatically via the PreToolUse hook.

Default behavior

bash
1python3 scripts/workflow/close_build.py

This runs:

  • squash merge to main,
  • local cleanup (branch delete + active context clear).

Note: targeted closure tests and doc stewardship are enforced by the .claude/hooks/close-build-gate.sh PreToolUse hook on git merge/git push. They no longer need to be invoked manually.

Dry run (gates only)

bash
1python3 scripts/workflow/closure_gate.py

Use to check gate status without merge/cleanup. Returns JSON verdict.

No cleanup mode

bash
1python3 scripts/workflow/close_build.py --no-cleanup

Use when you need to keep branch/context after merge.

Git worktree constraint

Run close_build.py (and underlying closure_pack.py) from the worktree directory, not the primary repo.

When main is already checked out in the primary worktree, the script detects this automatically (via git branch --show-current on the repo root) and skips the checkout main step. The merge proceeds against the primary worktree's main directly.

If you accidentally run from the primary repo on a scoped branch, it hard-blocks with ISOLATION_REQUIRED. Recover in one command:

bash
1python3 scripts/workflow/start_build.py --recover-primary

Report contract (strict)

Output must use this section order:

  1. Branch
  2. Commits
  3. Test Results
  4. What Was Done
  5. What Remains

Related Skills

Looking for an alternative to close-build or building a Categories.community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication