Skip to content

feat: sync official Flutter AI rules profiles#10

Merged
Wreos merged 2 commits intomainfrom
codex/sync-official-flutter-ai-rules
Feb 21, 2026
Merged

feat: sync official Flutter AI rules profiles#10
Wreos merged 2 commits intomainfrom
codex/sync-official-flutter-ai-rules

Conversation

@Wreos
Copy link
Owner

@Wreos Wreos commented Feb 21, 2026

Summary

  • add sync-official-flutter-ai-rules command and dedicated skill
  • add sync script scripts/sync_official_flutter_ai_rules.sh with profile selection (10k/4k/1k)
  • add docs page docs/flutter-ai-rules-sync.md
  • sync upstream Flutter rule profiles into rules/official/
  • set active profile file rules/flutter-official-ai-rules.mdc (currently 4k)
  • update README and release checklist references
  • bump plugin manifests to 1.9.0

Upstream Sources

Validation

  • schema validation for .cursor-plugin/plugin.json
  • local doc link sweep for README/docs/skills/commands

@Wreos Wreos merged commit b05c12c into main Feb 21, 2026
3 checks passed
@Wreos Wreos deleted the codex/sync-official-flutter-ai-rules branch February 21, 2026 20:06
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 957bf8b208

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +34 to +39
echo "<!--"
echo "Synced from official Flutter AI rules."
echo "Source: ${source_url}"
echo "Profile: ${profile_name}"
echo "Do not edit manually; run scripts/sync_official_flutter_ai_rules.sh."
echo "-->"

Choose a reason for hiding this comment

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

P1 Badge Emit Cursor rule front matter for synced profile

The sync script writes the generated .mdc files with only an HTML comment header, but unlike the existing rules/*.mdc files it does not add YAML metadata (description / alwaysApply / globs), so the advertised active profile file is not auto-attached to Flutter/Dart files and profile switching has no practical effect in normal coding flows. Please prepend valid rule front matter when writing these files so rules/flutter-official-ai-rules.mdc is actually applied.

Useful? React with 👍 / 👎.

Copy link
Owner Author

Choose a reason for hiding this comment

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

@codex adress the issue

Choose a reason for hiding this comment

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

Summary

Testing

  • bash -n scripts/sync_official_flutter_ai_rules.sh
  • ⚠️ scripts/sync_official_flutter_ai_rules.sh 4k (failed due upstream raw.githubusercontent.com returning HTTP 403 in this environment)
  • ⚠️ curl -I -s https://docs.cursor.com/context/rules | head (web lookup attempted per instruction; endpoint returned HTTP 403 from this environment)

View task →

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