Skip to content
done logo

Task Completion Workflow

done

Task completion workflow - run tests, commit/push, update MASTER_PLAN.md status, create SOP if needed. This skill should be used when a task is complete and ready to be finalized. Triggers on "/done", "mark done", "task complete", "finish task".

SKILL.md

Full skill instructions

Task Completion Workflow

Finalize a completed task: verify tests pass, commit changes, update MASTER_PLAN.md, and optionally create an SOP.

Workflow

Step 1: Check What Changed

FIRST, run git status to see what files were modified:

git status
git diff --stat

Output to user immediately:

Files changed:
- [list of modified files]

Step 2: Get Task Information

Ask user for task details. Use AskUserQuestion tool:

Questions:

  1. Task ID (header: "Task ID")

    • Options: "Tracked task (enter ID)" or "Quick fix (no ID)"
  2. Create SOP? (header: "Create SOP")

    • Options: "No" (recommended) or "Yes"

Then ask in plain text: "What's a brief summary of the changes? (1-2 sentences)"

IMPORTANT: Wait for user to provide the summary before proceeding.

Step 3: Run Tests

Execute test suite:

npm run test

If tests fail: STOP immediately. Report failures. Do NOT proceed.

If tests pass: Continue.

Step 4: Update MASTER_PLAN.md (if tracked task)

Skip this step if user selected "Quick fix (no ID)".

CRITICAL: Tasks appear in 3 locations. Update ALL of them:

4a. Summary Table (Roadmap section)
# Before:
| **TASK-XXX** | **Title** | **P2** | 📋 **PLANNED** | ... |

# After:
| ~~**TASK-XXX**~~ | ✅ **Title** | **P2** | ✅ **DONE** (YYYY-MM-DD) | ... |
4b. Subtasks Lists (if applicable)
# Before:
- TASK-XXX: Description

# After:
- ~~TASK-XXX~~: ✅ Description
4c. Detailed Section (#### headers)
# Before:
#### TASK-XXX: Title (📋 PLANNED)

# After:
#### ~~TASK-XXX~~: Title (✅ DONE)
4d. Verify All Updated
grep "TASK-XXX" docs/​MASTER_PLAN.md

All matches must show strikethrough or ✅ DONE.

Step 5: Create SOP (if requested)

Skip if user selected "No" for SOP.

  1. Find next SOP number: ls docs/​sop/​SOP-*.md | tail -1
  2. Create docs/​sop/​SOP-XXX-<name>.md using template:
# SOP-XXX: [Title]

**Created**: [Date]
**Related Task**: [TASK-ID]
**Status**: Active

## Problem
[What problem does this solve?]

## Solution
[Step-by-step solution]

## Key Files
- `path/​to/​file.ts` - [what it does]

## Verification
[How to verify the fix works]

Step 6: Commit and Push (MANDATORY)

This step is NOT optional. ALL changes must be committed and pushed.

# Stage all relevant files (NOT .env, credentials, or backup files)
git add <code-files>
git add docs/​MASTER_PLAN.md  # if task was tracked
git add docs/​sop/​SOP-*.md    # if SOP was created

# Commit with proper message
git commit -m "$(cat <<'EOF'
[TASK-XXX] Brief summary from user

- Key change 1
- Key change 2

Co-Authored-By: Claude Opus 4.5 <[email protected]>
EOF
)"

# Push to remote (triggers deployment)
git push

For quick fixes (no task ID):

git commit -m "$(cat <<'EOF'
fix: Brief summary from user

Co-Authored-By: Claude Opus 4.5 <[email protected]>
EOF
)"
git push

Step 7: Verify Deployment

Wait for CI/​CD and confirm:

# Check if push triggered CI
gh run list --limit 1

Step 8: Report Completion

Output this summary to user:

✅ Task Complete

Summary:
- Tests: ✅ Passed
- Commit: [hash] - [message]
- Push: ✅ Pushed to origin/​master
- Deployment: ✅ CI/​CD triggered
- MASTER_PLAN.md: [Updated / N/​A (quick fix)]
- SOP: [Created SOP-XXX / Not needed]

Important Rules

  1. NEVER skip tests - Always run npm run test first
  2. NEVER skip commit/​push - Changes must be deployed
  3. ALWAYS collect summary - Don't proceed without knowing what changed
  4. Update ALL 3 locations in MASTER_PLAN.md for tracked tasks
  5. Verify with grep after updating MASTER_PLAN.md
  6. Wait for user input - Don't assume or skip questions

Files to NEVER Commit

  • .env* files
  • credentials*.json
  • backups/​shadow.db
  • public/​shadow-latest.json
  • stats.html (generated)

More DevOps & CI/CD skills

Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.

6K 472.6K
View

Set up tracing, logging, and monitoring for deployed ADK agents across Cloud Trace, BigQuery, and third-party platforms.

6K 472.6K
View

Enterprise Azure infrastructure architect generating Bicep or Terraform from workload descriptions.

1.5K 454.3K
View
azure-kubernetes logo
DevOps & CI/CD

azure-kubernetes

Plan and configure production-ready Azure Kubernetes Service clusters with Day-0 and Day-1 best practices.

1.5K 447.1K
View

Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.

92.7K 354.9K
View
just-scrape logo
DevOps & CI/CD

just-scrape

Web search, scraping, extraction, crawling, and monitoring via ScrapeGraph AI CLI.

69 245K
View

Skill for working with Firebase Hosting (Classic). Use this when you want to deploy static web apps, Single Page Apps (SPAs), or simple microservices. Do NOT use for Firebase App Hosting.

462 159.7K
View

Deploy and manage web apps with Firebase App Hosting. Use this skill when deploying Next.js/Angular apps with backends.

462 159.1K
View
deploy-to-vercel logo
DevOps & CI/CD

deploy-to-vercel

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

31.9K 146.6K
View
programmatic-seo logo
DevOps & CI/CD

programmatic-seo

Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.

53.3K 140.1K
View

Design and build isolated, reusable Convex backend components with clear boundaries and app-facing wrappers.

63 123.5K
View

Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".

31.9K 116.1K
View

Coding & apps AI tools

Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View
I
Coding & apps

Imagica

Build a no-code AI app in minutes.

Freemium
View
E
Coding & apps

Emergent.sh

An IDE for code migration from legacy to modern frameworks through coding agents.

Freemium
View
Wonder Dynamics logo
Coding & apps

Wonder Dynamics

Automate CGI animation in live-action scenes

Paid
View
M
Coding & apps

Mixo

Launch a website in seconds with AI.

Paid
View
AI Code Convert logo
Coding & apps

AI Code Convert

Streamline Your Coding Experience with AI Code Helper

Free
View