Files
leo-claude-mktplace/plugins/clarity-assist/commands/clarify.md
lmiranda 80b9e919c7 refactor(contract-validator): extract skills from commands
Extract shared knowledge from 5 command files into 6 reusable skills:
- plugin-discovery.md: Plugin scanning and discovery
- interface-parsing.md: README.md and CLAUDE.md parsing
- dependency-analysis.md: MCP server and data flow analysis
- validation-rules.md: Compatibility and agent validation
- mcp-tools-reference.md: Available MCP tools
- visual-output.md: Standard formatting and headers

Slim commands from 263-164 lines down to 44-55 lines each.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 16:57:13 -05:00

1.3 KiB

/clarify - Full Prompt Optimization

Visual Output

+----------------------------------------------------------------------+
|  CLARITY-ASSIST - Prompt Optimization                                |
+----------------------------------------------------------------------+

Purpose

Transform vague, incomplete, or ambiguous requests into clear, actionable specifications using the 4-D methodology with neurodivergent-friendly accommodations.

When to Use

  • Complex multi-step requests
  • Requirements with multiple possible interpretations
  • Tasks requiring significant context gathering
  • When user seems uncertain about what they want

Skills to Load

Load these skills before proceeding:

  • skills/4d-methodology.md - Core 4-phase process
  • skills/nd-accommodations.md - ND-friendly question patterns
  • skills/clarification-techniques.md - Anti-patterns and templates
  • skills/escalation-patterns.md - When to adjust approach

Workflow

  1. Deconstruct - Break down request into components
  2. Diagnose - Identify gaps and conflicts
  3. Develop - Gather clarifications via structured questions
  4. Deliver - Present refined specification

Output Format

Use the Deliver phase template from skills/4d-methodology.md to present the clarified specification for user confirmation.