---
name: managing-shared-programming-gotchas-across-developer-tools
description: "Looks up verified programming gotchas and repo-specific caveats in a shared knowledge database before drafting code, and records newly discovered fixes as draft entries for approval. Use when starting a development task or correcting a recurring bug."
license: CC-BY-4.0
compatibility: "Needs access to: Terminal, Database, GitHub."
metadata:
  author: "BotBento Editorial"
  version: "2026-10-15"
  source: "https://botbento.com/usecases/managing-shared-programming-gotchas-across-developer-tools/"
  kind: workflow
  hermes:
    tags: ["knowledge-base", "debugging", "developer-tools", "best-practices"]
    category: coding
    requires_toolsets: ["terminal"]
---
# Checking known coding pitfalls before writing code

Look up documented gotchas first, then draft new entries when you hit an undocumented bug

## When to use

Before implementing code changes, the bot queries a local or shared knowledge database for known traps and version gotchas related to the task. When you encounter or correct a stale dependency, incorrect configuration, or recurring bug, the bot summarizes the lesson and submits a draft entry for approval.

## Inputs

- `coding_request`: The development task or coding request describing what to implement or fix.
- `gotcha_details` (optional): Details of an undocumented trap, stale dependency, incorrect configuration, or recurring bug encountered during the task.
- `developer_correction` (optional): The developer's correction of the bot's code or explanation, used to draft a new knowledge entry.

## Steps

1. When you ask: Receive coding request (A developer sends a coding request or assigns a development task in chat.)
2. Check knowledge base for caveats
3. Draft code and propose new tip

## Instructions

When assigned a development task, search the knowledge database for documented caveats, outdated patterns, and repo-specific fixes before writing code. Apply any confirmed insights to your solution. If you encounter an undocumented gotcha or the developer corrects your code, draft a structured knowledge unit describing the problem and fix. Ask for explicit approval before publishing, sending, or deleting any entries in the shared database.

## Approvals

- Publishing entries in the shared knowledge database
- Sending entries from the shared knowledge database
- Deleting entries from the shared knowledge database

## Output

Drafted code and a proposed knowledge-base entry describing the gotcha and its fix. (format: chat_message)

## Source

Summarized in our own words from [Show HN: Cq – Stack Overflow for AI coding agents](https://news.ycombinator.com/item?id=47491466) (Hacker News, checked 2026-10-15). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/managing-shared-programming-gotchas-across-developer-tools/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
