Agent skill

plan-validate-execute-template-djankies-claude-configs

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/testing/plan-validate-execute-template-djankies-claude-configs

SKILL.md

Plan-Validate-Execute Template

Purpose

This template demonstrates the Plan → Validate → Execute → Verify workflow for operations requiring approval gates and validation.

Use this template when:

  • Changes are irreversible or high-risk
  • User approval needed before execution
  • Validation required before and after changes
  • Rollback procedures necessary

Workflow

Phase 1: Plan

Phase 2: Validate Plan

Phase 3: Execute

Phase 4: Verify

Progressive Disclosure

Core workflow (this file):

  • Plan → Validate → Execute → Verify phases
  • Approval gates and checkpoints

Detailed guidance (references/):

  • references/migration-example.md - Complete database migration
  • Rollback procedures and error handling

Example Usage

xml
<plan>
Migration Plan: Users table normalization
1. Create new addresses table
2. Migrate address data
3. Add foreign keys
4. Drop old columns
Estimated time: 5 minutes
Risk: Medium (data transformation)
Rollback: Restore from backup
</plan>

<validate-plan>
✓ Sample data transformation verified
✓ Foreign key constraints tested
✓ Rollback procedure confirmed
⚠️ Awaiting user approval to proceed
</validate-plan>

<execute>
[Step 1/4] Creating addresses table... ✓
[Step 2/4] Migrating 1,245 records... ✓
[Step 3/4] Adding foreign keys... ✓
[Step 4/4] Dropping old columns... ✓
</execute>

<verify>
✓ All 1,245 records migrated successfully
✓ Foreign key constraints valid
✓ No orphaned records
✓ Application tests passing
Migration complete!
</verify>

See Also

  • @references/migration-example.md - Full migration workflow

Didn't find tool you were looking for?

Be as detailed as possible for better results