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.
pre-commit - Prompt - OpenSmartRoute
Promptv1.0.0
pre-commit
Quick pre-commit safety check on staged changes. Scans for secrets, runs tests, checks data model sync.
Prompt file imported from Eloso-chi/coin-price-finder-agent (.github/prompts/pre-commit.prompt.md). Copyright stays with the author.
Run a pre-commit safety check using the Pre-commit Reviewer agent.
Read .github/agents/pre-commit-reviewer.agent.md for the full operating procedure.
Get the staged diff (git diff --cached).
Run all checks: secrets scan, test suite, data model sync, lint errors.
Print the verdict: SAFE TO COMMIT or BLOCKED.
You MUST NOT edit any files. This is a read-only check.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
Run a pre-commit safety check using the **Pre-commit Reviewer** agent.
1. Read `.github/agents/pre-commit-reviewer.agent.md` for the full operating procedure.
2. Get the staged diff (`git diff --cached`).
3. Run all checks: secrets scan, test suite, data model sync, lint errors.
4. Print the verdict: SAFE TO COMMIT or BLOCKED.
**You MUST NOT edit any files.** This is a read-only check.
Manifest
The prompt text and its fill-in variables. Copy it or fetch it by URL from your own code.
{
"prompt": "Run a pre-commit safety check using the **Pre-commit Reviewer** agent.\n\n1. Read `.github/agents/pre-commit-reviewer.agent.md` for the full operating procedure.\n2. Get the staged diff (`git diff --cached`).\n3. Run all checks: secrets scan, test suite, data model sync, lint errors.\n4. Print the verdict: SAFE TO COMMIT or BLOCKED.\n\n**You MUST NOT edit any files.** This is a read-only check.",
"variables": [],
"notes": "Quick pre-commit safety check on staged changes. Scans for secrets, runs tests, checks data model sync. Tools: read, search, execute.",
"metadata": {
"source": {
"provider": "github-prompts",
"repository": "https://github.com/Eloso-chi/coin-price-finder-agent",
"path": ".github/prompts/pre-commit.prompt.md",
"ref": "4b6921da76c0f827fc36df6357c5b0e2db29ee02",
"url": "https://github.com/Eloso-chi/coin-price-finder-agent/blob/4b6921da76c0f827fc36df6357c5b0e2db29ee02/.github/prompts/pre-commit.prompt.md",
"key": "Eloso-chi/coin-price-finder-agent/.github/prompts/pre-commit.prompt.md"
}
}
}
Fetch it by URL: GET /api/v1/registry/eloso-chi-coin-price-finder-agent-pre-commit-prompt/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.