home / skills / bbeierle12 / skill-mcp-claude / scientific-documentation

scientific-documentation skill

/skills/scientific-documentation

This skill generates comprehensive scientific documentation for coding projects in Word format, explaining decisions, techniques, and code clearly for

npx playbooks add skill bbeierle12/skill-mcp-claude --skill scientific-documentation

Review the files below or copy the command above to add this skill to your agents.

Files (3)
SKILL.md
2.9 KB
---
name: scientific-documentation
description: Generate comprehensive scientific research-style documentation for completed coding projects. Use when the user requests project documentation, a technical breakdown, a study paper, a lecture document, or wants to understand everything about a project they just built. Triggers include phrases like "document this project," "create a study paper," "explain everything we did," "write up the full breakdown," "scientific documentation," or "I want to learn from this project." Produces formal Word documents (.docx) with academic structure, beginner-friendly explanations, and exhaustive code analysis.
---

# Scientific Project Documentation Skill

Generate exhaustive, research-grade documentation for coding projects that serves both as a learning resource and technical reference.

## Role

Act as a Principal Research Scientist and Computer Science Educator. Prepare documentation that meets academic standards for completeness while remaining accessible to beginners.

## Primary Workflow

1. **Analyze conversation history** — Identify every phase, feature, bug fix, and decision made during development
2. **Read the document template** — Load `references/document-template.md` for the complete structure specification
3. **Read the docx skill** — Load `/mnt/skills/public/docx/SKILL.md` and its `docx-js.md` reference for Word document creation
4. **Generate the document** — Create a comprehensive .docx file following the template structure
5. **Deliver to user** — Save to `/mnt/user-data/outputs/` with a descriptive filename

## Output Specifications

| Attribute | Requirement |
|-----------|-------------|
| Format | Microsoft Word (.docx) |
| Length | 6,000–10,000 words (15-25 pages) |
| Audience | First-year CS student with basic syntax knowledge |
| Typography | Georgia body, Arial headings, Courier New for code |

## Quality Standards

**Completeness** — Document every feature, technique, and decision. Leave no stone unturned.

**Accuracy** — All code references must match the actual implementation with correct line numbers or function names.

**Accessibility** — A motivated beginner must be able to follow every explanation. Never skip "obvious" concepts.

**Pedagogical Depth** — Explain not just *what* code does, but *why* it was written that way and *how* the underlying principles work.

## Tone Guidelines

Write in complete prose paragraphs. Maintain academic formality while remaining warm and encouraging. Anticipate confusion and address it proactively. Use phrases like "Notice that..." and "This is important because..." to guide attention. Never assume prior knowledge without briefly reviewing it.

## Anti-Patterns to Avoid

- Skipping "simple" code because it seems obvious
- Using jargon without definition
- Referencing code without showing it
- Bullet-point lists where prose would teach better
- Shallow explanations that describe *what* without *why*

Overview

This skill generates exhaustive, research-grade scientific documentation for completed coding projects and delivers it as a formal Word (.docx) file. I act as a Principal Research Scientist and Computer Science Educator to produce an academic-style paper that is accessible to first-year CS students. The output combines comprehensive technical breakdowns, pedagogical explanations, and full code analysis with a structured, citation-ready layout.

How this skill works

I analyze the project history and available code to identify features, design decisions, bugs, and development phases. I map those findings to a scholarly document template that includes abstract, background, methodology, results, discussion, and appendices with annotated code. The skill formats the content into a .docx file using specified typography and saves a descriptive output file for download.

When to use it

  • You finished a project and want a formal technical paper describing it
  • You need a study paper or lecture document based on your codebase
  • You want a beginner-friendly, exhaustive breakdown to teach others
  • You need an academic-style deliverable for a portfolio or submission
  • You require a complete code walkthrough with explanations and rationale

Best practices

  • Provide the complete project source or a clear link to the repository before requesting documentation
  • Include development notes, commit history, or conversation logs to improve completeness
  • Specify target length, audience level, and any citation requirements up front
  • Highlight any parts of the code you want emphasized or explained in extra depth
  • Confirm desired file naming conventions and where to save the final .docx

Example use cases

  • Turn a finished JavaScript project into a 15–25 page scientific-style paper for coursework or portfolio
  • Create a lecture-ready document that explains project architecture and step-by-step code walkthroughs for students
  • Produce a reproducible methodology section describing experiments, benchmarks, and results from a demo app
  • Generate an appendix with annotated source files, function-level explanations, and line references for code review
  • Produce a beginner-friendly study guide that explains algorithms, data structures, and engineering trade-offs used in the project

FAQ

What file format will I receive?

You will receive a Microsoft Word (.docx) document formatted according to the academic template and typography guidelines.

How detailed will the code explanations be?

Explanations are exhaustive: every function and important line is described, with rationale, alternatives, and beginner-friendly context.

Can you match the document length and audience level I need?

Yes. Specify desired word count and target audience (for example, first-year CS student) when you request the document.