update-docs

Update AGENTS.md files with session learnings about patterns and commands.

862|67|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/saffron-health/libretto --skill update-docs-saffron-health
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-docs
Source: https://github.com/saffron-health/libretto/tree/main/.agents/skills/update-docs
Command: npx skills add https://github.com/saffron-health/libretto --skill update-docs-saffron-health

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps maintain up-to-date documentation by automatically updating AGENTS.md files based on learnings from a development session.

Core Features & Use Cases

  • Automated Documentation Updates: Ensures that patterns, commands, and conventions discovered during development are promptly recorded.
  • Contextual Documentation: Learns from the conversation to identify relevant documentation sections.
  • Use Case: After a session where a new, useful command-line pattern for interacting with the system was established, use this Skill to add that pattern to the relevant AGENTS.md file.

Quick Start

Use the update-docs skill to update AGENTS.md files based on what was learned in this session about common error handling patterns.

Frequently Asked Questions about update-docs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I keep AGENTS.md documentation in sync with development session learnings?

To keep AGENTS.md documentation in sync, you can automatically update files with patterns, commands, and architectural insights discovered during a development session. The Skill identifies relevant sections from conversation context and records them.

What is the best way to document common pitfalls and conventions discovered during a coding session?

Documenting common pitfalls and conventions is best handled by extracting session learnings and appending them to AGENTS.md files. This approach ensures discovered development patterns are promptly recorded for future reference.

How does automatic documentation update for markdown knowledge management work?

Automatic documentation update works by analyzing the current development conversation to identify relevant learnings, then applying those insights to the appropriate AGENTS.md sections while adhering to established style and placement guidelines.

Do I need a specific markdown file structure to update AGENTS.md files with session insights?

You need to follow the guidelines in `docs/updating-agents-docs.md` for content placement and style. This file defines the structural rules required before the Skill can properly update your AGENTS.md documentation.

Can I use this approach to document error handling patterns established during a session?

Yes, you can use this approach to document error handling patterns. It applies to recording commands, conventions, architectural insights, and specific pitfalls discovered during development sessions in your AGENTS.md files.

When should I not use automated updates for developer documentation?

You should not use automated updates when the session learnings lack reusable patterns, architectural insights, or conventions. It is designed for persistent knowledge management, not transient debugging steps or temporary code fixes.