Skip to main content

generate-report

Generate a professional report (DOCX/PDF) Arguments: <title> [--format <docx|pdf>] [--type <annual|quarterly|project>].

Source facts

Repository
Agents-Store/codex-plugins
Last source activity
November 1, 2026 at 02:46
Detected SKILL.md language
English
Stars
0
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
generate-report
description
Generate a professional report (DOCX/PDF) Arguments: <title> [--format <docx|pdf>] [--type <annual|quarterly|project>].
# Generate Report Follow the `document-rules` skill (`${CLAUDE_PLUGIN_ROOT}/skills/document-rules/SKILL.md`) and the `document-generator` skill (`${CLAUDE_PLUGIN_ROOT}/skills/document-generator/SKILL.md`): the first holds the mandatory rules, the second the generation process. Read both before Step 1. Generate a professional report with cover page, table of contents, structured sections, page numbers, and headers/footers. ## Arguments Format: `<title> [--format <docx|pdf>] [--type <annual|quarterly|project>]` - title: Report title (required) - --format: Output format -- docx (default, editable) or pdf (final) - --type: Report type hint for structure suggestions (optional) Parse from "$ARGUMENTS". ## Process 1. **Plugin directory:** Scripts and templates live under `${CLAUDE_PLUGIN_ROOT}` (Claude Code substitutes it with the installed plugin path). Use it as is; do not search for the plugin. 2. **Check dependencies:** ```bash node "${CLAUDE_PLUGIN_ROOT}/scripts/check_deps.js" ``` If `ready` is false, show what is missing and ask permission to run the listed `installCommands`. (`ready` covers Node, the npm modules and the Playwright browser; pandoc and the PDF engines are optional extras listed in `missing`.) 3. **Gather required data from user:** - Author name - Date - Introduction (context and purpose) - Findings (key data and observations) - Conclusions (what the data tells us) - Optional: methodology, analysis, recommendations, appendices 4. **Read template:** ```bash cat "${CLAUDE_PLUGIN_ROOT}/templates/report_template.json" ``` 5. **Build JSON input:** Merge user data into template. Write to `.doc_input.json`. 6. **Generate document:** ```bash node "${CLAUDE_PLUGIN_ROOT}/scripts/generate_docx.js" /absolute/path/.doc_input.json ``` 7. **Deliver result.** ## Example Usage ``` /document-generator-ops:generate-report "Q1 2026 Performance Analysis" --format pdf /document-generator-ops:generate-report "Security Audit Findings" --type project ```
View on GitHub