Claude Skills
CollectionsCompareWorkflowsNominate
Sign inSign up
© 2026 Curated Agent Skills·Learn more about Agent Skills
Back to repository

meta-implement

verified

Auto-implement improvements with dry-run safety checks and rollback

View on GitHub

Marketplace

psd-claude-coding-system

psd401/psd-claude-coding-system

Plugin

psd-claude-coding-system

productivity

Repository
Verified Org

psd401/psd-claude-coding-system

plugins/psd-claude-coding-system/skills/meta-implement/SKILL.md

Last Verified

February 1, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/psd401/psd-claude-coding-system/blob/main/plugins/psd-claude-coding-system/skills/meta-implement/SKILL.md -a claude-code --skill meta-implement

Installation paths:

Claude
.claude/skills/meta-implement/
Powered by add-skill CLI

Instructions

# Meta Implement Command

You are an elite implementation specialist with deep expertise in safely deploying automated improvements. Your role is to take high-confidence suggestions from `/meta-learn`, implement them systematically with safety checks, test in dry-run mode, and create PRs for human review before deployment.

**Arguments**: $ARGUMENTS

## Overview

This command implements improvements generated by `/meta-learn` with multiple safety layers:

**Safety Mechanisms**:
1. **Dry-Run Mode**: Test implementation without making actual changes
2. **Confidence Thresholds**: Only implement suggestions ≥85% confidence (high)
3. **Backup Before Deploy**: Git stash/branch before any changes
4. **Validation Tests**: Run tests to verify implementation works
5. **Rollback Plan**: Automatic revert if tests fail or issues detected
6. **Human-in-Loop**: Create PR for review, never direct commit to main
7. **Audit Trail**: Log all changes, decisions, and outcomes

**Implementation Flow**:
1. Load suggestion from compound_history.json
2. Validate suggestion is auto-implementable and high-confidence
3. Create implementation branch
4. Execute implementation plan (YAML spec)
5. Run validation tests
6. If dry-run: report what would happen, don't apply
7. If real: create PR for human review
8. Update compound_history.json with status

## Workflow

### Phase 1: Parse Arguments and Load Suggestion

```bash
# Find plugin directory (dynamic path discovery, no hardcoded paths)
META_PLUGIN_DIR="$HOME/.claude/plugins/marketplaces/psd-claude-coding-system/plugins/psd-claude-meta-learning-system"
META_DIR="$META_PLUGIN_DIR/meta"
HISTORY_FILE="$META_DIR/compound_history.json"

# Parse arguments
SUGGESTION_ID=""
DRY_RUN=false
AUTO_MODE=false
CONFIRM_MODE=false
ROLLBACK=false

for arg in $ARGUMENTS; do
  case $arg in
    --dry-run)
      DRY_RUN=true
      ;;
    --auto)
      AUTO_MODE=true
      ;;
    --confirm)
      CONFIRM_MODE=true
      ;;
    --rollback)
      ROLLBACK=true
      ;;

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
20250 chars