append-y
When to use this skill
- Invoked as the second step in the
append-lettersorchestration (runs afterappend-x). - Can also be run standalone to append
Yto a file.
Inputs / Outputs (orchestration contract)
input_path(optional) — The folder produced by the previous step. The orchestrator wires this toappend-x's output folder so this step writes to the same file.output_path(required when chained) — Absolute path of the file to append to. The orchestrator sets this to<outputDir>/letters-<SESSION_ID>.txt.- If
output_pathis not provided, default to./letters.txtin the working directory.
Workflow
- Announce — Print:
🔧 [append-y] Appending "Y"… - Resolve the output path — Use
output_pathif provided, otherwise./letters.txt. Create the parent folder if it does not exist. - Append — Append the single character
Yto the file (create the file if missing). Do not overwrite existing content — the file should already containXfrom the previous step. - Report back — Print a one-line summary and the absolute
output_path.