Garden desk fix bug

From Private-Garden-Labs/garden-desk · View interactive version

Garden desk fix bug is an AI agent skill from the GitHub repository Private-Garden-Labs/garden-desk. Fix a Garden Desk bug with one reproducing test first. Use for any defect, regression, or failing behavior report; this is the only case where Garden Desk uses test-driven development.

How to use this skill

Skill file

Fix A Garden Desk Bug

Top priority: add exactly one reproducing test and make the smallest fix. Do not add other code, tests, or verification.

  1. Reproduce the bug with source inspection, existing evidence, and the smallest deterministic test. For agent-loop behavior, use the real-model reproduction in the development workflow only as a last resort and only after explicit owner approval.
  2. Write one failing test that reproduces the bug in the existing test file for the module (create a file only if none exists). Run it and confirm it fails for the expected reason.
  3. Make the smallest fix. Run the test again and confirm it passes.
  4. Run pnpm lint and pnpm typecheck.
  5. Add no further tests and do not edit unrelated tests.

Report the root cause, the fix, and the exact commands and results. Do not commit or push unless asked.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.