跳到正文
TakoAPI
返回技能列表

brainstorming-2

由 nefas11 提供

Coding Agents & IDEs
476下载量由 clawskills.sh 提供
1星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Socratic design refinement before coding.

描述

该技能的功能

A structured pre-coding workflow that uses Socratic questioning to clarify vague feature requests. The agent asks about goals, constraints, and success criteria, then presents 2-3 implementation approaches with trade-offs before writing any code. It produces a design document saved to the project repo.

Forces requirement gaps to surface before implementation begins, avoiding the cost of rewriting code that solved the wrong problem.

何时使用

  • Clarifying a vague 'make it better' request before touching code
  • Choosing between a quick fix and a more robust architecture
  • Documenting design decisions before a large refactor
  • Aligning on success criteria when a feature affects multiple components
  • Capturing edge cases before writing tests

示例工作流

输入

User asks: Add caching to the app

智能体
  1. 1

    Asks what should be cached, what the invalidation strategy is, and what staleness is acceptable

  2. 2

    Presents three approaches: in-memory cache, Redis with TTL, and event-based invalidation with trade-offs and complexity scores for each

  3. 3

    User selects Redis with TTL; agent drafts a design document covering problem statement, solution, affected components, edge cases, and success criteria

  4. 4

    Saves design doc to docs/design/2026-03-16-add-caching.md

  5. 5

    Passes design doc to the writing-plans skill for implementation planning

输出

Design document saved to docs/design/2026-03-16-add-caching.md, ready for planning phase

安装

clawhub install nefas11/brainstorming-2

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接