Agent skill

workflow-end

[Process] End the active workflow and clear state. Auto-added as last step of every workflow. Clears workflow tracking so next prompt gets fresh workflow detection.

Stars 6
Forks 1

Install this agent skill to your Project

npx add-skill https://github.com/duc01226/EasyPlatform/tree/main/.claude/skills/workflow-end

SKILL.md

Be skeptical. Apply critical thinking, sequential thinking. Every claim needs traced proof, confidence percentages (Idea should be more than 80%).

Workflow End

Finalize and close the active workflow, clearing state so the next user prompt triggers fresh workflow detection.


When This Runs

This skill is the last step of every workflow sequence. It runs automatically after the final functional step (e.g., /watzup, /status, /acceptance).

NOT for: Manual invocation mid-workflow (use workflow switching via /workflow-start instead).


What To Do

  1. Sync knowledge graph (skip if .code-graph/ dir doesn't exist):
    bash
    if [ -d ".code-graph" ]; then python .claude/scripts/code_graph sync --json && python .claude/scripts/code_graph update --json; fi
    
    Report results briefly.
  2. Mark this task as completed via TaskUpdate
  3. Announce to the user: "Workflow [name] completed. Next prompt will trigger fresh workflow detection."
  4. The workflow-step-tracker hook handles the actual state cleanup automatically when this skill completes

See Also

  • Skill: /workflow-start - Start/switch workflows
  • Hook: workflow-step-tracker.cjs - Clears state on final step completion
  • Hook: workflow-router.cjs - Detects active vs inactive workflows

Closing Reminders

  • MUST break work into small todo tasks using TaskCreate BEFORE starting
  • MUST search codebase for 3+ similar patterns before creating new code
  • MUST cite file:line evidence for every claim (confidence >80% to act)
  • MUST add a final review todo task to verify work quality

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results