algorithm-design
Design algorithms with LaTeX pseudocode and UML diagrams. Generate algorithmic environments, Mermaid class/sequence diagrams, and…
Debug experiment code with structured error analysis. Categorize errors, apply targeted fixes with retry logic, and use reflection to prevent recurring issues. Use when experiment code fails or produces incorrect results.
Claude Code
$ npx -y skills add lingzhi227/agent-research-skills --skill code-debugging --agent claude-code
Codex
$ npx skills add lingzhi227/agent-research-skills --skill code-debugging -a codex -y
Cursor
$ npx skills add lingzhi227/agent-research-skills --skill code-debugging -a cursor -y
Gemini CLI
$ npx skills add lingzhi227/agent-research-skills --skill code-debugging -a gemini-cli -y
GitHub Copilot
$ npx skills add lingzhi227/agent-research-skills --skill code-debugging -a github-copilot -y
OpenCode
$ npx skills add lingzhi227/agent-research-skills --skill code-debugging -a opencode -y
Windsurf
$ npx skills add lingzhi227/agent-research-skills --skill code-debugging -a windsurf -y
name: code-debugging description: Debug experiment code with structured error analysis. Categorize errors, apply targeted fixes with retry logic, and use reflection to prevent recurring issues. Use when experiment code fails or produces incorrect results. argument-hint: [error-or-code]
Systematically debug experiment code with structured error categorization and fix strategies.
| Category | Examples | Severity | |----------|----------|----------| | SyntaxError | Invalid syntax, indentation | Low | | ImportError | Missing module, wrong name | Low | | RuntimeError | Division by zero, shape mismatch | Medium | | TimeoutError | Infinite loop, too slow | Medium | | OutputError | Missing files, wrong format | Medium | | LogicError | Wrong results, 0% accuracy | High |
1. Read the error traceback (last 1500 chars if truncated) 2. Identify the exact line and variable causing the error 3. Check for common patterns:
**For syntax/import errors**: Direct fix, single attempt **For runtime errors**: Fix and rerun, up to 4 retries **For logic errors**: Reflect on approach, consider alternative methods **For timeout**: Reduce dataset size, optimize bottleneck, add early stopping
After fixing: 1. Explain why the error occurred 2. Identify which lines caused it 3. Describe the fix line-by-line 4. Note patterns to avoid in future code
Stage 0 (first attempt) → repost code as fresh Stage 1 (second attempt) → repost or leave depending on severity Stage 2 (third attempt) → regenerate from scratch if still failing
31 skills for Claude Code covering the full academic research paper lifecycle — from literature search to slide generation — plus GitHub repository analysis for research topics. Extracted from 17 GitHub repos studying LLM-agent-driven research automation.
Design algorithms with LaTeX pseudocode and UML diagrams. Generate algorithmic environments, Mermaid class/sequence diagrams, and…
Decompose research ideas into atomic, self-contained concepts with bidirectional math-code mapping. For each concept, extract the…
Make every number in the final PDF traceable to the exact code line that produced it. Uses \hypertarget/\hyperlink LaTeX commands…
Manage BibTeX citations for LaTeX papers. Harvest missing citations from a draft using Semantic Scholar, validate cite keys…
Generate statistical analysis code with 4-round review. Select appropriate statistical tests, interpret results, and produce…
Conduct systematic academic literature reviews in 6 phases, producing structured notes, a curated paper database, and a…
Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints,…
Research what people actually say about any topic in the last 30 days. Pulls posts and engagement from Reddit, X, YouTube,…
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps,…
Search literature across sources, verify or manage citations, and build MeSH strategies or citation-impact audits. Use for…