Break down a problem to its fundamentals before implementing. Use for complex or ambiguous problems.
Structured problem decomposition before jumping into implementation. Forces clarity of thought.
Walk through these steps with the user, pausing for input at each stage:
~/.claude-setup/tools/mem-search "<problem keywords>". If relevant prior analysis exists, use it as a starting point rather than decomposing from scratch.For each novel subproblem, identify 2-3 approaches:
For each approach:
By default, output the analysis in chat. If the argument includes a file path (e.g., /first-principles "auth redesign" --output analysis.md), or if the problem is complex enough to warrant a persistent artifact, write the full analysis to a markdown file instead.
When writing to file:
first-principles-analysis.md (or user-specified path) in the project root<path> — review, annotate inline, and I'll iterate"This produces a persistent, reviewable artifact rather than ephemeral chat output.