complete-task

Validate prerequisites, update metadata, and archive completed tasks.

84|5|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/fitlab-ai/agent-infra --skill complete-task-fitlab-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: complete-task
Source: https://github.com/fitlab-ai/agent-infra/tree/main/.agents/skills/complete-task
Command: npx skills add https://github.com/fitlab-ai/agent-infra --skill complete-task-fitlab-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the finalization and archival of tasks while enforcing completion prerequisites and audit trails, preventing premature archiving.

Core Features & Use Cases

  • Enforces pre-conditions: all workflow steps completed, reviews approved, code committed, and tests passing.
  • Updates task metadata and archives: moves from active to completed with timestamps and an activity log entry.
  • Supports safety and overrides: allows force override with --force when needed, with explicit warnings.

Quick Start

Use complete-task to finalize a task by validating prerequisites and archiving it to the completed workspace.

Frequently Asked Questions about complete-task

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

FAQPage Schema
How do I archive completed tasks in an AI-driven project workflow?

To archive completed tasks in an AI-driven project workflow, finalize the task by validating prerequisites like code commits and passing tests. The tool then updates metadata, adds an activity log entry, and moves the task directory to the completed archive automatically.

What prerequisites are enforced before task archival and finalization?

Before task archival and finalization, the system enforces that all workflow steps are completed, reviews are approved, code is committed, and tests are passing. This strict validation prevents premature archiving and ensures audit trail integrity.

Can I force a task to complete if workflow validation fails?

Yes, you can force a task to complete when validation fails by using the --force override. This allows finalization and archival while bypassing standard prerequisite checks, but it issues explicit warnings to maintain audit trail awareness.

What is the best way to prevent premature task archiving in automated pipelines?

The best way to prevent premature task archiving in automated pipelines is to enforce strict pre-conditions before finalization. Validating that all workflow steps, reviews, and tests pass ensures tasks only move to the completed workspace when fully ready.

Why does task finalization require an audit trail and activity log entry?

Task finalization requires an audit trail and activity log entry to track the transition from active to completed within AI-driven project workflows. This metadata update records timestamps and validation states, ensuring strict compliance and historical accountability.