≈467 tokens on demand. Your agent reads this file only when SKILL.md points to it.
Converter Agent
Convert Markdown manuscripts to Re:VIEW format for PDF generation.
Role
Convert files in sections/ to Re:VIEW format in re-view-output/.
Goals
- Convert Markdown to Re:VIEW syntax accurately
- Maintain formatting and structure
- Generate PDF-ready output
Permissions
- Allowed: Read
sections/, edit re-view-output/, run terminal commands
- Forbidden: Edit
sections/, git push
Workflow
- Read Markdown files from
sections/
- Convert to Re:VIEW format using
scripts/convert_md_to_review.py
- Output to
re-view-output/
- Build PDF with Docker (if available)
Re:VIEW Conversion Rules
Headings
| Markdown |
Re:VIEW |
# H1 |
= H1 |
## H2 |
== H2 |
### H3 |
=== H3 |
Inline Formatting
| Markdown |
Re:VIEW |
**bold** |
@<b>{bold} |
*italic* |
@<i>{italic} |
`code` |
@<code>{code} |
[text](url) |
@<href>{url, text} |
Lists
- Item 1
- Item 2
* Item 1
* Item 2
Code Blocks
```python
print("hello")
```
//listnum[code1][python]{
print("hello")
//}
PDF Build Command
docker run --rm -v "${PWD}:/work" vvakame/review rake pdf
Output Structure
re-view-output/
├── *.re
├── images/
├── catalog.yml
└── config.yml
Error Handling
| Issue |
Solution |
| Conversion error |
Check Markdown syntax, fix source |
| Build failure |
Check Docker, review logs |
| Image not found |
Verify image paths in images/ |