搜索结果
fix
找到 47 个相关结果
Testing / Automation
react-native-testing
react-native-testing
使用 React Native Testing Library (RNTL) v13 和 v14 (`@testing-library/react-native`) 编写测试。在编写、审查或修复 React Native 组件测试时使用。涵盖:render、screen、查询 (getBy/getAllBy/queryBy/findBy)、Jest 匹配器、userEvent、fireEvent、waitFor 以及异步模式。支持 v13(React 18,同步渲染)和 v14(React 19+,异步渲染)。触发条件:React Native 组件的测试文件、RNTL 导入,或提及 "testing library"、"write tests"、"component tests" 或 "RNTL"。
Testing / Automation
dart-添加单元测试
dart-add-unit-test
使用 `package:test` 为函数、方法和类编写并组织单元测试。在创建新逻辑或修复 Bug 时使用,以确保代码保持…
Frontend / UI
Dart 修复运行时错误
dart-fix-runtime-errors
使用 get_runtime_errors 和 lsp 获取活动堆栈跟踪,定位失败代码行,应用修复,并通过 hot_reload 验证解决结果。
Frontend / UI
dart-运行静态分析
dart-run-static-analysis
执行 `dart analyze` 以识别警告和错误,并使用 `dart fix --apply` 自动解决机械化的 lint 问题。在开发过程中使用以…
Security / Review
dart-解决包冲突
dart-resolve-package-conflicts
用于修复依赖包版本冲突的工作流。当 `pub get` 因依赖包版本不兼容而失败时使用此工作流。
AI / LLM / Agent skills
printing-press-polish
printing-press-polish
打磨生成的 CLI 以通过验证并达到发布标准。运行诊断(dogfood、verify、scorecard、go vet),自动修复所有问题(验证失败、死代码、描述、README、MCP 工具质量),报告修改前后的差异,并提示是否发布。可在任何 /printing-press 运行之后使用,或用于 ~/printing-press/library/ 中的任何 CLI。触发短语:"polish"、"improve the CLI"、"fix verify"、"make it publish-ready"、"clean up the CLI"、"get this ready to ship"。
AI / LLM / Agent skills
复古印刷机
printing-press-retro
在生成 CLI 后运行回顾。识别 Printing Press 的系统性改进点——模板、Go 二进制文件、技能指令、目录——以便下一次生成更好的 CLI。当有 Printing Press 需要修复的问题时,创建包含可执行建议的 GitHub issue。在任何 /printing-press 运行后使用。触发短语:"retro"、"retrospective"、"what went wrong"、"improve the press"、"post-mortem"、"lessons learned"、"what can we improve"、"file a retro"、"submit findings"。
第 3 / 3 页