Skip to content
Back to skills

Describe

ASecurity

Add a short plain-language description to every source file of the project, name the groups of files on the map, and reword the guided tour, using as few AI tokens as possible. Use when the user asks for summaries or descriptions of files, names for the map's groups, or wants the map or tour explained in words.

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 1, 2026
developmentgonode

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add bayshores/und --skill describe --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Describe?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Describe
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bayshores-describe/badge)](https://www.skillsdirectory.com/skills/bayshores-describe)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: describe
description: Add a short plain-language description to every source file of the project, name the groups of files on the map, and reword the guided tour, using as few AI tokens as possible. Use when the user asks for summaries or descriptions of files, names for the map's groups, or wants the map or tour explained in words.
---

# Describe the files

Files that already describe themselves in a comment at their top cost nothing. Only the rest goes to AI, as short work lists of function names. Never open the source files for this.

1. Run `und enrich-plan`. It prints how many files still need a description, how many groups of files have no name, and a token estimate, and spends nothing.
   - It says "Every source file that needs a description has one": skip to step 4.
   - More than 20,000 tokens: tell the user the number and ask before going on. `--budget <tokens>` describes the most used files first and leaves the rest.
2. Create a unique temp folder for this run (`WORK_DIR=$(mktemp -d "${TMPDIR:-/tmp}/und-describe-$$.XXXXXX")`) and write every work list to its own file inside it before answering any of them (the lists are numbered again after each answer is stored):
   `und enrich-plan --batch 1 > "$WORK_DIR/list-1.txt"`, then `--batch 2`, and so on for the number of AI calls the plan printed. Pass the same `--budget` if you used one.
3. Answer each list. A list holds its own instructions and the answer format.
   - 1 or 2 lists: answer them yourself. Save the JSON to a file and run `und enrich-apply --file <file>`.
   - 3 or more: give each list to one subagent, all at once. Its prompt: "Read <list file>. Follow the instructions in it. Save your JSON answer to <answer file>. Run `und enrich-apply --file <answer file>` and report the lines it prints."
   - `und enrich-apply` prints each entry it did not store, with the reason (`Not stored: ...`). Fix those entries and apply again.
4. Name the groups of files (one small list, by you). The map shows files that use each other as one box, named after a file ("transcript.rs + 8") until it has a name. Do this after step 3: the descriptions make better names.
   - Skip it when `und enrich-plan` says 0 groups are without a name.
   - Write the group list to a unique temp file (`GROUPS_FILE=$(mktemp "${TMPDIR:-/tmp}/und-groups-$$.XXXXXX")` and `und enrich-plan --groups > "$GROUPS_FILE"`), answer the list as it says, save the JSON to a unique temp file, and run `und enrich-apply --file <file>`.
   - A name is a few plain words about what the files do together, never a file name. A name is thrown away when a file joins or leaves its group, so running this again only costs for groups that changed.
5. Reword the tour (one small answer, by you):
   - `und tour --json` prints the stops worked out from the code.
   - Rewrite `title` and `text` so the stops read as one story for someone new to programming. Keep every `node` value exactly as printed. 2 to 12 stops, a title of at most 80 characters, a text of at most 600.
   - Store it: `{"tour":[{"title":"...","text":"...","node":"..."}]}` through `und enrich-apply --file <file>`.
   - To go back to the tour worked out from the code: apply `{"tour":[]}`.
6. Run `und enrich-plan` again and show the user its result. It should say that every source file that needs a description has one (or show the number the budget left out under "still need a description") and 0 groups without a name.

A description is thrown away when its file changes, so running this again later only costs for the changed files.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.