skill
lab-report-writer
📝 A Claude Code Skill for generating professional lab reports — supports university coursework, scientific research, engineering tests, and medical/material experiments. Auto-research + data tables +
Set up
Skills are installed by placing their folder where your agent loads skills.
The download comes from github.com/dxkjuanjuan/lab-report-writer itself, not from our server, so what you get is exactly what its author published.
Install instructions come from the README
README
synced Oct 21, 2026Lab Report Writer
A Claude Code Skill for generating professional lab reports — university coursework, scientific research, engineering tests, and medical/material experiments.
Features
- Three input modes: From topic → full report · From raw data → analysis + report · From draft → improvement & formatting
- Four report types: University lab · Scientific research · Engineering test · Medical/material
- Auto-research: WebSearch for theoretical background and real citable references
- Data processing: Statistics, uncertainty propagation, least-squares fitting
- Charts: Line / scatter / bar with error bars (matplotlib)
- Low plagiarism: Original writing, structure variation, no copy-paste
- Multiple output formats: docx · markdown · both
- Grading-aligned: Reads rubric files and aligns content to maximize score
Installation
git clone https://github.com/dxkjuanjuan/lab-report-writer.git ~/.claude/skills/lab-report-writer
Then restart Claude Code.
Usage
Just describe what you need in natural language:
帮我写一份大学物理实验报告,题目是"用单摆测重力加速度",5000字左右,输出docx
or
Generate a lab report from this CSV data: ./data.csv — fit a linear regression, output as docx
The skill will ask clarifying questions, then execute:
research → write → data analysis → generate doc → self-check → deliver
Structure
lab-report-writer/
├── SKILL.md # Main skill instructions
├── README.md # This file
├── LICENSE # MIT
├── scripts/
│ ├── generate-lab-report.js # docx generation (Node.js + docx)
│ └── lab_data_analysis.py # Data analysis & charts (Python + matplotlib)
└── resources/
└── templates/
└── university-lab-report-template.md
Prerequisites
| Tool | Purpose | Required |
|---|---|---|
| Claude Code 2.0+ | Run the skill | Yes |
Node.js 18+ + docx npm | Generate Word documents | For docx output |
| Python 3 + numpy + matplotlib | Data analysis & charts | For data mode |
Install docx globally:
npm install -g docx
Report Types
| Type | Sections |
|---|---|
| University lab | Abstract · Intro · Principles · Apparatus · Procedure · Data · Analysis · Conclusion · Reflection · References |
| Scientific research | Abstract · Intro · Methods · Results · Discussion · Conclusion · References |
| Engineering test | Objective · Method · Environment · Data · Analysis · Conclusions · Appendices |
| Medical/material | Abstract · Intro · Materials · Methods · Results · Discussion · Conclusion |
Low-Plagiarism Strategy
- Original phrasing — never copy source sentences
- Structure variation — don't follow any single source's paragraph order
- Specific details — concrete numbers and technical terms reduce similarity
- Personal analysis — independent reasoning in the discussion section
- Chinese-English mixing — technical terms naturally lower similarity scores
Reference Format
Follows GB/T 7714 by default. Supports [J] journals, [M] books, [C] conferences, [R] reports, [Z] standards, [EB/OL] online.
Customization
- New template: Create
resources/templates/<name>.md, reference in SKILL.md - Output format: Edit
scripts/generate-lab-report.js— fonts, sizes, margins - Data analysis: Edit
scripts/lab_data_analysis.py— new stats or chart types
License
MIT — see LICENSE.
Created 2026-07-25 · Maintainer @dxkjuanjuan · Version 1.0.0