Skip to content

Add infer-conventions skill to record app conventions#885

Open
pushpak1300 wants to merge 12 commits into
infer-conventionsfrom
add-infer-conventions-command
Open

Add infer-conventions skill to record app conventions#885
pushpak1300 wants to merge 12 commits into
infer-conventionsfrom
add-infer-conventions-command

Conversation

@pushpak1300

@pushpak1300 pushpak1300 commented Jul 17, 2026

Copy link
Copy Markdown
Member

Currently a new Boost user starts with an empty .ai/rules/ and has to hand write the conventions their codebase already follows. Boost can record rules one at a time with the record-rule MCP tool, but nothing bootstraps them from how the app is actually written.

This PR ships an infer-conventions skill. Instead of a deterministic command, it drives the agent to sweep the app across ~49 Laravel convention dimensions (validation, models, architecture, testing, frontend, database), discover the house patterns a fixed detector can't name (Action classes, query objects, module layout, deliberate non-patterns), and record the real decisions as path-scoped rules via record-rule.

Run the skill and it maps your app/ tree, works each detection, shows the candidates with evidence, and records the ones you approve. boost:install now nudges you to run it at the end.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@pushpak1300
pushpak1300 force-pushed the add-infer-conventions-command branch from a1829f5 to 00b2f7d Compare July 20, 2026 17:38
pushpak1300 and others added 3 commits July 20, 2026 23:18
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@pushpak1300 pushpak1300 changed the title Add boost:infer-conventions command to record app conventions Add infer-conventions skill to record app conventions Jul 20, 2026
@pushpak1300
pushpak1300 marked this pull request as ready for review July 20, 2026 19:07

@WendellAdriel WendellAdriel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR body says the nudge happens "at the end of an interactive install", but it also shows on non-interactive runs since the check never looks at interactivity. Let's either update the description or add the interactivity check if interactive-only was the intent.

Comment thread src/Console/InstallCommand.php Outdated
Comment thread tests/Unit/Install/SkillWriterTest.php Outdated
Comment thread tests/Unit/Install/SkillWriterTest.php Outdated
Comment thread .ai/boost/skill/infer-conventions/references/checklist.blade.php
Comment thread src/Install/SkillComposer.php
Comment thread tests/Feature/Console/ListSkillCommandTest.php

@WendellAdriel WendellAdriel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 💪

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants