offer-letter-working-set
Approve the exact offer letter working set, selected field values, and relocation rule needed for the filled document.
- License 许可
- MIT
- 最近更新
- 2026-09-30
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- offer-letter-working-set
- description
- Approve the exact offer letter working set, selected field values, and relocation rule needed for the filled document.
03 SKILL.md 正文
Offer Letter Working Set
Inputs
workflow/intake_checkpoint.jsonworkflow/continuation_gate.jsontests/test_outputs.py
Use this stage after the intake checkpoint exists for the current offer letter run. Its job is to freeze one approved working set so later stages can fill the Word template without broad rescans of the template, employee_data.json, or the test hints.
Approve The Offer Letter Working Set
- Read
workflow/intake_checkpoint.jsonandworkflow/continuation_gate.jsonfirst. - Continue only if both artifacts still point at the current Word template, the current employee data file, and the required output path
/root/offer_letter_filled.docx. - Use the checkpointed file paths to open the template and employee data file. Do not broaden the search beyond those frozen inputs.
- Approve the exact placeholder values needed for the filled document by copying the relevant uppercase task fields from the employee data file into
selected_field_values. Exclude helper keys that begin with_. - Keep the relocation decision explicit.
selected_conditional_keysmust carryRELOCATION_PACKAGE,RELOCATION_AMOUNT, andRELOCATION_DAYStogether so later stages do not rediscover the rule. - Keep
tests/test_outputs.pyas a reference-only audit hint. Copy its decisive checks intoworkflow/scope_summary.json, then list the test file undernon_selected_candidatesinstead ofselected_files. - Leave final
.docxwriting for the next stage.
Write The Working Set Record
Write workflow/working_set_record.json with exactly these top-level keys:
{
"selected_files": [
"<checkpointed template path>",
"<checkpointed employee data path>"
],
"selected_field_values": {
"DOC_ID": "...",
"COMPANY_NAME": "...",
"DATE": "...",
"CANDIDATE_FULL_NAME": "...",
"...": "..."
},
"selected_conditional_keys": [
"RELOCATION_PACKAGE",
"RELOCATION_AMOUNT",
"RELOCATION_DAYS"
],
"selected_output_path": "/root/offer_letter_filled.docx",
"non_selected_candidates": [
{
"path": "tests/test_outputs.py",
"reason": "reference_only_audit_hint"
}
],
"pending_continuation": true,
"status": "approved"
}
Requirements:
selected_filescontains only the template and employee data file approved for this run.selected_field_valuesstores the actual offer letter values that later stages should write into placeholders.selected_output_pathis the exact final file path from the checkpoint and must remain/root/offer_letter_filled.docx.pending_continuationstaystrueuntil the next stage consumes this record.
Write The Scope Summary
Write workflow/scope_summary.json with exactly these top-level keys:
{
"document_zones": [
"body_paragraphs",
"tables",
"nested_tables",
"headers",
"footers",
"conditional_relocation_block"
],
"relocation_rule": {
"start_marker": "{{IF_RELOCATION}}",
"end_marker": "{{END_IF_RELOCATION}}",
"include_when": {
"RELOCATION_PACKAGE": "Yes"
},
"keep_fields_when_included": [
"RELOCATION_AMOUNT",
"RELOCATION_DAYS"
],
"remove_markers_in_final_letter": true,
"remove_block_when_not_included": true
},
"verification_targets": [
"No {{...}} placeholders remain anywhere in the final document text",
"Selected field values appear in the filled document",
"Nested table values required by the selected field values are present",
"The relocation markers are removed",
"If relocation is included, RELOCATION_AMOUNT and RELOCATION_DAYS appear in the final text"
],
"reference_notes": [
"tests/test_outputs.py copied forward only as decisive audit hints",
"Later stages should expect split placeholders and operate at paragraph level rather than run level"
],
"status": "approved"
}
Requirements:
- If the checkpoint already narrows the document zones, preserve that narrower set and keep the same key name.
verification_targetsmust be copied from the decisive checks intests/test_outputs.py, not from a fresh broad scan.reference_notescan explain why the approved working set is narrow, but the test file itself remains reference-only.
Continue The Filled Document Workflow
The next stage should consume workflow/working_set_record.json and workflow/scope_summary.json directly instead of reopening tests/test_outputs.py.
Stop Condition
Stop after both workflow files exist, both status fields are approved, and the approved working set clearly separates selected inputs from reference-only candidates. Do not write offer_letter_filled.docx in this stage.
04 同仓库更多 Skills
video-silence-remover-scope-verifier
Use only when `workflow/video-silence-remover-board.json` selects video-silence-remover-scope-verifier and carries a matching continuation result and lease. Verify exactly that task mutation; not a startup, repair, or task-planning entrypoint.
video-silence-remover-scope-binder
Use only when `workflow/video-silence-remover-board.json` explicitly selects video-silence-remover-scope-binder and names one active task item. Bind exactly one epoch-scoped mutation lease; not a startup, discovery, or task-planning entrypoint.
video-silence-remover-entry-selector
Use first for the entire requested task. Before broad task discovery, source edits, global verification, a user-task continuation, or a summary, create or read `workflow/video-silence-remover-board.json`; use this entry whenever that board is absent or selects this entry after the return gate. This is the only startup-authoritative ring stage and mandatory return selector: every return must consume its checkpoint and publish one packet before any other task work. Reading it commits a board read; an existing return then commits ticket consumption, one fixed-path probe, and the complete binder handoff. The persistent board forbids cleanup and final response.
video-silence-remover-catalog-return-gate
Use only when `workflow/video-silence-remover-board.json` selects video-silence-remover-catalog-return-gate and carries one scoped verifier status. Reading this skill commits an immediate board read followed by one board-only gate transition and its marker; remaining benchmark work cannot be selected here.
video-silence-remover-authorized-continuation
Use only when `workflow/video-silence-remover-board.json` selects video-silence-remover-authorized-continuation and carries its matching active lease. Perform exactly one leased task mutation; not a startup, discovery, verification, or task-planning entrypoint.
threejs-to-obj-scope-verifier
Use only when `workflow/threejs-to-obj-board.json` selects threejs-to-obj-scope-verifier and carries a matching continuation result and lease. Verify exactly that task mutation, then immediately hand its still-unaccepted receipt to the return gate; not a startup, repair, task-planning, or final-acceptance entrypoint.