Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

infer-conventions

Skill by investbrainapp

Analyzes how a Laravel application is written and records its conventions as shared, path-scoped rules for AI agents and teammates. Use it to standardize project patterns or onboard people to how the codebase works.

  • Score 86
  • 942 stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install infer-conventions

Built from the published package, never by AI.

git clone --depth 1 https://github.com/investbrainapp/investbrain /tmp/investbrain && mkdir -p ~/.claude/skills && cp -r /tmp/investbrain/.ai/skills/infer-conventions ~/.claude/skills/infer-conventions

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install infer-conventions in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Infer Conventions is an agent skill for Laravel applications. It sweeps the codebase across about 49 convention dimensions, including validation, models, architecture, testing, frontend, database and API responses. It also looks for house patterns specific to the app, such as Action classes, service objects and module folders.

The skill documents what the code actually does rather than what it should do. It reports conflicting patterns, asks for confirmation before recording, and saves approved rules with the Boost record-rule MCP tool, scoped to relevant paths in .ai/rules. It runs only when a user explicitly asks for it, and it is aimed at teams and agents that need to share how things are done in a project.

Written from the project's SKILL.md and checked against it.

What it can do

  • Convention sweepChecks about 49 Laravel convention dimensions such as validation, models, testing, frontend and API responses.
  • House pattern discoveryMaps the app folders and finds structural patterns the codebase commits to, such as Actions or DTOs.
  • Conflict reportingShows mixed patterns with counts and example files, without recording a preferred winner.
  • Rule recordingSaves approved conventions with the record-rule MCP tool, scoped to the most specific matching path.
  • Existing rule checkReads .ai/rules first so dimensions already covered are skipped and not duplicated.

What you need

  • A Laravel application
  • Boost record-rule MCP tool with rules enabled (BOOST_RULES_ENABLED)

Try asking

  • Infer the conventions used in this Laravel app and record them as rules
  • Are we using Form Requests or inline validation? Check and report the split
  • Sweep this project for coding conventions and ask me to confirm before recording

Good to know

  • Runs only when the user explicitly asks for it
  • Not for one-off code review, linter-enforced formatting, or hand-editing .ai/rules
  • Conflicting patterns are reported, not recorded, unless a stable path boundary explains them
  • If record-rule is unavailable, the rule text is reported for manual adding

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .ai/skills/infer-conventions/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md12 KB
  • references/checklist.md12 KB

Alternatives to infer-conventions

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

infer-conventions: common questions

What is the Infer Conventions skill for?

It analyzes how a Laravel application is actually written and records those conventions as shared rules for agents and teammates.

Does it change my code?

The skill is described as documenting reality, not improving it. It records conventions in .ai/rules and does not propose code changes.

What happens when patterns conflict?

Conflicts are reported with counts and example files. They are recorded only if a stable path or context boundary explains both styles.

How do I install infer-conventions?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is infer-conventions free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is infer-conventions safe to use?

It scores 86 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to infer-conventions?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

infer-conventions Install

Add to stack

Loading.