Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .agents/skills/add-vocab/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ description: >-
implementing FEPs, extending ActivityStreams vocabulary, or adding third-party
vocab types such as Mastodon extensions, Litepub types, or other fediverse
vocabularies.
version: 1.0.0
---

Adding vocabulary to @fedify/vocab
Expand Down Expand Up @@ -52,12 +51,17 @@ Workflow
5. If a new context URL is needed, add it to
`packages/vocab-runtime/src/contexts.ts`
6. Run `mise run codegen` to generate TypeScript classes
7. Run `mise run check` to verify everything compiles
8. Ask the user to review the YAML definition and generated code carefully
7. Run `mise run test:update_snapshots` to update the Deno, Node.js, and Bun
snapshots
8. Run `mise run check` to verify everything compiles
9. Ask the user to review the YAML definition and generated code carefully
before committing

The generated TypeScript class is automatically exported from `@fedify/vocab`
via `packages/vocab/src/vocab.ts` (generated) and `packages/vocab/src/mod.ts`.
The `@fedify/vocab-tools` snapshots are stored separately for Deno, Node.js,
and Bun. Always update all three with the aggregate task when generated output
changes; do not update only one runtime's snapshot.


YAML file format
Expand Down
3 changes: 2 additions & 1 deletion .hongdown.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
no_inherit = true
include = ["*.md", "**/*.md"]
exclude = [
".git/**",
"**/node_modules/**",
"**/dist/**",
".agents/skills/**",
".claude/skills/**",
".github/copilot-instructions.md",
"AGENT.md",
"AGENTS.md",
"CLAUDE.md",
"GEMINI.md",
"WARP.md",
Expand Down
Loading
Loading