parallel-cleanup-feature

Coordinate parallel OpenSpec feature cleanup via merge-queue registration and cross-feature rebasing.

Updated Dec 26, 2025
One-click install
npx skills add https://github.com/jankneumann/agentic-content-analyzer --skill parallel-cleanup-feature
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: parallel-cleanup-feature
Source: https://github.com/jankneumann/agentic-content-analyzer/tree/main/.gemini/skills/parallel-cleanup-feature
Command: npx skills add https://github.com/jankneumann/agentic-content-analyzer --skill parallel-cleanup-feature

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

When multiple OpenSpec features are developed concurrently, merging them can cause resource conflicts, ordering issues, and stale feature registrations, leading to integration delays and broken pipelines.

Core Features & Use Cases

  • Coordinator detection – automatically discovers whether a merge‑queue and feature‑registry service is available via HTTP or MCP tools.
  • Merge‑queue integration – registers the feature, runs pre‑merge checks, enqueues it, and respects ordered merging.
  • Cross‑feature rebase – fetches the latest main branch and rebases the feature to resolve conflicts with other parallel changes.
  • Resource claim lifecycle – deregisters the feature after merge, freeing claims for dependent features.
  • Fallback behavior – seamlessly switches to linear cleanup when the coordinator is unavailable.

Quick Start

Ask the assistant to execute the parallel‑cleanup‑feature skill for the desired change ID.

Frequently Asked Questions about parallel-cleanup-feature

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

FAQPage Schema
How do I automate parallel feature cleanup for concurrent git branches?

Parallel feature cleanup is automated by registering changes in a merge queue, running pre-merge validation, and handling cross-feature rebasing. This workflow coordinates OpenSpec feature branches merged concurrently while preserving resource claim integrity.

How does cross-feature rebasing work when merging multiple features at once?

Cross-feature rebasing works by fetching the latest main branch and rebasing the feature to resolve conflicts with other parallel changes. This ensures concurrent OpenSpec feature branches integrate smoothly without ordering issues or broken pipelines.

Do I need a coordinator service to use a merge queue for parallel branches?

A coordinator service is required to expose merge-queue, feature-registry, and lock capabilities via HTTP or MCP tools. If unavailable, the workflow seamlessly falls back to linear cleanup to complete the feature integration.

What happens to resource claims after a parallel feature merge completes?

After a parallel feature merge completes, the resource claim lifecycle deregisters the feature to free claims for dependent features. This prevents stale feature registrations and avoids integration delays for subsequent concurrent merges.

Can I use this parallel merge workflow without OpenSpec?

The workflow applies to OpenSpec feature branches that must be merged concurrently. It relies on OpenSpec feature registrations and a coordinator service exposing merge-queue and feature-registry capabilities to manage the parallel cleanup process.

Why do concurrent feature merges cause broken pipelines and how do I prevent it?

Concurrent feature merges cause broken pipelines due to resource conflicts, ordering issues, and stale feature registrations. Prevent this by using a merge queue coordinator to run pre-merge checks and enforce ordered merging across parallel branches.