feat: add CL hook verification, JD copy, and PDF rename to kit

- cl_reference.md: mandatory web-search verification for all CL hooks
- make-cl/SKILL.md: hook verification gate before presenting CL draft
- critique/SKILL.md: step 8b paper hook verification (Tier 1 if wrong)
- shared_ops.md: copy JD into output folder during Phase 0
- shared_ops.md: rename final PDFs to clean names at finalization
This commit is contained in:
Akhil Reddy Peeketi
2026-03-09 19:12:16 -06:00
parent fd0de39b4e
commit 54f7b91aa6
4 changed files with 35 additions and 3 deletions
+1
View File
@@ -75,6 +75,7 @@ Find and read the session file for the .tex being critiqued (use derivation prot
Use the Read tool to view the compiled PDF — check orphans, page fill, header wrapping.
If compile fails: note "COMPILE FAILED — visual checks could not be verified" in Part 8.
8. If a prior critique exists (`output/<FolderName>/critique_<name>.md`): read it and note previous score.
8b. **Paper Hook Verification:** If the CL cites named papers, PIs, programs, or publications, web-search to verify title, journal, year, and PI affiliation. Flag factual errors as Tier 1 fixes.
9. **Run the full critique per critique_framework.md. The output MUST contain ALL 8 sections** (even if the framework file has partially compacted, produce every section):
+14
View File
@@ -88,6 +88,20 @@ Save to `output/<FolderName>/e2e_<name>_cover_letter.tex`
Progress: "Writing [institution type] cover letter — [N] paragraphs, targeting [N] words..."
### CL Hook Verification Gate (MANDATORY before presenting to user)
Web-search every hook used in the CL:
- Academic: PI name + cited paper/research area
- National Lab: named program, thrust area, or group publication
- Industry: product, technology, or company news referenced
Present evidence as:
> **Claim:** [what the CL says] → **Evidence:** [what the search found] → **Source:** [URL]
Flag any unverified item: **"UNVERIFIED — please confirm"**
Do NOT present the CL draft to the user until all hooks are verified or flagged.
---
## Phase 3: Compile & Verify
+12
View File
@@ -82,6 +82,18 @@
---
## CL Hook Verification (MANDATORY)
Before presenting any CL draft to the user, web-search and verify every external reference:
- **Academic:** PI name + cited paper title/topic → confirm paper exists, journal, year
- **National Lab:** Named program, thrust area, or group publication → confirm it exists
- **Industry:** Product name, technology claim, or company news → confirm accuracy
**If verified:** Note source URL in session file Cover Letter Plan.
**If unverified:** Flag as **"UNVERIFIED — please confirm"** in the draft. Never guess names, titles, or journal details.
---
## CL Anti-Patterns
- No generic opener ("I am writing to express my interest...")
+8 -3
View File
@@ -97,8 +97,9 @@ The tool is authoritative — never trust mental math for char counts. If the to
**Steps:**
1. Derive folder name from JD filename: `JDs/JD_Acme.txt``output/Acme/`
2. `mkdir -p output/<FolderName>/`
3. Write session file to `output/<FolderName>/session_<name>.md`
4. All subsequent output files (from ALL skills) go in this folder
3. Copy JD file into output folder: `cp JDs/<filename> output/<FolderName>/`
4. Write session file to `output/<FolderName>/session_<name>.md`
5. All subsequent output files (from ALL skills) go in this folder
## Finalization (after /critique approval)
@@ -110,7 +111,11 @@ The tool is authoritative — never trust mental math for char counts. If the to
- `e2e_<name>_[resume|cv].tex` + `.pdf` + compile artifacts
- `e2e_<name>_cover_letter.tex` + `.pdf` + compile artifacts
- `critique_<name>.md`
2. Confirm to user: "Package complete in output/<FolderName>/ — [N] files"
2. Rename final PDFs for submission (derive name from `config.md` Personal Info):
- `cp e2e_<name>_[resume|cv].pdf <Firstname>_<Lastname>_[Resume|CV].pdf`
- `cp e2e_<name>_cover_letter.pdf <Firstname>_<Lastname>_Cover_Letter.pdf`
- Keep originals alongside
3. Confirm to user: "Package complete in output/<FolderName>/ — [N] files"
---