save-workflow-state
Save conductor workflow state to JSON file for smart resumption, tracking current phase, completed phases, issue context, and branch information
Security Assessment
About save-workflow-state
The 'save-workflow-state' skill is designed to persist the state of a conductor workflow at key stages, allowing users to resume workflows seamlessly across different sessions. It solves the problem of losing progress and tracking key context when workflows are paused or interrupted. By saving the workflow's state, it ensures that no effort is repeated, and the workflow can recover from its last saved point, providing efficient workflow management.
FAQ
How do I use the save-workflow-state skill?
You can use this skill by following the provided instructions, which involve creating a state directory, building a state object with necessary parameters, and writing the state to a JSON file. The skill should be used after completing each phase of the workflow, such as after Phase 1 (Issue Discovery and Planning), Phase 2 (Branch Setup and Implementation), etc.
Is there any specific environment needed to run this skill?
No specific environment is required beyond having a basic Bash shell to execute the commands. Ensure that the directory '.claude/state' exists and has the proper write permissions.
What happens if I miss a required parameter?
If any required parameter is missing (such as issue number, issue title, or current phase), the script will output an error message and stop execution. You must provide the necessary parameters to proceed.
Can I customize the state fields?
Yes, some fields like 'architecturePlan' and 'implementationSummary' are optional, and you can choose to leave them empty. However, the required fields must be populated for the state file to be valid.
How frequently should I use this skill?
This skill should be used after completing each phase of the workflow. There are 6 phases in a full-cycle workflow, so you will use the skill 6 times per complete cycle.
Install save-workflow-state
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
BerryKuipers/claude-code-toolkit