agentleFS
studioconstudiocon/resume-template/.claude/skills/resume-pdf/SKILL.md

resume-pdf

Skill0 starsChanged 4 months agoMITView on GitHub

index.html を実際にPDFとして書き出す(ローカルで即座に生成する)。「PDFにして」「PDFを作って」「PDFで出力して」「書き出して」「提出用のPDFがほしい」などのリクエストで使う。GitHubにpushしなくてもその場でPDFが手に入る。

The file

Files
SKILL.md

PDFをその場で生成する

index.html を、GitHub Actions が push 時に行うのと同じ手順 (headless Chrome で印刷 → Ghostscriptで圧縮)でローカルに書き出す。 GitHubを使っていない人や、pushする前に手元で確認したい人のためのスキル。

手順

bash .claude/skills/resume-pdf/build-pdf.sh

index.html の <h1 class="masthead__name"> から氏名を読み取り、 リポジトリ直下に 職務経歴書_<氏名>.pdf を生成する。氏名が読み取れない場合は resume.pdf になる。

応募先別バージョン(index.<会社名>.html など)を書き出したい場合は、 対象ファイルを引数で渡す。

bash .claude/skills/resume-pdf/build-pdf.sh index.minamo.html

生成後にやること

  1. 生成されたPDFのパスとファイルサイズをユーザーに伝える
  2. 内容を大きく変更した直後であれば、resume-print-check で改ページを 確認するよう勧める
  3. Ghostscriptが無い環境では圧縮されない旨の注記が出る。気になるサイズで なければ無視して構わない

前提

  • Google Chrome(または Chromium / Edge / Brave)がインストールされていること
  • Ghostscript(gs)はあれば使うが、無くても動作する(未圧縮のまま出力するだけ)
  • Windows / Linux でも、対応するChromeの実行ファイルパスが見つかれば動作する。 見つからない場合はエラーメッセージに従い、手動で Cmd+P(Ctrl+P)を案内する

注意

  • 生成したPDFは .gitignore の対象外なので、そのままコミットもできる。 ただしGitHubにpushしている場合は、mainにpushすれば自動生成・自動コミットされるため、 手元で生成したPDFを重ねてコミットする必要は基本的にない

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.