Skip to content
Development
Skill

/focus-problem

Deeply scope a problem before coding: parallel Explore agents map related files, similar implementations, and test patterns, producing a problem definition, boundaries, and minimal implementation plan. Use when planning a feature, investigating a bug, or entering an unfamiliar

From plugin
director-mode-lite
8036 skills14 agents6 hooks

Claude Code

$ npx -y skills add claude-world/director-mode-lite --skill focus-problem --agent claude-code

SKILL.md

focus-problem.SKILL.md
name: focus-problem
description: "Deeply scope a problem before coding: parallel Explore agents map related files, similar implementations, and test patterns, producing a problem definition, boundaries, and minimal implementation plan. Use when planning a feature, investigating a bug, or entering an unfamiliar codebase area."
user-invocable: true

Focus Problem Analysis

Analyze: $ARGUMENTS

Explore Codebase First

Before diving in, use the Explore agent to understand the context:

Before dispatch, preserve the bounded exploration question and expected result. If Claude's Agent tool is unavailable or withheld, or Codex's `spawn_agent` interface is unavailable or withheld, the maximum depth is reached, or a concurrency limit rejects the call, do not retry or invent exploration findings. Return an incomplete `dispatch_request` and do not advance the plan.

Choose exactly one provider-native form:

  • Claude Code: `Agent(subagent_type="Explore", model="haiku", prompt="<bounded prompt>")`
  • Codex CLI: `spawn_agent(agent_type="explorer", task_name="focus_problem", message="<bounded prompt>")`
Agent(subagent_type="Explore", model="haiku", prompt="""
Explore the codebase for: $ARGUMENTS (thoroughness: medium)
Focus on:
1. Relevant files and modules
2. Existing similar features
3. Test patterns
4. Architecture patterns
""")

In Codex, send the same exploration request through `spawn_agent(...)`; do not invoke the Claude example as a second dispatch.

Analysis Framework

1. Core Problem Identification

  • **What is the real problem?**
  • **Why does it need to be solved?**
  • **What happens if we don't solve it?**

2. Minimal Solution Scope

  • **What's the minimum change needed?**
  • **Which features are essential?**
  • **What can be deferred or omitted?**

3. Solution Evaluation

  • **Option A (Simplest):**
  • **Option B (Balanced):**
  • **Option C (Complete):**
  • **Recommendation:** Choose the simplest viable option

4. Implementation Plan

  • **Step 1:** Write tests
  • **Step 2:** Minimal implementation
  • **Step 3:** Update documentation
  • **Step 4:** Commit changes

Output Template

## Problem Definition

### Summary
[One sentence description]

### User Need
[Who needs this? What do they want to achieve?]

### Success Criteria
[How do we know it's done?]

### Scope
- In scope: [List]
- Out of scope: [List]

### Affected Files
- [file1.ts] - [why]
- [file2.ts] - [why]

### Risk Assessment
- [Potential risks and mitigations]

---

Follow this process strictly. Don't skip steps.

Read more
@claude-world
Ships withdirector-mode-lite

Use Claude Code like a Director, not a Programmer. MIT toolkit with Auto-Loop, guided setup, 27 commands, 14 agents, and 32 skills.

8036 skills14 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
80
Star history of claude-world/director-mode-lite on GitHub, a chart by star-history.com

Other skills on director-mode-lite.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about focus-problem.

Which coding agents can use focus-problem?
focus-problem installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.