Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

brainstorming-2

bởi nefas11

Coding Agents & IDEs
476Lượt tải do clawskills.sh công bố
1Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Socratic design refinement before coding.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: Add caching to the app

AGENT
  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

ĐẦU RA

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

Cài đặt

clawhub install nefas11/brainstorming-2

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết