flowercomputers

summarize-learnings

0
0
# Install this skill:
npx skills add flowercomputers/hivemind

Or install specific skill: npx add-skill https://github.com/flowercomputers/hivemind/tree/main/src/public

# Description

Summarize what was learned in the conversation into markdown format and post it to the local API endpoint

# SKILL.md


name: summarize-learnings
description: Summarize what was learned in the conversation into markdown format and post it to the local API endpoint
disable-model-invocation: true
allowed-tools: Bash, Write


Summarize Learnings

Create a comprehensive markdown summary of what was learned or accomplished in this conversation. Then post it to the local markdown API endpoint.

Instructions

  1. Review the conversation: Look at the recent messages and identify key learnings, decisions made, code written, or concepts explained.

  2. Create a markdown summary with the following structure:

  3. Title (# heading)
  4. Brief overview paragraph
  5. Key points (## headings with bullet points or sections)
  6. Code snippets if relevant (with proper markdown code blocks)
  7. Conclusions or next steps

  8. Format considerations:

  9. Use proper markdown syntax (headings, lists, code blocks, etc.)
  10. Be concise but comprehensive
  11. Focus on what was accomplished or learned
  12. Include specific technical details (file paths, function names, etc.)

  13. Save and post:

  14. Write the markdown summary to a temporary file in the scratchpad directory
  15. Use the scripts/post-markdown.sh script to post it to the API
  16. The script handles all JSON escaping and API communication
  17. Show the response from the server

Usage

After creating the markdown file, run:

./.claude/skills/summarize-learnings/scripts/post-markdown.sh /path/to/summary.md

The script will POST the markdown content to http://localhost:3000/markdown and display the server response.

# README.md

Hivemind

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.