← スキル一覧に戻る

plan-validate-execute-template
by djankies
⭐ 0🍴 0📅 2025年11月25日
SKILL.md
name: plan-validate-execute-template description: [REPLACE] Plan changes, validate before execution, execute with verification. Use when [REPLACE with specific triggers]. allowed-tools: Read, Write, Edit, Grep, Glob, Bash, TodoWrite
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
<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
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です