← ClaudeAtlas

shared-patternslisted

This skill should be used when the user asks to "implement recovery flow", "add error handling to command", "handle gh operation failures", "implement idempotency check", "prevent duplicate issues", "check before creating", "implement batch tracking", "track created and failed items", "implement two-layer metadata", "update custom fields and labels", "standardize command patterns", or when developing or modifying /re:* commands that need consistent error handling, duplicate detection, batch operation tracking, or GitHub Projects metadata updates.
mamiaijf/requirements-expert · ★ 2 · AI & Automation · score 75
Install: claude install-skill mamiaijf/requirements-expert
# Shared Command Patterns ## Quick Reference | Pattern | Purpose | Section | |---------|---------|---------| | [Recovery Flow](#standard-recovery-flow) | Handle `gh` operation failures | Interactive error recovery | | [Idempotency Check](#idempotency-check) | Prevent duplicate issue creation | Query-before-create | | [Batch Tracking](#batch-tracking) | Track multi-item operation results | Summary reporting | | [Two-Layer Metadata](#two-layer-metadata-update) | Update custom fields AND labels | GitHub Projects metadata | ## Command Integration Commands reference these patterns by name rather than reimplementing. When developing or modifying `/re:*` commands, apply the relevant patterns to ensure consistent behavior across the plugin. **Pattern application:** - Load this skill when implementing command error handling or batch operations - Reference pattern names in command instructions (e.g., "Apply Standard Recovery Flow") - Use the AskUserQuestion structures defined here for consistent user interactions - Follow the Batch Tracking summary format for operation reporting For full implementation details, see `references/implementation-details.md`. ## Overview These four patterns provide consistent, reusable behavior across all `/re:*` commands: 1. **Recovery Flow** - Graceful error handling with user choice 2. **Idempotency Check** - Safe re-runs without duplicates 3. **Batch Tracking** - Clear operation summaries 4. **Two-Layer Metadata** - Complete GitHub Projects in