defining-problems
Interviews the user in rounds of numbered questions until the problem is defined, with who has it, evidence, impact, and success criteria, before any solution. Use when the user says "what problem are we solving?", or asks to define, frame, or clarify a problem. Never infer from a plain feature or bug request. Not for drafting a design; use writing-technical-design-docs.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- defining-problems
- description
- Interviews the user in rounds of numbered questions until the problem is defined, with who has it, evidence, impact, and success criteria, before any solution. Use when the user says "what problem are we solving?", or asks to define, frame, or clarify a problem. Never infer from a plain feature or bug request. Not for drafting a design; use writing-technical-design-docs.
02 资源文件 2
- 参考文档agents/openai.yaml233 B
- 参考文档shared/skill-calls.md446 B
03 SKILL.md 正文
Defining Problems
Ask "what problem are we trying to solve?" and keep asking until the answer is clear enough that two people would build toward the same outcome. The interview ends in a problem statement the user confirms, never a solution.
Rules
- Stay in the problem space. Propose no design, fix, or tool during the interview, even when the answer looks obvious.
- Treat a solution-shaped answer ("we need a cache", "add retries") as a candidate solution, not the problem. Record it under candidate solutions, then ask what would be different for whom if it existed, and what goes wrong today without it.
- Ask "why?" until the problem is stated in terms of people and outcomes, without naming any solution. Stop when the next "why?" leaves the user's control or scope.
- Finding facts is your job; deciding is the user's. Look up anything the repository, tools, or docs can answer instead of asking. For a wide search, start a read-only subagent with fresh context, never a fork of the parent conversation, so only its findings return.
- Push for evidence over belief: a measurement, an incident, a user quote, or a count. Mark a claim with no evidence as an assumption.
- Never fill a gap silently. Every unknown becomes a question or an entry under open questions.
What a defined problem settles
- Who has the problem: the people or systems affected, and who does not.
- Current state: what happens today, observably, and how often.
- Evidence: how anyone knows the current state is true.
- Impact: what it costs, to whom, and why it matters now.
- Desired state: what is observably true once it is solved, and how it will be measured.
- Constraints and non-goals: fixed limits, and what is out of scope.
- Already tried: earlier attempts and why they fell short.
Rounds
-
Restate the problem as you understand it in one or two sentences, and name every candidate solution already in the request.
-
Ask the frontier: every question whose prerequisites are settled. A question that depends on an answer still open this round waits for a later round. Use this format exactly:
❓ **Q1** - **<short title>**: <question> ➡️ <best guess, citing any fact you found>Word each question so "yes" accepts the best guess, and mark a guess with no fact behind it as a guess.
-
Stop and wait for the user's answers. Then update the picture, recompute the frontier, and ask the next round.
-
When every item under "What a defined problem settles" is answered or recorded as an open question, write the problem statement below and ask the user to confirm or correct it. Revise until they confirm.
Problem statement
Default layout; adapt headings to the problem, but keep every section.
## Problem
<One or two sentences: who, what goes wrong, and why it matters. No solution.>
## Evidence
## Impact
## Success looks like
## Constraints and non-goals
## Assumptions
## Open questions
## Candidate solutions (not yet evaluated)
After the user confirms, offer in one line to turn Success looks like into acceptance criteria, then stop. What comes next, a design, a spike, or dropping the work, is the user's call.
If they accept, call the Skill tool with writing-acceptance-criteria on that
section, per the skill call rules; if it is not
installed, say so.
04 同仓库更多 Skills
writing-system-prompts
Writes and reviews system prompts for AI tools, agents, chatbots, and LLM products using a fixed section order and a quality checklist. Use when the user says "write a system prompt", or when drafting a system prompt or auditing one for missing stop criteria, tool rules, constraints, or examples. Not for compressing an existing prompt; use improving-prompts.
writing-prose
Writes and edits prose for people in a plain, conversational, short house style with no em dashes. Use when the user says "write this up", or when drafting or revising documentation, READMEs, explanations, blog posts, or other human-facing prose. Not for prompts written for agents; use writing-system-prompts or composing-agent-prompts.
writing-acceptance-criteria
Writes or rewrites acceptance criteria until each is provable: one observable outcome with a named check that can fail. Use when the user says "write acceptance criteria", or asks to write, rewrite, or tighten acceptance criteria or a definition of done. Not for proving work meets them; use proving-claims.
summarizing-shipped-work
Summarizes the user's merged GitHub PRs for a timeframe into a grouped, linked shipped-work report with highlights, and offers to update a brag document. Use when the user says "what shipped?", or when asked what the user shipped (this week, last month, a quarter, since a date), for a status update, or to update a brag doc.
running-retros
Mines a session transcript, past agent sessions, or named sources such as PR review comments for durable learnings, then proposes approval-gated edits to skills, AGENTS.md, or docs and tracker issues. Use when the user says "retro", or when the user explicitly asks for a retrospective. Never infer from session end or friction.
learning-from-mistakes
Codifies the latest correction or mistake in the conversation as a short imperative rule in the project or global CLAUDE.md or AGENTS.md, after the user approves it. Use when the user says "learn from this mistake", or when the user asks to learn from a mistake, remember a lesson for next time, add a rule to CLAUDE.md, or not repeat a behavior. Not for a whole session; use running-retros.