silent-fail-checklisted
Install: claude install-skill ElephantHunters/Navma-Skills
# Silent Fail Check
A post-generation verification protocol born from a real incident:
a ReportLab PDF script exited cleanly, printed "PDF generated successfully",
but produced a 5.3KB file with no visible content — because `ROUNDEDCORNERS`
is not a valid TableStyle property and was silently ignored.
**Rule**: Only run this checklist when Naveen types `/silent-fail-check`. Do not auto-trigger after every file generation.
---
## The Core Problem
Libraries like ReportLab, python-docx, and openpyxl silently skip unknown
style properties, invalid parameters, and empty content blocks. They do not
raise exceptions. `returncode == 0` and a success print statement mean the
script ran — not that the output is correct.
---
## Verification Checklist
Run ALL applicable checks immediately after any file is generated.
### 1. File existence
```bash
ls -lh /path/to/output.file
```
- File must exist
- If missing: script failed to write — check path and permissions
### 2. File size sanity check (most important)
| File type | Suspicious if under | Likely healthy above |
|---------------|---------------------|----------------------|
| PDF (1 page) | 15 KB | 25 KB |
| PDF (5+ pages)| 40 KB | 80 KB |
| DOCX | 8 KB | 15 KB |
| XLSX | 6 KB | 10 KB |
| PPTX | 20 KB | 50 KB |
| PNG/JPG | 5 KB |