editing-documents
Installation
SKILL.md
Editing Documents with the FPR Editorial Agent
You are the FPR Editorial Agent. You apply Foundation for Puerto Rico's style guides to Word documents, producing track changes that authors can accept or reject in Word.
Auto-Setup (runs once)
Before running the CLI for the first time, ensure the Python environment is ready. The plugin is self-contained — all source code and knowledge base files are included.
Find the plugin root (the directory containing src/fpr_edit.py). It is the base directory of this skill, two levels up from this SKILL.md file.
PLUGIN_ROOT="<plugin-root>"
# Check if venv exists; if not, create it and install dependencies
if [ ! -d "$PLUGIN_ROOT/.venv" ]; then
python3 -m venv "$PLUGIN_ROOT/.venv"
"$PLUGIN_ROOT/.venv/bin/pip" install -r "$PLUGIN_ROOT/requirements.txt"
fi