agentleFS
WtotdeDWtotdeD/agentic-resume-builder/.claude/skills/run-app/SKILL.md

run-app

Skill2 starsChanged 3 months agoMITView on GitHub

Launches the resume app locally and drives it — renders every lens, exports a PDF, screenshots a page. Use when asked to run or start the app, screenshot a resume, or confirm a content/config/template change actually renders.

  • Reads credentials

3 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions3 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 3

    1. macro-inc/macro★ 4.6ksame name
    2. giulio333/ClaudeLens★ 64same name
    3. louisbrulenaudet/monorepo-template★ 18same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository2 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Stop it with pkill -f 'ne[x]t dev'.

    line 24
  2. Very specific:

    Write the script into the project root, not a temp dir — Puppeteer resolves from the project's node_modules.

    line 62
  3. Distinctive:

    Read the PNG back. A blank frame or missing sections is a failure even when every status code was 200.

    line 76

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Run the app

Launch the Next.js dev server, then drive it. A 200 from a render route proves almost nothing here — see step 2.

1. Launch

PORT=3111 pnpm dev -p 3111 > /tmp/dev.log 2>&1 &
sleep 10 && tail -3 /tmp/dev.log

PORT must match -p. The export route builds its own base URL from process.env.PORT (src/app/api/export-pdf/route.ts) rather than from the incoming request, so leaving it unset makes PDF export fetch localhost:3000 — either nothing, or some other project's server.

Stop it with pkill -f 'ne[x]t dev'. The bracket is load-bearing: a plain next dev pattern matches the invoking shell's own command line and kills it.

2. Drive the render routes

sections: in a config matches ## headings by exact string and fails silently, so check the HTML body, not the status code:

for c in $(ls resumes/*.yaml | xargs -n1 basename | sed 's/.yaml//'); do
  code=$(curl -s http://localhost:3111/render/$c -o /tmp/$c.html -w '%{http_code}')
  echo "$c $code: $(grep -oE '<h2[^>]*>[^<]+' /tmp/$c.html | sed 's/.*>//' | paste -sd' ')"
done
grep -ilE 'non-existent ID|Failed to' /tmp/*.html   # expand: errors surface as an error box

grep -o, not grep -c — the HTML is minified onto two lines, so a line count reports "2 sections" for every config regardless of what rendered.

Note this lists only top-level sections. The per-entry ## headings (Achievements, Architecture, …) render as <h4>; to check those, grep <h4 the same way or read a screenshot. Compare against the config's sections: list — a section listed there but missing from the page is a heading string mismatch, not a render failure.

3. Export a PDF

curl -s -D /tmp/hdr.txt -o /tmp/out.pdf -X POST http://localhost:3111/api/export-pdf \
  -H 'Content-Type: application/json' -d '{"configName":"tech-lead"}'
file /tmp/out.pdf   # expect: PDF document, 2-4 pages

Page count is the signal worth reading — a template or content change that pushes a resume from 3 pages to 5 is a regression nothing else catches.

4. Screenshot, and look at it

Write the script into the project root, not a temp dir — Puppeteer resolves from the project's node_modules. Chrome is already present in ~/.cache/puppeteer; nothing needs installing.

import puppeteer from 'puppeteer';
const b = await puppeteer.launch({ args: ['--no-sandbox'] });
const p = await b.newPage();
await p.setViewport({ width: 1280, height: 1600 });
await p.goto('http://localhost:3111/render/tech-lead', { waitUntil: 'networkidle0' });
await p.screenshot({ path: 'shot.png', fullPage: true });
await b.close();

Read the PNG back. A blank frame or missing sections is a failure even when every status code was 200.

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.