Community编程与开发github.com

refoundai/problem-definition(问题定义)

帮助用户在跳入解决方案之前清晰定义问题。适用于:界定新功能范围、验证产品创意、难以清晰表达构建内容,或陷入新技术“追新陷阱”时使用。

problem-definition(问题定义) 是什么?

该技能旨在引导开发者和产品人员系统性地完成问题定义,避免在尚未充分理解问题本质时就急于寻找技术解决方案,从而减少返工和资源浪费。它支持在各类AI编码助手(如Claude Code、Cursor、Codex等)中使用。其核心工作流包括:引导用户从业务背景出发,明确“谁在什么场景下遇到了什么问题”,将模糊需求转化为可验证的具体问题陈述;协助区分“表面问题”与“根源问题”,并通过多轮追问和案例参考,帮助用户构建闭环的假设与成功标准;最终输出结构化的文档,包含问题背景、用户画像、预期影响和初步的解决方向。该技能特别适合在功能规划阶段、产品迭代初期或遇到技术选型困惑时调用,能显著提升沟通效率与项目成功率。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/refoundai/lenny-skills/tree/main/skills/problem-definition

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

problem-definition(问题定义) 是做什么的?

帮助用户在跳入解决方案之前清晰定义问题。适用于:界定新功能范围、验证产品创意、难以清晰表达构建内容,或陷入新技术“追新陷阱”时使用。

为什么使用问题定义技能?

  • 减少返工:在编码前明确“为什么”和“为谁”而建。
  • 聚焦价值:确保你最聪明的时间花在重要问题上。
  • 避免追新陷阱:将对话从“我们能做什么?”引导至“我们需要解决什么?”
  • 通用化:适用于从产品构思到调试会话的任何场景。

如何触发该技能

你可以随时主动请求该技能,但推荐在出现以下信号时使用:

  • 听到模糊的陈述,如“我们需要一个像X一样的系统”
  • 在编写代码前讨论功能映射
  • 反复重构相同代码块
  • 难以解释你正在解决什么

问题定义原则

  1. 从上下文开始:获取项目背景、用户角色和业务约束
  2. 用5个为什么:追问深层原因,直至触及真实问题
  3. 用用户的语言:描述问题,保留用户的实际用词
  4. 定义成功标准:如何衡量解决效果?
  5. 保持开放:避免过早锚定特定解决方案

示例对话片段

用户: 我想给这个应用添加一个建议引擎。 技能: 了解。让我们退一步,定义问题。为什么用户需要建议?他们现在使用什么替代方案? 用户: 用户花费太多时间滚动浏览目录。 技能: 明白了。所以核心问题是:"用户需要一种更快的方式发现相关内容"。这对吗?让我们列出约束条件:移动端优先、不到300毫秒延迟、离线支持。

产出物

一个清晰、简洁的问题陈述,包含:

  • 用户角色
  • 期望 vs 当前行为
  • 失败模式的影响
  • 成功标准(可衡量的KPI)

兼容平台

  • 所有AI编码助手(Claude Code、Cursor、Codex、Copilot等)
  • 以纯文本或无结构Markdown形式使用,无需特殊集成

许可证

MIT — 可自由使用和修改。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

refoundai/ai-evals

Help users create and run AI evaluations. Use when someone is building evals for LLM products, measuring model quality, creating test cases, designing rubrics, or trying to systematically measure AI output quality.

refoundai/ai-product-strategy

Help users define AI product strategy. Use when someone is building an AI product, deciding where to apply AI in their product, planning an AI roadmap, evaluating build vs buy for AI capabilities, or figuring out how to integrate AI into existing products.

refoundai/analyzing-user-feedback

Help users synthesize and act on customer feedback. Use when someone is analyzing NPS responses, processing support tickets, reviewing user research, synthesizing feedback from multiple channels, or trying to identify patterns in customer input.

refoundai/behavioral-product-design

Help users apply behavioral science to product design. Use when someone is designing for habit formation, reducing friction, applying psychology to UX, increasing retention through behavioral principles, or using nudges to influence user behavior.

refoundai/brand-storytelling

Help users craft compelling brand narratives. Use when someone is defining brand strategy, writing company positioning, creating pitch narratives, developing messaging frameworks, or trying to make their company story more memorable.

refoundai/building-a-promotion-case

Help users get promoted at work. Use when someone is preparing for a promotion conversation, building their case for advancement, trying to understand what's blocking their promotion, or figuring out how to get to the next level in their career.

refoundai/building-sales-team

Help users build and scale their sales organization. Use when someone is hiring their first salespeople, deciding when to bring on sales leadership, structuring sales compensation, or transitioning from founder-led sales.

refoundai/building-team-culture

Help users build and maintain strong team culture. Use when someone is defining team values, creating psychological safety, onboarding to a new team, navigating cultural change, or building distributed team norms.

refoundai/building-with-llms

Help users build effective AI applications. Use when someone is building with LLMs, writing prompts, designing AI features, implementing RAG, creating agents, running evals, or trying to improve AI output quality.

refoundai/career-transitions

Help users navigate career changes and pivots. Use when someone is considering a new role, transitioning into product management, evaluating job offers, taking a sabbatical, or feeling stuck in their current position.

refoundai/coaching-pms

Help users develop and coach product managers. Use when someone is managing PMs, creating development plans, running performance reviews, or trying to level up their PM team's capabilities.

refoundai/community-building

Help users build and grow product communities. Use when someone is starting a community, scaling an ambassador program, driving community-led growth, or choosing between user, developer, or partner communities.

refoundai/competitive-analysis

Help users understand and respond to competition. Use when someone is positioning against competitors, evaluating market threats, running competitive war games, or deciding how much to focus on competitors versus customers.

refoundai/conducting-interviews

Help users conduct effective hiring interviews. Use when someone is designing an interview loop, crafting interview questions, evaluating candidates in real-time, or building a structured interview process.

refoundai/conducting-user-interviews

Help users run better customer and user interviews. Use when someone is preparing for user research, planning discovery interviews, writing interview questions, analyzing interview findings, or trying to understand customer needs.

refoundai/content-marketing

Help users build content marketing strategies. Use when someone is starting a blog, building SEO, creating thought leadership content, or deciding on content formats and distribution channels.

refoundai/cross-functional-collaboration

Help users work effectively across functions. Use when someone is navigating PM-engineering relationships, resolving cross-team conflicts, building product trios, or improving handoffs between design, engineering, and product.

refoundai/defining-product-vision

Help users create compelling product visions. Use when someone is writing a vision statement, defining a long-term product direction, aligning teams on the future state, or distinguishing vision from strategy.

refoundai/delegating-work

Help users delegate effectively. Use when someone is struggling to let go of tasks, deciding what to delegate, building team autonomy, or balancing being hands-on vs hands-off.

refoundai/design-engineering

Help users understand and build design engineering capabilities. Use when someone is creating a design engineering function, hiring design engineers, or bridging the gap between design and engineering teams.

相关技能