Skills

Piv Implement

Executes an implementation plan task-by-task with validation at every step.

Install

npx skills add coleam00/skills --skill piv-implement -g -a claude-code -y
Repository
coleam00/skills726
Category
Engineering
Updated
5d ago
License
MIT
Context cost
Lightabout 985 tokens
Runs scripts
No, instructions only

What it does

Executes an implementation plan task-by-task with validation at every step. Use when you have a completed feature plan and want to implement it in one pass.

Execute: Implement from Plan

Plan to Execute

Read plan file: $ARGUMENTS

Before you start, work on a feature branch

A ticket gets built on its own branch, so it can become one PR. Ideally you're already on that branch, cut it before planning, so the plan commit you made is on it and rides into the PR; a plan committed on the base branch won't be in this branch's PR. If you're still on base, this step creates the branch now. Detect the base branch (don't hardcode main): git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@' (fallback main).

  • On the base branch, clean → create one: git checkout -b feature/<plan-slug>.
  • Already on a feature branch or in a worktree → use it.
  • On the base branch with uncommitted changes → STOP: commit or stash first.

(One branch per ticket is also what makes parallel worktrees clean later.)

Execution Instructions

1. Read and Understand

  • Read the ENTIRE plan carefully
  • Understand all tasks and their dependencies
  • Note the validation commands to run
  • Review the testing strategy

2. Execute Tasks in Order

For EACH task in "Step by Step Tasks":

a. Navigate to the task

  • Identify the file and action required
  • Read existing related files if modifying

b. Implement the task

  • Follow the detailed specifications exactly
  • Maintain consistency with existing code patterns
  • Include proper type hints and documentation
  • Add structured logging where appropriate

c. Verify as you go

  • After each file change, check syntax
  • Ensure imports are correct
  • Verify types are properly defined
  • Run the task's own VALIDATE command before starting the next task. Every task in the plan carries one. A task is not done until its check passes, if it fails, fix it now rather than carrying the failure forward. The full suite still runs at step 4; this is the per-task gate that keeps step 4 from becoming a pile-up.
Read the whole SKILL.md on GitHub

More in Engineering