# Fastgen Develop

> Implement, refactor or review NVIDIA FastGen library code using its shared design, formatting, documentation and testing conventions. Use for source changes and code reviews; configuring or running an existing workflow alone does not need this skill.

- Skill: `nvidia/fastgen-develop` (Agent Skill, multi-file: 13 files)
- Install (CLI): `npx get-skill add nvidia/fastgen-develop`
- Raw SKILL.md: https://api.skillmd.com/api/skills/nvidia/fastgen-develop/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- License: Apache-2.0
- Author: NVIDIA (https://skillmd.com/u/nvidia), verified publisher
- Updated: 2026-11-11
- Page: https://skillmd.com/skills/nvidia/fastgen-develop

---


# Develop FastGen

Resolve the user's FastGen checkout separately from the installed skill. Use the requested
revision, or the current checkout, as the authority for linked policies and interfaces. Read
[Design and Maintenance](https://github.com/NVlabs/FastGen/blob/main/CONTRIBUTING.md#design-and-maintenance)
for the shared coding rules and the owning component's README and interface docstrings.
Use the requested scope and information already provided before asking for missing inputs.
For review-only requests, inspect and verify within scope, then report findings without editing.

1. **Trace.** Follow the affected callers and consumers before editing. For changes across
   data and model boundaries, inspect loader decoding in
   [datasets](https://github.com/NVlabs/FastGen/blob/main/fastgen/datasets/README.md),
   `FastGenModel.prepare_batch` in [model.py](https://github.com/NVlabs/FastGen/blob/main/fastgen/methods/model.py),
   `FastGenNetwork.build_conditioning` in [network.py](https://github.com/NVlabs/FastGen/blob/main/fastgen/networks/network.py)
   and `Trainer.train_step` in [trainer.py](https://github.com/NVlabs/FastGen/blob/main/fastgen/trainer.py)
   as relevant; place the change with the component that owns the behavior.
2. **Change.** Apply the shared rules to the implementation and affected callers, tests
   and documentation together. For new capabilities, also use
   [fastgen-add-network](https://github.com/NVlabs/FastGen/blob/main/skills/fastgen-add-network/SKILL.md),
   [fastgen-add-method](https://github.com/NVlabs/FastGen/blob/main/skills/fastgen-add-method/SKILL.md) or
   [fastgen-add-modality](https://github.com/NVlabs/FastGen/blob/main/skills/fastgen-add-modality/SKILL.md).
3. **Verify.** Follow the contributor guide's
   [formatting](https://github.com/NVlabs/FastGen/blob/main/CONTRIBUTING.md#code-style-and-formatting)
   and [checks](https://github.com/NVlabs/FastGen/blob/main/CONTRIBUTING.md#continuous-integration).
   Exercise changed behavior and requested boundary cases through real FastGen components
   and affected call sites; distinguish static checks from runtime tests. For patch
   deliverables, generate the diff from complete target files and check it against clean
   files at the selected revision. If a failure crosses interfaces, trace the producer
   and consumer contracts before adding another check or workaround.

Report source-backed findings or changed behavior, affected interfaces and documentation,
checks actually run and any unverified paths.

