document-gotchas

Extract, deduplicate, categorize, and consolidate development gotchas from JSON insights into markdown and JSON outputs.

3|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/GDSDN/kord-aios --skill document-gotchas
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: document-gotchas
Source: https://github.com/GDSDN/kord-aios/tree/main/src/features/builtin-skills/kord-aios/documentation/document-gotchas
Command: npx skills add https://github.com/GDSDN/kord-aios --skill document-gotchas

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the extraction, deduplication, categorization, and consolidation of development "gotchas" (common mistakes, anti-patterns, or tricky issues) from session insights into a searchable knowledge base.

Core Features & Use Cases

  • Automated Extraction: Pulls gotchas from various insight fields (gotchasFound, discoveries, patternsLearned).
  • Deduplication & Categorization: Ensures a clean, organized knowledge base by removing duplicates and assigning categories.
  • Knowledge Base Generation: Creates human-readable (gotchas.md) and machine-readable (gotchas.json) outputs.
  • Use Case: After a development session where an agent encountered several tricky TypeScript inference issues, this skill automatically adds them to a central gotchas.md file, making it easy for the team to learn from past mistakes.

Quick Start

Update the gotchas knowledge base by running the document-gotchas update command.

Frequently Asked Questions about document-gotchas

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

FAQPage Schema
How do I automatically extract development gotchas from session insights?▼

Automated extraction of development gotchas from session insights involves scanning JSON files to pull common mistakes and anti-patterns from fields like `gotchasFound`, `discoveries`, and `patternsLearned` into a centralized repository.

What is the best way to consolidate tricky development issues into a searchable knowledge base?▼

Consolidating tricky development issues into a searchable knowledge base requires categorizing and deduplicating extracted gotchas, then generating dual markdown and JSON outputs for both human readability and machine processing.

How do I deduplicate and categorize anti-patterns found during post-session analysis?▼

Deduplicating and categorizing anti-patterns during post-session analysis is automated by processing session insights to remove repeated mistakes and assign distinct categories before writing them to a knowledge base.

Can I generate both markdown and JSON outputs for a centralized gotchas repository?▼

Yes, generating both markdown and JSON outputs for a centralized gotchas repository is supported, producing human-readable `gotchas.md` and machine-readable `gotchas.json` files for continuous improvement workflows.

Does consolidating development gotchas require any specific dependencies or external libraries?▼

Consolidating development gotchas requires no external dependencies, relying solely on internal scripts to parse JSON insight files and generate the markdown and JSON knowledge base outputs.

When should I run a gotchas knowledge base update for continuous improvement?▼

You should run a gotchas knowledge base update after any development session where tricky issues or anti-patterns are encountered, applying it to post-session analysis to ensure continuous improvement workflows capture new mistakes.