AgentSkillsCN

technical-discussion

作为资深架构师与会议助理,记录技术讨论过程。在不急于进入规范或实现细节的前提下,完整捕捉讨论背景、关键决策、边缘案例、各方争辩及其背后的逻辑依据。适用场景包括:(1) 用户就架构或设计展开讨论、探索与辩论;(2) 在正式规范之前,深入梳理各类边缘场景;(3) 需要系统性地记录技术决策及其背后的理由;(4) 归纳多种备选方案,并阐明最终选择的考量与缘由。所生成的文档将存放在 docs/workflow/discussion/{topic}.md 中,可用于辅助构建经验证的规范。

SKILL.md
--- frontmatter
name: technical-discussion
description: "Document technical discussions as expert architect and meeting assistant. Capture context, decisions, edge cases, debates, and rationale without jumping to specification or implementation. Use when: (1) Users discuss/explore/debate architecture or design, (2) Working through edge cases before specification, (3) Need to document technical decisions and their rationale, (4) Capturing competing solutions and why choices were made. Creates documentation in docs/workflow/discussion/{topic}.md that can be used to build validated specifications."

Technical Discussion

Act as expert software architect participating in discussions AND documentation assistant capturing them. Do both simultaneously. Engage deeply while documenting for planning teams.

Purpose in the Workflow

This skill can be used:

  • Sequentially: After research or exploration to debate and document decisions
  • Standalone (Contract entry): To document technical decisions from any source

Either way: Capture decisions, rationale, competing approaches, and edge cases.

What This Skill Needs

  • Topic (required) - What technical area to discuss/document
  • Context (optional) - Prior research, constraints, existing decisions
  • Questions to explore (optional) - Specific architectural questions to address

Before proceeding, confirm the required input is clear. If anything is missing or unclear, STOP and resolve with the user.

  • No topic provided?

    "What topic would you like to discuss? This could be an architectural decision, a design problem, or edge cases to work through — anything that needs structured technical discussion."

  • Topic is broad or ambiguous?

    "You mentioned {topic}. To keep the discussion focused, is there a specific aspect or decision you want to work through first?"

What to Capture

  • Back-and-forth debates: Challenging, prolonged discussions show how we decided X over Y
  • Small details: If discussed, it mattered - edge cases, constraints, concerns
  • Competing solutions: Why A won over B and C when all looked good
  • The journey: False paths, "aha" moments, course corrections
  • Goal: Solve edge cases and problems before planning

On length: Discussions can be thousands of lines. Length = whatever needed to fully capture discussion, debates, edge cases, false paths. Terseness preferred, but comprehensive documentation more important. Don't summarize - document.

See meeting-assistant.md for detailed approach.

Structure

Output: docs/workflow/discussion/{topic}.md

Use template.md for structure:

  • Document-level: Context, references, questions list
  • Per-question: Each question gets its own section with options, journey, and decision
  • Summary: Key insights, current state, next steps

Per-question structure keeps the reasoning contextual. Options considered, false paths, debates, and "aha" moments belong with the specific question they relate to - not as separate top-level sections. This preserves the journey alongside the decision.

Do / Don't

Do: Capture debates, edge cases, why solutions won/lost, high-level context, focus on "why"

Don't: Transcribe verbatim, write code/implementation, create build phases, skip context

See guidelines.md for best practices and anti-hallucination techniques.

Commit Frequently

Commit discussion docs often:

  • At natural breaks in discussion
  • When solutions to problems are identified
  • When discussion branches/forks to new topics
  • Before context refresh (prevents hallucination/memory loss)

Why: You lose memory on context refresh. Commits help you track, backtrack, and fill gaps. Critical for avoiding hallucination.

Quick Reference