Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

task-status-sync

FreeNo executable scriptsNot checked

Enforce atomic task status updates through task-tracker commands only. Prevent manual edits to NOTES.md and tasks.md that break synchronization. Auto-trigger…

marcusgollby marcusgoll★ 97 GitHub stars21 installs in other catalogs

About this skill

Maintain atomic synchronization between tasks.md checkboxes and NOTES.md completion markers by enforcing task-tracker command usage and preventing manual file edits that cause data inconsistencies. **Intercept and convert manual edits to task-tracker commands:**
  1. Detect attempt: Monitor for Edit/Write tool usage on NOTES.md or tasks.md
  2. Extract intent: Parse what change the user/Claude wants to make
  3. Convert to command: Generate equivalent task-tracker command
  4. Execute atomically: Run task-tracker to update both files simultaneously
  5. Provide feedback: Explain the conversion and show the result

Example workflow:

User: "Mark T001 as completed"

❌ BLOCKED: Direct edit to tasks.md
✅ AUTO-CONVERTED: .spec-flow/scripts/bash/task-tracker.sh mark-done-with-notes -TaskId T001

Result:
- tasks.md: - [X] T001 Create database schema
- NOTES.md: ✅ T001: Create database schema - est (2025-11-19 10:30)
**✅ Permitted (read-only):** - Read NOTES.md to understand progress - Read tasks.md to see task list - Read error-log.md to diagnose failures

✅ Permitted (through task-tracker):

  • Mark tasks complete: mark-done-with-notes
  • Mark tasks in progress: mark-in-progress
  • Mark tasks failed: mark-failed
  • Sync status: sync-status
  • Get next task: next
  • Get summary: summary
  • Validate: validate

❌ Blocked (auto-converted):

  • Direct Edit/Write to tasks.md
  • Direct Edit/Write to NOTES.md
  • Manual checkbox changes ([ ] → [X])
  • Manual completion markers (✅ T001)
**Available task-tracker.sh / task-tracker.ps1 actions:**
# Get current status
.spec-flow/scripts/bash/task-tracker.sh status -Json

# Mark task completed with full details
.spec-flow/scripts/bash/task-tracker.sh mark-done-with-notes \
  -TaskId T001 \
  -Notes "Created Message model with validation" \
  -Evidence "pytest: 25/25 passing" \
  -Coverage "92% (+8%)" \
  -CommitHash "abc123" \
  -Duration "15min"

# Mark task in progress
.spec-flow/scripts/bash/task-tracker.sh mark-in-progress -TaskId T002

# Mark task failed
.spec-flow/scripts/bash/task-tracker.sh mark-failed \
  -TaskId T003 \
  -ErrorMessage "Tests failing: ImportError on MessageService"

# Sync tasks.md to NOTES.md (migration utility)
.spec-flow/scripts/bash/task-tracker.sh sync-status

# Get next available task
.spec-flow/scripts/bash/task-tracker.sh next -Json

# Get phase-wise summary
.spec-flow/scripts/bash/task-tracker.sh summary -Json

# Validate task file structure
.spec-flow/scripts/bash/task-tracker.sh validate -Json

See references/task-tracker-api.md for complete API reference.

**1. Monitor Tool Usage**

Watch for these patterns that indicate task status updates:

Direct file edits:

  • Edit(file_path: "*/tasks.md", ...)
  • Edit(file_path: "*/NOTES.md", ...)
  • Write(file_path: "*/tasks.md", ...)
  • Write(file_path: "*/NOTES.md", ...)

Verbal indicators:

  • "Mark T001 as complete"
  • "Update task status for T002"
  • "Task T003 is done"
  • "Completed T004"
  • "T005 failed"

Checkbox change patterns:

  • old_string: "- [ ] T001" → new_string: "- [X] T001"
  • Adding ✅ markers to NOTES.md manually
**2. Intercept and Block Manual Edits**

When Edit/Write detected on tasks.md or NOTES.md:

⛔ MANUAL EDIT BLOCKED

File: specs/001-feature/tasks.md
Attempted change: Mark T001 as [X] completed

❌ Reason: Manual edits break atomic sync between tasks.md and NOTES.md

✅ Solution: Use task-tracker command instead

Auto-converting to:
  .spec-flow/scripts/bash/task-tracker.sh mark-done-with-notes -TaskId T001

This atomically updates:
  - tasks.md checkbox: - [X] T001
  - NOTES.md marker: ✅ T001: ... - est (2025-11-19 10:30)
  - Progress summary in tasks.md (if update-tasks-summary.ps1 exists)

Do NOT execute the manual edit. Instead, proceed to conversion phase.

**3. Convert Manual Edit to Task-Tracker Command**

Parse the intended change:

Extract from Edit/Write tool parameters:

  • TaskId: T### from checkbox pattern or ✅ marker
  • NewStatus: Infer from checkbox ([X] = completed, [~] = in-progress, [ ] = pending)
  • Notes: Extract from NOTES.md addition or Edit context
  • ErrorMessage: Extract if marking failed

Generate equivalent command:

// Pseudo-logic
if (newStatus === 'X' || intent === 'mark complete') {
  command = 'mark-done-with-notes'
  params = {
    TaskId: extractedTaskId,
    Notes: extractedNotes || "",
    Duration: "est"  // Default if not specified
  }
}
else if (newStatus === '~' || intent === 'mark in progress') {
  command = 'mark-in-progress'
  params = { TaskId: extractedTaskId }
}
else if (intent === 'mark failed' || errorMessage pres
Full SKILL.md on GitHub

Install task-status-sync in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

references/conversion-logic.mdreferences/file-formats.mdreferences/task-tracker-api.mdreferences/validation-rules.md

FAQ

What does the task-status-sync skill do?

Enforce atomic task status updates through task-tracker commands only. Prevent manual edits to NOTES.md and tasks.md that break synchronization. Auto-trigger when detecting Edit/Write attempts to task files, task completion mentions, or status update discussions. Auto-convert manual edit attempts to equivalent task-tracker commands. Validate task-tracker usage and auto-fix common mistakes.

How do I install the task-status-sync skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the task-status-sync skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare task-status-sync with