- Home
- /
- Categories
- /
- Debugging
Debugging
Find and fix bugs, error analysis
xgboost
by G1Joshi
XGBoost gradient boosting library. Use for tabular ML.
cli-development
by ilude
Best practices for building CLI applications across languages. Covers CLI design principles (Unix philosophy, command structure, subcommands vs flags), argument parsing (required/optional args, flags, environment variables, config files, precedence), user interface (help text, version info, progress indicators, color output, interactive prompts), output formatting (human-readable vs machine-readable JSON/YAML, exit codes), error handling (clear messages, suggestions, debug mode), cross-platform considerations (paths, line endings, terminal capabilities), testing strategies (integration tests, output verification, exit codes), documentation (README, man pages, built-in help), and language-specific libraries. Activate when working with CLI applications, command-line tools, argument parsing, CLI utilities, argument handling, commands, subcommands, CLI frameworks, or building command-line interfaces.
planning-with-files
by hxk622
Implements Manus-style file-based planning for complex tasks. Creates task_plan.md, findings.md, and progress.md. Use when starting complex multi-step tasks, research projects, or any task requiring >5 tool calls.
design-workflow
by ilude
UI/UX design workflow guidelines. Activate when working with design systems, accessibility (WCAG), user interface patterns, or design tokens.
debugging-methodology
by webdevtodayjason
Scientific debugging methodology including hypothesis-driven debugging, bug reproduction, binary search debugging, stack trace analysis, logging strategies, and root cause analysis. Use when debugging errors, analyzing stack traces, investigating bugs, or troubleshooting performance issues.
test-driven-development
by hxk622
"实现任何功能或修复 bug 时使用,在编写实现代码之前先写测试。Use when implementing any feature or bugfix - write the test first, watch it fail, write minimal code to pass. TDD 红绿重构循环。"
Practical Error Handling with fp-ts
by whatiskadudoing
Stop throwing everywhere - handle errors as values using Either and TaskEither for cleaner, more predictable code
fp-immutable
by whatiskadudoing
Practical immutability patterns in TypeScript - spread operators, nested updates, readonly types, and when mutation is actually fine
codereview-observability
by xinbenlv
Review logging, metrics, tracing, and alerting. Ensures systems are observable, debuggable, and operable. Use when reviewing code that adds logging, metrics, or monitoring.
fp-ts-validation
by whatiskadudoing
Validation patterns using fp-ts with error accumulation, form validation, and API input validation
codereview-testing
by xinbenlv
Review test coverage and quality. Analyzes unit tests, integration tests, determinism, and test design. Use when reviewing test files or code that should have tests.
codereview-architect
by xinbenlv
Deep codebase context analysis like Greptile. Analyzes blast radius of changes, dependency graphs, and architectural consistency. Use when reviewing changes to core utilities, shared libraries, or database models.
logging-observability
by ilude
Guidelines for structured logging, distributed tracing, and debugging patterns across languages. Covers logging best practices, observability, security considerations, and performance analysis.
systematic-debugging
by hxk622
"遇到任何 bug、测试失败或意外行为时使用,在提出修复方案之前进行系统化调试。Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes. Follow the four phases: Root Cause Investigation, Pattern Analysis, Hypothesis Testing, Implementation."
fp-refactor
by whatiskadudoing
Comprehensive guide for refactoring imperative TypeScript code to fp-ts functional patterns
fp-ts-backend
by whatiskadudoing
Functional programming patterns for Node.js/Deno backend development using fp-ts, ReaderTaskEither, and functional dependency injection
fp-ts Option and Either
by whatiskadudoing
Functional error handling and nullable value management using fp-ts Option and Either types
esp32-serial-commands
by H1D
Send commands to ESP32 and microcontrollers via serial port to emulate button presses and user actions. Use for automated testing, stress testing, and debugging without physical interaction.
zod-docs
by jasonz-ncc42
Local Zod documentation reference. Use when asked about Zod schema validation, TypeScript type inference, parsing, error handling, JSON Schema conversion, or schema composition.
codereview-correctness
by xinbenlv
Analyze code for logic bugs, error handling issues, and edge cases. Detects off-by-one errors, null handling, race conditions, and incorrect error paths. Use when reviewing core business logic or complex algorithms.
tigerbeetle-deterministic-simulation
by copyleftdev
Test distributed systems in the style of TigerBeetle and Joran Dirk Greef, using deterministic simulation and time compression. Emphasizes controlling all non-determinism, simulating years of operation in minutes, and finding bugs that would take decades to manifest in production. Use when testing distributed systems, consensus protocols, or any system where correctness under failure is critical.
testing-workflow
by ilude
Testing workflow patterns and quality standards. Activate when working with tests, test files, test directories, code quality tools, coverage reports, or testing tasks. Includes zero-warnings policy, targeted testing during development, mocking patterns, and best practices across languages.
react-workflow
by ilude
React framework workflow guidelines. Activate when working with React components (.jsx, .tsx), React hooks (useState, useEffect), or React-specific patterns.
pike-simplicity-first
by copyleftdev
Write Go code in the style of Rob Pike, co-creator of Go. Emphasizes radical simplicity, concurrency through communication, and composition over inheritance. Use when writing Go that should be clear, concurrent, and maintainable.