implement-spec

Orchestrate spec-to-PR workflows with session tracking and isolated worktrees.

4|1|Updated Oct 29, 2025
One-click install
npx skills add https://github.com/samjhecht/wrangler --skill implement-spec
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: implement-spec
Source: https://github.com/samjhecht/wrangler/tree/main/skills/implement-spec
Command: npx skills add https://github.com/samjhecht/wrangler --skill implement-spec

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill orchestrates spec-to-PR workflows with session tracking, worktree isolation, and audit trails.

Core Features & Use Cases

  • Phase-driven orchestration: INIT, PLAN, EXECUTE, VERIFY, PUBLISH, REPORT
  • Audit trails: per-session logs
  • Recovery and isolation: worktree-based isolation

Quick Start

Use: /wrangler:implement [spec-file] to generate a PR with a full audit trail.

Frequently Asked Questions about implement-spec

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

FAQPage Schema
How do I automate a spec-to-PR workflow with full audit tracking?

Spec-to-PR automation orchestrates implementation from specification through pull request with session tracking and comprehensive audit trails. This Skill phases the workflow into INIT, PLAN, EXECUTE, VERIFY, PUBLISH, and REPORT stages, capturing every decision and action in machine-verifiable logs for full observability and recovery.

What is worktree isolation and why use it for PR workflows?

Worktree isolation creates separate working directories for each implementation task, preventing conflicts and enabling safe parallel work. This Skill uses isolated worktrees to ensure clean separation between concurrent implementation phases while maintaining a single source of truth for the audit trail.

Can I recover from failures mid-workflow in CI/CD orchestration?

Yes. This Skill provides session initialization and per-task auditing with machine-verifiable logs, allowing you to resume execution from checkpoints without losing context. The comprehensive audit trail enables full recovery by replaying sessions and identifying exactly where failures occurred.

How do I track implementation progress and decisions across team members?

Implementation tracking via audit trails captures session-level logs that document every phase, task execution, and verification step. Structured outputs and machine-verifiable logs create a complete decision history accessible to the team for transparency and compliance.

Does this work with existing GitHub PR workflows?

Yes. This Skill integrates into GitHub PR workflows by orchestrating spec implementation through phase-driven execution and publishing results as pull requests. It enhances standard workflows by adding session tracking, worktree isolation, and comprehensive auditing for complex automation scenarios.

What output does the orchestration produce for downstream systems?

The workflow produces structured outputs and machine-verifiable logs designed for downstream RAG indexing and system integration. Outputs include per-session audit trails, task execution records, and pull request metadata that support further analysis and automation.