github-issue-state-management

Manage development environment states via GitHub Issue labels and metadata.

Updated Jan 8, 2026
One-click install
npx skills add https://github.com/takemo101/compose-workflow --skill github-issue-state-management
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-issue-state-management
Source: https://github.com/takemo101/compose-workflow/tree/main/.opencode/skill/github-issue-state-management
Command: npx skills add https://github.com/takemo101/compose-workflow --skill github-issue-state-management

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a robust, centralized system for managing the state of development environments across different contexts (container-use, worktree, host) by leveraging GitHub Issues as a Single Source of Truth, thereby resolving issues with cross-environment file access and state synchronization.

Core Features & Use Cases

  • Centralized State Management: Uses GitHub Issue labels and metadata to track environment status, phase, and configuration.
  • Cross-Environment Consistency: Ensures a unified view of environment state accessible from any context.
  • Atomic Operations: Leverages GitHub's atomic label operations to prevent race conditions.
  • Use Case: When working on a feature across multiple worktrees or within a container, this Skill ensures that the status of each development environment (e.g., 'active', 'blocked', 'PR created') is consistently tracked and visible via a GitHub Issue, allowing for seamless resumption and coordination.

Quick Start

Use the github-issue-state-management skill to register a new environment for issue number 42 with ID 'abc-123', branch 'feature/auth', and type 'container-use'.

Frequently Asked Questions about github-issue-state-management

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

FAQPage Schema
How do I manage development environment state across multiple worktrees and containers?

Using GitHub Issues as a Single Source of Truth enables cross-environment state management by embedding environment metadata within Issue bodies. This provides a unified view of status, phase, and configuration accessible from container-use, worktree, and host environments.

How does using GitHub Issue labels for environment state tracking prevent race conditions?

Using GitHub Issue labels for environment state tracking leverages GitHub's atomic label operations to prevent race conditions. This structured label system ensures consistent status and phase tracking even when multiple processes attempt simultaneous state manipulation.

Can I track environment status like 'active' or 'blocked' using GitHub Issues?

Yes, you can track environment statuses like 'active', 'blocked', or 'PR created' using a structured GitHub Issue label system. This enables seamless resumption and coordination of development work across multiple worktrees and container contexts.

What is the best way to synchronize development environment state across different contexts?

Centralizing state data using GitHub Issues is the best way to synchronize development environment state across contexts. This resolves cross-environment file access issues by making host, worktree, and container environments reference the same Issue metadata.

How do I register a new development environment state in a GitHub Issue?

To register a new environment state, use CLI scripts to assign an environment ID, branch name, and type to a specific GitHub Issue number. The system persists this metadata within the Issue body for detailed state recovery and tracking.