Repository navigation
Agent instructions: AGENTS.md, per-area rules and /new-feature skill - #124
Open
amaury901130 wants to merge 3 commits into
Open
amaury901130 wants to merge 3 commits into
amaury901130 wants to merge 3 commits into
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Path-scoped rules in .claude/rules/ (architecture, new feature, Cubits, domain, data, presentation, theme, localization, navigation, testing, workspace) and a Claude Code skill that builds a feature end to end. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The old rules contradicted the code. They now point to AGENTS.md and .claude/rules/. README and known-issues reflect the change; personal Claude Code settings are git-ignored. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Sets up the instructions AI coding agents follow in this repository, describing the code as it is today.
AGENTS.md(wasCLAUDE.md) is the single source for every agent: architecture, commands, hard rules, definition of done, plus an index of the detailed rules.CLAUDE.mdnow imports it and adds Claude Code specifics. Cursor, Copilot and Codex readAGENTS.mdnatively..claude/rules/: one rule file per area, each scoped to the files it applies to (Claude Code loads them automatically):architecture: layers, dependency direction, GetIt DI and startup ordernew-feature: planning, the files to create in build order, done criteriastate-management: Cubits,BaseCubit/Resource, global vs screen cubits,BlocBuilder/BlocListenerdomain,data: models, repository interfaces, services; Dio, DTOs,Failuremapping,Preferencespresentation,theme: page structure,material_uiimports, reusable widgets; where the palettes, color roles and text styles are defined and how to use themlocalization:.arb→flutter gen-l10n→S.of(context), placeholders, adding a languagenavigation,testing,workspace: go_router,bloc_test+mocktail, FVM/Melos/workspace/initializer/platforms/new-featureskill (.claude/skills/new-feature/): builds a feature end to end following those rules..cursor/rules/*.mdcand.github/instructions/*prescribed conventions the code doesn't follow (PascalCase service file names,ALL_CAPSconstants, aparseFlexibleNumberhelper that doesn't exist). They are replaced by.cursor/rules/project.mdcand.github/copilot-instructions.md, which point toAGENTS.md..claude/settings.local.jsonis git-ignored.Documentation only; no code changes. Every claim in the rules was checked against the current code, and all relative links resolve.
melos run verifypasses.Issue
N/A
Preview
N/A (documentation only)
Notes:
Translations are generated by Flutter's
gen-l10n(since the Flutter 3.50 upgrade, #123), notintl_utils; the rules describe it that way.🤖 Generated with Claude Code