| name | post-archive |
| description | Archive a finalized article and accumulate personal style fingerprints โ moves to archived/YYMMDD/, updates style/profile.md |
| argument-hint | <slug> |
| allowed-tools | ["Read","Write","Bash","Glob"] |
/post-archive โ Archive & Style Accumulation
Archive a completed article slug. Distills ongoing/<slug>/ into a frozen archive at archived/YYMMDD/<slug>/ โ research notes, the assembled final article per platform, the images those finals reference, and the latest review verdict. The raw 2-draft/vN/ version chain is collapsed (the final assembled output is kept, intermediate revisions are dropped). Then extracts style fingerprints and updates style/profile.md. No editing โ the article text is final.
Archive contract (what survives โ Step 3 and the actual archived contents must match this exactly):
1-research/ โ copied verbatim
<platform>.md (one per platform) โ the assembled final, version chain collapsed
images.md โ the assembled final
images/ โ only the -v<N> files referenced by the final articles
review-verdict.md โ the latest 2-draft/vN/review-verdict.md (audit record of the passing ไธๆนไผๅฎก)
- exported
.docx (if produced by /post-publish) โ kept alongside the platform finals
- NOT preserved: the raw
2-draft/vN/ chain, draft-only scratch files
Phase Table
| Phase | File | Steps |
|---|
| Identify | 01-identify.md โ Identify slug + BLOCKING review-verdict gate + verify final | 1โ2 |
| Archive | 02-archive.md โ Assemble final & move to curated archive (copy only, no delete) | 3 |
| Style | 03-style.md โ Text-only style/published archive + fingerprint extraction + profile update | 4โ6 |
| Cleanup | 04-cleanup.md โ Clone-cache cleanup + drop ongoing + optional postmortem + report | 7โ9 |
How to Execute
Run steps in order. At the start of each phase, Read the corresponding sub-file and follow its instructions. This SKILL.md is just the map.
Ordering (critical): Step 3 only COPIES out of the version chain โ it must NOT delete ongoing/<slug>. Steps 4โ6 still read 2-draft/vN/. The destructive rm -rf "ongoing/<slug>" cleanup is deferred to Step 7, AFTER every read from the version chain has completed.
Hard Rule
Never modify files under archived/YYMMDD/<slug>/ except for postmortem.md. The frozen snapshot is the source of truth.