auditing-rails-tech-debt
Audits a Rails app for tech debt, citing each finding to PoEAA, SOLID, or the Rails guides with file:line evidence and before/after code.
Skill by bostonaholic
Chalk Labs
Need help deploying auditing-rails-tech-debt?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/bostonaholic-auditing-rails-tech-debt
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/auditing-rails-tech-debt
What's inside
- Skill name
auditing-rails-tech-debt- Description
- Audits a Rails app for tech debt, citing each finding to PoEAA, SOLID, or the Rails guides with file:line evidence and before/after code. Use when auditing Rails for anti-patterns, fat models or controllers, callback abuse, or N+1 queries. Not for over-engineering; use simplifying-ruby-code.
- License
- MIT
- Instructions
- 72 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (13)
- SKILL.md
- openai.yaml · agents/
- poeaa-base.md · references/
- poeaa-data-source.md · references/
- poeaa-distribution-concurrency-session.md · references/
- poeaa-domain-logic.md · references/
- poeaa-object-relational.md · references/
- poeaa-web-presentation.md · references/
- rails-antipatterns.md · references/
- resources.md · references/
- solid-ruby.md · references/
- find-leads.mjs · scripts/
- skill-calls.md · shared/
SKILL.md (first lines)
# Rails tech debt audit Report only; edit code only if the user asks. A short report of confirmed problems beats a long report of maybes. ## Every finding 1. **Cites code.** `file:line` for code you read. Never report a smell you did not read. 2. **Cites a named source.** Link at least one source from [citation resources](references/resources.md) or a PoEAA pattern page, preferring the most specific. If you cannot name the violated principle and its source, it is an opinion: drop it. 3. **Shows before and after**, in this codebase's names and style. 4. **Uses the simplest After**: a model method, a module function, or a query scope. Introduce a new class only when it holds state or orchestrates several models. Call the Skill tool with `simplifying-ruby-code` and cite its pattern numbers; if it is missing, apply this rule as written. Without a Skill tool, follow the [skill call rules](shared/skill-calls.md). 5. **Is verified independently.** A different agent than the finder confirms each candidate from the code (is it invoked, does a concern or other structure already mitigate it, does the schema or a test justify the design). Drop anything not confirmed. ## Reference files Read the reference for the category you hunt or the pattern you cite: PoEAA [domain logic](references/poeaa-domain-logic.md), [data source](references/poeaa-data-source.md), [object-relational](references/poeaa-object-relational.md), [web presentation](references/poeaa-web-presentation.md), [distribution, concurrency, and session](references/poeaa-distribution-concurrency-session.md), and [base patterns](references/poeaa-base.md); [Rails anti-patterns](references/rails-antipatterns.md) (callback abuse, N+1, `default_scope`, SQL interpolation in scopes); and [SOLID and idiomatic Ruby](references/solid-ruby.md). ## Leads - Run `node <skill-dir>/scripts/find-leads.mjs <app>`. On exit 1 or 2, fix what stderr names and rerun. On exit 3, apply the schema rules to `db/structure.sql` by reading. - Start from `Gemfile`, `config/routes.rb`, `db/schema.rb`, and the largest files in `sizes`; a missing layer is as diagnostic as a bloated one. - A lead is a place to read, never a finding: confirm each against the finding rule that names it, and resolve each `schema.unresolved` entry by reading its model or migration. ## Severity - **CRITICAL:** corrupts data, opens a security hole, or blocks correctness (SQL injection in scopes, missing locks on money paths, callbacks with cross-record side effects). - **HIGH:** taxes every change in the area (god model, business logic in controllers, N+1 on hot paths). - **MEDIUM:** localized debt (missing Value Object, duplicated scopes, logic in views). - **LOW:** style or idiom drift. ## Report - Default shape per finding, to adapt: a `### [SEVERITY] <title>` heading, then Where (`file:line` ranges), Smell, Violates (named principle with link), Evidence (quoted code), Before and After, Why a class (only when the After adds one), and Effort (S, M, or L, incremental or all at once). - Order findings by severity and end with a summary table. - Order remediation cheapest highest-severity first, and put refactorings that unlock others earlier (for example, extract the Service Layer before Query Objects).
From bostonaholic/skills, MIT.
More from bostonaholic/skills
- 0.603score
explaining-architecture
bostonaholic
Explains how a subsystem, feature flow, or runtime path works (architecture, data flow, file map, gotchas), with an optional critique by fresh-context critics.
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
explaining-code
bostonaholic
Explains code or code changes in plain language, briefly by default or in full for a reviewer.
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
auditing-complexity
bostonaholic
Ranks where code complexity concentrates in a git repository (cyclomatic complexity, nesting, fan-out, mutable state) and scores CRAP change risk from a…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
freeing-disk-space
bostonaholic
Finds what fills a developer machine's disk and frees space by clearing caches, build outputs, and other regenerable files, running each deletion only after…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
grooming-backlogs
bostonaholic
Grooms a GitHub Projects backlog: verifies issues against the code, ranks and clusters them, and plans milestone, link, and closure changes, or promotes…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
auditing-repo-security
bostonaholic
Audits a third-party or freshly cloned repo before install or run for install hooks, auto-run files, CVEs, typosquats, and malicious code, graded A-F with a…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
auditing-tests
bostonaholic
Audits a test suite, or a named part, for low-value tests and marks each retain, fix, consolidate, or delete with verified removal evidence.
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
capturing-screenshots
bostonaholic
Captures deterministic, visually verified screenshots of a running web or native app (named screens, states, viewports, dark mode) with a manifest.
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
addressing-pr-comments
bostonaholic
Triages open PR feedback, verifying each review thread, review summary, and comment against the code, then carrying out each item's recommended option and…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
configuring-zsh
bostonaholic
Chooses the zsh startup file (.zshenv, .zprofile, .zshrc, .zlogin, or a custom plugin under ZSH_CUSTOM) for a configuration change and edits the dotfiles repo…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
attaching-pr-screenshots
bostonaholic
Uploads local images through GitHub's attachment pipeline and writes one verified Screenshots section into a PR body.
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
auditing-agent-token-usage
bostonaholic
Audits recent Claude Code and Codex session logs for token and context cost: model routing, inherited subagent models, long sessions, compactions, oversized…
SkillAFreshness: A★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 2
- Last commit (this folder)
- Oct 24, 2026 (7 days ago)
- Last release
- Oct 24, 2026 (7 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/bostonaholic/skills
- Website
- skills.bostonaholic.dev
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from bostonaholic
- 0.603score
addressing-pr-comments
bostonaholic
Triages open PR feedback, verifying each review thread, review summary, and comment against the code, then carrying out each item's recommended option and…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
attaching-pr-screenshots
bostonaholic
Uploads local images through GitHub's attachment pipeline and writes one verified Screenshots section into a PR body.
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
auditing-agent-token-usage
bostonaholic
Audits recent Claude Code and Codex session logs for token and context cost: model routing, inherited subagent models, long sessions, compactions, oversized…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
auditing-complexity
bostonaholic
Ranks where code complexity concentrates in a git repository (cyclomatic complexity, nesting, fan-out, mutable state) and scores CRAP change risk from a…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
auditing-repo-security
bostonaholic
Audits a third-party or freshly cloned repo before install or run for install hooks, auto-run files, CVEs, typosquats, and malicious code, graded A-F with a…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
auditing-tests
bostonaholic
Audits a test suite, or a named part, for low-value tests and marks each retain, fix, consolidate, or delete with verified removal evidence.
SkillAFreshness: A★ 2Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get auditing-rails-tech-debt running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
auditing-rails-tech-debt skill. Agent Mart. https://agentmart.dev/skills/bostonaholic-auditing-rails-tech-debt (last updated 2026-10-24)