// catalog · ls -la /lab/tools
Catalog/page 14/24
Showing entries 79 to 84 of 139 · click any row to launch
- 079 Dev Tools unit-test-gen:// Generates unit tests for a function. Covers happy path, edge cases (empty input, null, negative, very large, off-by-one), and error paths. Output in your framework. Jest / Vitest / pytest / Go testing. Names tests as behaviour, not as the function.
- 080 Dev Tools refactor-suggest:// Reads a code snippet and suggests refactors, ranked. Each suggestion has an impact tier (clarity / safety / performance / cosmetic) and a 2-line before-after diff so you can decide without leaving the page.
- 081 Dev Tools diff-explain:// Reads a git diff and explains it in English. Summarises overall intent, walks file-by-file, and surfaces risk flags: auth changes, test deletions, schema migrations, infra files (Dockerfile, CI). For code-review prep or commit-message writing.
- 082 Dev Tools git-undo:// Recovers from any git mistake. Describe what you did (force-pushed wrong branch, dropped a stash, committed to wrong branch, lost work after rebase). Returns ordered commands with a safety note before each + the "what to do if this also fails" fallback.
- 083 Dev Tools curl-to-code:// Converts a curl command into code in your chosen language: fetch (browser/Node), axios, Python requests, Go net/http, or Ruby net/http. Preserves headers, body, auth, query parameters. Adds a one-line retry hint where it makes sense.
- 084 Dev Tools http-status:// Diagnoses HTTP errors in context. Paste the status code + a one-line description of what you called and what came back. Returns the likely actual cause (not just "401 means unauthorized"), the three most common pitfalls for that status code in your situation, and two concrete debug steps.