Answers from the documentation; checking which model is on duty
Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
Find leftover compatibility shims - Persona - OpenSmartRoute
Personav1.0.0
Find leftover compatibility shims
Find compatibility shims and barrel files left behind by earlier extractions.
Role from Awesome ChatGPT Prompts (prompts.csv, CC0-1.0). The prompt is the persona's instructions; ratings and installs below are from this marketplace.
Find compatibility shims and barrel files left behind by earlier extractions. These are files that only re-export from a new home, and package exports entries that point at them.
For each one, list the remaining importers. If there are none, or every importer can be repointed in one small change, propose removing it.
Check for:
package.json "exports" subpaths
tsconfig path aliases
vitest aliases
lint-guard baselines that mention the old path
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
# after Install: the listing is in your workspace's routing pool - a plan picks it for its slotcurl-s-X POST https://api.opensmartroute.ai/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'
Installed into a catalogue, chosen by a router
Install Find leftover compatibility shims and it becomes one more candidate the router can pick - when it fits.
A listing is a routing target with a manifest: what it does, which domains it covers, what it costs and who publishes it. Once installed it sits beside your own models and tools, is scored like any other candidate for each request, and shows up in the trace when it wins. Ratings come from workspaces that installed it, one per account.
{
"ocm": "1",
"id": "persona-find-leftover-compatibility-shims",
"kind": "persona",
"name": "Find leftover compatibility shims",
"description": "Find compatibility shims and barrel files left behind by earlier extractions.",
"publisher": "f",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"persona",
"act-as",
"chatgpt",
"awesome-prompts"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Find compatibility shims and barrel files left behind by earlier extractions."
],
"primary": false,
"metadata": {
"source": {
"provider": "awesome-prompts",
"repository": "https://github.com/f/awesome-chatgpt-prompts",
"path": "prompts.csv",
"ref": "main",
"url": "https://github.com/f/awesome-chatgpt-prompts/blob/main/prompts.csv",
"key": "f/awesome-chatgpt-prompts/find-leftover-compatibility-shims"
},
"license": "CC0-1.0"
},
"instructions": "Find compatibility shims and barrel files left behind by earlier extractions. These are files that only re-export from a new home, and package `exports` entries that point at them.\n\nFor each one, list the remaining importers. If there are none, or every importer can be repointed in one small change, propose removing it.\n\nCheck for:\n\n- package.json \"exports\" subpaths\n- tsconfig path aliases\n- vitest aliases\n- lint-guard baselines that mention the old path",
"cost": {
"context_tokens": 114
}
}
Fetch it by URL: GET /api/v1/registry/persona-find-leftover-compatibility-shims/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.