rishi-2115/Codebase Auditor
Automated code migration agent — detects deprecated patterns and generates migration PRs
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| llm_provider | LLM provider: "gemini", "openai", or "claude" | no | openai |
| llm_api_key | API key for the LLM provider (GOOGLE_API_KEY, OPENAI_API_KEY, or ANTHROPIC_API_KEY) | yes | — |
| llm_model | Model name (e.g., "gpt-4o", "gemini-2.0-flash", "claude-opus-4-1") | no | gpt-4o |
| github_token | GitHub token for PR creation and comments (use secrets.GITHUB_TOKEN) | yes | — |
| patterns_file | Path to deprecated-patterns.yaml (relative to repo root) | no | .auditor/patterns.yaml |
| knowledge_dir | Path to knowledge/*.md files (relative to repo root) | no | .auditor/knowledge |
| query | Natural language audit query (e.g., "migrate moment.js to date-fns") | no | Scan for deprecated dependencies and propose migrations |
| auto_commit | If true, commit changes and create a PR automatically. If false, only comment on trigger PR. | no | true |
| commit_message_prefix | Prefix for auto-generated commit messages | no | chore(migrations): |
Outputs
| name | description |
|---|---|
| scan_results | JSON array of deprecated pattern matches |
| pr_number | PR number created by auditor (if auto_commit=true) |
| migration_summary | Text summary of migrations performed |