Publishing a note with an AI assistant

NSDF-Data student guide 5 — with Claude Code or a similar assistant · Version 5 · 20 October 2026

This is guide 5 of 5. It shows how to use an AI coding assistant, such as Claude Code, to do the tedious parts of writing and publishing a note. It does not replace guides 3 and 4. You still own every number and every sentence.

What the assistant is good at here

What it must not do

Setting it up

  1. Install the assistant. For Claude Code, follow Anthropic’s setup instructions at docs.claude.com.
  2. Open a terminal in the NSDF-Data folder and start the assistant there. It needs to see the repository.
  3. Make sure you are on your own branch: git checkout student-yourname. Run git status, and check that it shows no changes you do not recognise.

A starting brief

Start with a brief like this, and fill in the brackets:

I am a student writing a note for the NSDF-Data site. My draft is [path to your .docx or .md], my notebook is [path to the notebook], and I committed it at [commit hash]. Please:

  1. If the draft is a .docx, convert it with python tools/word_to_note.py [path to the .docx] [note-name], as in student guide 4, Step 1. That puts the note in notes/src/ and its pictures in notes/src/img/. Keep the header block and set id: "TBD".
  2. Check every number in the text against the notebook output, and list any number that does not match or that I have not shown.
  3. Pin every notebook link to the commit above.
  4. Run python tools/check_note.py notes/src/[note-name].md. Fix each problem it reports (the structure and the pinned links), without changing my sentences except where a fix needs it, and list the numbers it says are not in the notebook output, without changing them.
  5. Show me the diff and stop. Do not commit or push until I say so.

The checks you still do yourself

After the assistant has finished, go through these yourself:

Committing and opening the pull request

Once you are satisfied, follow guide 4 from Step 2 onward. You can ask the assistant to write the commit message, but read it before you commit.

When the assistant goes wrong

Session Info

Guide version 5, 20 October 2026. Written for every computer. The AI tools change quickly, so if a step here no longer matches what you see, follow the assistant’s own instructions and tell your lead.

Where to get help

Anthony Villano, project lead:

Include the brief you gave the assistant, what it changed, and the check’s last message.