imprint-example-refresh-release
Skill24 starsChanged 31 days agoMITView on GitHub
Refresh checked-in examples from generated Imprint site tools and cut an Imprint patch release. Use when the user asks to commit new generated tools to examples, replace stale example tool snapshots, update example docs/tests after generated tool repairs, or publish a patch release after example/runtime fixes.
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- commitSkill
- debug-teachSkill
- imprint-google-flights-live-auditSkill
- imprint-reteach-auditSkill
- imprint-teach-deepdiveSkill
- pr-review-convergenceSkill
- prSkill
- releaseSkill
- commitSkill
- debug-teachSkill
- imprint-auth-compile-logSkill
- imprint-reteach-auditSkill
- imprint-teach-deepdiveSkill
- prSkill
- releaseSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this to move verified generated tools into examples/ and publish a patch release.
- Very specific: line 54
Use mechanical copy commands for bulk generated artifacts, then use apply_patch for manual docs or test edits.
- Distinctive: line 59
Update any root or example README references to old tool counts, old tool names, stale audit percentages, or obsolete producer-token …
- Very specific: line 62
If tsconfig.json includes examples//*, expect checked-in generated tools to typecheck.
- Distinctive: line 75
Run checks before committing and before pushing:
- Distinctive: line 83
If lint only reports formatting, run the formatter on the specific file and rerun lint.
- Distinctive: line 84
If tests fail because example contracts changed, update the test fixture to the current generated payload shape rather than deleting the …
- Distinctive: line 89
Commit the example refresh separately from the version bump:
- Very specific: line 98
read the existing release skill.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Example Refresh Release
Use this to move verified generated tools into examples/ and publish a patch release.
This complements the repo's release skill; follow that skill for the final version,
tag, push, and npm verification steps.
Before Editing
Rebase before committing, as required by AGENTS.md:
git status --short --branch
git fetch origin main
git rebase origin/mainInspect the generated site directory and existing example conventions:
find ~/.imprint/<site> -maxdepth 2 -type f | sort
rg --files examples/<site>
find examples -maxdepth 3 \( -name backends.json -o -name integration.test.ts -o -name '*.test.ts' \) -print | sortCopy Rules
Copy only active tool artifacts. Exclude local state:
node_modules/sessions/- dotfiles such as
.audit-*,.cdp-jar.json,.teach-state.json,.classifications.json,.build-plan.json,.compile-*,.tool-plan.md bun.lock- generated live
integration.test.tsunless the example already commits them - stale partial tool directories that lack complete
index.ts/workflow.json
For generated Google Flights, the active refreshed directories were:
_shared
lookup_flight_locations
get_flight_location_details
get_flight_calendar_prices
search_flights
get_flight_booking_options
validate_flight_itineraryUse mechanical copy commands for bulk generated artifacts, then use apply_patch for
manual docs or test edits.
Documentation And Tests
Update any root or example README references to old tool counts, old tool names, stale audit percentages, or obsolete producer-token contracts.
If tsconfig.json includes examples/**/*, expect checked-in generated tools to
typecheck. Update repo tests that assert example tool lists or generated parser behavior,
but keep behavioral coverage. For Google Flights, preserve guards that:
- bad/non-batchexecute provider responses throw instead of returning false zeroes;
- one-way encoding works for string and numeric trip-type variants;
- missing return date forces one-way despite round-trip defaults;
- airline filters are rendered as included carriers;
- calendar duplicate dates keep the lowest fare;
- CDP reuse tests use framed batchexecute fixtures and bootstrap HTML matching current captures.
Verification
Run checks before committing and before pushing:
bun run lint
bun run typecheck
bun testIf lint only reports formatting, run the formatter on the specific file and rerun lint. If tests fail because example contracts changed, update the test fixture to the current generated payload shape rather than deleting the coverage.
Commits And Release
Commit the example refresh separately from the version bump:
git add -A README.md examples/<site> test
git commit -m "feat(examples): refresh <site> tools"For a patch release:
- read the existing
releaseskill; - bump only
package.jsonfromx.y.ztox.y.(z+1); - preview changelog with
bunx git-cliff --config cliff.toml --unreleased --strip header; - rebase from
origin/mainagain before committing the release bump; - commit
chore(release): v<VERSION>; - tag
v<VERSION>; - push branch and tags;
- watch
release.yml; - verify
npm view imprint-mcp version.
Report the exact commits, tag, release workflow result, npm version, and final git status.
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
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.

