doc

Persist mid-work decisions, findings, and reasoning to project documentation files.

18|2|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/safety-quotient-lab/psychology-agent --skill doc-safety-quotient-lab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doc
Source: https://github.com/safety-quotient-lab/psychology-agent/tree/main/.claude/skills/doc
Command: npx skills add https://github.com/safety-quotient-lab/psychology-agent --skill doc-safety-quotient-lab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents valuable insights, decisions, and reasoning from being lost during active work sessions by persisting them to the correct files before they are forgotten or context is compressed.

Core Features & Use Cases

  • Mid-work Documentation: Captures and saves design decisions, findings, reasoning chains, and conventions as they emerge.
  • Intelligent Routing: Automatically determines the most appropriate file (e.g., MEMORY.md, architecture.md, snapshot files) for different types of information.
  • Novelty Check: Prevents duplication by checking if information already exists in the target file before writing.
  • Use Case: After a complex discussion about a new feature's architecture, use this Skill to save the finalized design decision and its rationale to the project's architecture documentation.

Quick Start

Use the doc skill to save the design decision about the new evaluator trigger to memory.

Frequently Asked Questions about doc

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

FAQPage Schema
How do I persist mid-work decisions and findings to project documentation?

To persist mid-work decisions, this Skill captures design rationale and findings, then routes them to appropriate files like MEMORY.md or architecture docs. It identifies information types, checks existing files for novelty, and writes new content to prevent loss during active development cycles.

What is the best way to save development reasoning chains before context is lost?

The best way to save reasoning chains is using automated mid-work documentation. This Skill classifies emerging conventions and logic, checks for duplicates against existing project files, and securely logs the rationale to snapshot files before context compression occurs.

How do I automatically route captured knowledge to specific project files?

You can automatically route captured knowledge by leveraging a built-in decision tree. This mechanism evaluates mid-work findings, determines the correct target file such as architecture docs or MEMORY.md, and ensures documentation practices are maintained without manual sorting.

Does this documentation tool check for duplicate information before writing?

Yes, this documentation tool performs a novelty check before writing. It scans target files within your project directory to verify if the decision or finding already exists, preventing duplication and ensuring only new insights are persisted to your architecture docs.

When do I need mid-work documentation for my codebase?

You need mid-work documentation during active development sessions when complex decisions emerge. It prevents valuable insights, design choices, and reasoning from being forgotten or lost when context is compressed, ensuring project knowledge remains accessible.

Can I use this to save finalized design decisions to architecture documentation?

Yes, you can use this to save finalized design decisions to architecture documentation. After a complex discussion, the Skill captures the rationale and routes it directly to the appropriate project files, maintaining accurate knowledge management throughout development.