agentleFS
MicrosoftKnown publishermicrosoft/verona/.agents/skills/docs-update/SKILL.md

docs-update

Skill3.7k starsChanged 3 months agoMITView on GitHub

Update the Verona language documentation after adding a new feature. Use when the user asks to update docs, or after completing a feature implementation.

17 other projects use a version of this.

Trending

Quiet this year.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the microsoft/verona repository that our weekly crawl found. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about microsoft/verona

The biggest 5 of 18 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 18

Talked about on GitHub and Hacker News (18 times).

On GitHub · 12

7 more on GitHub

On Hacker News · 6

1 more on Hacker News

The file

Show its rules and text

We split this skill into the rules it gives an agent

23 rules. 0 are common, 8 are distinctive, and 15 are very specific to this project.

  • 0

    Common

    Most of the 16 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 15

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Update the documentation in vc/docs/ to reflect a new feature or change to the Verona compiler.

    line 9
  2. Distinctive:

    Read the feature description and determine which documentation files are affected.

    line 54
  3. Distinctive:

    Before writing documentation, read the actual implementation to ensure accuracy:

    line 88
  4. Distinctive:

    When adding sections at the end, use the next available number

    line 103
  5. Distinctive:

    When inserting sections, renumber subsequent sections and update all internal cross-references

    line 104
  6. Very specific:

    Use `verona fenced blocks for Verona source code

    line 112
  7. Very specific:

    Use `bash for shell commands

    line 113
  8. Very specific:

    Use `cpp for C/C++ code (e.g., in FFI examples)

    line 114
  9. Very specific:

    Follow idiomatic Verona style (see CLAUDE.md "Idiomatic Verona style")

    line 116
  10. Distinctive:

    Use "See Chapter" for cross-references rather than repeating content

    line 126
  11. Distinctive:

    After writing, check that:

    line 131
  12. Distinctive:

    No dangling references to renamed/renumbered sections

    line 134
  13. Very specific:

    If you renumber sections, search all docs for §old_number references to update

    line 144
  14. Very specific:

    Add function to the table in 17-ffi.md §17.8 "Available Wrappers"

    line 154
  15. Very specific:

    Add function signature to 22-builtin-types.md §22.13 "FFI Module Functions"

    line 155
  16. Very specific:

    Add usage example in the relevant 17-ffi.md subsection

    line 156
  17. Very specific:

    If it introduces a new concept, add a pattern to 27-common-patterns.md

    line 157
  18. Very specific:

    Add row to the builtin categories table in 17-ffi.md §17.3

    line 161
  19. Distinctive:

    Document the semantics in the relevant feature section

    line 162
  20. Very specific:

    If user-facing (not just compiler-internal), add to 22-builtin-types.md

    line 163
  21. Very specific:

    Add to 01-getting-started.md _builtin directory listing (alphabetical order)

    line 167
  22. Very specific:

    Add full type section to 22-builtin-types.md with:

    line 168
  23. Very specific:

    If it's a primitive numeric type, add to 03-types.md tables

    line 173

“Common” is measured: kept by at least 6 in 10 of the 16 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Update Verona Language Documentation

Update the documentation in vc/docs/ to reflect a new feature or change to the Verona compiler.

Arguments

  • $0 — a description of the feature or change that needs documenting (e.g., "callback support", "new builtin type", "new syntax")

Documentation Structure

The docs live in vc/docs/ with 27 numbered chapters plus a README.md table of contents:

FileContentWhen to update
README.mdTable of contentsOnly when adding new chapters
01-getting-started.mdFirst look, _builtin directory listingNew _builtin files or subdirectories
02-program-structure.mdTop-level structure, _builtin overviewNew top-level constructs
03-types.mdType system: primitives, unions, specialNew primitive types or type syntax
04-declarations.mdlet, var, _, scopingNew declaration forms
05-expressions.mdAll expression forms, operators, precedenceNew operators, expression syntax
06-control-flow.mdif, while, for, match, raise, whenNew control flow constructs
07-functions.mdFunctions, methods, operators, ref, overloadingNew function features
08-classes-and-objects.mdClass definitions, fields, constructorsNew class features
09-shapes.mdStructural types / interfacesNew shape features
10-generics.mdType parameters, monomorphization, inferenceGenerics changes
11-tuples.mdTuple construction, destructuring, splatTuple changes
12-arrays.mdArray creation, indexing, iteration, literalsArray changes
13-lambdas.mdLambdas, closures, free variablesLambda changes
14-partial-application.md_ placeholders, partial applicationPartial application changes
15-concurrency.mdCowns, when blocks, FAQConcurrency features, external resources
16-modules.mduse, imports, namespacesNew modules, namespaces, import forms
17-ffi.mdFFI: use blocks, builtins, callbacks, initMost FFI changes go here
18-type-inference.mdInference rules, refinement, backward refinementInference algorithm changes
19-memory-model.mdRegions, ownership, ref[T], runtime errorsMemory model changes, new runtime errors
20-compiler-pipeline.mdPass descriptions, AST, WF, debuggingNew passes or pass changes
21-toolchain-usage.mdCLI flags, build commandsNew CLI options
22-builtin-types.mdAll _builtin types with method tablesNew builtin types go here
23-grammar-summary.mdFormal grammar rulesAny syntax changes go here
24-error-handling.mdError patterns, raise, elseError handling changes
25-compile-time-execution.md# operator (placeholder)Compile-time execution features
26-gotchas.mdCommon surprises and pitfallsNew pitfalls for the feature
27-common-patterns.mdIdiomatic patterns and recipesNew usage patterns go here

Steps

1. Identify which docs need updating

Read the feature description and determine which documentation files are affected. Use this checklist organized by feature type:

New builtin type (e.g., callback, ptr):

  • 22-builtin-types.md — Add type section with method table
  • 01-getting-started.md — Update _builtin directory listing if new file added
  • 03-types.md — If it's a new primitive or special type
  • Relevant feature chapter (e.g., 17-ffi.md for FFI-related types)

New _builtin file or subdirectory:

  • 01-getting-started.md — Update _builtin directory tree listing
  • 02-program-structure.md — If it changes the top-level structure
  • 16-modules.md — If it introduces a new namespace (e.g., ffi::)

New syntax (keyword, operator, construct):

  • 23-grammar-summary.md — Add or modify grammar production rules
  • Relevant feature chapter for usage documentation
  • 05-expressions.md — If it's a new expression form
  • 06-control-flow.md — If it's a new control flow construct

New FFI feature:

  • 17-ffi.md — Primary documentation (add new section)
  • 22-builtin-types.md — If new builtin types/functions are exposed
  • 17-ffi.md table of builtin categories — Add rows for new builtins
  • 15-concurrency.md FAQ — If it affects scheduling/external resources
  • 27-common-patterns.md — Add usage pattern

New compiler pass or pass change:

  • 20-compiler-pipeline.md — Update pass table or descriptions

New CLI option:

  • 21-toolchain-usage.md — Add option documentation

2. Read the source of truth

Before writing documentation, read the actual implementation to ensure accuracy:

  • _builtin files: vc/_builtin/ — Verona source defining types and methods
  • FFI builtins: vc/_builtin/ffi/ — FFI wrapper functions
  • Builtin categories table: vc/passes/dot.cc — The builtins map defines all ::: builtins
  • Grammar: vc/passes/parse.cc for tokenization, vc/passes/structure.cc for AST structure
  • WF definitions: vc/lang.h for frontend WF, include/vbcc.h for backend WF
  • Interpreter behavior: vbci/thread.cc for runtime semantics

3. Write the documentation

Follow these conventions:

Section numbering:

  • Sections use ## N.M Title format where N is the chapter number
  • When adding sections at the end, use the next available number
  • When inserting sections, renumber subsequent sections and update all internal cross-references

Cross-references:

  • Format: [Title §N.M](filename.md) for section references
  • Format: [Title](filename.md) for chapter references
  • Chapter headers have navigation links: [← Table of Contents](README.md) | [Previous: Title](prev.md) | [Next: Title →](next.md)

Code examples:

  • Use ```verona fenced blocks for Verona source code
  • Use ```bash for shell commands
  • Use ```cpp for C/C++ code (e.g., in FFI examples)
  • Examples should be self-contained and runnable where possible
  • Follow idiomatic Verona style (see CLAUDE.md "Idiomatic Verona style")

