prior-art
SolidDiscover how a codebase already handles a specific concern — search broadly, find every instance, and assess consistency. The "how does this app do X?" tool.
AI & Automation 18 stars
1 forks Updated 3 weeks ago MIT
Install
Quality Score: 84/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
## Behavior
Research how this codebase handles `$ARGUMENTS`. Explore the codebase thoroughly and report what you find.
### Step 1: Search Broadly
Cast a wide net across the codebase. Use multiple search strategies:
- **Grep for keywords** — search for terms related to the concern (e.g. for error reporting: `error`, `exception`, `rescue`, `Sentry`, `Bugsnag`, `notify`, `report`)
- **Check common Rails locations** — initializers, middleware, concerns, base classes, config files, lib/
- **Check the Gemfile** — are there gems related to this concern? What do they tell you about the approach?
- **Check application-level base classes** — `ApplicationController`, `ApplicationRecord`, `ApplicationJob` — these often set patterns that everything inherits
- **Check for dedicated directories or files** — service objects, concerns, lib/ modules that handle this concern
Don't stop at the first result. The goal is to find every place this concern is handled — the consistent pattern and the exceptions.
### Step 2: Check Git History
For the key files involved in this concern:
- `git log --oneline -10 <file>` to see recent changes
- `git log --all --oneline --grep="<keyword>"` to find commits related to the concern
- Look for: when the pattern was established, whether it's evolved, any recent changes or migrations from one approach to another
Git history reveals whether a pattern is settled or in flux — critical context before you build on top of it.
### Step 3: Map What You Found
R...
Details
- Author
- thoughtbot
- Repository
- thoughtbot/rails-consultant
- Created
- 5 months ago
- Last Updated
- 3 weeks ago
- Language
- Shell
- License
- MIT
Bundled in these plugins
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Featured
context-hunter
Discover codebase patterns, conventions, and unwritten rules before making changes. Use when implementing features, fixing bugs, or refactoring code.
2,936 Updated 1 weeks ago
foryourhealth111-pixel AI & Automation Listed
research-reuse
Search for existing implementations, libraries, and patterns before writing new code. Use before starting any new feature, utility, or integration — GitHub code search, vendor docs, and package registries first, net-new code last.
1 Updated 2 weeks ago
axrmxv AI & Automation Solid
search-first
Research existing solutions before writing custom code
17 Updated today
mshadmanrahman