generate_project_doc
Create full Markdown documentation for ServiceNow apps by extracting live data on data model, business logic, UI, integrations, and security.
Instructions
Generate comprehensive technical documentation for a ServiceNow application by pulling live data from the instance.
Produces a full Markdown document with:
Executive overview and architecture diagram
Data model (fields, mandatory markers, reference links)
Business logic (BRs, Script Includes with method listing)
UI layer (Client Scripts, UI Actions by table)
Integration points (Scripted REST APIs)
Automation (Scheduled Jobs, Notifications)
Security (ACLs per table, scope isolation)
Operations guide (monitoring, maintenance, common issue matrix)
Change log template
The document is ready to paste into Confluence, GitHub Wiki, or any Markdown renderer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_name | Yes | Application name for the document title | |
| tables | Yes | Tables that belong to this application (e.g. ["incident","problem"]) | |
| scope | No | Application scope prefix (e.g. "x_mycompany_myapp") | |
| author | No | ||
| version | No | 1.0 |