Adding a protocol
Lab members adding protocols by hand and LLM assistants (Claude, ChatGPT, Copilot) doing it for them follow the same rules, so every protocol reads the same way.
Contents
Section titled “Contents”- Before you start
- Where files go
- The protocol template
- Pictures
- Adding a protocol on GitHub
- Instructions for LLM assistants
1. Before you start
Section titled “1. Before you start”- Search the wiki (top of the page) for the protein, kit or technique. If a protocol already exists, improve it rather than adding a second one.
- If your version differs in a way that matters, add a subsection (for example
### 4.2 Variant: HisTrap column) to the existing page. - Gather the real numbers from your notebook: volumes, concentrations, times, temperatures, speeds, catalogue numbers. A protocol without them cannot be repeated.
2. Where files go
Section titled “2. Where files go”Every page is a Markdown file in the finkelsteinlab/wiki repository.
| What | Folder |
|---|---|
| Protein purification | src/content/docs/protocols/protein-purification/ |
| Protein labeling | src/content/docs/protocols/protein-labeling/ |
| DNA, RNA and cloning | src/content/docs/protocols/dna-and-cloning/ |
| Biochemical assays | src/content/docs/protocols/assays/ |
| Single-molecule imaging | src/content/docs/protocols/single-molecule/ |
| Microfabrication | src/content/docs/protocols/microfabrication/ |
| Fission yeast | src/content/docs/protocols/yeast/ |
| Pictures for a protocol | public/media/protocols/<same section>/ |
Name the file after the title, in lowercase with hyphens: “Cas9 Purification” becomes cas9-purification.md. The sidebar lists pages alphabetically by file name, so a file named after its title lands in the right place.
3. The protocol template
Section titled “3. The protocol template”Copy this into the new file and fill it in. Delete unneeded sections; keep the numbering continuous.
---title: "Cas9 Purification"---
One or two sentences: what this makes or measures, and where the protocol came from.
## Contents
1. [Materials](#1-materials)2. [Procedure](#2-procedure)3. [Notes](#3-notes)4. [References](#4-references)
## 1. Materials
### 1.1 Buffers
- **Lysis buffer:** 20 mM Tris-HCl pH 8.0, 250 mM NaCl, 5 mM imidazole
### 1.2 Equipment
- HisTrap FF 5 mL column, AKTA pure
## 2. Procedure
### 2.1 Day 1: Expression
1. Transform the plasmid into BL21 (DE3) cells. 1. Thaw 50 uL of cells on ice and add 5-10 ng of DNA. 2. Incubate on ice for 30 min.

### 2.2 Day 2: Purification
1. ...
## 3. Notes
:::cautionThings that go wrong, and how to tell.:::
## 4. References
- Author et al. *Journal* (Year). [doi:10.xxxx/xxxxx](https://doi.org/10.xxxx/xxxxx)Template rules:
- Sections are
## 1. Name, subsections### 1.1 Name. Go no deeper. - Contents comes first and links every
##section. A link is the heading in lowercase, with punctuation dropped and spaces turned into hyphens:## 2. Procedureis#2-procedure,### 2.1 Day 1is#21-day-1. - Use a numbered step for anything done in order. Sub-steps are nested numbered lists, indented three spaces. Recipes and equipment are bullet lists or tables.
- Warnings go in a box:
:::note,:::tip,:::cautionor:::danger, closed with:::. - Write units in the lab’s style and include them every time.
4. Pictures
Section titled “4. Pictures”- Useful pictures: the expected gel or chromatogram, what a step should look like (colour, pellet, bubbles in a flowcell), instrument settings screens, and equipment assembly.
- Resize to at most 1600 px on the long side and keep files under 1 MB. JPG for photos, PNG for screenshots, SVG for diagrams.
- Upload to
public/media/protocols/<section>/with a descriptive name, such ascas9-sec-chromatogram.png. - Put the picture right after the step it illustrates:
 - The text in the square brackets is read aloud by screen readers and shown if the image fails. Describe what matters in the picture, not “image”.
- Never photograph labels, notebooks or screens that show passwords, patient or personal information.
5. Adding a protocol on GitHub
Section titled “5. Adding a protocol on GitHub”You need to be a member of the finkelsteinlab GitHub organisation; ask the lab manager to add you.
- To edit an existing page, click Edit page at the bottom of that page. GitHub opens the file in its editor.
- To add a page, open the section folder from the table in section 2 on GitHub, then choose Add file > Create new file.
- Name the file, paste the template, and fill it in. The Preview tab shows roughly how it will look.
- To add pictures, open the matching
public/media/protocols/<section>/folder and choose Add file > Upload files. - Click Commit changes. Choose Create a new branch and start a pull request if you want someone to check it first, otherwise commit directly.
- The site rebuilds automatically. Your page is live about two minutes after the change reaches
main.
6. Instructions for LLM assistants
Section titled “6. Instructions for LLM assistants”LLMs adding or editing protocols in this repository must follow these rules. They override general habits.
-
Never invent numbers. Every volume, concentration, time, temperature, speed, pH, catalogue number and reagent name must come from the person or their supplied material. Replace missing values with
TODO: valueand tell the person; do not use a typical value. -
Never delete content when restructuring an existing page. Move, renumber or reformat it, but keep every quantity, link and image.
-
Follow the template in section 3 exactly: front matter with
titleonly; no#H1; numbered##sections and###subsections; a## Contentslist first; numbered steps;:::boxes for warnings. -
Place the file in the right folder from section 2, named after the title in lowercase-with-hyphens. Do not add
sidebar.order. -
Link, don’t copy. If the protocol uses a buffer or procedure with an existing page (for example SDS-PAGE or competent cells), link to it with a site path such as
/wiki/protocols/assays/protein-sds-page/instead of repeating it. -
Ask for pictures. A picture is worth a thousand words. If a photo or screenshot would clarify a step and none was provided, add this right after the step and mention it to the person:
:::note[Picture wanted]A photo of the expected pellet after centrifugation.::: -
Images you are given go in
public/media/protocols/<section>/, referenced as/wiki/media/protocols/<section>/<file>, always with descriptive alt text. -
Keep safety notes. Keep hazard warnings (radioactivity, piranha solution, liquid nitrogen, UV) in a
:::dangerbox next to the relevant step. -
No secrets or personal data. Do not put passwords, door codes, phone numbers or personal email addresses in a page, even if they appear in the source material.
-
Open a pull request with a one-line change summary and a list of any
TODOvalues or wanted pictures, so a person can finish them.