state-management

Record and monitor CI/CD gate progress in pipeline_state.json.

9|2|Updated Nov 9, 2025
One-click install
npx skills add https://github.com/dansasser/claude-code-marketplace --skill state-management-dansasser
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: state-management
Source: https://github.com/dansasser/claude-code-marketplace/tree/main/plugins/preflight/skills/state-management
Command: npx skills add https://github.com/dansasser/claude-code-marketplace --skill state-management-dansasser

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Pipeline and gate coordination across CI/CD runs requires a centralized state to track gate status, prerequisites, and results, enabling reliable progress and auditing.

Core Features & Use Cases

  • Initialize a new pipeline state with a unique ID and predefined gates.
  • Read and update per-gate status, started/completed times, and durations.
  • Check prerequisites before running a gate and get actionable blocking info.
  • Use cases include sequential gates in Python/Node projects, cross-platform validation, and audit-ready reporting.

Quick Start

Initialize a new pipeline with init_pipeline, then read and update gate statuses as gates execute.

Frequently Asked Questions about state-management

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

FAQPage Schema
How do I track CI/CD pipeline gate status across multiple sequential runs?

Track CI/CD pipeline gates by initializing a centralized state file, then reading and updating per-gate status, execution times, and results for reliable progress monitoring and auditing across sequential runs.

What is the best way to check prerequisites before running a CI/CD gate?

Check CI/CD gate prerequisites by validating the pipeline state, which exposes actionable blocking information to ensure all required conditions are met before execution proceeds.

Can I monitor lint, test, and security gates end-to-end in a CI/CD pipeline?

Monitor lint, test, and security gates end-to-end by initializing a pipeline state with predefined gates, then updating and validating each gate's status and duration as they execute sequentially.

Does this CI/CD state management approach work for Python and Node projects?

CI/CD state management works for sequential gates in Python and Node projects, providing cross-platform validation and audit-ready reporting through a centralized pipeline state tracking mechanism.

How do I generate audit-ready reports for CI/CD pipeline gate execution?

Generate audit-ready reports by recording pipeline progress, gate prerequisites, and results in a centralized state file that tracks status, started and completed times, and execution durations across all gates.