Skip to content
Get the AI shot you actually asked for on FramesField — Shot Lab, workflows & real API rates.
agentscamp

Docs Commands

Explore 8 curated docs commands for building with AI coding agents — what each one does, when to use it, and how to add it to your workflow.

Eight slash commands for documentation. For code: /explain-code explains what a file or symbol does in plain prose and changes nothing, /add-docstrings adds or improves docstrings on a public API, and /update-readme brings the README in line with the repo's current scripts, structure and features. For publishing: /llms-txt generates or refreshes an llms.txt from your routes, sitemap or docs navigation and checks that every link resolves, and /model-card writes the Hugging Face model card for a fine-tuned model from its training config and eval files, marking gaps instead of filling them.

The other three are deterministic checks run with Python on records people maintain. /check-obligation-dates lists overdue and due-today rows in an obligations CSV as of a date you supply. /check-procedure-graph validates the step dependencies of a standard operating procedure and reports steps blocked by a cycle. /snapshot-handoff records the file paths, sizes and SHA-256 hashes of a handoff folder without interpreting its contents.

8 commands

Add Docstrings

Add or improve docstrings for the public API of a file or symbol.

/add-docstrings<file or symbol>

Check Obligation Dates

Check a human-reviewed obligation CSV against an explicit as-of date with Python: validate calendar dates and status fields, list overdue or due-today open rows, missing owners/dates, and recorded late/future completions. Never infer legal deadlines, breach, or contract status from clauses.

/check-obligation-dates<obligations.csv> <as-of YYYY-MM-DD>

Check Procedure Graph

Check explicitly recorded SOP step dependencies with Python: validate IDs and prerequisite references, compute deterministic execution layers for acyclic graphs, and report steps blocked by a cycle without executing the procedure.

/check-procedure-graph<steps.csv>

Explain Code

Explain what the given code does, in clear prose with a short summary.

/explain-code[file or symbol]

llms.txt

Generate or refresh llms.txt from the project's routes, sitemap, or docs navigation, write it to the static directory, and verify that every link resolves.

/llms-txt[site root or docs dir] [--full]

Model Card

Write or update the Hugging Face model card (README.md with YAML metadata) for a fine-tuned model directory, using only its training config and eval files and marking every gap as needed.

/model-card[model dir]

Snapshot Handoff

Create a deterministic inventory of an approved handoff directory: record relative file paths, byte lengths, and SHA-256 hashes with code, list skipped symlinks and unreadable files, and write a snapshot without interpreting project status or changing source files.

/snapshot-handoff<source-directory> <snapshot.md>

Update README

Update the README to reflect the current scripts, structure, and features of the repo.

/update-readme[section or focus]