reset

Delete state.json to reset corrupted workflow state for the current branch.

5|1|Updated Dec 14, 2025
One-click install
npx skills add https://github.com/joshsmithxrm/power-platform-developer-suite --skill reset-joshsmithxrm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reset
Source: https://github.com/joshsmithxrm/power-platform-developer-suite/tree/main/.claude/skills/reset
Command: npx skills add https://github.com/joshsmithxrm/power-platform-developer-suite --skill reset-joshsmithxrm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Clear corrupted or stale workflow state for the current branch to recover progress.

Core Features & Use Cases

  • Clear the current branch's workflow state.json to restart the pipeline.
  • Preserve the .workflow directory while removing state.json to avoid affecting historical data.
  • Use case: when the pipeline's progress is out of sync or corrupted and a fresh start is required.

Quick Start

Run the reset command to clear the current branch's workflow state.

Frequently Asked Questions about reset

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

FAQPage Schema
How do I reset corrupted workflow state on my current git branch?

To reset corrupted workflow state on your current git branch, you remove the state.json file from the .workflow directory. This action clears stale progress and allows you to restart the pipeline with a fresh state.

What is the best way to clear out of sync DevOps workflow progress without altering git history?

Clearing out of sync DevOps workflow progress without altering git history involves deleting the branch's state.json file. This operation preserves the .workflow directory and historical data while enforcing a fresh start for the active pipeline.

Does resetting workflow state delete my entire .workflow directory?

Resetting workflow state does not delete your entire .workflow directory. The process specifically targets and removes only the state.json file, preserving the directory structure and any historical data stored within it.

How do I restart a stale automation pipeline using Python without confirmation prompts?

You can restart a stale automation pipeline using Python by executing a script with the delete action on your state.json file. The operation enforces no confirmation, immediately clearing the corrupted state for the active branch.

When should I use a workflow state reset for my branch?

You should use a workflow state reset when your pipeline progress becomes corrupted, falls out of sync, or when you simply need a fresh start on the active branch. It recovers progress by clearing the stale state.