verify-eap-compatibility

作者: flutter

确保插件与最新的IntelliJ平台版本和EAP(早期访问计划)构建保持兼容。

npx skills add https://github.com/flutter/flutter-intellij --skill verify-eap-compatibility

Skill: Plugin Compatibility & EAP Verification

You are tasked with ensuring the plugin remains compatible with the latest IntelliJ Platform releases and EAP (Early Access Program) builds.

Objective

Ensure the plugin remains compatible with the latest IntelliJ Platform releases and EAP (Early Access Program) builds.

Workflow Instructions

1. Target EAP

  • Temporarily update gradle.properties to target the latest IntelliJ Platform EAP version.

2. Run Verification

  • Run ./gradlew testClasses to ensure the project compiles against the EAP.
  • Execute ./gradlew verifyPlugin to check for binary incompatibilities or broken API usages in the new version.
  • Run ./gradlew test to check for functional regressions with the EAP.

3. Check Bounds

  • Review plugin.xml for <idea-version since-build="..." until-build="..."/>. Ensure until-build is open-ended or appropriately set for the new version.

4. Resolve Issues

  • Fix any compilation errors or verification warnings specific to the new platform version.

5. Report & Review

  • Summarize any required changes or blockers for supporting the new version.
  • Test Location: Explicitly state where in the IDE the user should go to test the changed functionality (e.g., "Go to Preferences > Languages & Frameworks > Flutter").
  • Action: Ask the user to review the compatibility fixes closely.
  • Do not commit or push.
  • Provide a suggested Git commit message (e.g., "Fix EAP compatibility: Resolve invalid until-build").

来自 flutter 的更多技能

dart-modern-features
flutter
为了找到现代化的候选方案:
flutter-fix-layout-issues
flutter
使用Dart和Flutter MCP工具修复Flutter布局错误(溢出、无界约束)。适用于处理“RenderFlex溢出”、“垂直…
adding-release-notes
flutter
在 DevTools 发布说明中添加面向用户的变更描述。用于在 NEXT_RELEASE_NOTES.md 文件中记录改进、修复或新功能。
reviewing-devtools-prs
flutter
DevTools 仓库专属的PR审查工作流程,执行DevTools风格指南和常见审查模式。在审查……中的拉取请求时使用。
dart-use-primary-constructors
flutter
帮助用户在Dart中编写语法和语义正确的主构造函数,并迁移/使用新的构造函数语法、空体分号语法等。
code-documentation
flutter
编写有效代码文档的指南,包括docstrings、JSDoc、dartdoc和实现注释。在编写新代码、添加…时使用此技能。
api-review
flutter
对照规范的API设计指南审查指定代码。当用户要求进行API审查或根据API设计规范检查代码时,请使用此技能…
flutter-accessibility
flutter
在Flutter应用中实现WCAG 2和EN 301 549无障碍标准及自适应布局。在移动端、网页端和桌面端强制实施语义标注、点击目标尺寸(最小48x48 dp)和文本对比度(小文本4.5:1,大文本3:1)。提供网页语义初始化、交互式组件包裹、基于屏幕尺寸的布局切换以及键盘/鼠标输入处理的决策逻辑。包含通过FocusTraversalGroup实现的焦点遍历管理,以及...