AgentSkillsCN

capturing-learnings

在完成任务后,将会话中的学习成果记录成文档。当用户说“gg”、表达满意,或在完成复杂任务后,可使用此技能。

SKILL.md
--- frontmatter
name: capturing-learnings
description: Captures session learnings into documentation after completing tasks. Use when the user says "gg", expresses satisfaction, or after completing complex tasks.
argument-hint: <optional: summary of what went well>

Capturing Session Learnings

After completing work, capture useful patterns and insights for future reference.

What to Document

  • Successful patterns and workflows that worked well
  • New guidance or requirements from the user
  • Common pitfalls discovered and how to avoid them
  • Technical insights worth preserving

Where to Update

  • .claude/CLAUDE.md - Project-wide principles and workflows
  • .claude/skills/*/SKILL.md - Skill-specific improvements
  • docs/ - Architecture and design decisions
  • Project README - When adding new capabilities

Guidelines

  • Keep updates concise and scannable
  • Merge with existing content rather than duplicating
  • Focus on actionable insights
  • Use consistent terminology
  • Commit changes with a descriptive message explaining what was learned