<!-- Copyright (c) 2026 defconxt. All rights reserved. -->
<!-- Licensed under AGPL-3.0 — see LICENSE file for details. -->
<!-- NERF is a trademark of defconxt. -->
# writing-exploit-documentation — API Reference

## Agent Script

| Command | Description |
|---------|-------------|
| `template --type <writeup|advisory> --cve <id> --output <path>` | Generate documentation template |
| `cve-form --cve <id> --product <name> --vendor <name> --versions <range> --cwe <id> --cvss <vector>` | Generate CVE form |
| `validate-cvss --vector <string>` | Validate CVSS vector string |
| `validate-doc --document <path> --template <name>` | Validate documentation completeness |
| `detection-docs --exploit <path> --formats <list> --output <path>` | Generate detection rule docs |
| `package --writeup <path> --poc <path> --pcap <path> --output <path>` | Package disclosure materials |
