Skip to content

Commit 5e47de6

Browse files
authored
[ai] add Claude config (#8912)
See: #8895 Adds `Claude.md` config. The `@.gemini/styleguide.md` import pulls in the full styleguide automatically, and the additional rules below it mirror the key generation rules for Gemini from `.aiconfig`. --- Review the contribution guidelines below: <details> <summary>Contribution guidelines:</summary><br> - See our [contributor guide](../CONTRIBUTING.md) and the [Flutter organization contributor guide]([https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md) for general expectations for PRs. - Larger or significant changes should be discussed in an issue before creating a PR. - Dart contributions to our repos should follow the [Dart style guide](https://dart.dev/guides/language/effective-dart) and use `dart format`. - Java and Kotlin contributions should strive to follow Java and Kotlin best practices ([discussion](#8098)). </details>
1 parent 662daed commit 5e47de6

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Flutter IntelliJ Plugin — Claude Code Guide
2+
3+
@.gemini/styleguide.md
4+
5+
## Additional Rules
6+
7+
- No I/O or heavy computation on the EDT (IntelliJ Threading Model).
8+
- All `AnAction` subclasses must be stateless (no mutable instance fields).
9+
- Use `io.flutter.logging.PluginLogger` (or IntelliJ's `Logger`) for all logging; never `System.out`.
10+
- All new files must include the standard Chromium Authors copyright header.
11+
- Zero-Formatting Policy: do not comment on indentation, spacing, or brace placement.
12+
- Categorize code suggestions with `[MUST-FIX]`, `[CONCERN]`, or `[NIT]` severity prefixes.

0 commit comments

Comments
 (0)