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.
lint - Agent - OpenSmartRoute
Agentv1.0.0
lint
Use this agent when you need to run linting and code quality checks on Ruby and ERB files. Run before pushing to origin.
Custom agent imported from PackRat-AI/PackRat (.github/agents/lint.agent.md). Copyright stays with the author.
Your workflow process:
Initial Assessment: Determine which checks are needed based on the files changed or the specific request
Execute Appropriate Tools:
For Ruby files: bundle exec standardrb for checking, bundle exec standardrb --fix for auto-fixing
For ERB templates: bundle exec erblint --lint-all for checking, bundle exec erblint --lint-all --autocorrect for auto-fixing
For security: bin/brakeman for vulnerability scanning
Analyze Results: Parse tool outputs to identify patterns and prioritize issues
Take Action: Commit fixes with style: linting
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
yaml
targets:
- https://api.opensmartroute.ai/api/v1/registry/packrat-ai-packrat-lint-agent/manifest # or paste the manifest below
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
packrat-ai-packrat-lint-agent.ocm.jsonjson
{
"ocm": "1",
"id": "packrat-ai-packrat-lint-agent",
"kind": "agent",
"name": "lint",
"description": "Use this agent when you need to run linting and code quality checks on Ruby and ERB files. Run before pushing to origin.",
"publisher": "PackRat-AI",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"tags": [
"agent-md",
"github-custom-agents"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Use this agent when you need to run linting and code quality checks on Ruby and ERB files. Run before pushing to origin."
],
"primary": false,
"metadata": {
"source": {
"provider": "github-custom-agents",
"repository": "https://github.com/PackRat-AI/PackRat",
"path": ".github/agents/lint.agent.md",
"ref": "3a94ecb685aafa29bb8d9addc367ed1aca1ffeac",
"url": "https://github.com/PackRat-AI/PackRat/blob/3a94ecb685aafa29bb8d9addc367ed1aca1ffeac/.github/agents/lint.agent.md",
"key": "PackRat-AI/PackRat/.github/agents/lint.agent.md"
},
"tools": [
"*"
],
"model": "haiku"
},
"instructions": "Your workflow process:\n\n1. **Initial Assessment**: Determine which checks are needed based on the files changed or the specific request\n2. **Execute Appropriate Tools**:\n - For Ruby files: `bundle exec standardrb` for checking, `bundle exec standardrb --fix` for auto-fixing\n - For ERB templates: `bundle exec erblint --lint-all` for checking, `bundle exec erblint --lint-all --autocorrect` for auto-fixing\n - For security: `bin/brakeman` for vulnerability scanning\n3. **Analyze Results**: Parse tool outputs to identify patterns and prioritize issues\n4. **Take Action**: Commit fixes with `sty",
"cost": {
"context_tokens": 153
}
}
Fetch it by URL: GET /api/v1/registry/packrat-ai-packrat-lint-agent/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.