finish-task

Validate acceptance criteria, commit changes, push, create a PR, and update Jira.

Updated Jan 21, 2026
One-click install
npx skills add https://github.com/itsimonfredlingjack/agentic-dev-loop-w-claude-code-and-github-actions --skill finish-task-itsimonfredlingjack
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finish-task
Source: https://github.com/itsimonfredlingjack/agentic-dev-loop-w-claude-code-and-github-actions/tree/main/.claude/skills/finish-task
Command: npx skills add https://github.com/itsimonfredlingjack/agentic-dev-loop-w-claude-code-and-github-actions --skill finish-task-itsimonfredlingjack

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates the end-to-end finish-task workflow for Ralph Loop tasks, ensuring acceptance criteria are verified, changes are committed, and Jira is updated, all without manual handoffs.

Core Features & Use Cases

  • Automated validation of acceptance criteria before merging.
  • Automatic commit, push to the feature branch, and PR creation.
  • Jira status transitions and task updates to reflect progress.
  • Robust error handling and guardrails to halt on failing tests or linting.

Quick Start

Invoke the finish-task skill after starting a Ralph Loop task and ensuring all prerequisites are met to automatically complete the workflow.

Frequently Asked Questions about finish-task

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

FAQPage Schema
How do I automate creating a pull request and updating Jira after passing pytest and linting checks?

You can automate pull request creation and Jira updates by validating acceptance criteria, running pytest and ruff, then using Git and gh CLI to commit, push, and transition the Jira task status.

What is the best way to enforce acceptance criteria validation before committing code changes in a CI-CD workflow?

Enforcing acceptance criteria before committing requires automated guardrails that halt the task completion workflow if pytest tests or ruff linting checks fail, preventing invalid code from being pushed to the remote branch.

Can I use gh CLI and Git commands to push to a feature branch and create a PR automatically?

Yes, you can use Git to push changes to a correctly named feature branch and the gh CLI to automatically create a pull request, ensuring all prerequisites like passing tests and linting are met beforehand.

Does automated task completion stop if my branch naming convention is incorrect or tests fail?

Automated task completion enforces strict prerequisites and will halt the workflow if branch naming is incorrect, or if pytest and ruff linting checks fail, ensuring robust error handling and code quality.

How do I signal task completion and update Jira APIs without manual handoffs in a Ralph Loop workflow?

To signal completion without manual handoffs, an automated workflow coordinates reading the task file, validating criteria, pushing code, creating a PR, and using Jira APIs to update the task status.

When do I need to run end-to-end task completion automation for Ralph Loop tasks within Claude Code workflows?

You need end-to-end task completion automation when finishing Ralph Loop tasks within Claude Code workflows, coordinating steps from reading the current task file to signaling completion and handling workflow errors.