Skip to content

Add frontend prefs, rebase review, and PR update guidance for AI#1355

Open
maebeale wants to merge 5 commits intomainfrom
maebeale/ai-frontend-prefs
Open

Add frontend prefs, rebase review, and PR update guidance for AI#1355
maebeale wants to merge 5 commits intomainfrom
maebeale/ai-frontend-prefs

Conversation

@maebeale
Copy link
Collaborator

@maebeale maebeale commented Mar 7, 2026

Summary

  • Added frontend preferences to all three AI instruction files (CLAUDE.md, AGENTS.md, copilot-instructions.md): always use Stimulus over raw JS, always use Tailwind over custom CSS
  • Added rebase guidance: review incoming changes bidirectionally for schema/view mismatches
  • Added PR guidance: update PR title and description on every push to reflect the current diff

Why

  • Ensures consistent frontend conventions across all AI-assisted development
  • Prevents AI agents from missing cross-branch conflicts during rebase (e.g., main redesigned a table layout but your branch adds columns to it)
  • Keeps PRs accurate as scope evolves

Test plan

  • Verify CLAUDE.md, AGENTS.md, and .github/copilot-instructions.md have all three additions
  • No functional code changes — documentation only

🤖 Generated with Claude Code

maebeale and others added 5 commits March 7, 2026 06:13
AI agents should always use Stimulus over raw JS and Tailwind over
custom CSS. Added to CLAUDE.md, AGENTS.md, and copilot-instructions.md
so all AI tools follow the same frontend conventions.
When rebasing onto main, AI agents should review incoming changes
and flag oversights like missing tests, incomplete migrations, or
broken assumptions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Explicitly call out new fields, renamed columns, and removed
associations as things that may affect views, partials, or CSS
layouts in the current branch.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The previous wording only caught schema changes affecting your
branch's views. Now it also catches the reverse: main's view/layout
changes that affect schema additions in your branch.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Ensures the PR always reflects the actual diff, not just the
initial version.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@maebeale maebeale changed the title Add Stimulus and Tailwind preferences to AI instructions Add frontend prefs, rebase review, and PR update guidance for AI Mar 7, 2026
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.

1 participant