Method/API tables:

  • Use | Method | Signature | Description | format
  • Include all public methods for builtin types
  • Group related methods logically

Tone and style:

  • Direct and technical — written for programmers
  • Explain "why" for non-obvious design decisions
  • Use "See Chapter" for cross-references rather than repeating content
  • Mark unimplemented/planned features with > **Status:** Not yet implemented.

4. Verify cross-references

After writing, check that:

  • All [text](file.md) links point to files that exist
  • Section numbers referenced in cross-links (§N.M) match actual section numbers
  • No dangling references to renamed/renumbered sections
  • The README.md table of contents is still accurate

5. Check for ripple effects

A documentation change in one file often requires updates in others:

  • Adding a section to 17-ffi.md may need a cross-reference from 22-builtin-types.md
  • New syntax in 23-grammar-summary.md should be explained in the relevant feature chapter
  • New patterns in 27-common-patterns.md should cross-reference the feature chapter
  • New gotchas in 26-gotchas.md should cross-reference relevant chapters
  • If you renumber sections, search all docs for §old_number references to update

6. Report

State which files were updated, what sections were added/modified, and any cross-references that were created or updated.

Common Patterns for Specific Feature Types

Documenting a new _builtin/ffi/ wrapper

  1. Add function to the table in 17-ffi.md §17.8 "Available Wrappers"
  2. Add function signature to 22-builtin-types.md §22.13 "FFI Module Functions"
  3. Add usage example in the relevant 17-ffi.md subsection
  4. If it introduces a new concept, add a pattern to 27-common-patterns.md

Documenting a new ::: builtin

  1. Add row to the builtin categories table in 17-ffi.md §17.3
  2. Document the semantics in the relevant feature section
  3. If user-facing (not just compiler-internal), add to 22-builtin-types.md

Documenting a new class in _builtin

  1. Add to 01-getting-started.md _builtin directory listing (alphabetical order)
  2. Add full type section to 22-builtin-types.md with:
    • Brief description
    • Method table (Method | Signature | Description)
    • Code example
    • Cross-references to related chapters
  3. If it's a primitive numeric type, add to 03-types.md tables

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.